sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget#/translations/zh_CN/networking/kapimodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/zh_TW/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/it_IT/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/ja_JP/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/ko_KR/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/sp_SP/networking/kapimodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(h)Linux Networking and Network Devices APIsh]h)Linux Networking and Network Devices APIs}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhh=/var/lib/git/docbuild/linux/Documentation/networking/kapi.rsthKubh)}(hhh](h)}(hLinux Networkingh]hLinux Networking}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNetworking Base Typesh]hNetworking Base Types}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singlesock_type (C enum) c.sock_typehNtauh1hhhhhhNhNubhdesc)}(hhh](hdesc_signature)}(h sock_typeh]hdesc_signature_line)}(henum sock_typeh](hdesc_sig_keyword)}(henumh]henum}(hhhhhNhNubah}(h]h ]kah"]h$]h&]uh1hhhhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKubhdesc_sig_space)}(h h]h }(hjhhhNhNubah}(h]h ]wah"]h$]h&]uh1j hhhhhj hKubh desc_name)}(h sock_typeh]h desc_sig_name)}(hhh]h sock_type}(hj&hhhNhNubah}(h]h ]nah"]h$]h&]uh1j$hj ubah}(h]h ](sig-namedescnameeh"]h$]h&] xml:spacepreserveuh1jhhhhhj hKubeh}(h]h ]h"]h$]h&]j<j= add_permalinkuh1hsphinx_line_type declaratorhhhhhj hKubah}(h]hah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1hhj hKhhhhubh desc_content)}(hhh]h paragraph)}(h Socket typesh]h Socket types}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK1hjThhubah}(h]h ]h"]h$]h&]uh1jRhhhhhj hKubeh}(h]h ](cenumeh"]h$]h&]domainjqobjtypejrdesctypejrnoindex noindexentrynocontentsentryuh1hhhhhhNhNubh container)}(hX**Constants** ``SOCK_STREAM`` stream (connection) socket ``SOCK_DGRAM`` datagram (conn.less) socket ``SOCK_RAW`` raw socket ``SOCK_RDM`` reliably-delivered message ``SOCK_SEQPACKET`` sequential packet socket ``SOCK_DCCP`` Datagram Congestion Control Protocol socket ``SOCK_PACKET`` linux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.h](jX)}(h **Constants**h]hstrong)}(hjh]h Constants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK5hj~ubhdefinition_list)}(hhh](hdefinition_list_item)}(h+``SOCK_STREAM`` stream (connection) socket h](hterm)}(h``SOCK_STREAM``h]hliteral)}(hjh]h SOCK_STREAM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK8hjubh definition)}(hhh]jX)}(hstream (connection) socketh]hstream (connection) socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK8hjubj)}(h+``SOCK_DGRAM`` datagram (conn.less) socket h](j)}(h``SOCK_DGRAM``h]j)}(hjh]h SOCK_DGRAM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK;hjubj)}(hhh]jX)}(hdatagram (conn.less) socketh]hdatagram (conn.less) socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK;hjubj)}(h``SOCK_RAW`` raw socket h](j)}(h ``SOCK_RAW``h]j)}(hj!h]hSOCK_RAW}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK>hjubj)}(hhh]jX)}(h raw socketh]h raw socket}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hK>hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hK>hjubj)}(h(``SOCK_RDM`` reliably-delivered message h](j)}(h ``SOCK_RDM``h]j)}(hjZh]hSOCK_RDM}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKAhjTubj)}(hhh]jX)}(hreliably-delivered messageh]hreliably-delivered message}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohKAhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohKAhjubj)}(h,``SOCK_SEQPACKET`` sequential packet socket h](j)}(h``SOCK_SEQPACKET``h]j)}(hjh]hSOCK_SEQPACKET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKDhjubj)}(hhh]jX)}(hsequential packet socketh]hsequential packet socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKDhjubj)}(h:``SOCK_DCCP`` Datagram Congestion Control Protocol socket h](j)}(h ``SOCK_DCCP``h]j)}(hjh]h SOCK_DCCP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKGhjubj)}(hhh]jX)}(h+Datagram Congestion Control Protocol socketh]h+Datagram Congestion Control Protocol socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKGhjubj)}(h``SOCK_PACKET`` linux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.h](j)}(h``SOCK_PACKET``h]j)}(hjh]h SOCK_PACKET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKJhjubj)}(hhh]jX)}(htlinux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.h]htlinux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKJhjubeh}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hhhhhNhNubjX)}(h**Description**h]j)}(hjGh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKMhhhhubjX)}(hWhen adding some new socket type please grep ARCH_HAS_SOCKET_TYPE include/asm-* /socket.h, at least MIPS overrides this enum for binary compat reasons.h]hWhen adding some new socket type please grep ARCH_HAS_SOCKET_TYPE include/asm-* /socket.h, at least MIPS overrides this enum for binary compat reasons.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK:hhhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_shutdown_cmd (C enum)c.sock_shutdown_cmdhNtauh1hhhhhhNhNubh)}(hhh](h)}(hsock_shutdown_cmdh]h)}(henum sock_shutdown_cmdh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKAubj)}(hsock_shutdown_cmdh]j%)}(hjh]hsock_shutdown_cmd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhjhKAubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKAhjzhhubjS)}(hhh]jX)}(hShutdown typesh]hShutdown types}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKWhjhhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjhKAubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhhhNhNubj})}(h**Constants** ``SHUT_RD`` shutdown receptions ``SHUT_WR`` shutdown transmissions ``SHUT_RDWR`` shutdown receptions/transmissionsh](jX)}(h **Constants**h]j)}(hjh]h Constants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK[hjubj)}(hhh](j)}(h ``SHUT_RD`` shutdown receptions h](j)}(h ``SHUT_RD``h]j)}(hjh]hSHUT_RD}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK^hjubj)}(hhh]jX)}(hshutdown receptionsh]hshutdown receptions}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK^hjubj)}(h#``SHUT_WR`` shutdown transmissions h](j)}(h ``SHUT_WR``h]j)}(hjAh]hSHUT_WR}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKahj;ubj)}(hhh]jX)}(hshutdown transmissionsh]hshutdown transmissions}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhKahjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhKahjubj)}(h/``SHUT_RDWR`` shutdown receptions/transmissionsh](j)}(h ``SHUT_RDWR``h]j)}(hjzh]h SHUT_RDWR}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKchjtubj)}(hhh]jX)}(h!shutdown receptions/transmissionsh]h!shutdown receptions/transmissions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKdhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhKchjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsocket (C struct)c.sockethNtauh1hhhhhhNhNubh)}(hhh](h)}(hsocketh]h)}(h struct socketh](h)}(hstructh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKiubj)}(hsocketh]j%)}(hjh]hsocket}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKiubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKiubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKihjhhubjS)}(hhh]jX)}(hgeneral BSD socketh]hgeneral BSD socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKkhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKiubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhhhNhNubj})}(hXg**Definition**:: struct socket { socket_state state; short type; unsigned long flags; struct file *file; struct sock *sk; const struct proto_ops *ops; struct socket_wq wq; }; **Members** ``state`` socket state (``SS_CONNECTED``, etc) ``type`` socket type (``SOCK_STREAM``, etc) ``flags`` socket flags (``SOCK_NOSPACE``, etc) ``file`` File back pointer for gc ``sk`` internal networking protocol agnostic socket representation ``ops`` protocol specific socket operations ``wq`` wait queue for several usesh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh:}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKohj3ubh literal_block)}(hstruct socket { socket_state state; short type; unsigned long flags; struct file *file; struct sock *sk; const struct proto_ops *ops; struct socket_wq wq; };h]hstruct socket { socket_state state; short type; unsigned long flags; struct file *file; struct sock *sk; const struct proto_ops *ops; struct socket_wq wq; };}hjVsbah}(h]h ]h"]h$]h&]j<j=uh1jThS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKqhj3ubjX)}(h **Members**h]j)}(hjgh]hMembers}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK{hj3ubj)}(hhh](j)}(h/``state`` socket state (``SS_CONNECTED``, etc) h](j)}(h ``state``h]j)}(hjh]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKmhjubj)}(hhh]jX)}(h$socket state (``SS_CONNECTED``, etc)h](hsocket state (}(hjhhhNhNubj)}(h``SS_CONNECTED``h]h SS_CONNECTED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, etc)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKmhj}ubj)}(h,``type`` socket type (``SOCK_STREAM``, etc) h](j)}(h``type``h]j)}(hjh]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKnhjubj)}(hhh]jX)}(h"socket type (``SOCK_STREAM``, etc)h](h socket type (}(hjhhhNhNubj)}(h``SOCK_STREAM``h]h SOCK_STREAM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, etc)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKnhj}ubj)}(h/``flags`` socket flags (``SOCK_NOSPACE``, etc) h](j)}(h ``flags``h]j)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKohjubj)}(hhh]jX)}(h$socket flags (``SOCK_NOSPACE``, etc)h](hsocket flags (}(hj5hhhNhNubj)}(h``SOCK_NOSPACE``h]h SOCK_NOSPACE}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh, etc)}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj1hKohj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hKohj}ubj)}(h"``file`` File back pointer for gc h](j)}(h``file``h]j)}(hjgh]hfile}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKqhjaubj)}(hhh]jX)}(hFile back pointer for gch]hFile back pointer for gc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hKqhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hKqhj}ubj)}(hC``sk`` internal networking protocol agnostic socket representation h](j)}(h``sk``h]j)}(hjh]hsk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKrhjubj)}(hhh]jX)}(h;internal networking protocol agnostic socket representationh]h;internal networking protocol agnostic socket representation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKrhj}ubj)}(h,``ops`` protocol specific socket operations h](j)}(h``ops``h]j)}(hjh]hops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKphjubj)}(hhh]jX)}(h#protocol specific socket operationsh]h#protocol specific socket operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKphj}ubj)}(h"``wq`` wait queue for several usesh](j)}(h``wq``h]j)}(hjh]hwq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKrhj ubj)}(hhh]jX)}(hwait queue for several usesh]hwait queue for several uses}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKshj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hKrhj}ubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hhhhhNhNubeh}(h]networking-base-typesah ]h"]networking base typesah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hSocket Buffer Functionsh]hSocket Buffer Functions}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_size (C function)c.skb_frag_sizehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3unsigned int skb_frag_size (const skb_frag_t *frag)h]h)}(h2unsigned int skb_frag_size(const skb_frag_t *frag)h](hdesc_sig_keyword_type)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]ktah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMpubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMpubj)}(h skb_frag_sizeh]j%)}(h skb_frag_sizeh]h skb_frag_size}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMpubhdesc_parameterlist)}(h(const skb_frag_t *frag)h]hdesc_parameter)}(hconst skb_frag_t *fragh](h)}(hconsth]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftype identifier reftargetjmodnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]j ASTIdentifier)}jjsbc.skb_frag_sizeasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubhdesc_sig_punctuation)}(h*h]h*}(hj<hhhNhNubah}(h]h ]pah"]h$]h&]uh1j:hjubj%)}(hfragh]hfrag}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMpubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhjhMpubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMphjzhhubjS)}(hhh]jX)}(h"Returns the size of a skb fragmenth]h"Returns the size of a skb fragment}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMphjrhhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjhMpubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h9**Parameters** ``const skb_frag_t *frag`` skb fragmenth](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMthjubj)}(hhh]j)}(h'``const skb_frag_t *frag`` skb fragmenth](j)}(h``const skb_frag_t *frag``h]j)}(hjh]hconst skb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhjubj)}(hhh]jX)}(h skb fragmenth]h skb fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_size_set (C function)c.skb_frag_size_sethNtauh1hhj[hhhNhNubh)}(hhh](h)}(hh]h*}(hj~ hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjI ubj%)}(hfragh]hfrag}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjI ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjE ubj)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hsizeh]hsize}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjE ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMyubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMyhj hhubjS)}(hhh]jX)}(hSets the size of a skb fragmenth]hSets the size of a skb fragment}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMyhj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(h]**Parameters** ``skb_frag_t *frag`` skb fragment ``unsigned int size`` size of fragmenth](jX)}(h**Parameters**h]j)}(hj( h]h Parameters}(hj* hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj& ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM}hj" ubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hjG h]hskb_frag_t *frag}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMzhjA ubj)}(hhh]jX)}(h skb fragmenth]h skb fragment}(hj` hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\ hMzhj] ubah}(h]h ]h"]h$]h&]uh1jhjA ubeh}(h]h ]h"]h$]h&]uh1jhj\ hMzhj> ubj)}(h&``unsigned int size`` size of fragmenth](j)}(h``unsigned int size``h]j)}(hj h]hunsigned int size}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM|hjz ubj)}(hhh]jX)}(hsize of fragmenth]hsize of fragment}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM{hj ubah}(h]h ]h"]h$]h&]uh1jhjz ubeh}(h]h ]h"]h$]h&]uh1jhj hM|hj> ubeh}(h]h ]h"]h$]h&]uh1jhj" ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_size_add (C function)c.skb_frag_size_addhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h4void skb_frag_size_add (skb_frag_t *frag, int delta)h]h)}(h3void skb_frag_size_add(skb_frag_t *frag, int delta)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj)}(hskb_frag_size_addh]j%)}(hskb_frag_size_addh]hskb_frag_size_add}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(h(skb_frag_t *frag, int delta)h](j)}(hskb_frag_t *fragh](h)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jj sbc.skb_frag_size_addasbuh1hhj ubj)}(h h]h }(hj: hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjH hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hfragh]hfrag}(hjU hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h int deltah](j)}(hinth]hint}(hjn hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj ubj)}(h h]h }(hj| hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj ubj%)}(hdeltah]hdelta}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhj hhubjS)}(hhh]jX)}(h2Increments the size of a skb fragment by **delta**h](h)Increments the size of a skb fragment by }(hj hhhNhNubj)}(h **delta**h]hdelta}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hQ**Parameters** ``skb_frag_t *frag`` skb fragment ``int delta`` value to addh](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hj h]hskb_frag_t *frag}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh]jX)}(h skb fragmenth]h skb fragment}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h``int delta`` value to addh](j)}(h ``int delta``h]j)}(hj< h]h int delta}(hj> hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj: ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj6 ubj)}(hhh]jX)}(h value to addh]h value to add}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjR ubah}(h]h ]h"]h$]h&]uh1jhj6 ubeh}(h]h ]h"]h$]h&]uh1jhjQ hMhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_size_sub (C function)c.skb_frag_size_subhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h4void skb_frag_size_sub (skb_frag_t *frag, int delta)h]h)}(h3void skb_frag_size_sub(skb_frag_t *frag, int delta)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj)}(hskb_frag_size_subh]j%)}(hskb_frag_size_subh]hskb_frag_size_sub}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(h(skb_frag_t *frag, int delta)h](j)}(hskb_frag_t *fragh](h)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jj sbc.skb_frag_size_subasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hfragh]hfrag}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h int deltah](j)}(hinth]hint}(hj* hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj& ubj)}(h h]h }(hj8 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj& ubj%)}(hdeltah]hdelta}(hjF hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj& ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhj hhubjS)}(hhh]jX)}(h2Decrements the size of a skb fragment by **delta**h](h)Decrements the size of a skb fragment by }(hjp hhhNhNubj)}(h **delta**h]hdelta}(hjx hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp ubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjm hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hV**Parameters** ``skb_frag_t *frag`` skb fragment ``int delta`` value to subtracth](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hj h]hskb_frag_t *frag}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh]jX)}(h skb fragmenth]h skb fragment}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h``int delta`` value to subtracth](j)}(h ``int delta``h]j)}(hj h]h int delta}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh]jX)}(hvalue to subtracth]hvalue to subtract}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_must_loop (C function)c.skb_frag_must_loophNtauh1hhj[hhhNhNubh)}(hhh](h)}(h(bool skb_frag_must_loop (struct page *p)h]h)}(h'bool skb_frag_must_loop(struct page *p)h](j)}(hboolh]hbool}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhj`hMubj)}(hskb_frag_must_looph]j%)}(hskb_frag_must_looph]hskb_frag_must_loop}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhj`hMubj)}(h(struct page *p)h]j)}(hstruct page *ph](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjusbc.skb_frag_must_loopasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjGh]hp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjNhhhj`hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhj`hMubah}(h]jEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`hMhjGhhubjS)}(hhh]jX)}(h#Test if ``p`` is a high memory pageh](hTest if }(hjhhhNhNubj)}(h``p``h]hp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is a high memory page}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhj`hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhj[hNhNubj})}(h4**Parameters** ``struct page *p`` fragment's pageh](jX)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj?ubj)}(hhh]j)}(h"``struct page *p`` fragment's pageh](j)}(h``struct page *p``h]j)}(hjdh]hstruct page *p}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj^ubj)}(hhh]jX)}(hfragment's pageh]hfragment’s page}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_foreach_page (C macro)c.skb_frag_foreach_pagehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hskb_frag_foreach_pageh]h)}(hskb_frag_foreach_pageh]j)}(hskb_frag_foreach_pageh]j%)}(hjh]hskb_frag_foreach_page}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubah}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqmacroeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubjX)}(hD``skb_frag_foreach_page (f, f_off, f_len, p, p_off, p_len, copied)``h]j)}(hjh]h@skb_frag_foreach_page (f, f_off, f_len, p, p_off, p_len, copied)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[hhubh block_quote)}(hloop over pages in a fragment h]jX)}(hloop over pages in a fragmenth]hloop over pages in a fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubah}(h]h ]h"]h$]h&]uh1j hjhMhj[hhubj})}(hXA**Parameters** ``f`` skb frag to operate on ``f_off`` offset from start of f->netmem ``f_len`` length from f_off to loop over ``p`` (temp var) current page ``p_off`` (temp var) offset from start of current page, non-zero only on first page. ``p_len`` (temp var) length in current page, < PAGE_SIZE only on first and last page. ``copied`` (temp var) length so far, excluding current p_len. **Description** A fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.h](jX)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj%ubj)}(hhh](j)}(h``f`` skb frag to operate on h](j)}(h``f``h]j)}(hjJh]hf}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjDubj)}(hhh]jX)}(hskb frag to operate onh]hskb frag to operate on}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubj)}(h)``f_off`` offset from start of f->netmem h](j)}(h ``f_off``h]j)}(hjh]hf_off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj}ubj)}(hhh]jX)}(hoffset from start of f->netmemh]hoffset from start of f->netmem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubj)}(h)``f_len`` length from f_off to loop over h](j)}(h ``f_len``h]j)}(hjh]hf_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hlength from f_off to loop overh]hlength from f_off to loop over}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubj)}(h``p`` (temp var) current page h](j)}(h``p``h]j)}(hjh]hp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h(temp var) current pageh]h(temp var) current page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjAubj)}(hU``p_off`` (temp var) offset from start of current page, non-zero only on first page. h](j)}(h ``p_off``h]j)}(hj.h]hp_off}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj(ubj)}(hhh]jX)}(hJ(temp var) offset from start of current page, non-zero only on first page.h]hJ(temp var) offset from start of current page, non-zero only on first page.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjAubj)}(hV``p_len`` (temp var) length in current page, < PAGE_SIZE only on first and last page. h](j)}(h ``p_len``h]j)}(hjhh]hp_len}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjbubj)}(hhh]jX)}(hK(temp var) length in current page, < PAGE_SIZE only on first and last page.h]hK(temp var) length in current page, < PAGE_SIZE only on first and last page.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhjAubj)}(h>``copied`` (temp var) length so far, excluding current p_len. h](j)}(h ``copied``h]j)}(hjh]hcopied}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h2(temp var) length so far, excluding current p_len.h]h2(temp var) length so far, excluding current p_len.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubeh}(h]h ]h"]h$]h&]uh1jhj%ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj%ubj )}(hA fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.h]jX)}(hA fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.h]hA fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_shared_hwtstamps (C struct)c.skb_shared_hwtstampshNtauh1hhj[hhhNhNubh)}(hhh](h)}(hskb_shared_hwtstampsh]h)}(hstruct skb_shared_hwtstampsh](h)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(hhhj9hMubj)}(hskb_shared_hwtstampsh]j%)}(hj&h]hskb_shared_hwtstamps}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj(hhhj9hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj$hhhj9hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hMhj!hhubjS)}(hhh]jX)}(hhardware time stampsh]hhardware time stamps}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjkhhubah}(h]h ]h"]h$]h&]uh1jRhj!hhhj9hMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Definition**:: struct skb_shared_hwtstamps { union { ktime_t hwtstamp; void *netdev_data; }; }; **Members** ``{unnamed_union}`` anonymous ``hwtstamp`` hardware time stamp transformed into duration since arbitrary point in time ``netdev_data`` address/cookie of network device driver used as reference to actual hardware time stamph](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjU)}(hhstruct skb_shared_hwtstamps { union { ktime_t hwtstamp; void *netdev_data; }; };h]hhstruct skb_shared_hwtstamps { union { ktime_t hwtstamp; void *netdev_data; }; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hY``hwtstamp`` hardware time stamp transformed into duration since arbitrary point in time h](j)}(h ``hwtstamp``h]j)}(hjh]hhwtstamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hKhardware time stamp transformed into duration since arbitrary point in timeh]hKhardware time stamp transformed into duration since arbitrary point in time}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjubj)}(hg``netdev_data`` address/cookie of network device driver used as reference to actual hardware time stamph](j)}(h``netdev_data``h]j)}(hjNh]h netdev_data}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjHubj)}(hhh]jX)}(hWaddress/cookie of network device driver used as reference to actual hardware time stamph]hWaddress/cookie of network device driver used as reference to actual hardware time stamp}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[hhubjX)}(hMSoftware time stamps generated by ktime_get_real() are stored in skb->tstamp.h]hMSoftware time stamps generated by ktime_get_real() are stored in skb->tstamp.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[hhubjX)}(hLhwtstamps can only be compared against other hwtstamps from the same device.h]hLhwtstamps can only be compared against other hwtstamps from the same device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[hhubjX)}(huThis structure is attached to packets as part of the :c:type:`skb_shared_info`. Use skb_hwtstamps() to get a pointer.h](h5This structure is attached to packets as part of the }(hjhhhNhNubh)}(h:c:type:`skb_shared_info`h]j)}(hjh]hskb_shared_info}(hjhhhNhNubah}(h]h ](xrefjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocnetworking/kapi refdomainjqreftypetype refexplicitrefwarnjj!)}j$]sb reftargetskb_shared_infouh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubh'. Use skb_hwtstamps() to get a pointer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhj[hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_buff (C struct) c.sk_buffhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hsk_buffh]h)}(hstruct sk_buffh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj"hMubj)}(hsk_buffh]j%)}(hjh]hsk_buff}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj"hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj"hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"hMhj hhubjS)}(hhh]jX)}(h socket bufferh]h socket buffer}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjThhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj"hMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhj[hNhNubj})}(hX'**Definition**:: struct sk_buff { union { struct { struct sk_buff *next; struct sk_buff *prev; union { struct net_device *dev; unsigned long dev_scratch; }; }; struct rb_node rbnode; struct list_head list; struct llist_node ll_node; }; struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; }; char cb[48] ; union { struct { unsigned long _skb_refdst; void (*destructor)(struct sk_buff *skb); }; struct list_head tcp_tsorted_anchor; #ifdef CONFIG_NET_SOCK_MSG; unsigned long _sk_redir; #endif; }; #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE); unsigned long _nfct; #endif; unsigned int len, data_len; __u16 mac_len, hdr_len; __u16 queue_mapping; #ifdef __BIG_ENDIAN_BITFIELD; #define CLONED_MASK (1 << 7); #else; #define CLONED_MASK 1; #endif; #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset); __u8 cloned:1, nohdr:1, fclone:2, peeked:1, head_frag:1, pfmemalloc:1, pp_recycle:1; #ifdef CONFIG_SKB_EXTENSIONS; __u8 active_extensions; #endif; __u8 pkt_type:3; __u8 ignore_df:1; __u8 dst_pending_confirm:1; __u8 ip_summed:2; __u8 ooo_okay:1; __u8 tstamp_type:2; #ifdef CONFIG_NET_XGRESS; __u8 tc_at_ingress:1; __u8 tc_skip_classify:1; #endif; __u8 remcsum_offload:1; __u8 csum_complete_sw:1; __u8 csum_level:2; __u8 inner_protocol_type:1; __u8 l4_hash:1; __u8 sw_hash:1; #ifdef CONFIG_WIRELESS; __u8 wifi_acked_valid:1; __u8 wifi_acked:1; #endif; __u8 no_fcs:1; __u8 encapsulation:1; __u8 encap_hdr_csum:1; __u8 csum_valid:1; #ifdef CONFIG_IPV6_NDISC_NODETYPE; __u8 ndisc_nodetype:2; #endif; #if IS_ENABLED(CONFIG_IP_VS); __u8 ipvs_property:1; #endif; #if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || IS_ENABLED(CONFIG_NF_TABLES); __u8 nf_trace:1; #endif; #ifdef CONFIG_NET_SWITCHDEV; __u8 offload_fwd_mark:1; __u8 offload_l3_fwd_mark:1; #endif; __u8 redirected:1; #ifdef CONFIG_NET_REDIRECT; __u8 from_ingress:1; #endif; #ifdef CONFIG_NETFILTER_SKIP_EGRESS; __u8 nf_skip_egress:1; #endif; #ifdef CONFIG_SKB_DECRYPTED; __u8 decrypted:1; #endif; __u8 slow_gro:1; #if IS_ENABLED(CONFIG_IP_SCTP); __u8 csum_not_inet:1; #endif; __u8 unreadable:1; #if defined(CONFIG_NET_SCHED) || defined(CONFIG_NET_XGRESS); __u16 tc_index; #endif; u16 alloc_cpu; union { __wsum csum; struct { __u16 csum_start; __u16 csum_offset; }; }; __u32 priority; int skb_iif; __u32 hash; union { u32 vlan_all; struct { __be16 vlan_proto; __u16 vlan_tci; }; }; #if defined(CONFIG_NET_RX_BUSY_POLL) || defined(CONFIG_XPS); union { unsigned int napi_id; unsigned int sender_cpu; }; #endif; #ifdef CONFIG_NETWORK_SECMARK; __u32 secmark; #endif; union { __u32 mark; __u32 reserved_tailroom; }; union { __be16 inner_protocol; __u8 inner_ipproto; }; __u16 inner_transport_header; __u16 inner_network_header; __u16 inner_mac_header; __be16 protocol; __u16 transport_header; __u16 network_header; __u16 mac_header; #ifdef CONFIG_KCOV; u64 kcov_handle; #endif; sk_buff_data_t tail; sk_buff_data_t end; unsigned char *head, *data; unsigned int truesize; refcount_t users; #ifdef CONFIG_SKB_EXTENSIONS; struct skb_ext *extensions; #endif; }; **Members** ``{unnamed_union}`` anonymous ``{unnamed_struct}`` anonymous ``next`` Next buffer in list ``prev`` Previous buffer in list ``{unnamed_union}`` anonymous ``dev`` Device we arrived on/are leaving by ``dev_scratch`` (aka **dev**) alternate use of **dev** when **dev** would be ``NULL`` ``rbnode`` RB tree node, alternative to next/prev for netem/tcp ``list`` queue head ``ll_node`` anchor in an llist (eg socket defer_list) ``sk`` Socket we are owned by ``{unnamed_union}`` anonymous ``tstamp`` Time we arrived/left ``skb_mstamp_ns`` (aka **tstamp**) earliest departure time; start point for retransmit timer ``cb`` Control buffer. Free for use by every layer. Put private vars here ``{unnamed_union}`` anonymous ``{unnamed_struct}`` anonymous ``_skb_refdst`` destination entry (with norefcount bit) ``destructor`` Destruct function ``tcp_tsorted_anchor`` list structure for TCP (tp->tsorted_sent_queue) ``_sk_redir`` socket redirection information for skmsg ``_nfct`` Associated connection, if any (with nfctinfo bits) ``len`` Length of actual data ``data_len`` Data length ``mac_len`` Length of link layer header ``hdr_len`` writable header length of cloned skb ``queue_mapping`` Queue mapping for multiqueue devices ``cloned`` Head may be cloned (check refcnt to be sure) ``nohdr`` Payload reference only, must not modify header ``fclone`` skbuff clone status ``peeked`` this packet has been seen already, so stats have been done for it, don't do them again ``head_frag`` skb was allocated from page fragments, not allocated by kmalloc() or vmalloc(). ``pfmemalloc`` skbuff was allocated from PFMEMALLOC reserves ``pp_recycle`` mark the packet for recycling instead of freeing (implies page_pool support on driver) ``active_extensions`` active extensions (skb_ext_id types) ``pkt_type`` Packet class ``ignore_df`` allow local fragmentation ``dst_pending_confirm`` need to confirm neighbour ``ip_summed`` Driver fed us an IP checksum ``ooo_okay`` allow the mapping of a socket to a queue to be changed ``tstamp_type`` When set, skb->tstamp has the delivery_time clock base of skb->tstamp. ``tc_at_ingress`` used within tc_classify to distinguish in/egress ``tc_skip_classify`` do not classify packet. set by IFB device ``remcsum_offload`` remote checksum offload is enabled ``csum_complete_sw`` checksum was completed by software ``csum_level`` indicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3) ``inner_protocol_type`` whether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTO ``l4_hash`` indicate hash is a canonical 4-tuple hash over transport ports. ``sw_hash`` indicates hash was computed in software stack ``wifi_acked_valid`` wifi_acked was set ``wifi_acked`` whether frame was acked on wifi or not ``no_fcs`` Request NIC to treat last 4 bytes as Ethernet FCS ``encapsulation`` indicates the inner headers in the skbuff are valid ``encap_hdr_csum`` software checksum is needed ``csum_valid`` checksum is already valid ``ndisc_nodetype`` router type (from link layer) ``ipvs_property`` skbuff is owned by ipvs ``nf_trace`` netfilter packet trace flag ``offload_fwd_mark`` Packet was L2-forwarded in hardware ``offload_l3_fwd_mark`` Packet was L3-forwarded in hardware ``redirected`` packet was redirected by packet classifier ``from_ingress`` packet was redirected from the ingress path ``nf_skip_egress`` packet shall skip nf egress - see netfilter_netdev.h ``decrypted`` Decrypted SKB ``slow_gro`` state present at GRO time, slower prepare step required ``csum_not_inet`` use CRC32c to resolve CHECKSUM_PARTIAL ``unreadable`` indicates that at least 1 of the fragments in this skb is unreadable. ``tc_index`` Traffic control index ``alloc_cpu`` CPU which did the skb allocation. ``{unnamed_union}`` anonymous ``csum`` Checksum (must include start/offset pair) ``{unnamed_struct}`` anonymous ``csum_start`` Offset from skb->head where checksumming should start ``csum_offset`` Offset from csum_start where checksum should be stored ``priority`` Packet queueing priority ``skb_iif`` ifindex of device we arrived on ``hash`` the packet hash ``{unnamed_union}`` anonymous ``vlan_all`` vlan fields (proto & tci) ``{unnamed_struct}`` anonymous ``vlan_proto`` vlan encapsulation protocol ``vlan_tci`` vlan tag control information ``{unnamed_union}`` anonymous ``napi_id`` id of the NAPI struct this skb came from ``sender_cpu`` (aka **napi_id**) source CPU in XPS ``secmark`` security marking ``{unnamed_union}`` anonymous ``mark`` Generic packet mark ``reserved_tailroom`` (aka **mark**) number of bytes of free space available at the tail of an sk_buff ``{unnamed_union}`` anonymous ``inner_protocol`` Protocol (encapsulation) ``inner_ipproto`` (aka **inner_protocol**) stores ipproto when skb->inner_protocol_type == ENCAP_TYPE_IPPROTO; ``inner_transport_header`` Inner transport layer header (encapsulation) ``inner_network_header`` Network layer header (encapsulation) ``inner_mac_header`` Link layer header (encapsulation) ``protocol`` Packet protocol from driver ``transport_header`` Transport layer header ``network_header`` Network layer header ``mac_header`` Link layer header ``kcov_handle`` KCOV remote handle for remote coverage collection ``tail`` Tail pointer ``end`` End pointer ``head`` Head of buffer ``data`` Data head pointer ``truesize`` Buffer size ``users`` User count - see {datagram,tcp}.c ``extensions`` allocated extensions, valid if active_extensions is nonzeroh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh:}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjsubjU)}(hXstruct sk_buff { union { struct { struct sk_buff *next; struct sk_buff *prev; union { struct net_device *dev; unsigned long dev_scratch; }; }; struct rb_node rbnode; struct list_head list; struct llist_node ll_node; }; struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; }; char cb[48] ; union { struct { unsigned long _skb_refdst; void (*destructor)(struct sk_buff *skb); }; struct list_head tcp_tsorted_anchor; #ifdef CONFIG_NET_SOCK_MSG; unsigned long _sk_redir; #endif; }; #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE); unsigned long _nfct; #endif; unsigned int len, data_len; __u16 mac_len, hdr_len; __u16 queue_mapping; #ifdef __BIG_ENDIAN_BITFIELD; #define CLONED_MASK (1 << 7); #else; #define CLONED_MASK 1; #endif; #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset); __u8 cloned:1, nohdr:1, fclone:2, peeked:1, head_frag:1, pfmemalloc:1, pp_recycle:1; #ifdef CONFIG_SKB_EXTENSIONS; __u8 active_extensions; #endif; __u8 pkt_type:3; __u8 ignore_df:1; __u8 dst_pending_confirm:1; __u8 ip_summed:2; __u8 ooo_okay:1; __u8 tstamp_type:2; #ifdef CONFIG_NET_XGRESS; __u8 tc_at_ingress:1; __u8 tc_skip_classify:1; #endif; __u8 remcsum_offload:1; __u8 csum_complete_sw:1; __u8 csum_level:2; __u8 inner_protocol_type:1; __u8 l4_hash:1; __u8 sw_hash:1; #ifdef CONFIG_WIRELESS; __u8 wifi_acked_valid:1; __u8 wifi_acked:1; #endif; __u8 no_fcs:1; __u8 encapsulation:1; __u8 encap_hdr_csum:1; __u8 csum_valid:1; #ifdef CONFIG_IPV6_NDISC_NODETYPE; __u8 ndisc_nodetype:2; #endif; #if IS_ENABLED(CONFIG_IP_VS); __u8 ipvs_property:1; #endif; #if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || IS_ENABLED(CONFIG_NF_TABLES); __u8 nf_trace:1; #endif; #ifdef CONFIG_NET_SWITCHDEV; __u8 offload_fwd_mark:1; __u8 offload_l3_fwd_mark:1; #endif; __u8 redirected:1; #ifdef CONFIG_NET_REDIRECT; __u8 from_ingress:1; #endif; #ifdef CONFIG_NETFILTER_SKIP_EGRESS; __u8 nf_skip_egress:1; #endif; #ifdef CONFIG_SKB_DECRYPTED; __u8 decrypted:1; #endif; __u8 slow_gro:1; #if IS_ENABLED(CONFIG_IP_SCTP); __u8 csum_not_inet:1; #endif; __u8 unreadable:1; #if defined(CONFIG_NET_SCHED) || defined(CONFIG_NET_XGRESS); __u16 tc_index; #endif; u16 alloc_cpu; union { __wsum csum; struct { __u16 csum_start; __u16 csum_offset; }; }; __u32 priority; int skb_iif; __u32 hash; union { u32 vlan_all; struct { __be16 vlan_proto; __u16 vlan_tci; }; }; #if defined(CONFIG_NET_RX_BUSY_POLL) || defined(CONFIG_XPS); union { unsigned int napi_id; unsigned int sender_cpu; }; #endif; #ifdef CONFIG_NETWORK_SECMARK; __u32 secmark; #endif; union { __u32 mark; __u32 reserved_tailroom; }; union { __be16 inner_protocol; __u8 inner_ipproto; }; __u16 inner_transport_header; __u16 inner_network_header; __u16 inner_mac_header; __be16 protocol; __u16 transport_header; __u16 network_header; __u16 mac_header; #ifdef CONFIG_KCOV; u64 kcov_handle; #endif; sk_buff_data_t tail; sk_buff_data_t end; unsigned char *head, *data; unsigned int truesize; refcount_t users; #ifdef CONFIG_SKB_EXTENSIONS; struct skb_ext *extensions; #endif; };h]hXstruct sk_buff { union { struct { struct sk_buff *next; struct sk_buff *prev; union { struct net_device *dev; unsigned long dev_scratch; }; }; struct rb_node rbnode; struct list_head list; struct llist_node ll_node; }; struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; }; char cb[48] ; union { struct { unsigned long _skb_refdst; void (*destructor)(struct sk_buff *skb); }; struct list_head tcp_tsorted_anchor; #ifdef CONFIG_NET_SOCK_MSG; unsigned long _sk_redir; #endif; }; #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE); unsigned long _nfct; #endif; unsigned int len, data_len; __u16 mac_len, hdr_len; __u16 queue_mapping; #ifdef __BIG_ENDIAN_BITFIELD; #define CLONED_MASK (1 << 7); #else; #define CLONED_MASK 1; #endif; #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset); __u8 cloned:1, nohdr:1, fclone:2, peeked:1, head_frag:1, pfmemalloc:1, pp_recycle:1; #ifdef CONFIG_SKB_EXTENSIONS; __u8 active_extensions; #endif; __u8 pkt_type:3; __u8 ignore_df:1; __u8 dst_pending_confirm:1; __u8 ip_summed:2; __u8 ooo_okay:1; __u8 tstamp_type:2; #ifdef CONFIG_NET_XGRESS; __u8 tc_at_ingress:1; __u8 tc_skip_classify:1; #endif; __u8 remcsum_offload:1; __u8 csum_complete_sw:1; __u8 csum_level:2; __u8 inner_protocol_type:1; __u8 l4_hash:1; __u8 sw_hash:1; #ifdef CONFIG_WIRELESS; __u8 wifi_acked_valid:1; __u8 wifi_acked:1; #endif; __u8 no_fcs:1; __u8 encapsulation:1; __u8 encap_hdr_csum:1; __u8 csum_valid:1; #ifdef CONFIG_IPV6_NDISC_NODETYPE; __u8 ndisc_nodetype:2; #endif; #if IS_ENABLED(CONFIG_IP_VS); __u8 ipvs_property:1; #endif; #if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || IS_ENABLED(CONFIG_NF_TABLES); __u8 nf_trace:1; #endif; #ifdef CONFIG_NET_SWITCHDEV; __u8 offload_fwd_mark:1; __u8 offload_l3_fwd_mark:1; #endif; __u8 redirected:1; #ifdef CONFIG_NET_REDIRECT; __u8 from_ingress:1; #endif; #ifdef CONFIG_NETFILTER_SKIP_EGRESS; __u8 nf_skip_egress:1; #endif; #ifdef CONFIG_SKB_DECRYPTED; __u8 decrypted:1; #endif; __u8 slow_gro:1; #if IS_ENABLED(CONFIG_IP_SCTP); __u8 csum_not_inet:1; #endif; __u8 unreadable:1; #if defined(CONFIG_NET_SCHED) || defined(CONFIG_NET_XGRESS); __u16 tc_index; #endif; u16 alloc_cpu; union { __wsum csum; struct { __u16 csum_start; __u16 csum_offset; }; }; __u32 priority; int skb_iif; __u32 hash; union { u32 vlan_all; struct { __be16 vlan_proto; __u16 vlan_tci; }; }; #if defined(CONFIG_NET_RX_BUSY_POLL) || defined(CONFIG_XPS); union { unsigned int napi_id; unsigned int sender_cpu; }; #endif; #ifdef CONFIG_NETWORK_SECMARK; __u32 secmark; #endif; union { __u32 mark; __u32 reserved_tailroom; }; union { __be16 inner_protocol; __u8 inner_ipproto; }; __u16 inner_transport_header; __u16 inner_network_header; __u16 inner_mac_header; __be16 protocol; __u16 transport_header; __u16 network_header; __u16 mac_header; #ifdef CONFIG_KCOV; u64 kcov_handle; #endif; sk_buff_data_t tail; sk_buff_data_t end; unsigned char *head, *data; unsigned int truesize; refcount_t users; #ifdef CONFIG_SKB_EXTENSIONS; struct skb_ext *extensions; #endif; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjsubjX)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjsubj)}(hhh](j)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``next`` Next buffer in list h](j)}(h``next``h]j)}(hj6h]hnext}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj0ubj)}(hhh]jX)}(hNext buffer in listh]hNext buffer in list}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhM hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhM hjubj)}(h!``prev`` Previous buffer in list h](j)}(h``prev``h]j)}(hjoh]hprev}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjiubj)}(hhh]jX)}(hPrevious buffer in listh]hPrevious buffer in list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(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&]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.hhMhjubj)}(hhh]jX)}(h#Device we arrived on/are leaving byh]h#Device we arrived on/are leaving by}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hV``dev_scratch`` (aka **dev**) alternate use of **dev** when **dev** would be ``NULL`` h](j)}(h``dev_scratch``h]j)}(hjh]h dev_scratch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hE(aka **dev**) alternate use of **dev** when **dev** would be ``NULL``h](h(aka }(hj3hhhNhNubj)}(h**dev**h]hdev}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh) alternate use of }(hj3hhhNhNubj)}(h**dev**h]hdev}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh when }(hj3hhhNhNubj)}(h**dev**h]hdev}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh would be }(hj3hhhNhNubj)}(h``NULL``h]hNULL}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jWhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(h@``rbnode`` RB tree node, alternative to next/prev for netem/tcp h](j)}(h ``rbnode``h]j)}(hjh]hrbnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhjubj)}(hhh]jX)}(h queue headh]h queue head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``ll_node`` anchor in an llist (eg socket defer_list) h](j)}(h ``ll_node``h]j)}(hj h]hll_node}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h)anchor in an llist (eg socket defer_list)h]h)anchor in an llist (eg socket defer_list)}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``sk`` Socket we are owned by h](j)}(h``sk``h]j)}(hjBh]hsk}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj<ubj)}(hhh]jX)}(hSocket we are owned byh]hSocket we are owned by}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj{h]h{unnamed_union}}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjuubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h ``tstamp`` Time we arrived/left h](j)}(h ``tstamp``h]j)}(hjh]htstamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(hTime we arrived/lefth]hTime we arrived/left}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hJ``cb`` Control buffer. Free for use by every layer. Put private vars here h](j)}(h``cb``h]j)}(hj9h]hcb}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubj)}(hhh]jX)}(hBControl buffer. Free for use by every layer. Put private vars hereh]hBControl buffer. Free for use by every layer. Put private vars here}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjrh]h{unnamed_union}}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjlubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h8``_skb_refdst`` destination entry (with norefcount bit) h](j)}(h``_skb_refdst``h]j)}(hjh]h _skb_refdst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h'destination entry (with norefcount bit)h]h'destination entry (with norefcount bit)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``destructor`` Destruct function h](j)}(h``destructor``h]j)}(hjh]h destructor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM4hjubj)}(hhh]jX)}(hDestruct functionh]hDestruct function}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hM4hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM4hjubj)}(hG``tcp_tsorted_anchor`` list structure for TCP (tp->tsorted_sent_queue) h](j)}(h``tcp_tsorted_anchor``h]j)}(hjVh]htcp_tsorted_anchor}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5hjPubj)}(hhh]jX)}(h/list structure for TCP (tp->tsorted_sent_queue)h]h/list structure for TCP (tp->tsorted_sent_queue)}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhM5hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM5hjubj)}(h7``_sk_redir`` socket redirection information for skmsg h](j)}(h ``_sk_redir``h]j)}(hjh]h _sk_redir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM6hjubj)}(hhh]jX)}(h(socket redirection information for skmsgh]h(socket redirection information for skmsg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(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.hhM7hjubj)}(hhh]jX)}(h2Associated connection, if any (with nfctinfo bits)h]h2Associated connection, if any (with nfctinfo bits)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubj)}(h``len`` Length of actual data h](j)}(h``len``h]j)}(hjh]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hLength of actual datah]hLength of actual data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``data_len`` Data length h](j)}(h ``data_len``h]j)}(hj:h]hdata_len}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj4ubj)}(hhh]jX)}(h Data lengthh]h Data length}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(h(``mac_len`` Length of link layer header h](j)}(h ``mac_len``h]j)}(hjsh]hmac_len}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjmubj)}(hhh]jX)}(hLength of link layer headerh]hLength of link layer header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``hdr_len`` writable header length of cloned skb h](j)}(h ``hdr_len``h]j)}(hjh]hhdr_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h$writable header length of cloned skbh]h$writable header length of cloned skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``queue_mapping`` Queue mapping for multiqueue devices h](j)}(h``queue_mapping``h]j)}(hjh]h queue_mapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM;hjubj)}(hhh]jX)}(h$Queue mapping for multiqueue devicesh]h$Queue mapping for multiqueue devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubj)}(h8``cloned`` Head may be cloned (check refcnt to be sure) h](j)}(h ``cloned``h]j)}(hjh]hcloned}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(h,Head may be cloned (check refcnt to be sure)h]h,Head may be cloned (check refcnt to be sure)}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hM hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM hjubj)}(h9``nohdr`` Payload reference only, must not modify header h](j)}(h ``nohdr``h]j)}(hjWh]hnohdr}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM"hjQubj)}(hhh]jX)}(h.Payload reference only, must not modify headerh]h.Payload reference only, must not modify header}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhM"hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM"hjubj)}(h``fclone`` skbuff clone status h](j)}(h ``fclone``h]j)}(hjh]hfclone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM$hjubj)}(hhh]jX)}(hskbuff clone statush]hskbuff clone status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubj)}(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.hhM1hjubj)}(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.hhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(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.hhM=hjubj)}(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.hhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubj)}(h=``pfmemalloc`` skbuff was allocated from PFMEMALLOC reserves h](j)}(h``pfmemalloc``h]j)}(hj=h]h pfmemalloc}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM>hj7ubj)}(hhh]jX)}(h-skbuff was allocated from PFMEMALLOC reservesh]h-skbuff was allocated from PFMEMALLOC reserves}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhM>hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM>hjubj)}(hf``pp_recycle`` mark the packet for recycling instead of freeing (implies page_pool support on driver) h](j)}(h``pp_recycle``h]j)}(hjvh]h pp_recycle}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@hjpubj)}(hhh]jX)}(hVmark the packet for recycling instead of freeing (implies page_pool support on driver)h]hVmark the packet for recycling instead of freeing (implies page_pool support on driver)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM?hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjubj)}(h;``active_extensions`` active extensions (skb_ext_id types) h](j)}(h``active_extensions``h]j)}(hjh]hactive_extensions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMAhjubj)}(hhh]jX)}(h$active extensions (skb_ext_id types)h]h$active extensions (skb_ext_id types)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(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.hhM#hjubj)}(hhh]jX)}(h Packet classh]h Packet class}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h(``ignore_df`` allow local fragmentation h](j)}(h ``ignore_df``h]j)}(hj"h]h ignore_df}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hallow local fragmentationh]hallow local fragmentation}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h2``dst_pending_confirm`` need to confirm neighbour h](j)}(h``dst_pending_confirm``h]j)}(hj[h]hdst_pending_confirm}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMThjUubj)}(hhh]jX)}(hneed to confirm neighbourh]hneed to confirm neighbour}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMThjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMThjubj)}(h+``ip_summed`` Driver fed us an IP checksum h](j)}(h ``ip_summed``h]j)}(hjh]h ip_summed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM!hjubj)}(hhh]jX)}(hDriver fed us an IP checksumh]hDriver fed us an IP checksum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjubj)}(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.hhMChjubj)}(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&]uh1jWhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(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.hhMXhjubj)}(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.hhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(hC``tc_at_ingress`` used within tc_classify to distinguish in/egress h](j)}(h``tc_at_ingress``h]j)}(hj@h]h tc_at_ingress}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM,hj:ubj)}(hhh]jX)}(h0used within tc_classify to distinguish in/egressh]h0used within tc_classify to distinguish in/egress}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhM,hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhM,hjubj)}(h?``tc_skip_classify`` do not classify packet. set by IFB device h](j)}(h``tc_skip_classify``h]j)}(hjyh]htc_skip_classify}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+hjsubj)}(hhh]jX)}(h)do not classify packet. set by IFB deviceh]h)do not classify packet. set by IFB device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjubj)}(h7``remcsum_offload`` remote checksum offload is enabled h](j)}(h``remcsum_offload``h]j)}(hjh]hremcsum_offload}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM(hjubj)}(hhh]jX)}(h"remote checksum offload is enabledh]h"remote checksum offload is enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(h8``csum_complete_sw`` checksum was completed by software h](j)}(h``csum_complete_sw``h]j)}(hjh]hcsum_complete_sw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMNhjubj)}(hhh]jX)}(h"checksum was completed by softwareh]h"checksum was completed by software}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubj)}(h``csum_level`` indicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3) h](j)}(h``csum_level``h]j)}(hj$h]h csum_level}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQhjubj)}(hhh]jX)}(hindicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3)h]hindicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3)}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMOhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMQhjubj)}(h]``inner_protocol_type`` whether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTO h](j)}(h``inner_protocol_type``h]j)}(hj^h]hinner_protocol_type}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM'hjXubj)}(hhh]jX)}(hDwhether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTOh]hDwhether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTO}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM&hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM'hjubj)}(hL``l4_hash`` indicate hash is a canonical 4-tuple hash over transport ports. h](j)}(h ``l4_hash``h]j)}(hjh]hl4_hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEhjubj)}(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.hhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubj)}(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.hhMFhjubj)}(hhh]jX)}(h-indicates hash was computed in software stackh]h-indicates hash was computed in software stack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubj)}(h(``wifi_acked_valid`` wifi_acked was set h](j)}(h``wifi_acked_valid``h]j)}(hj h]hwifi_acked_valid}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhj ubj)}(hhh]jX)}(hwifi_acked was seth]hwifi_acked was set}(hj$ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMGhj! ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMGhjubj)}(h6``wifi_acked`` whether frame was acked on wifi or not h](j)}(h``wifi_acked``h]j)}(hjD h]h wifi_acked}(hjF hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMHhj> ubj)}(hhh]jX)}(h&whether frame was acked on wifi or noth]h&whether frame was acked on wifi or not}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjY hMHhjZ ubah}(h]h ]h"]h$]h&]uh1jhj> ubeh}(h]h ]h"]h$]h&]uh1jhjY hMHhjubj)}(h=``no_fcs`` Request NIC to treat last 4 bytes as Ethernet FCS h](j)}(h ``no_fcs``h]j)}(hj} h]hno_fcs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMIhjw ubj)}(hhh]jX)}(h1Request NIC to treat last 4 bytes as Ethernet FCSh]h1Request NIC to treat last 4 bytes as Ethernet FCS}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMIhj ubah}(h]h ]h"]h$]h&]uh1jhjw ubeh}(h]h ]h"]h$]h&]uh1jhj hMIhjubj)}(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.hhMJhj 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 hMJhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMJhjubj)}(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.hhMKhj ubj)}(hhh]jX)}(hsoftware checksum is neededh]hsoftware checksum is needed}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMKhj!ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj!hMKhjubj)}(h)``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.hhMLhj"!ubj)}(hhh]jX)}(hchecksum is already validh]hchecksum is already valid}(hjA!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=!hMLhj>!ubah}(h]h ]h"]h$]h&]uh1jhj"!ubeh}(h]h ]h"]h$]h&]uh1jhj=!hMLhjubj)}(h1``ndisc_nodetype`` router type (from link layer) h](j)}(h``ndisc_nodetype``h]j)}(hja!h]hndisc_nodetype}(hjc!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMBhj[!ubj)}(hhh]jX)}(hrouter type (from link layer)h]hrouter type (from link layer)}(hjz!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjv!hMBhjw!ubah}(h]h ]h"]h$]h&]uh1jhj[!ubeh}(h]h ]h"]h$]h&]uh1jhjv!hMBhjubj)}(h*``ipvs_property`` skbuff is owned by ipvs h](j)}(h``ipvs_property``h]j)}(hj!h]h ipvs_property}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM%hj!ubj)}(hhh]jX)}(hskbuff is owned by ipvsh]hskbuff is owned by ipvs}(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)``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.hhM2hj!ubj)}(hhh]jX)}(hnetfilter packet trace flagh]hnetfilter packet trace flag}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hM2hj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hM2hjubj)}(h9``offload_fwd_mark`` Packet was L2-forwarded in hardware h](j)}(h``offload_fwd_mark``h]j)}(hj "h]hoffload_fwd_mark}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj "ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM)hj"ubj)}(hhh]jX)}(h#Packet was L2-forwarded in hardwareh]h#Packet was L2-forwarded in hardware}(hj%"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!"hM)hj""ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj!"hM)hjubj)}(h<``offload_l3_fwd_mark`` Packet was L3-forwarded in hardware h](j)}(h``offload_l3_fwd_mark``h]j)}(hjE"h]hoffload_l3_fwd_mark}(hjG"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM*hj?"ubj)}(hhh]jX)}(h#Packet was L3-forwarded in hardwareh]h#Packet was L3-forwarded in hardware}(hj^"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZ"hM*hj["ubah}(h]h ]h"]h$]h&]uh1jhj?"ubeh}(h]h ]h"]h$]h&]uh1jhjZ"hM*hjubj)}(h:``redirected`` packet was redirected by packet classifier h](j)}(h``redirected``h]j)}(hj~"h]h redirected}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM-hjx"ubj)}(hhh]jX)}(h*packet was redirected by packet classifierh]h*packet was redirected by packet classifier}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hM-hj"ubah}(h]h ]h"]h$]h&]uh1jhjx"ubeh}(h]h ]h"]h$]h&]uh1jhj"hM-hjubj)}(h=``from_ingress`` packet was redirected from the ingress path h](j)}(h``from_ingress``h]j)}(hj"h]h from_ingress}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.hj"ubj)}(hhh]jX)}(h+packet was redirected from the ingress pathh]h+packet was redirected from the ingress path}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hM.hj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hM.hjubj)}(hH``nf_skip_egress`` packet shall skip nf egress - see netfilter_netdev.h h](j)}(h``nf_skip_egress``h]j)}(hj"h]hnf_skip_egress}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hj"ubj)}(hhh]jX)}(h4packet shall skip nf egress - see netfilter_netdev.hh]h4packet shall skip nf egress - see netfilter_netdev.h}(hj #hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hM/hj#ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj#hM/hjubj)}(h``decrypted`` Decrypted SKB h](j)}(h ``decrypted``h]j)}(hj)#h]h decrypted}(hj+#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMUhj##ubj)}(hhh]jX)}(h Decrypted SKBh]h Decrypted SKB}(hjB#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>#hMUhj?#ubah}(h]h ]h"]h$]h&]uh1jhj##ubeh}(h]h ]h"]h$]h&]uh1jhj>#hMUhjubj)}(hE``slow_gro`` state present at GRO time, slower prepare step required h](j)}(h ``slow_gro``h]j)}(hjb#h]hslow_gro}(hjd#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMVhj\#ubj)}(hhh]jX)}(h7state present at GRO time, slower prepare step requiredh]h7state present at GRO time, slower prepare step required}(hj{#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjw#hMVhjx#ubah}(h]h ]h"]h$]h&]uh1jhj\#ubeh}(h]h ]h"]h$]h&]uh1jhjw#hMVhjubj)}(h9``csum_not_inet`` use CRC32c to resolve CHECKSUM_PARTIAL h](j)}(h``csum_not_inet``h]j)}(hj#h]h csum_not_inet}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMMhj#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#hMMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMMhjubj)}(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.hhMShj#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.hhMRhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMShjubj)}(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.hhM9hj$ubj)}(hhh]jX)}(hTraffic control indexh]hTraffic control index}(hj'$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#$hM9hj$$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj#$hM9hjubj)}(h0``alloc_cpu`` CPU which did the skb allocation. h](j)}(h ``alloc_cpu``h]j)}(hjG$h]h alloc_cpu}(hjI$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[hjA$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\$hM[hj]$ubah}(h]h ]h"]h$]h&]uh1jhjA$ubeh}(h]h ]h"]h$]h&]uh1jhj\$hM[hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj$h]h{unnamed_union}}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjz$ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hKhj$ubah}(h]h ]h"]h$]h&]uh1jhjz$ubeh}(h]h ]h"]h$]h&]uh1jhj$hKhjubj)}(h3``csum`` Checksum (must include start/offset pair) h](j)}(h``csum``h]j)}(hj$h]hcsum}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj$ubj)}(hhh]jX)}(h)Checksum (must include start/offset pair)h]h)Checksum (must include start/offset pair)}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hj$h]h{unnamed_struct}}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj$ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hj %hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hKhj%ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj%hKhjubj)}(hE``csum_start`` Offset from skb->head where checksumming should start h](j)}(h``csum_start``h]j)}(hj+%h]h csum_start}(hj-%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj%%ubj)}(hhh]jX)}(h5Offset from skb->head where checksumming should starth]h5Offset from skb->head where checksumming should start}(hjD%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@%hMhjA%ubah}(h]h ]h"]h$]h&]uh1jhj%%ubeh}(h]h ]h"]h$]h&]uh1jhj@%hMhjubj)}(hG``csum_offset`` Offset from csum_start where checksum should be stored h](j)}(h``csum_offset``h]j)}(hjd%h]h csum_offset}(hjf%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj^%ubj)}(hhh]jX)}(h6Offset from csum_start where checksum should be storedh]h6Offset from csum_start where checksum should be stored}(hj}%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjy%hMhjz%ubah}(h]h ]h"]h$]h&]uh1jhj^%ubeh}(h]h ]h"]h$]h&]uh1jhjy%hMhjubj)}(h&``priority`` Packet queueing priority h](j)}(h ``priority``h]j)}(hj%h]hpriority}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj%ubj)}(hhh]jX)}(hPacket queueing priorityh]hPacket queueing priority}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjubj)}(h,``skb_iif`` ifindex of device we arrived on h](j)}(h ``skb_iif``h]j)}(hj%h]hskb_iif}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8hj%ubj)}(hhh]jX)}(hifindex of device we arrived onh]hifindex of device we arrived on}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hM8hj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hM8hjubj)}(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.hhM:hj &ubj)}(hhh]jX)}(hthe packet hashh]hthe packet hash}(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)}(hjH&h]h{unnamed_union}}(hjJ&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjB&ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hja&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]&hKhj^&ubah}(h]h ]h"]h$]h&]uh1jhjB&ubeh}(h]h ]h"]h$]h&]uh1jhj]&hKhjubj)}(h'``vlan_all`` vlan fields (proto & tci) h](j)}(h ``vlan_all``h]j)}(hj&h]hvlan_all}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM`hj{&ubj)}(hhh]jX)}(hvlan fields (proto & tci)h]hvlan fields (proto & tci)}(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_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.hhMahj&ubj)}(hhh]jX)}(hvlan encapsulation protocolh]hvlan encapsulation protocol}(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*``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.hhMbhj&'ubj)}(hhh]jX)}(hvlan tag control informationh]hvlan tag control information}(hjE'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjA'hMbhjB'ubah}(h]h ]h"]h$]h&]uh1jhj&'ubeh}(h]h ]h"]h$]h&]uh1jhjA'hMbhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hje'h]h{unnamed_union}}(hjg'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj_'ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hj~'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjz'hKhj{'ubah}(h]h ]h"]h$]h&]uh1jhj_'ubeh}(h]h ]h"]h$]h&]uh1jhjz'hKhjubj)}(h5``napi_id`` id of the NAPI struct this skb came from h](j)}(h ``napi_id``h]j)}(hj'h]hnapi_id}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMYhj'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'hMYhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMYhjubj)}(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.hhMZhj'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'hMZhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMZhjubj)}(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.hhM\hj(ubj)}(hhh]jX)}(hsecurity markingh]hsecurity marking}(hj;(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7(hM\hj8(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj7(hM\hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj[(h]h{unnamed_union}}(hj](hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjU(ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjt(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjp(hKhjq(ubah}(h]h ]h"]h$]h&]uh1jhjU(ubeh}(h]h ]h"]h$]h&]uh1jhjp(hKhjubj)}(h``mark`` Generic packet mark h](j)}(h``mark``h]j)}(hj(h]hmark}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM]hj(ubj)}(hhh]jX)}(hGeneric packet markh]hGeneric packet mark}(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)}(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.hhM_hj(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.hhM^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)}(hj)h]h{unnamed_union}}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj)ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hj2)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.)hKhj/)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj.)hKhjubj)}(h,``inner_protocol`` Protocol (encapsulation) h](j)}(h``inner_protocol``h]j)}(hjR)h]hinner_protocol}(hjT)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMchjL)ubj)}(hhh]jX)}(hProtocol (encapsulation)h]hProtocol (encapsulation)}(hjk)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjg)hMchjh)ubah}(h]h ]h"]h$]h&]uh1jhjL)ubeh}(h]h ]h"]h$]h&]uh1jhjg)hMchjubj)}(ho``inner_ipproto`` (aka **inner_protocol**) stores ipproto when skb->inner_protocol_type == ENCAP_TYPE_IPPROTO; h](j)}(h``inner_ipproto``h]j)}(hj)h]h inner_ipproto}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMehj)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.hhMdhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMehjubj)}(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.hhMfhj)ubj)}(hhh]jX)}(h,Inner transport layer header (encapsulation)h]h,Inner transport layer header (encapsulation)}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMfhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMfhjubj)}(h>``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.hhMghj *ubj)}(hhh]jX)}(h$Network layer header (encapsulation)h]h$Network layer header (encapsulation)}(hj)*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%*hMghj&*ubah}(h]h ]h"]h$]h&]uh1jhj *ubeh}(h]h ]h"]h$]h&]uh1jhj%*hMghjubj)}(h7``inner_mac_header`` Link layer header (encapsulation) h](j)}(h``inner_mac_header``h]j)}(hjI*h]hinner_mac_header}(hjK*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhhjC*ubj)}(hhh]jX)}(h!Link layer header (encapsulation)h]h!Link layer header (encapsulation)}(hjb*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^*hMhhj_*ubah}(h]h ]h"]h$]h&]uh1jhjC*ubeh}(h]h ]h"]h$]h&]uh1jhj^*hMhhjubj)}(h)``protocol`` Packet protocol from driver h](j)}(h ``protocol``h]j)}(hj*h]hprotocol}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3hj|*ubj)}(hhh]jX)}(hPacket protocol from driverh]hPacket protocol from driver}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hM3hj*ubah}(h]h ]h"]h$]h&]uh1jhj|*ubeh}(h]h ]h"]h$]h&]uh1jhj*hM3hjubj)}(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.hhMihj*ubj)}(hhh]jX)}(hTransport layer headerh]hTransport layer header}(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(``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.hhMjhj*ubj)}(hhh]jX)}(hNetwork layer headerh]hNetwork layer header}(hj +hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj +hMjhj +ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj +hMjhjubj)}(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.hhMkhj'+ubj)}(hhh]jX)}(hLink layer headerh]hLink layer header}(hjF+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjB+hMkhjC+ubah}(h]h ]h"]h$]h&]uh1jhj'+ubeh}(h]h ]h"]h$]h&]uh1jhjB+hMkhjubj)}(hB``kcov_handle`` KCOV remote handle for remote coverage collection h](j)}(h``kcov_handle``h]j)}(hjf+h]h kcov_handle}(hjh+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhj`+ubj)}(hhh]jX)}(h1KCOV remote handle for remote coverage collectionh]h1KCOV remote handle for remote coverage collection}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{+hMlhj|+ubah}(h]h ]h"]h$]h&]uh1jhj`+ubeh}(h]h ]h"]h$]h&]uh1jhj{+hMlhjubj)}(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.hhMmhj+ubj)}(hhh]jX)}(h Tail pointerh]h Tail pointer}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMmhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMmhjubj)}(h``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.hhMnhj+ubj)}(hhh]jX)}(h End pointerh]h End pointer}(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``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.hhMohj ,ubj)}(hhh]jX)}(hHead of bufferh]hHead of buffer}(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``data`` Data head pointer h](j)}(h``data``h]j)}(hjJ,h]hdata}(hjL,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMphjD,ubj)}(hhh]jX)}(hData head pointerh]hData head pointer}(hjc,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_,hMphj`,ubah}(h]h ]h"]h$]h&]uh1jhjD,ubeh}(h]h ]h"]h$]h&]uh1jhj_,hMphjubj)}(h``truesize`` Buffer size h](j)}(h ``truesize``h]j)}(hj,h]htruesize}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMqhj},ubj)}(hhh]jX)}(h Buffer sizeh]h Buffer size}(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,``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.hhMrhj,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,hMrhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMrhjubj)}(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.hhMrhj,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.hhMshj -ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj -hMrhjubeh}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pfmemalloc (C function)c.skb_pfmemallochNtauh1hhj[hhhNhNubh)}(hhh](h)}(h/bool skb_pfmemalloc (const struct sk_buff *skb)h]h)}(h.bool skb_pfmemalloc(const struct sk_buff *skb)h](j)}(hjTh]hbool}(hjO-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK-hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMpubj)}(h h]h }(hj]-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjK-hhhj\-hMpubj)}(hskb_pfmemalloch]j%)}(hskb_pfmemalloch]hskb_pfmemalloc}(hjo-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjk-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjK-hhhj\-hMpubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubh)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j')}jjq-sbc.skb_pfmemallocasbuh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj;)}(hj>h]h*}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-ubj%)}(hskbh]hskb}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-ubah}(h]h ]h"]h$]h&]j<j=uh1jhjK-hhhj\-hMpubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjG-hhhj\-hMpubah}(h]jB-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\-hMphjD-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.hhMphj&.hhubah}(h]h ]h"]h$]h&]uh1jRhjD-hhhj\-hMpubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjA.jxjA.jyjzj{uh1hhhhj[hNhNubj})}(h6**Parameters** ``const struct sk_buff *skb`` bufferh](jX)}(h**Parameters**h]j)}(hjK.h]h Parameters}(hjM.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI.ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMthjE.ubj)}(hhh]j)}(h$``const struct sk_buff *skb`` bufferh](j)}(h``const struct sk_buff *skb``h]j)}(hjj.h]hconst struct sk_buff *skb}(hjl.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh.ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhjd.ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMqhj.ubah}(h]h ]h"]h$]h&]uh1jhjd.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMvhja.ubah}(h]h ]h"]h$]h&]uh1jhjE.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dst (C function) c.skb_dsthNtauh1hhj[hhhNhNubh)}(hhh](h)}(h6struct dst_entry * skb_dst (const struct sk_buff *skb)h]h)}(h4struct dst_entry *skb_dst(const struct sk_buff *skb)h](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj.hMubh)}(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.hMubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj.hMubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.hhhj.hMubj)}(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.hMubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj>/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:/ubj)}(h h]h }(hjK/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:/ubh)}(hjh]hstruct}(hjY/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:/ubj)}(h h]h }(hjf/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:/ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjw/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjt/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjy/modnameN classnameNjj!)}j$]j. c.skb_dstasbuh1hhj:/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:/ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:/ubj%)}(hskbh]hskb}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6/ubah}(h]h ]h"]h$]h&]j<j=uh1jhj.hhhj.hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhj.hMubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hMhj.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.hhMhj/hhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhj.hMubeh}(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.hhMhj/ubj)}(hhh]j)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hj0h]hconst struct sk_buff *skb}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj0ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj40hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj00hMhj10ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj00hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubjX)}(h **Return**h]j)}(hjV0h]hReturn}(hjX0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT0ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj/ubjX)}(h4skb dst_entry, regardless of reference taken or not.h]h4skb dst_entry, regardless of reference taken or not.}(hjl0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dstref_steal (C function)c.skb_dstref_stealhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h4unsigned long skb_dstref_steal (struct sk_buff *skb)h]h)}(h3unsigned long skb_dstref_steal(struct sk_buff *skb)h](j)}(hunsignedh]hunsigned}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhj0hMubj)}(hlongh]hlong}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhj0hMubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhj0hMubj)}(hskb_dstref_stealh]j%)}(hskb_dstref_stealh]hskb_dstref_steal}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0hhhj0hMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j')}jj0sbc.skb_dstref_stealasbuh1hhj0ubj)}(h h]h }(hj21hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hj@1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hskbh]hskb}(hjM1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubah}(h]h ]h"]h$]h&]j<j=uh1jhj0hhhj0hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0hhhj0hMubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hMhj0hhubjS)}(hhh]jX)}(h+return current dst_entry value and clear ith]h+return current dst_entry value and clear it}(hjw1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjt1hhubah}(h]h ]h"]h$]h&]uh1jRhj0hhhj0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1jxj1jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer **Description** Resets skb dst_entry without adjusting its reference count. Useful in cases where dst_entry needs to be temporarily reset and restored. Note that the returned value cannot be used directly because it might contain SKB_DST_NOREF bit. When in doubt, prefer skb_dst_drop() over skb_dstref_steal() to correctly handle dst_entry reference counting. **Return** original skb dst_entry.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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubjX)}(h**Description**h]j)}(hj1h]h Description}(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.hhMhj1ubjX)}(hResets skb dst_entry without adjusting its reference count. Useful in cases where dst_entry needs to be temporarily reset and restored. Note that the returned value cannot be used directly because it might contain SKB_DST_NOREF bit.h]hResets skb dst_entry without adjusting its reference count. Useful in cases where dst_entry needs to be temporarily reset and restored. Note that the returned value cannot be used directly because it might contain SKB_DST_NOREF bit.}(hj 2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1ubjX)}(hnWhen in doubt, prefer skb_dst_drop() over skb_dstref_steal() to correctly handle dst_entry reference counting.h]hnWhen in doubt, prefer skb_dst_drop() over skb_dstref_steal() to correctly handle dst_entry reference counting.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1ubjX)}(h **Return**h]j)}(hj)2h]hReturn}(hj+2hhhNhNubah}(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)}(horiginal skb dst_entry.h]horiginal skb dst_entry.}(hj?2hhhNhNubah}(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_dstref_restore (C function)c.skb_dstref_restorehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hCvoid skb_dstref_restore (struct sk_buff *skb, unsigned long refdst)h]h)}(hBvoid skb_dstref_restore(struct sk_buff *skb, unsigned long refdst)h](j)}(hvoidh]hvoid}(hjn2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj2hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj}2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj2hhhj|2hMubj)}(hskb_dstref_restoreh]j%)}(hskb_dstref_restoreh]hskb_dstref_restore}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjj2hhhj|2hMubj)}(h+(struct sk_buff *skb, unsigned long refdst)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 reftargetj2modnameN classnameNjj!)}j$]j')}jj2sbc.skb_dstref_restoreasbuh1hhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hskbh]hskb}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubj)}(hunsigned long refdsth](j)}(hunsignedh]hunsigned}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj)}(h h]h }(hj+3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(hlongh]hlong}(hj93hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj)}(h h]h }(hjG3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj%)}(hrefdsth]hrefdst}(hjU3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjj2hhhj|2hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjf2hhhj|2hMubah}(h]ja2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|2hMhjc2hhubjS)}(hhh]jX)}(h4restore skb dst_entry removed via skb_dstref_steal()h]h4restore skb dst_entry removed via skb_dstref_steal()}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj|3hhubah}(h]h ]h"]h$]h&]uh1jRhjc2hhhj|2hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj3jxj3jyjzj{uh1hhhhj[hNhNubj})}(hx**Parameters** ``struct sk_buff *skb`` buffer ``unsigned long refdst`` dst entry from a call to skb_dstref_steal()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)}(hj3h]hstruct sk_buff *skb}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj3ubj)}(hD``unsigned long refdst`` dst entry from a call to skb_dstref_steal()h](j)}(h``unsigned long refdst``h]j)}(hj3h]hunsigned long refdst}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubj)}(hhh]jX)}(h+dst entry from a call to skb_dstref_steal()h]h+dst entry from a call to skb_dstref_steal()}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(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*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hskbh]hskb}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(hstruct dst_entry *dsth](h)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(h dst_entryh]h dst_entry}(hj 5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"5modnameN classnameNjj!)}j$]j4 c.skb_dst_setasbuh1hhj4ubj)}(h h]h }(hj>5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hjL5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hdsth]hdst}(hjY5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjO4hhhja4hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjK4hhhja4hMubah}(h]jF4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhja4hMhjH4hhubjS)}(hhh]jX)}(h sets skb dsth]h sets skb dst}(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&]uh1jRhjH4hhhja4hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{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)}(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``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj5h]hstruct 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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubj)}(h$``struct dst_entry *dst`` dst entry h](j)}(h``struct dst_entry *dst``h]j)}(hj5h]hstruct dst_entry *dst}(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)}(h dst entryh]h dst entry}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubjX)}(h**Description**h]j)}(hj86h]h Description}(hj:6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj66ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5ubjX)}(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()}(hjN6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5ubeh}(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}(hj}6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjy6hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjy6hhhj6hMubj)}(hskb_dst_set_norefh]j%)}(hskb_dst_set_norefh]hskb_dst_set_noref}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjy6hhhj6hMubj)}(h,(struct sk_buff *skb, struct dst_entry *dst)h](j)}(hstruct sk_buff *skbh](h)}(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')}jj6sbc.skb_dst_set_norefasbuh1hhj6ubj)}(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=uh1jhj6ubj)}(hstruct dst_entry *dsth](h)}(hjh]hstruct}(hj,7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(7ubj)}(h h]h }(hj97hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(7ubh)}(hhh]j%)}(h dst_entryh]h dst_entry}(hjJ7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjL7modnameN classnameNjj!)}j$]j6c.skb_dst_set_norefasbuh1hhj(7ubj)}(h h]h }(hjh7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(7ubj;)}(hj>h]h*}(hjv7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj(7ubj%)}(hdsth]hdst}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjy6hhhj6hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhju6hhhj6hMubah}(h]jp6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj6hMhjr6hhubjS)}(hhh]jX)}(h1sets skb dst, hopefully, without taking referenceh]h1sets skb dst, hopefully, without taking reference}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj7hhubah}(h]h ]h"]h$]h&]uh1jRhjr6hhhj6hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{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)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj7ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj7h]hstruct sk_buff *skb}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj7ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj7ubj)}(h$``struct dst_entry *dst`` dst entry h](j)}(h``struct dst_entry *dst``h]j)}(hj'8h]hstruct dst_entry *dst}(hj)8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%8ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj!8ubj)}(hhh]jX)}(h dst entryh]h dst entry}(hj@8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<8hMhj=8ubah}(h]h ]h"]h$]h&]uh1jhj!8ubeh}(h]h ]h"]h$]h&]uh1jhj<8hMhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubjX)}(h**Description**h]j)}(hjb8h]h Description}(hjd8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`8ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj7ubjX)}(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.}(hjx8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj7ubeh}(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}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhj8hMubj)}(hskb_dst_is_norefh]j%)}(hskb_dst_is_norefh]hskb_dst_is_noref}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhj8hMubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hj 9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]j')}jj8sbc.skb_dst_is_norefasbuh1hhj8ubj)}(h h]h }(hj<9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hjJ9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hskbh]hskb}(hjW9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubah}(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)}(h Test if skb dst isn't refcountedh]h"Test if skb dst isn’t refcounted}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj~9hhubah}(h]h ]h"]h$]h&]uh1jRhj8hhhj8hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhj[hNhNubj})}(h6**Parameters** ``const struct sk_buff *skb`` bufferh](jX)}(h**Parameters**h]j)}(hj9h]h Parameters}(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.hhMhj9ubj)}(hhh]j)}(h$``const struct sk_buff *skb`` bufferh](j)}(h``const struct sk_buff *skb``h]j)}(hj9h]hconst struct sk_buff *skb}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj9ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(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}(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)}(hinth]hint}(hj9:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:hhhj*:hMubj)}(h h]h }(hjG:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hhhj*:hMubj)}(h skb_napi_idh]j%)}(h skb_napi_idh]h skb_napi_id}(hjY:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:hhhj*:hMubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hju:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjq:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjq:ubh)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjq:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjq: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_napi_idasbuh1hhjq: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:ubah}(h]h ]h"]h$]h&]j<j=uh1jhj:hhhj*:hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:hhhj*:hMubah}(h]j:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*:hMhj:hhubjS)}(hhh]jX)}(hReturns the skb's NAPI idh]hReturns the skb’s NAPI id}(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&]uh1jRhj:hhhj*:hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+;jxj+;jyjzj{uh1hhhhj[hNhNubj})}(h6**Parameters** ``const struct sk_buff *skb`` bufferh](jX)}(h**Parameters**h]j)}(hj5;h]h Parameters}(hj7;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3;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`` bufferh](j)}(h``const struct sk_buff *skb``h]j)}(hjT;h]hconst struct sk_buff *skb}(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.hhMhjN;ubj)}(hhh]jX)}(hbufferh]hbuffer}(hjm;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjj;ubah}(h]h ]h"]h$]h&]uh1jhjN;ubeh}(h]h ]h"]h$]h&]uh1jhji;hMhjK;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_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}(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)}(h skb_unrefh]j%)}(h skb_unrefh]h skb_unref}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhj;hMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]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.skb_unrefasbuh1hhj;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%)}(hskbh]hskb}(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)}(h#decrement the skb's reference counth]h%decrement the skb’s reference count}(hjm<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjj<hhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhj;hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhj[hNhNubj})}(hZ**Parameters** ``struct sk_buff *skb`` buffer **Return** true if we can free the 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.hhMhj<ubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj<h]hstruct sk_buff *skb}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj<ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubjX)}(h **Return**h]j)}(hj<h]hReturn}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj<ubjX)}(htrue if we can free the skb.h]htrue if we can free the skb.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](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}(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 kfree_skbh]j%)}(h kfree_skbh]h kfree_skb}(hjO=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjK=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*=hhhj<=hM.ubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](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%)}(hsk_buffh]hsk_buff}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]j')}jjQ=sb c.kfree_skbasbuh1hhjg=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%)}(hskbh]hskb}(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<=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+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.hhM.hj=hhubah}(h]h ]h"]h$]h&]uh1jRhj#=hhhj<=hM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhj[hNhNubj})}(h8**Parameters** ``struct sk_buff *skb`` buffer to freeh](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.hhM2hj >ubj)}(hhh]j)}(h&``struct sk_buff *skb`` buffer to freeh](j)}(h``struct sk_buff *skb``h]j)}(hj/>h]hstruct sk_buff *skb}(hj1>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)}(hbuffer to freeh]hbuffer to free}(hjH>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hjE>ubah}(h]h ]h"]h$]h&]uh1jhj)>ubeh}(h]h ]h"]h$]h&]uh1jhjD>hM4hj&>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 (C function) c.alloc_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h>struct sk_buff * alloc_skb (unsigned int size, gfp_t priority)h]h)}(hhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhj>hM^ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j')}j alloc_skbsb c.alloc_skbasbuh1hhj>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)}(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 }(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}(hjW?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjT?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjY?modnameN classnameNjj!)}j$]j> c.alloc_skbasbuh1hhjP?ubj)}(h h]h }(hju?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP?ubj%)}(hpriorityh]hpriority}(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)}(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.hhMbhj?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.hhM_hj?ubj)}(hhh]jX)}(hsize to allocateh]hsize to allocate}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hM_hj@ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj@hM_hj?ubj)}(h#``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.hhM`hj!@ubj)}(hhh]jX)}(hallocation maskh]hallocation mask}(hj@@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<@hM`hj=@ubah}(h]h ]h"]h$]h&]uh1jhj!@ubeh}(h]h ]h"]h$]h&]uh1jhj<@hM`hj?ubeh}(h]h ]h"]h$]h&]uh1jhj?ubjX)}(h**Description**h]j)}(hjb@h]h Description}(hjd@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`@ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMbhj?ubjX)}(h;This function is a convenient wrapper around __alloc_skb().h]h;This function is a convenient wrapper around __alloc_skb().}(hjx@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMahj?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.hhM{ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhj@hM{ubj)}(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@hM{ubj)}(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 }(hj AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubh)}(hhh]j%)}(hsockh]hsock}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jj@sbc.skb_fclone_busyasbuh1hhj@ubj)}(h h]h }(hjh]h*}(hjJAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@ubj%)}(hskh]hsk}(hjWAhhhNhNubah}(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}(hjpAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlAubj)}(h h]h }(hj}AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlAubh)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlAubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j8Ac.skb_fclone_busyasbuh1hhjlAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlAubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlAubj%)}(hskbh]hskb}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlAubeh}(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)}(hcheck if fclone is busyh]hcheck if fclone is busy}(hj BhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM{hj Bhhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhj@hM{ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$Bjxj$Bjyjzj{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)}(hj.Bh]h Parameters}(hj0BhhhNhNubah}(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!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hjMBh]hconst struct sock *sk}(hjOBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKBubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM|hjGBubj)}(hhh]jX)}(hsocketh]hsocket}(hjfBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbBhM|hjcBubah}(h]h ]h"]h$]h&]uh1jhjGBubeh}(h]h ]h"]h$]h&]uh1jhjbBhM|hjDBubj)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjBh]hconst struct 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.hhM}hjBubj)}(hhh]jX)}(hbufferh]hbuffer}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM}hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM}hjDBubeh}(h]h ]h"]h$]h&]uh1jhj(BubjX)}(h **Return**h]j)}(hjBh]hReturn}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj(BubjX)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj(Bubeh}(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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjChhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhjChMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj%ChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"Cubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'CmodnameN classnameNjj!)}j$]j')}jalloc_skb_fclonesbc.alloc_skb_fcloneasbuh1hhjChhhjChMubj)}(h h]h }(hjFChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhjChMubj;)}(hj>h]h*}(hjTChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjChhhjChMubj)}(halloc_skb_fcloneh]j%)}(hjCCh]halloc_skb_fclone}(hjeChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjChhhjChMubj)}(h#(unsigned int size, gfp_t priority)h](j)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|Cubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Cubj)}(hinth]hint}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|Cubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Cubj%)}(hsizeh]hsize}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|Cubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxCubj)}(hgfp_t priorityh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]jACc.alloc_skb_fcloneasbuh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj%)}(hpriorityh]hpriority}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxCubeh}(h]h ]h"]h$]h&]j<j=uh1jhjChhhjChMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjBhhhjChMubah}(h]jBah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjChMhjBhhubjS)}(hhh]jX)}(h+allocate a network buffer from fclone cacheh]h+allocate a network buffer from fclone cache}(hj*DhhhNhNubah}(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&]uh1jRhjBhhhjChMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjBDjxjBDjyjzj{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)}(hjLDh]h Parameters}(hjNDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJDubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjFDubj)}(hhh](j)}(h'``unsigned int size`` size to allocate h](j)}(h``unsigned int size``h]j)}(hjkDh]hunsigned int size}(hjmDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiDubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjeDubj)}(hhh]jX)}(hsize to allocateh]hsize to allocate}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhjeDubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjbDubj)}(h#``gfp_t priority`` allocation mask h](j)}(h``gfp_t priority``h]j)}(hjDh]hgfp_t priority}(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)}(hallocation maskh]hallocation mask}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjbDubeh}(h]h ]h"]h$]h&]uh1jhjFDubjX)}(h**Description**h]j)}(hjDh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjFDubjX)}(h;This function is a convenient wrapper around __alloc_skb().h]h;This function is a convenient wrapper around __alloc_skb().}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjFDubeh}(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}(hj$EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj EhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj3EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Ehhhj2EhMubj)}(hskb_padh]j%)}(hskb_padh]hskb_pad}(hjEEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAEubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj Ehhhj2EhMubj)}(h(struct sk_buff *skb, int pad)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjaEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj]Eubj)}(h h]h }(hjnEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]Eubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|Eubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jjGEsb c.skb_padasbuh1hhj]Eubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]Eubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]Eubj%)}(hskbh]hskb}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]Eubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYEubj)}(hint padh](j)}(hinth]hint}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj%)}(hpadh]hpad}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYEubeh}(h]h ]h"]h$]h&]j<j=uh1jhj Ehhhj2EhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjEhhhj2EhMubah}(h]jEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj2EhMhjEhhubjS)}(hhh]jX)}(hzero pad the tail of an skbh]hzero pad the tail of an skb}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjFhhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhj2EhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1Fjxj1Fjyjzj{uh1hhhhj[hNhNubj})}(hXb**Parameters** ``struct sk_buff *skb`` buffer to pad ``int pad`` space to pad **Description** Ensure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire. May return error in out of memory cases. The skb is freed on error.h](jX)}(h**Parameters**h]j)}(hj;Fh]h Parameters}(hj=FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Fubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5Fubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjZFh]hstruct sk_buff *skb}(hj\FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXFubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjTFubj)}(hhh]jX)}(h buffer to padh]h buffer to pad}(hjsFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjoFhMhjpFubah}(h]h ]h"]h$]h&]uh1jhjTFubeh}(h]h ]h"]h$]h&]uh1jhjoFhMhjQFubj)}(h``int pad`` space to pad h](j)}(h ``int pad``h]j)}(hjFh]hint pad}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjFubj)}(hhh]jX)}(h space to padh]h space to pad}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjQFubeh}(h]h ]h"]h$]h&]uh1jhj5FubjX)}(h**Description**h]j)}(hjFh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5Fubj )}(hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire. May return error in out of memory cases. The skb is freed on error.h](jX)}(hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.h]hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjFubjX)}(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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjFubeh}(h]h ]h"]h$]h&]uh1j hjFhMhj5Fubeh}(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}(hj,GhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(GhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj;GhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(Ghhhj:GhMubj)}(hskb_queue_emptyh]j%)}(hskb_queue_emptyh]hskb_queue_empty}(hjMGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj(Ghhhj:GhMubj)}(h!(const struct sk_buff_head *list)h]j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjiGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjeGubj)}(h h]h }(hjvGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeGubh)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjeGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeGubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]j')}jjOGsbc.skb_queue_emptyasbuh1hhjeGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeGubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeGubj%)}(hlisth]hlist}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaGubah}(h]h ]h"]h$]h&]j<j=uh1jhj(Ghhhj:GhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj$Ghhhj:GhMubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj:GhMhj!GhhubjS)}(hhh]jX)}(hcheck if a queue is emptyh]hcheck if a queue is empty}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjHhhubah}(h]h ]h"]h$]h&]uh1jRhj!Ghhhj:GhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjHjxjHjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` queue head **Description** Returns true if the queue is empty, false otherwise.h](jX)}(h**Parameters**h]j)}(hj)Hh]h Parameters}(hj+HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'Hubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj#Hubj)}(hhh]j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjHHh]hconst struct sk_buff_head *list}(hjJHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFHubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjBHubj)}(hhh]jX)}(h queue headh]h queue head}(hjaHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]HhMhj^Hubah}(h]h ]h"]h$]h&]uh1jhjBHubeh}(h]h ]h"]h$]h&]uh1jhj]HhMhj?Hubah}(h]h ]h"]h$]h&]uh1jhj#HubjX)}(h**Description**h]j)}(hjHh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj#Hubj )}(h4Returns true if the queue is empty, false otherwise.h]jX)}(hjHh]h4Returns true if the queue is empty, false otherwise.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjHubah}(h]h ]h"]h$]h&]uh1j hjHhMhj#Hubeh}(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}(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)}(hskb_queue_empty_locklessh]j%)}(hskb_queue_empty_locklessh]hskb_queue_empty_lockless}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjHhMubj)}(h!(const struct sk_buff_head *list)h]j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hj IhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj Iubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Iubh)}(hjh]hstruct}(hj(IhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj Iubj)}(h h]h }(hj5IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Iubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjFIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHImodnameN classnameNjj!)}j$]j')}jjHsbc.skb_queue_empty_locklessasbuh1hhj Iubj)}(h h]h }(hjfIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Iubj;)}(hj>h]h*}(hjtIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj Iubj%)}(hlisth]hlist}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Iubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubah}(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)}(hcheck if a queue is emptyh]hcheck if a queue is empty}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjIhhubah}(h]h ]h"]h$]h&]uh1jRhjHhhhjHhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` queue head **Description** Returns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.h](jX)}(h**Parameters**h]j)}(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)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjIh]hconst struct 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)}(h queue headh]h queue head}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubjX)}(h**Description**h]j)}(hj'Jh]h Description}(hj)JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Jubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjIubj )}(hcReturns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.h]jX)}(hcReturns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.h]hcReturns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.}(hjAJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj=Jubah}(h]h ]h"]h$]h&]uh1j hjOJhMhjIubeh}(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}(hjvJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrJhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrJhhhjJhMubj)}(hskb_queue_is_lasth]j%)}(hskb_queue_is_lasth]hskb_queue_is_last}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrJhhhjJhMubj)}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hconst struct sk_buff_head *listh](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 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')}jjJsbc.skb_queue_is_lastasbuh1hhjJubj)}(h h]h }(hj KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hlisth]hlist}(hj&KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj?KhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;Kubj)}(h h]h }(hjLKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;Kubh)}(hjh]hstruct}(hjZKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;Kubj)}(h h]h }(hjgKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;Kubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjxKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzKmodnameN classnameNjj!)}j$]jKc.skb_queue_is_lastasbuh1hhj;Kubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;Kubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;Kubj%)}(hskbh]hskb}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;Kubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubeh}(h]h ]h"]h$]h&]j<j=uh1jhjrJhhhjJhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnJhhhjJhMubah}(h]jiJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJhMhjkJhhubjS)}(hhh]jX)}(h+check if skb is the last entry in the queueh]h+check if skb is the last entry in the queue}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKhhubah}(h]h ]h"]h$]h&]uh1jRhjkJhhhjJhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` buffer **Description** Returns true if **skb** is the last buffer on the list.h](jX)}(h**Parameters**h]j)}(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.hhMhjKubj)}(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}(hj5LhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1LhMhj2Lubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhj1LhMhjLubj)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjULh]hconst struct sk_buff *skb}(hjWLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSLubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjOLubj)}(hhh]jX)}(hbufferh]hbuffer}(hjnLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjLhMhjkLubah}(h]h ]h"]h$]h&]uh1jhjOLubeh}(h]h ]h"]h$]h&]uh1jhjjLhMhjLubeh}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKubj )}(h7Returns true if **skb** is the last buffer on the list.h]jX)}(hjLh](hReturns true if }(hjLhhhNhNubj)}(h**skb**h]hskb}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh is the last buffer on the list.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLubah}(h]h ]h"]h$]h&]uh1j hjLhMhjKubeh}(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}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhjLhMubj)}(hskb_queue_is_firsth]j%)}(hskb_queue_is_firsth]hskb_queue_is_first}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Mubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhjLhMubj)}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hj,MhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(Mubj)}(h h]h }(hj9MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(Mubh)}(hjh]hstruct}(hjGMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(Mubj)}(h h]h }(hjTMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(Mubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjeMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgMmodnameN classnameNjj!)}j$]j')}jjMsbc.skb_queue_is_firstasbuh1hhj(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%)}(hlisth]hlist}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(Mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$Mubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubh)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]jMc.skb_queue_is_firstasbuh1hhjMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hskbh]hskb}(hj+NhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$Mubeh}(h]h ]h"]h$]h&]j<j=uh1jhjLhhhjLhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhjLhMubah}(h]jLah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLhMhjLhhubjS)}(hhh]jX)}(h,check if skb is the first entry in the queueh]h,check if skb is the first entry in the queue}(hjUNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjRNhhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhjLhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmNjxjmNjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` buffer **Description** Returns true if **skb** is the first buffer on the list.h](jX)}(h**Parameters**h]j)}(hjwNh]h Parameters}(hjyNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjqNubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjNh]hconst struct sk_buff_head *list}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjNubj)}(hhh]jX)}(h queue headh]h queue head}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjNubj)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjNh]hconst struct sk_buff *skb}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjNubj)}(hhh]jX)}(hbufferh]hbuffer}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjNubeh}(h]h ]h"]h$]h&]uh1jhjqNubjX)}(h**Description**h]j)}(hj Oh]h Description}(hj OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjqNubj )}(h8Returns true if **skb** is the first buffer on the list.h]jX)}(hj"Oh](hReturns true if }(hj$OhhhNhNubj)}(h**skb**h]hskb}(hj+OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Oubh! is the first buffer on the list.}(hj$OhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj Oubah}(h]h ]h"]h$]h&]uh1j hjCOhMhjqNubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_next (C function)c.skb_queue_nexthNtauh1hhj[hhhNhNubh)}(hhh](h)}(h\struct sk_buff * skb_queue_next (const struct sk_buff_head *list, const struct sk_buff *skb)h]h)}(hZstruct sk_buff *skb_queue_next(const struct sk_buff_head *list, const struct sk_buff *skb)h](h)}(hjh]hstruct}(hjjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfOhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjxOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfOhhhjwOhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]j')}jskb_queue_nextsbc.skb_queue_nextasbuh1hhjfOhhhjwOhMubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfOhhhjwOhMubj;)}(hj>h]h*}(hjOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfOhhhjwOhMubj)}(hskb_queue_nexth]j%)}(hjOh]hskb_queue_next}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfOhhhjwOhMubj)}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hconst struct sk_buff_head *listh](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 }(hj PhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(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$]jOc.skb_queue_nextasbuh1hhjOubj)}(h h]h }(hj;PhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjIPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hlisth]hlist}(hjVPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjoPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkPubj)}(h h]h }(hj|PhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkPubh)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkPubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]jOc.skb_queue_nextasbuh1hhjkPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkPubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkPubj%)}(hskbh]hskb}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubeh}(h]h ]h"]h$]h&]j<j=uh1jhjfOhhhjwOhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbOhhhjwOhMubah}(h]j]Oah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwOhMhj_OhhubjS)}(hhh]jX)}(h#return the next packet in the queueh]h#return the next packet in the queue}(hj QhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjQhhubah}(h]h ]h"]h$]h&]uh1jRhj_OhhhjwOhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj#Qjxj#Qjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` current buffer **Description** Return the next packet in **list** after **skb**. It is only valid to call this if skb_queue_is_last() evaluates to false.h](jX)}(h**Parameters**h]j)}(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:17: ./include/linux/skbuff.hhMhj'Qubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjLQh]hconst struct sk_buff_head *list}(hjNQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJQubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjFQubj)}(hhh]jX)}(h queue headh]h queue head}(hjeQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjaQhMhjbQubah}(h]h ]h"]h$]h&]uh1jhjFQubeh}(h]h ]h"]h$]h&]uh1jhjaQhMhjCQubj)}(h-``const struct sk_buff *skb`` current buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjQh]hconst struct sk_buff *skb}(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.hhMhjQubj)}(hhh]jX)}(hcurrent bufferh]hcurrent buffer}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjCQubeh}(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:17: ./include/linux/skbuff.hhMhj'Qubj )}(h{Return the next packet in **list** after **skb**. It is only valid to call this if skb_queue_is_last() evaluates to false.h]jX)}(h{Return the next packet in **list** after **skb**. It is only valid to call this if skb_queue_is_last() evaluates to false.h](hReturn the next packet in }(hjQhhhNhNubj)}(h**list**h]hlist}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh after }(hjQhhhNhNubj)}(h**skb**h]hskb}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubhK. It is only valid to call this if skb_queue_is_last() evaluates to false.}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjQubah}(h]h ]h"]h$]h&]uh1j hj RhMhj'Qubeh}(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}(hj3RhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/RhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjARhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/Rhhhj@RhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjRRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjORubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTRmodnameN classnameNjj!)}j$]j')}jskb_queue_prevsbc.skb_queue_prevasbuh1hhj/Rhhhj@RhMubj)}(h h]h }(hjsRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/Rhhhj@RhMubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/Rhhhj@RhMubj)}(hskb_queue_prevh]j%)}(hjpRh]hskb_queue_prev}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/Rhhhj@RhMubj)}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(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$]jnRc.skb_queue_prevasbuh1hhjRubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hlisth]hlist}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj8ShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4Subj)}(h h]h }(hjEShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4Subh)}(hjh]hstruct}(hjSShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4Subj)}(h h]h }(hj`ShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4Subh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjqShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsSmodnameN classnameNjj!)}j$]jnRc.skb_queue_prevasbuh1hhj4Subj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4Subj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4Subj%)}(hskbh]hskb}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4Subeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubeh}(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)}(h#return the prev packet in the queueh]h#return the prev packet in the queue}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjShhubah}(h]h ]h"]h$]h&]uh1jRhj(Rhhhj@RhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhj[hNhNubj})}(hX **Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` current buffer **Description** Return the prev packet in **list** before **skb**. It is only valid to call this if skb_queue_is_first() evaluates to false.h](jX)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(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_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjTh]hconst struct sk_buff_head *list}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjTubj)}(hhh]jX)}(h queue headh]h queue head}(hj.ThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*ThMhj+Tubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhj*ThMhj Tubj)}(h-``const struct sk_buff *skb`` current buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjNTh]hconst struct sk_buff *skb}(hjPThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLTubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjHTubj)}(hhh]jX)}(hcurrent bufferh]hcurrent buffer}(hjgThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjcThMhjdTubah}(h]h ]h"]h$]h&]uh1jhjHTubeh}(h]h ]h"]h$]h&]uh1jhjcThMhj Tubeh}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjSubj )}(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]jX)}(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 }(hjThhhNhNubj)}(h**list**h]hlist}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh before }(hjThhhNhNubj)}(h**skb**h]hskb}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubhL. It is only valid to call this if skb_queue_is_first() evaluates to false.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjTubah}(h]h ]h"]h$]h&]uh1j hjThMhjSubeh}(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}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjThhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhj UhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j')}jskb_getsb c.skb_getasbuh1hhjThhhj UhMubj)}(h h]h }(hjh]h*}(hjJUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjThhhj UhMubj)}(hskb_geth]j%)}(hj9Uh]hskb_get}(hj[UhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhj UhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjvUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrUubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j7U c.skb_getasbuh1hhjrUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrUubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrUubj%)}(hskbh]hskb}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnUubah}(h]h ]h"]h$]h&]j<j=uh1jhjThhhj UhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhj UhMubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj UhMhjThhubjS)}(hhh]jX)}(hreference bufferh]hreference buffer}(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&]uh1jRhjThhhj UhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVjxjVjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to reference **Description** Makes another reference to a socket buffer and returns a pointer to the buffer.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.hhMhjVubj)}(hhh]j)}(h,``struct sk_buff *skb`` buffer to reference h](j)}(h``struct sk_buff *skb``h]j)}(hj8Vh]hstruct sk_buff *skb}(hj:VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Vubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj2Vubj)}(hhh]jX)}(hbuffer to referenceh]hbuffer to reference}(hjQVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMVhMhjNVubah}(h]h ]h"]h$]h&]uh1jhj2Vubeh}(h]h ]h"]h$]h&]uh1jhjMVhMhj/Vubah}(h]h ]h"]h$]h&]uh1jhjVubjX)}(h**Description**h]j)}(hjsVh]h Description}(hjuVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqVubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjVubj )}(hOMakes another reference to a socket buffer and returns a pointer to the buffer.h]jX)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjVubah}(h]h ]h"]h$]h&]uh1j hjVhMhjVubeh}(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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVhhhjVhMubj)}(h skb_clonedh]j%)}(h skb_clonedh]h skb_cloned}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjVhhhjVhMubj)}(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 }(hj WhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hj'WhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj8WhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5Wubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:WmodnameN classnameNjj!)}j$]j')}jjVsb c.skb_clonedasbuh1hhjVubj)}(h h]h }(hjXWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjfWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hskbh]hskb}(hjsWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubah}(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)}(his the buffer a cloneh]his the buffer a clone}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjWhhubah}(h]h ]h"]h$]h&]uh1jRhjVhhhjVhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjWjxjWjyjzj{uh1hhhhj[hNhNubj})}(hX#**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Returns true if the buffer was generated with skb_clone() and is one of multiple shared copies of the buffer. Cloned buffers are shared data so must not be written to under normal circumstances.h](jX)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjWubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check 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.hhMhjWubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(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:17: ./include/linux/skbuff.hhMhjWubj )}(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]jX)}(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.}(hj3XhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj/Xubah}(h]h ]h"]h$]h&]uh1j hjAXhMhjWubeh}(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}(hjhXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdXhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjwXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdXhhhjvXhMubj)}(hskb_header_clonedh]j%)}(hskb_header_clonedh]hskb_header_cloned}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjdXhhhjvXhMubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]j')}jjXsbc.skb_header_clonedasbuh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hj YhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hskbh]hskb}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubah}(h]h ]h"]h$]h&]j<j=uh1jhjdXhhhjvXhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`XhhhjvXhMubah}(h]j[Xah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvXhMhj]XhhubjS)}(hhh]jX)}(his the header a cloneh]his the header a clone}(hjCYhhhNhNubah}(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&]uh1jRhj]XhhhjvXhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[Yjxj[Yjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Returns true if modifying the header part of the buffer requires the data to be copied.h](jX)}(h**Parameters**h]j)}(hjeYh]h Parameters}(hjgYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcYubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj_Yubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjYh]hconst struct sk_buff *skb}(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.hhMhj~Yubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhj~Yubeh}(h]h ]h"]h$]h&]uh1jhjYhMhj{Yubah}(h]h ]h"]h$]h&]uh1jhj_YubjX)}(h**Description**h]j)}(hjYh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj_Yubj )}(hWReturns true if modifying the header part of the buffer requires the data to be copied.h]jX)}(hWReturns true if modifying the header part of the buffer requires the data to be copied.h]hWReturns true if modifying the header part of the buffer requires the data to be copied.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjYubah}(h]h ]h"]h$]h&]uh1j hjYhMhj_Yubeh}(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}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ZhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ZhhhjZhM+ubj)}(h__skb_header_releaseh]j%)}(h__skb_header_releaseh]h__skb_header_release}(hj/ZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+Zubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj ZhhhjZhM+ubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjKZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGZubj)}(h h]h }(hjXZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGZubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjiZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkZmodnameN classnameNjj!)}j$]j')}jj1Zsbc.__skb_header_releaseasbuh1hhjGZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGZubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGZubj%)}(hskbh]hskb}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCZubah}(h]h ]h"]h$]h&]j<j=uh1jhj ZhhhjZhM+ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZhhhjZhM+ubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZhM+hjZhhubjS)}(hhh]jX)}(h allow clones to use the headroomh]h allow clones to use the headroom}(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&]uh1jRhjZhhhjZhM+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZjxjZjyjzj{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)}(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 *skb`` buffer to operate on 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 operate onh]hbuffer to operate 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&]uh1jhjZubjX)}(h**Description**h]j)}(hjJ[h]h Description}(hjL[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH[ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.hjZubjX)}(h'See "DOC: dataref and headerless skbs".h]h+See “DOC: dataref and headerless skbs”.}(hj`[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM-hjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](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}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhj[hM8ubj)}(h skb_sharedh]j%)}(h skb_sharedh]h skb_shared}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[hhhj[hM8ubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubh)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\modnameN classnameNjj!)}j$]j')}jj[sb c.skb_sharedasbuh1hhj[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%)}(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[hM8ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[hhhj[hM8ubah}(h]j[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[hM8hj[hhubjS)}(hhh]jX)}(his the buffer sharedh]his the buffer shared}(hjj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8hjg\hhubah}(h]h ]h"]h$]h&]uh1jRhj[hhhj[hM8ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\jxj\jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Returns true if more than one person has a reference to this buffer.h](jX)}(h**Parameters**h]j)}(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 to check 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.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\ubah}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hj\h]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM;hj\ubj )}(hDReturns true if more than one person has a reference to this buffer.h]jX)}(hDReturns true if more than one person has a reference to this buffer.h]hDReturns true if more than one person has a reference to this buffer.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM:hj\ubah}(h]h ]h"]h$]h&]uh1j hj]hM:hj\ubeh}(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}(hj5]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1]hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMDubj)}(h h]h }(hjC]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1]hhhjB]hMDubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjT]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQ]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjV]modnameN classnameNjj!)}j$]j')}jskb_share_checksbc.skb_share_checkasbuh1hhj1]hhhjB]hMDubj)}(h h]h }(hju]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1]hhhjB]hMDubj;)}(hj>h]h*}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1]hhhjB]hMDubj)}(hskb_share_checkh]j%)}(hjr]h]hskb_share_check}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1]hhhjB]hMDubj)}(h (struct sk_buff *skb, gfp_t pri)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$]jp]c.skb_share_checkasbuh1hhj]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)}(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$]jp]c.skb_share_checkasbuh1hhj^ubj)}(h h]h }(hj@^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(hprih]hpri}(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=uh1jhj1]hhhjB]hMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-]hhhjB]hMDubah}(h]j(]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjB]hMDhj*]hhubjS)}(hhh]jX)}(h,check if buffer is shared and if so clone ith]h,check if buffer is shared and if so clone it}(hjx^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMDhju^hhubah}(h]h ]h"]h$]h&]uh1jRhj*]hhhjB]hMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^jxj^jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to check ``gfp_t pri`` priority for memory allocation **Description** If the 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)}(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.hhMHhj^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.hhMEhj^ubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(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-``gfp_t pri`` priority for memory allocation h](j)}(h ``gfp_t pri``h]j)}(hj^h]h gfp_t pri}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMFhj^ubj)}(hhh]jX)}(hpriority for memory allocationh]hpriority for memory allocation}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMHhj^ubj )}(hXGIf the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC. NULL is returned on a memory allocation failure.h](jX)}(hXIf the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC.h]hXIf the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC.}(hjG_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhjC_ubjX)}(h0NULL is returned on a memory allocation failure.h]h0NULL is returned on a memory allocation failure.}(hjV_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMMhjC_ubeh}(h]h ]h"]h$]h&]uh1j hjU_hMGhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_unshare (C function) c.skb_unsharehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=struct sk_buff * skb_unshare (struct sk_buff *skb, gfp_t pri)h]h)}(h;struct sk_buff *skb_unshare(struct sk_buff *skb, gfp_t pri)h](h)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMgubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_hhhj_hMgubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j')}j skb_unsharesb c.skb_unshareasbuh1hhj_hhhj_hMgubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_hhhj_hMgubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_hhhj_hMgubj)}(h skb_unshareh]j%)}(hj_h]h skb_unshare}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj_hhhj_hMgubj)}(h (struct sk_buff *skb, gfp_t pri)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_ c.skb_unshareasbuh1hhj`ubj)}(h h]h }(hjA`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj;)}(hj>h]h*}(hjO`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj%)}(hskbh]hskb}(hj\`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubj)}(h gfp_t prih](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjx`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hju`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjz`modnameN classnameNjj!)}j$]j_ c.skb_unshareasbuh1hhjq`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjq`ubj%)}(hprih]hpri}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjq`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubeh}(h]h ]h"]h$]h&]j<j=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)}(hmake a copy of a shared bufferh]hmake a copy of a shared buffer}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMghj`hhubah}(h]h ]h"]h$]h&]uh1jRhj_hhhj_hMgubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`jxj`jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to check ``gfp_t pri`` priority for memory allocation **Description** If the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state **pri** must be ``GFP_ATOMIC`` ``NULL`` is returned on a memory allocation failure.h](jX)}(h**Parameters**h]j)}(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.hhMkhj`ubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to check h](j)}(h``struct sk_buff *skb``h]j)}(hjah]hstruct sk_buff *skb}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj aubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhhj aubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hj(ahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$ahMhhj%aubah}(h]h ]h"]h$]h&]uh1jhj aubeh}(h]h ]h"]h$]h&]uh1jhj$ahMhhjaubj)}(h-``gfp_t pri`` priority for memory allocation h](j)}(h ``gfp_t pri``h]j)}(hjHah]h gfp_t pri}(hjJahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFaubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMihjBaubj)}(hhh]jX)}(hpriority for memory allocationh]hpriority for memory allocation}(hjaahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]ahMihj^aubah}(h]h ]h"]h$]h&]uh1jhjBaubeh}(h]h ]h"]h$]h&]uh1jhj]ahMihjaubeh}(h]h ]h"]h$]h&]uh1jhj`ubjX)}(h**Description**h]j)}(hjah]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMkhj`ubj )}(hX~If the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state **pri** must be ``GFP_ATOMIC`` ``NULL`` is returned on a memory allocation failure.h](jX)}(hXHIf the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state **pri** must be ``GFP_ATOMIC``h](hX*If the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state }(hjahhhNhNubj)}(h**pri**h]hpri}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh must be }(hjahhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjhjaubjX)}(h4``NULL`` is returned on a memory allocation failure.h](j)}(h``NULL``h]hNULL}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh, is returned on a memory allocation failure.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMphjaubeh}(h]h ]h"]h$]h&]uh1j hjahMjhj`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]bhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj bhhhjbhMubj)}(hskb_peekh]j%)}(hjLbh]hskb_peek}(hjnbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj bhhhjbhMubj)}(h"(const struct sk_buff_head *list_)h]j)}(h const struct sk_buff_head *list_h](h)}(hjh]hconst}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]jJb c.skb_peekasbuh1hhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(hlist_h]hlist_}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubah}(h]h ]h"]h$]h&]j<j=uh1jhj bhhhjbhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjbhMubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhMhjbhhubjS)}(hhh]jX)}(h-peek at the head of an :c:type:`sk_buff_head`h](hpeek at the head of an }(hj%chhhNhNubh)}(h:c:type:`sk_buff_head`h]j)}(hj/ch]h sk_buff_head}(hj1chhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj-cubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]jJb c.skb_peekasbj sk_buff_headuh1hhjhMphj%cubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj"chhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhjbhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjacjxjacjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff_head *list_`` list to peek at **Description** Peek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this. Returns ``NULL`` for an empty list or a pointer to the head element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](jX)}(h**Parameters**h]j)}(hjkch]h Parameters}(hjmchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjicubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjecubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to peek at h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjch]h const struct sk_buff_head *list_}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubj)}(hhh]jX)}(hlist to peek ath]hlist to peek at}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMhjcubah}(h]h ]h"]h$]h&]uh1jhjecubjX)}(h**Description**h]j)}(hjch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjecubj )}(hXPeek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this. Returns ``NULL`` for an empty list or a pointer to the head element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](jX)}(hPeek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this.h](hPeek an }(hjchhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjch]hsk_buff}(hjchhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubh. 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.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjdhMhjcubjX)}(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 }(hjdhhhNhNubj)}(h``NULL``h]hNULL}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh 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.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubeh}(h]h ]h"]h$]h&]uh1j hjdhMhjecubeh}(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*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTdhhhjedhMubj)}(h __skb_peekh]j%)}(hjdh]h __skb_peek}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjTdhhhjedhMubj)}(h"(const struct sk_buff_head *list_)h]j)}(h const struct sk_buff_head *list_h](h)}(hjh]hconst}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(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$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj emodnameN classnameNjj!)}j$]jd c.__skb_peekasbuh1hhjdubj)}(h h]h }(hj)ehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hj7ehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hlist_h]hlist_}(hjDehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubah}(h]h ]h"]h$]h&]j<j=uh1jhjTdhhhjedhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPdhhhjedhMubah}(h]jKdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjedhMhjMdhhubjS)}(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 }(hjnehhhNhNubh)}(h:c:type:`sk_buff_head`h]j)}(hjxeh]h sk_buff_head}(hjzehhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjveubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]jd c.__skb_peekasbj sk_buff_headuh1hhjhMphjneubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjkehhubah}(h]h ]h"]h$]h&]uh1jRhjMdhhhjedhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjejxjejyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list_`` list to peek at **Description** Like skb_peek(), but the caller knows that the list is not empty.h](jX)}(h**Parameters**h]j)}(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.hhMhjeubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to peek at h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjeh]h const 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.hhMhjeubj)}(hhh]jX)}(hlist to peek ath]hlist to peek at}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMhjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehMhjeubah}(h]h ]h"]h$]h&]uh1jhjeubjX)}(h**Description**h]j)}(hjfh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj fubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjeubj )}(hALike skb_peek(), but the caller knows that the list is not empty.h]jX)}(hj&fh]hALike skb_peek(), but the caller knows that the list is not empty.}(hj(fhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj$fubah}(h]h ]h"]h$]h&]uh1j hj5fhMhjeubeh}(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\fhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXfhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXfhhhjifhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj{fhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}fmodnameN classnameNjj!)}j$]j')}j skb_peek_nextsbc.skb_peek_nextasbuh1hhjXfhhhjifhMubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXfhhhjifhMubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXfhhhjifhMubj)}(h skb_peek_nexth]j%)}(hjfh]h skb_peek_next}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXfhhhjifhMubj)}(h7(struct sk_buff *skb, const struct sk_buff_head *list_)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]jfc.skb_peek_nextasbuh1hhjfubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hj ghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hskbh]hskb}(hj-ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(h const struct sk_buff_head *list_h](h)}(hjh]hconst}(hjFghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBgubj)}(h h]h }(hjSghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBgubh)}(hjh]hstruct}(hjaghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBgubj)}(h h]h }(hjnghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBgubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|gubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]jfc.skb_peek_nextasbuh1hhjBgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBgubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBgubj%)}(hlist_h]hlist_}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubeh}(h]h ]h"]h$]h&]j<j=uh1jhjXfhhhjifhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjTfhhhjifhMubah}(h]jOfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjifhMhjQfhhubjS)}(hhh]jX)}(h-peek skb following the given one from a queueh]h-peek skb following the given one from a queue}(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&]uh1jRhjQfhhhjifhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjgjxjgjyjzj{uh1hhhhj[hNhNubj})}(hXI**Parameters** ``struct sk_buff *skb`` skb to start from ``const struct sk_buff_head *list_`` list to peek at **Description** Returns ``NULL`` when the end of the list is met or a pointer to the next element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](jX)}(h**Parameters**h]j)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjgubj)}(hhh](j)}(h*``struct sk_buff *skb`` skb to start from h](j)}(h``struct sk_buff *skb``h]j)}(hj#hh]hstruct sk_buff *skb}(hj%hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!hubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhubj)}(hhh]jX)}(hskb to start fromh]hskb to start from}(hjh]h*}(hjFihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhhjihMubj)}(h skb_peek_tailh]j%)}(hj5ih]h skb_peek_tail}(hjWihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhhjihMubj)}(h"(const struct sk_buff_head *list_)h]j)}(h const struct sk_buff_head *list_h](h)}(hjh]hconst}(hjrihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjniubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjniubh)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjniubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjniubh)}(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$]j3ic.skb_peek_tailasbuh1hhjniubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjniubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjniubj%)}(hlist_h]hlist_}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjniubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjiubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhhjihMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhhjihMubah}(h]jhah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjihMhjhhhubjS)}(hhh]jX)}(h-peek at the tail of an :c:type:`sk_buff_head`h](hpeek at the tail of an }(hjjhhhNhNubh)}(h:c:type:`sk_buff_head`h]j)}(hjjh]h sk_buff_head}(hjjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j3ic.skb_peek_tailasbj sk_buff_headuh1hhjhMphjjubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj jhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjihMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjjxjJjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff_head *list_`` list to peek at **Description** Peek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this. Returns ``NULL`` for an empty list or a pointer to the tail element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](jX)}(h**Parameters**h]j)}(hjTjh]h Parameters}(hjVjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjNjubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to peek at h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjsjh]h const struct sk_buff_head *list_}(hjujhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjmjubj)}(hhh]jX)}(hlist to peek ath]hlist to peek at}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjmjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjjjubah}(h]h ]h"]h$]h&]uh1jhjNjubjX)}(h**Description**h]j)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjNjubj )}(hXPeek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this. Returns ``NULL`` for an empty list or a pointer to the tail element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](jX)}(hPeek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this.h](hPeek an }(hjjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjjh]hsk_buff}(hjjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjjubh. 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.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjjhMhjjubjX)}(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 }(hjjhhhNhNubj)}(h``NULL``h]hNULL}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh 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.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjjubeh}(h]h ]h"]h$]h&]uh1j hjjhMhjNjubeh}(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}(hjDkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFkmodnameN classnameNjj!)}j$]j')}j skb_queue_lensbc.skb_queue_lenasbuh1hhj=khhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjfkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=khhhjekhMubj)}(h skb_queue_lenh]j%)}(hjbkh]h skb_queue_len}(hjxkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtkubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj=khhhjekhMubj)}(h"(const struct sk_buff_head *list_)h]j)}(h const struct sk_buff_head *list_h](h)}(hjh]hconst}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j`kc.skb_queue_lenasbuh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hlist_h]hlist_}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubah}(h]h ]h"]h$]h&]j<j=uh1jhj=khhhjekhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9khhhjekhMubah}(h]j4kah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjekhMhj6khhubjS)}(hhh]jX)}(hget queue lengthh]hget queue length}(hj/lhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj,lhhubah}(h]h ]h"]h$]h&]uh1jRhj6khhhjekhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjGljxjGljyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list_`` list to measure **Description** Return the length of an :c:type:`sk_buff` queue.h](jX)}(h**Parameters**h]j)}(hjQlh]h Parameters}(hjSlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOlubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKlubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to measure h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjplh]h const struct sk_buff_head *list_}(hjrlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnlubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjjlubj)}(hhh]jX)}(hlist to measureh]hlist to measure}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjglubah}(h]h ]h"]h$]h&]uh1jhjKlubjX)}(h**Description**h]j)}(hjlh]h Description}(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.hhMhjKlubj )}(h0Return the length of an :c:type:`sk_buff` queue.h]jX)}(hjlh](hReturn the length of an }(hjlhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjlh]hsk_buff}(hjlhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjlubh queue.}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjlhMhjlubah}(h]h ]h"]h$]h&]uh1j hjlhMhjKlubeh}(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}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!mmodnameN classnameNjj!)}j$]j')}jskb_queue_len_locklesssbc.skb_queue_len_locklessasbuh1hhjmhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjAmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhj@mhMubj)}(hskb_queue_len_locklessh]j%)}(hj=mh]hskb_queue_len_lockless}(hjSmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhj@mhMubj)}(h"(const struct sk_buff_head *list_)h]j)}(h const struct sk_buff_head *list_h](h)}(hjh]hconst}(hjnmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjmubj)}(h h]h }(hj{mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjmubh)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjmubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j;mc.skb_queue_len_locklessasbuh1hhjjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjmubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjmubj%)}(hlist_h]hlist_}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfmubah}(h]h ]h"]h$]h&]j<j=uh1jhjmhhhj@mhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjmhhhj@mhMubah}(h]jmah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@mhMhjmhhubjS)}(hhh]jX)}(hget queue lengthh]hget queue length}(hj nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnhhubah}(h]h ]h"]h$]h&]uh1jRhjmhhhj@mhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"njxj"njyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff_head *list_`` list to measure **Description** Return the length of an :c:type:`sk_buff` queue. This variant can be used in lockless contexts.h](jX)}(h**Parameters**h]j)}(hj,nh]h Parameters}(hj.nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*nubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj&nubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to measure h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjKnh]h const struct sk_buff_head *list_}(hjMnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjInubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjEnubj)}(hhh]jX)}(hlist to measureh]hlist to measure}(hjdnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`nhMhjanubah}(h]h ]h"]h$]h&]uh1jhjEnubeh}(h]h ]h"]h$]h&]uh1jhj`nhMhjBnubah}(h]h ]h"]h$]h&]uh1jhj&nubjX)}(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:17: ./include/linux/skbuff.hhMhj&nubj )}(h_Return the length of an :c:type:`sk_buff` queue. This variant can be used in lockless contexts.h]jX)}(h_Return the length of an :c:type:`sk_buff` queue. This variant can be used in lockless contexts.h](hReturn the length of an }(hjnhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjnh]hsk_buff}(hjnhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnubh6 queue. This variant can be used in lockless contexts.}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjnhMhjnubah}(h]h ]h"]h$]h&]uh1j hjnhMhj&nubeh}(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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhjohMubj)}(h__skb_queue_head_inith]j%)}(h__skb_queue_head_inith]h__skb_queue_head_init}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjnhhhjohMubj)}(h(struct sk_buff_head *list)h]j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hj5ohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1oubj)}(h h]h }(hjBohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1oubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjSohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUomodnameN classnameNjj!)}j$]j')}jjosbc.__skb_queue_head_initasbuh1hhj1oubj)}(h h]h }(hjsohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1oubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1oubj%)}(hlisth]hlist}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1oubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-oubah}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjohMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjohMubah}(h]jnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjohMhjnhhubjS)}(hhh]jX)}(h0initialize non-spinlock portions of sk_buff_headh]h0initialize non-spinlock portions of sk_buff_head}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjohhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjohMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff_head *list`` queue to initialize **Description** 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)}(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.hhMhjoubj)}(hhh]j)}(h2``struct sk_buff_head *list`` queue to initialize h](j)}(h``struct sk_buff_head *list``h]j)}(hjoh]hstruct 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.hhMhjoubj)}(hhh]jX)}(hqueue to initializeh]hqueue to initialize}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjphMhjoubah}(h]h ]h"]h$]h&]uh1jhjoubjX)}(h**Description**h]j)}(hj4ph]h Description}(hj6phhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2pubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjoubj )}(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]jX)}(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.}(hjNphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjJpubah}(h]h ]h"]h$]h&]uh1j hj\phMhjoubeh}(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}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM. ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhjphM. ubj)}(hskb_queue_spliceh]j%)}(hskb_queue_spliceh]hskb_queue_splice}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjphhhjphM. ubj)}(h<(const struct sk_buff_head *list, struct sk_buff_head *head)h](j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(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_spliceasbuh1hhjpubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hj'qhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hlisth]hlist}(hj4qhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hstruct sk_buff_head *headh](h)}(hjh]hstruct}(hjMqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIqubj)}(h h]h }(hjZqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIqubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjkqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmqmodnameN classnameNjj!)}j$]jqc.skb_queue_spliceasbuh1hhjIqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIqubj;)}(hj>h]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIqubj%)}(hheadh]hhead}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhjphhhjphM. ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{phhhjphM. ubah}(h]jvpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphM. hjxphhubjS)}(hhh]jX)}(h/join two skb lists, this is designed for stacksh]h/join two skb lists, this is designed for stacks}(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&]uh1jRhjxphhhjphM. ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqjxjqjyjzj{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)}(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.hhM2 hjqubj)}(hhh](j)}(h8``const struct sk_buff_head *list`` the new list to add h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjrh]hconst struct sk_buff_head *list}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj rubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/ hj rubj)}(hhh]jX)}(hthe new list to addh]hthe new list to add}(hj(rhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$rhM/ hj%rubah}(h]h ]h"]h$]h&]uh1jhj rubeh}(h]h ]h"]h$]h&]uh1jhj$rhM/ hjrubj)}(hC``struct sk_buff_head *head`` the place to add it in the first listh](j)}(h``struct sk_buff_head *head``h]j)}(hjHrh]hstruct sk_buff_head *head}(hjJrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFrubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1 hjBrubj)}(hhh]jX)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjarhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0 hj^rubah}(h]h ]h"]h$]h&]uh1jhjBrubeh}(h]h ]h"]h$]h&]uh1jhj]rhM1 hjrubeh}(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_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}(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)}(hskb_queue_splice_inith]j%)}(hskb_queue_splice_inith]hskb_queue_splice_init}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrhhhjrhM< ubj)}(h6(struct sk_buff_head *list, struct sk_buff_head *head)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_splice_initasbuh1hhjrubj)}(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}(hj8shhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(hstruct sk_buff_head *headh](h)}(hjh]hstruct}(hjQshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMsubj)}(h h]h }(hj^shhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMsubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjoshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqsmodnameN classnameNjj!)}j$]jsc.skb_queue_splice_initasbuh1hhjMsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMsubj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMsubj%)}(hheadh]hhead}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMsubeh}(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)}(h4join two skb lists and reinitialise the emptied listh]h4join two skb lists and reinitialise the emptied list}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM< hjshhubah}(h]h ]h"]h$]h&]uh1jRhjrhhhjrhM< ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff_head *list`` the new list to add ``struct sk_buff_head *head`` the place to add it in the first list **Description** The list at **list** is reinitialisedh](jX)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@ hjsubj)}(hhh](j)}(h2``struct sk_buff_head *list`` the new list to add h](j)}(h``struct sk_buff_head *list``h]j)}(hjth]hstruct sk_buff_head *list}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM= hj tubj)}(hhh]jX)}(hthe new list to addh]hthe new list to add}(hj,thhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(thM= hj)tubah}(h]h ]h"]h$]h&]uh1jhj tubeh}(h]h ]h"]h$]h&]uh1jhj(thM= hj tubj)}(hD``struct sk_buff_head *head`` the place to add it in the first list h](j)}(h``struct sk_buff_head *head``h]j)}(hjLth]hstruct sk_buff_head *head}(hjNthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJtubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM> hjFtubj)}(hhh]jX)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjethhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjathM> hjbtubah}(h]h ]h"]h$]h&]uh1jhjFtubeh}(h]h ]h"]h$]h&]uh1jhjathM> hj tubeh}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@ hjsubj )}(h%The list at **list** is reinitialisedh]jX)}(hjth](h The list at }(hjthhhNhNubj)}(h**list**h]hlist}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh is reinitialised}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM? hjtubah}(h]h ]h"]h$]h&]uh1j hjthM? hjsubeh}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMM ubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjthMM ubj)}(hskb_queue_splice_tailh]j%)}(hskb_queue_splice_tailh]hskb_queue_splice_tail}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjthMM ubj)}(h<(const struct sk_buff_head *list, struct sk_buff_head *head)h](j)}(hconst struct sk_buff_head *listh](h)}(hjh]hconst}(hj$uhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj uubj)}(h h]h }(hj1uhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj uubh)}(hjh]hstruct}(hj?uhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj uubj)}(h h]h }(hjLuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj uubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj]uhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_umodnameN classnameNjj!)}j$]j')}jj usbc.skb_queue_splice_tailasbuh1hhj uubj)}(h h]h }(hj}uhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj uubj;)}(hj>h]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj uubj%)}(hlisth]hlist}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj uubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubj)}(hstruct sk_buff_head *headh](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$]jyuc.skb_queue_splice_tailasbuh1hhjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj;)}(hj>h]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuubj%)}(hheadh]hhead}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubeh}(h]h ]h"]h$]h&]j<j=uh1jhjthhhjthMM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjthhhjthMM ubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjthMM hjthhubjS)}(hhh]jX)}(h+join two skb lists, each list being a queueh]h+join two skb lists, each list being a queue}(hj2vhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMM hj/vhhubah}(h]h ]h"]h$]h&]uh1jRhjthhhjthMM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJvjxjJvjyjzj{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)}(hjTvh]h Parameters}(hjVvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRvubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQ hjNvubj)}(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)}(hjsvh]hconst struct sk_buff_head *list}(hjuvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMN hjmvubj)}(hhh]jX)}(hthe new list to addh]hthe new list to add}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMN hjvubah}(h]h ]h"]h$]h&]uh1jhjmvubeh}(h]h ]h"]h$]h&]uh1jhjvhMN hjjvubj)}(hC``struct sk_buff_head *head`` the place to add it in the first listh](j)}(h``struct sk_buff_head *head``h]j)}(hjvh]hstruct sk_buff_head *head}(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.hhMP hjvubj)}(hhh]jX)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMO hjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMP hjjvubeh}(h]h ]h"]h$]h&]uh1jhjNvubeh}(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}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[ ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhhjwhM[ ubj)}(hskb_queue_splice_tail_inith]j%)}(hskb_queue_splice_tail_inith]hskb_queue_splice_tail_init}(hj'whhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#wubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwhhhjwhM[ ubj)}(h6(struct sk_buff_head *list, struct sk_buff_head *head)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjCwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?wubj)}(h h]h }(hjPwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?wubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjawhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^wubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcwmodnameN classnameNjj!)}j$]j')}jj)wsbc.skb_queue_splice_tail_initasbuh1hhj?wubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?wubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?wubj%)}(hlisth]hlist}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?wubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;wubj)}(hstruct sk_buff_head *headh](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}wc.skb_queue_splice_tail_initasbuh1hhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(hheadh]hhead}(hj xhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;wubeh}(h]h ]h"]h$]h&]j<j=uh1jhjwhhhjwhM[ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvhhhjwhM[ ubah}(h]jvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwhM[ hjvhhubjS)}(hhh]jX)}(h4join two skb lists and reinitialise the emptied listh]h4join two skb lists and reinitialise the emptied list}(hj6xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[ hj3xhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhjwhM[ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNxjxjNxjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff_head *list`` the new list to add ``struct sk_buff_head *head`` the place to add it in the first list **Description** Each of the lists is a queue. The list at **list** is reinitialisedh](jX)}(h**Parameters**h]j)}(hjXxh]h Parameters}(hjZxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVxubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_ hjRxubj)}(hhh](j)}(h2``struct sk_buff_head *list`` the new list to add h](j)}(h``struct sk_buff_head *list``h]j)}(hjwxh]hstruct sk_buff_head *list}(hjyxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuxubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\ hjqxubj)}(hhh]jX)}(hthe new list to addh]hthe new list to add}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhM\ hjxubah}(h]h ]h"]h$]h&]uh1jhjqxubeh}(h]h ]h"]h$]h&]uh1jhjxhM\ hjnxubj)}(hD``struct sk_buff_head *head`` the place to add it in the first list h](j)}(h``struct sk_buff_head *head``h]j)}(hjxh]hstruct sk_buff_head *head}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM] hjxubj)}(hhh]jX)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhM] hjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhM] hjnxubeh}(h]h ]h"]h$]h&]uh1jhjRxubjX)}(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:17: ./include/linux/skbuff.hhM_ hjRxubj )}(hCEach of the lists is a queue. The list at **list** is reinitialisedh]jX)}(hCEach of the lists is a queue. The list at **list** is reinitialisedh](h*Each of the lists is a queue. The list at }(hjyhhhNhNubj)}(h**list**h]hlist}(hj yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh is reinitialised}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ hjyubah}(h]h ]h"]h$]h&]uh1j hj%yhM^ hjRxubeh}(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}(hjLyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHyhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMm ubj)}(h h]h }(hj[yhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHyhhhjZyhMm ubj)}(h__skb_queue_afterh]j%)}(h__skb_queue_afterh]h__skb_queue_after}(hjmyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHyhhhjZyhMm 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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j')}jjoysbc.__skb_queue_afterasbuh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hlisth]hlist}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(hstruct sk_buff *prevh](h)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]jyc.__skb_queue_afterasbuh1hhjyubj)}(h h]h }(hj7zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjEzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hprevh]hprev}(hjRzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hjkzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgzubj)}(h h]h }(hjxzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgzubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]jyc.__skb_queue_afterasbuh1hhjgzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgzubj;)}(hj>h]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgzubj%)}(hnewskh]hnewsk}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubeh}(h]h ]h"]h$]h&]j<j=uh1jhjHyhhhjZyhMm ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDyhhhjZyhMm ubah}(h]j?yah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZyhMm hjAyhhubjS)}(hhh]jX)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMm hjzhhubah}(h]h ]h"]h$]h&]uh1jRhjAyhhhjZyhMm ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{jxj{jyjzj{uh1hhhhj[hNhNubj})}(hX{**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *prev`` place after this buffer ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(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.hhMq hj{ubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hj-{h]hstruct sk_buff_head *list}(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.hhMn hj'{ubj)}(hhh]jX)}(h list to useh]h list to use}(hjF{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjB{hMn hjC{ubah}(h]h ]h"]h$]h&]uh1jhj'{ubeh}(h]h ]h"]h$]h&]uh1jhjB{hMn hj${ubj)}(h1``struct sk_buff *prev`` place after this buffer h](j)}(h``struct sk_buff *prev``h]j)}(hjf{h]hstruct sk_buff *prev}(hjh{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd{ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMo hj`{ubj)}(hhh]jX)}(hplace after this bufferh]hplace after this buffer}(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 hj${ubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hj{h]hstruct sk_buff *newsk}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMp hj{ubj)}(hhh]jX)}(hbuffer to queueh]hbuffer to queue}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hMp hj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMp hj${ubeh}(h]h ]h"]h$]h&]uh1jhj{ubjX)}(h**Description**h]j)}(hj{h]h Description}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMr hj{ubj )}(hQueue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jX)}(hQueue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it.h]hQueue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMq hj{ubjX)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMt hj{ubeh}(h]h ]h"]h$]h&]uh1j hj|hMq hj{ubeh}(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}(hj8|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4|hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjG|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4|hhhjF|hM ubj)}(h__skb_queue_headh]j%)}(h__skb_queue_headh]h__skb_queue_head}(hjY|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4|hhhjF|hM ubj)}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hju|hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjq|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjq|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')}jj[|sbc.__skb_queue_headasbuh1hhjq|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%)}(hlisth]hlist}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjq|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjm|ubj)}(hstruct sk_buff *newskh](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_queue_headasbuh1hhj|ubj)}(h h]h }(hj#}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj;)}(hj>h]h*}(hj1}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|ubj%)}(hnewskh]hnewsk}(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|hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0|hhhjF|hM ubah}(h]j+|ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjF|hM hj-|hhubjS)}(hhh]jX)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hjh}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hje}hhubah}(h]h ]h"]h$]h&]uh1jRhj-|hhhjF|hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhj[hNhNubj})}(hXE**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(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 use 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)}(h list to useh]h list to use}(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 sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hj}h]hstruct sk_buff *newsk}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj}ubj)}(hhh]jX)}(hbuffer to queueh]hbuffer to queue}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hM hj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hM hj}ubeh}(h]h ]h"]h$]h&]uh1jhj}ubjX)}(h**Description**h]j)}(hj~h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj}ubj )}(hQueue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jX)}(hQueue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it.h]hQueue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it.}(hj7~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj3~ubjX)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hjF~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj3~ubeh}(h]h ]h"]h$]h&]uh1j hjE~hM hj}ubeh}(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}(hj{~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjw~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 hjw~hhhj~hM ubj)}(h__skb_queue_tailh]j%)}(h__skb_queue_tailh]h__skb_queue_tail}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjw~hhhj~hM ubj)}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]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')}jj~sbc.__skb_queue_tailasbuh1hhj~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%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hstruct sk_buff *newskh](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~c.__skb_queue_tailasbuh1hhj&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%)}(hnewskh]hnewsk}(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=uh1jhjw~hhhj~hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjs~hhhj~hM ubah}(h]jn~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hM hjp~hhubjS)}(hhh]jX)}(hqueue a buffer at the list tailh]hqueue a buffer at the list tail}(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&]uh1jRhjp~hhhj~hM ubeh}(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 **Description** Queue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(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_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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hj%h]hstruct sk_buff *newsk}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(hbuffer to queueh]hbuffer to queue}(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)}(hj`h]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj )}(hQueue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jX)}(hQueue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it.h]hQueue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjvubjX)}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjvubeh}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhV/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 ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj݀hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjڀubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj߀modnameN classnameNjj!)}j$]j')}j __skb_dequeuesbc.__skb_dequeueasbuh1hhjhhhjˀ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)}(h __skb_dequeueh]j%)}(hjh]h __skb_dequeue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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}(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$]jc.__skb_dequeueasbuh1hhj4ubj)}(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=uh1jhj0ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjˀhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjˀhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjˀhM hjhhubjS)}(hhh]jX)}(h!remove from the head of the queueh]h!remove from the head of the queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjˀhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjсjxjсjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or ``NULL`` if the list is empty.h](jX)}(h**Parameters**h]j)}(hjہh]h Parameters}(hj݁hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjفubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjՁubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(hlist to dequeue fromh]hlist to dequeue from}(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)}(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.hhM hjՁubj )}(hRemove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or ``NULL`` if the list is empty.h]jX)}(hRemove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or ``NULL`` if the list is empty.h](hRemove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or }(hjOhhhNhNubj)}(h``NULL``h]hNULL}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh if the list is empty.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjKubah}(h]h ]h"]h$]h&]uh1j hjohM hjՁubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_dequeue_tail (C function)c.__skb_dequeue_tailhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h?struct sk_buff * __skb_dequeue_tail (struct sk_buff_head *list)h]h)}(h=struct sk_buff *__skb_dequeue_tail(struct sk_buff_head *list)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j__skb_dequeue_tailsbc.__skb_dequeue_tailasbuh1hhjhhhjhM ubj)}(h h]h }(hjւhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM ubj)}(h__skb_dequeue_tailh]j%)}(hjӂh]h__skb_dequeue_tail}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct sk_buff_head *list)h]j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]jтc.__skb_dequeue_tailasbuh1hhj ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hlisth]hlist}(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!remove from the tail of the queueh]h!remove from the tail of the queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or ``NULL`` if the list is empty.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(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}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj )}(hRemove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or ``NULL`` if the list is empty.h]jX)}(hRemove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or ``NULL`` if the list is empty.h](hRemove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or }(hj'hhhNhNubj)}(h``NULL``h]hNULL}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh if the list is empty.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj#ubah}(h]h ]h"]h$]h&]uh1j hjGhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_len_add (C function) c.skb_len_addhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h1void skb_len_add (struct sk_buff *skb, int delta)h]h)}(h0void skb_len_add(struct sk_buff *skb, int delta)h](j)}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhV/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 hjjhhhj|hM ubj)}(h skb_len_addh]j%)}(h skb_len_addh]h skb_len_add}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjhhhj|hM ubj)}(h (struct sk_buff *skb, int delta)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjɄhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjƄubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj˄modnameN classnameNjj!)}j$]j')}jjsb c.skb_len_addasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int 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}(hj9hhhNhNubah}(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"adds a number to len fields of skbh]h"adds a number to len fields of skb}(hjchhhNhNubah}(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&]uh1jRhjchhhj|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)}(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 add len to h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(hbuffer to add len toh]hbuffer to add len to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h$``int delta`` number of bytes to addh](j)}(h ``int delta``h]j)}(hj݅h]h int delta}(hj߅hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۅubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjׅubj)}(hhh]jX)}(hnumber of bytes to addh]hnumber of bytes 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&]uh1jhjׅubeh}(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_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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM$ ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhjEhM$ ubj)}(h__skb_fill_netmem_desch]j%)}(h__skb_fill_netmem_desch]h__skb_fill_netmem_desc}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhjEhM$ ubj)}(hB(struct sk_buff *skb, int i, netmem_ref netmem, int off, int size)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjZsbc.__skb_fill_netmem_descasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hskbh]hskb}(hj͆hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(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=uh1jhjlubj)}(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 reftargetj modnameN classnameNjj!)}j$]jc.__skb_fill_netmem_descasbuh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hnetmemh]hnetmem}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(hint offh](j)}(hinth]hint}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj%)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(hint sizeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubeh}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhjEhM$ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/hhhjEhM$ ubah}(h]j*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEhM$ hj,hhubjS)}(hhh]jX)}(hinitialise a fragment in an skbh]hinitialise a fragment in an skb}(hjއhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM$ hjۇhhubah}(h]h ]h"]h$]h&]uh1jRhj,hhhjEhM$ 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)}(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.hhM% hjubj)}(hhh]jX)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hM% hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM% hjubj)}(h'``int i`` fragment index to initialise h](j)}(h ``int i``h]j)}(hjXh]hint i}(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)}(hfragment index to initialiseh]hfragment index to initialise}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhM& hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM& hjubj)}(h:``netmem_ref netmem`` the netmem to use for this fragment h](j)}(h``netmem_ref netmem``h]j)}(hjh]hnetmem_ref netmem}(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 netmem to use for this fragmenth]h#the netmem to use for this fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM' hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM' hjubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hjʈh]hint off}(hj̈hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȈubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM( hjĈubj)}(hhh]jX)}(h$the 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&]uh1jWhj߈hM( hjubah}(h]h ]h"]h$]h&]uh1jhjĈubeh}(h]h ]h"]h$]h&]uh1jhj߈hM( 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) hj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM) hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]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 }(hjbhhhNhNubj)}(h**i**h]hi}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh’th fragment of }(hjbhhhNhNubj)}(h**skb**h]hskb}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh to point to }(hjbhhhNhNubh)}(h:c:type:`size`h]j)}(hjh]hsize}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsizeuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM* hjbubh bytes at offset }(hjbhhhNhNubj)}(h**off**h]hoff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh within }(hjbhhhNhNubj)}(h**page**h]hpage}(hjĉhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM* hjubjX)}(h7Does not take any additional reference on the fragment.h]h7Does not take any additional reference on the fragment.}(hj܉hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM- 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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMU ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMU 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=uh1jhjhhhjhMU ubj)}(hB(struct sk_buff *skb, int i, struct page *page, int off, int size)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_fill_page_descasbuh1hhjDubj)}(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)}(hint ih](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjȊhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hjh]hi}(hj֊hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(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$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_fill_page_descasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpageh]hpage}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(hint offh](j)}(hinth]hint}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj%)}(hoffh]hoff}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(hint sizeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMU ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMU ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMU hjhhubjS)}(hhh]jX)}(h%initialise a paged fragment in an skbh]h%initialise a paged fragment in an skb}(hjًhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMU hj֋hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMU 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.hhMY hjubj)}(hhh](j)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised 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.hhMV hjubj)}(hhh]jX)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMV hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMV hjubj)}(h-``int i`` paged fragment index to initialise h](j)}(h ``int i``h]j)}(hjSh]hint i}(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.hhMW hjMubj)}(hhh]jX)}(h"paged fragment index to initialiseh]h"paged fragment index to initialise}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMW hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMW hjubj)}(h8``struct page *page`` the page to use for this fragment h](j)}(h``struct page *page``h]j)}(hjh]hstruct page *page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMX hjubj)}(hhh]jX)}(h!the page to use for this fragmenth]h!the page to use for this fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMX hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMX hjubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hjŌh]hint off}(hjnjhhhNhNubah}(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.hhMY hjubj)}(hhh]jX)}(h$the offset to the data with **page**h](hthe offset to the data with }(hjތhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjތubeh}(h]h ]h"]h$]h&]uh1jWhjڌhMY hjیubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڌhMY hjubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hj h]hint size}(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.hhMZ hjubj)}(hhh]jX)}(hthe length of the datah]hthe length of the data}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMZ hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMZ hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjGh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi: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 }(hj]hhhNhNubj)}(h**i**h]hi}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh’th fragment of }(hj]hhhNhNubj)}(h**skb**h]hskb}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh to point to }(hj]hhhNhNubj)}(h**size**h]hsize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh bytes at offset }(hj]hhhNhNubj)}(h**off**h]hoff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh within }(hj]hhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh. In addition updates }(hj]hhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh such that }(hj]hhhNhNubj)}(h**i**h]hi}(hjэhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh is the last fragment.}(hj]hhhNhNubeh}(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.hhM_ 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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMi ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj'hMi ubj)}(hskb_fill_page_desc_noacch]j%)}(hskb_fill_page_desc_noacch]hskb_fill_page_desc_noacc}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj'hMi ubj)}(hB(struct sk_buff *skb, int i, struct page *page, int off, int size)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jj<sbc.skb_fill_page_desc_noaccasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(hint ih](j)}(hinth]hint}(hjȎhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjĎubj)}(h h]h }(hj֎hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjĎubj%)}(hjh]hi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjĎubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(hstruct page *pageh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_fill_page_desc_noaccasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpageh]hpage}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(hint offh](j)}(hinth]hint}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(hint sizeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj'hMi ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj'hMi ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'hMi 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.hhMi hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj'hMi 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)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMm 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.hhMj hj"ubj)}(hhh]jX)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMj hj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMj hjubj)}(h-``int i`` paged fragment index to initialise h](j)}(h ``int i``h]j)}(hjah]hint i}(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.hhMk hj[ubj)}(hhh]jX)}(h"paged fragment index to initialiseh]h"paged fragment index to initialise}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMk hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMk hjubj)}(h8``struct page *page`` the page to use for this fragment h](j)}(h``struct page *page``h]j)}(hjh]hstruct page *page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMl hjubj)}(hhh]jX)}(h!the page to use for this fragmenth]h!the page to use for this fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMl hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMl hjubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hjӐh]hint off}(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.hhMm hj͐ubj)}(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&]uh1jWhjhMm hjubah}(h]h ]h"]h$]h&]uh1jhj͐ubeh}(h]h ]h"]h$]h&]uh1jhjhMm 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.hhMn hjubj)}(hhh]jX)}(hthe length of the datah]hthe length of the data}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMn hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMn 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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMp 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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMo 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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMA ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMA ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMA ubj)}(h h]h }(hjőhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMA ubj)}(h skb_headroomh]j%)}(h skb_headroomh]h skb_headroom}(hjבhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӑubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMA 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 }(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')}jjّsbc.skb_headroomasbuh1hhjubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMA ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMA ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMA hjhhubjS)}(hhh]jX)}(hbytes at buffer headh]hbytes at buffer head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMA hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMA ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Return the number of bytes of free space at the head of an :c:type:`sk_buff`.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhME hjubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check 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.hhMB hj̒ubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMB hjubah}(h]h ]h"]h$]h&]uh1jhj̒ubeh}(h]h ]h"]h$]h&]uh1jhjhMB hjɒubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMD hjubj )}(hMReturn the number of bytes of free space at the head of an :c:type:`sk_buff`.h]jX)}(hj%h](h;Return the number of bytes of free space at the head of an }(hj'hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj0h]hsk_buff}(hj2hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMC hj'ubh.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjMhMC hj#ubah}(h]h ]h"]h$]h&]uh1j hjMhMC hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tailroom (C function)c.skb_tailroomhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h,int skb_tailroom (const struct sk_buff *skb)h]h)}(h+int skb_tailroom(const struct sk_buff *skb)h](j)}(hinth]hint}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhML ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhjhML ubj)}(h skb_tailroomh]j%)}(h skb_tailroomh]h skb_tailroom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzhhhjhML 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 }(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%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_tailroomasbuh1hhjubj)}(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=uh1jhjzhhhjhML ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvhhhjhML ubah}(h]jqah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhML hjshhubjS)}(hhh]jX)}(hbytes at buffer endh]hbytes at buffer end}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhML hjVhhubah}(h]h ]h"]h$]h&]uh1jRhjshhhjhML ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqjxjqjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Return the number of bytes of free space at the tail of an sk_buffh](jX)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMP hjuubj)}(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.hhMM hjubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMM hjubah}(h]h ]h"]h$]h&]uh1jhjuubjX)}(h**Description**h]j)}(hjՔh]h Description}(hjהhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӔubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMO hjuubj )}(hBReturn the number of bytes of free space at the tail of an sk_buffh]jX)}(hjh]hBReturn the number of bytes of free space at the tail of an sk_buff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMN hjubah}(h]h ]h"]h$]h&]uh1j hjhMN hjuubeh}(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}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMW ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj1hMW ubj)}(h skb_availroomh]j%)}(h skb_availroomh]h skb_availroom}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj1hMW 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 }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubh)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjFsbc.skb_availroomasbuh1hhj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj;)}(hj>h]h*}(hjǕhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\ubj%)}(hskbh]hskb}(hjԕhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj1hMW ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj1hMW ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1hMW 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.hhMW hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj1hMW ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Return the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()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:17: ./include/linux/skbuff.hhM[ hjubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hj?h]hconst struct sk_buff *skb}(hjAhhhNhNubah}(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.hhMX hj9ubj)}(hhh]jX)}(hbuffer to checkh]hbuffer to check}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMX hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMX hj6ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjzh]h Description}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMZ hjubj )}(haReturn the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()h]jX)}(haReturn the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()h]haReturn the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMY hjubah}(h]h ]h"]h$]h&]uh1j hjhMY hjubeh}(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}(hjɖhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjŖhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMf ubj)}(h h]h }(hjؖhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjŖhhhjזhMf ubj)}(h skb_reserveh]j%)}(h skb_reserveh]h skb_reserve}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjŖhhhjזhMf ubj)}(h(struct sk_buff *skb, 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}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]j')}jjsb c.skb_reserveasbuh1hhjubj)}(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)}(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=uh1jhjŖhhhjזhMf ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjזhMf ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjזhMf 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.hhMf hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjזhMf ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj֗jxj֗jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to alter ``int len`` bytes to move **Description** Increase the headroom of an empty :c:type:`sk_buff` by reducing the tail room. This is only allowed for an empty buffer.h](jX)}(h**Parameters**h]j)}(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.hhMj hjڗubj)}(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.hhMg hjubj)}(hhh]jX)}(hbuffer to alterh]hbuffer to alter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMg hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMg hjubj)}(h``int len`` bytes to move h](j)}(h ``int len``h]j)}(hj8h]hint len}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMh hj2ubj)}(hhh]jX)}(h bytes to moveh]h bytes to move}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMh hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMh hjubeh}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMj hjڗubj )}(hxIncrease the headroom of an empty :c:type:`sk_buff` by reducing the tail room. This is only allowed for an empty buffer.h]jX)}(hxIncrease the headroom of an empty :c:type:`sk_buff` by reducing the tail room. This is only allowed for an empty buffer.h](h"Increase the headroom of an empty }(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.hhMi hjubhE by reducing the tail room. This is only allowed for an empty buffer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMi hjubah}(h]h ]h"]h$]h&]uh1j hjhMi hjڗubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_tailroom_reserve (C function)c.skb_tailroom_reservehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h_void skb_tailroom_reserve (struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom)h]h)}(h^void skb_tailroom_reserve(struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMt ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMt ubj)}(hskb_tailroom_reserveh]j%)}(hskb_tailroom_reserveh]hskb_tailroom_reserve}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMt ubj)}(hE(struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom)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_tailroom_reserveasbuh1hhjubj)}(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=uh1jhjubj)}(hunsigned int mtuh](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%)}(hmtuh]hmtu}(hj̙hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int needed_tailroomh](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%)}(hneeded_tailroomh]hneeded_tailroom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMt ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjݘhhhjhMt ubah}(h]jؘah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMt hjژhhubjS)}(hhh]jX)}(hadjust reserved_tailroomh]hadjust reserved_tailroom}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMt hjDhhubah}(h]h ]h"]h$]h&]uh1jRhjژhhhjhMt ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_jxj_jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to alter ``unsigned int mtu`` maximum amount of headlen permitted ``unsigned int needed_tailroom`` minimum amount of reserved_tailroom **Description** Set reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.h](jX)}(h**Parameters**h]j)}(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.hhMx hjcubj)}(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.hhMu hjubj)}(hhh]jX)}(hbuffer to alterh]hbuffer to alter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMu hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMu hjubj)}(h9``unsigned int mtu`` maximum amount of headlen permitted h](j)}(h``unsigned int mtu``h]j)}(hjh]hunsigned int mtu}(hjÚhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMv hjubj)}(hhh]jX)}(h#maximum amount of headlen permittedh]h#maximum amount of headlen permitted}(hjښhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj֚hMv hjךubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֚hMv hjubj)}(hE``unsigned int needed_tailroom`` minimum amount of reserved_tailroom h](j)}(h ``unsigned int needed_tailroom``h]j)}(hjh]hunsigned int needed_tailroom}(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.hhMw hjubj)}(hhh]jX)}(h#minimum amount of reserved_tailroomh]h#minimum amount of reserved_tailroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMw hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMw hjubeh}(h]h ]h"]h$]h&]uh1jhjcubjX)}(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.hhMy hjcubj )}(hSet reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.h]jX)}(hSet reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.h]hSet reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMx hjKubah}(h]h ]h"]h$]h&]uh1j hj]hMx hjcubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h/skb_reset_transport_header_careful (C function)$c.skb_reset_transport_header_carefulhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=bool skb_reset_transport_header_careful (struct sk_buff *skb)h]h)}(hh]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj|hhhjhM ubah}(h]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjyhhubjS)}(hhh]jX)}(h$conditionally reset transport headerh]h$conditionally reset transport header}(hjChhhNhNubah}(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&]uh1jRhjyhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[jxj[jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to alter **Description** Hardened version of skb_reset_transport_header(). **Return** true if the operation was a success.h](jX)}(h**Parameters**h]j)}(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.hhM hj_ubj)}(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.hhM hj~ubj)}(hhh]jX)}(hbuffer to alterh]hbuffer to alter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj_ubjX)}(h1Hardened version of skb_reset_transport_header().h]h1Hardened version of skb_reset_transport_header().}(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)}(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)}(h$true if the operation was a success.h]h$true if the operation was a success.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](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:hjdubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjڝhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj֝ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֝ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj֝ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֝ubj%)}(hlenh]hlen}(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'hhhj9hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj9hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hM hj hhubjS)}(hhh]jX)}(h2remove end from a paged unique (not cloned) bufferh]h2remove end from a paged unique (not cloned) buffer}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj9hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj9hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{uh1hhhhj[hNhNubj})}(hX **Parameters** ``struct sk_buff *skb`` buffer to alter ``unsigned int len`` new length **Description** This is identical to pskb_trim except that the caller knows that the skb is not cloned so we should never get an error due to out- of-memory.h](jX)}(h**Parameters**h]j)}(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 hjXubj)}(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}(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)}(hbuffer to alterh]hbuffer to alter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM hjtubj)}(h ``unsigned int len`` new length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(h new lengthh]h new length}(hjϞhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj˞hM hj̞ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˞hM hjtubeh}(h]h ]h"]h$]h&]uh1jhjXubjX)}(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 hjXubj )}(hThis is identical to pskb_trim except that the caller knows that the skb is not cloned so we should never get an error due to out- of-memory.h]jX)}(hThis is identical to pskb_trim except that the caller knows that the skb is not cloned so we should never get an error due to out- of-memory.h]hThis is identical to pskb_trim except that the caller knows that the skb is not cloned so we should never get an error due to out- of-memory.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubah}(h]h ]h"]h$]h&]uh1j hjhM hjXubeh}(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&]uh1jhj<hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM& ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhjNhM& ubj)}(h skb_orphanh]j%)}(h skb_orphanh]h skb_orphan}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhjNhM& ubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjcsb c.skb_orphanasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjɟhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hskbh]hskb}(hj֟hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubah}(h]h ]h"]h$]h&]j<j=uh1jhj<hhhjNhM& ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8hhhjNhM& ubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNhM& hj5hhubjS)}(hhh]jX)}(horphan a bufferh]horphan 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&]uh1jRhj5hhhjNhM& ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to orphan **Description** If a buffer currently has an owner then we call the owner's destructor function and make the **skb** unowned. The buffer continues to exist but is no longer charged to its former owner.h](jX)}(h**Parameters**h]j)}(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)}(h)``struct sk_buff *skb`` buffer to orphan h](j)}(h``struct sk_buff *skb``h]j)}(hjAh]hstruct sk_buff *skb}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM' hj;ubj)}(hhh]jX)}(hbuffer to orphanh]hbuffer to orphan}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhM' hjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhM' hj8ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj|h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM) hjubj )}(hIf a buffer currently has an owner then we call the owner's destructor function and make the **skb** unowned. The buffer continues to exist but is no longer charged to its former owner.h]jX)}(hIf a buffer currently has an owner then we call the owner's destructor function and make the **skb** unowned. The buffer continues to exist but is no longer charged to its former owner.h](h_If a buffer currently has an owner then we call the owner’s destructor function and make the }(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( hjubah}(h]h ]h"]h$]h&]uh1j hjhM( hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_orphan_frags (C function)c.skb_orphan_fragshNtauh1hhj[hhhNhNubh)}(hhh](h)}(h:int skb_orphan_frags (struct sk_buff *skb, gfp_t gfp_mask)h]h)}(h9int skb_orphan_frags(struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hinth]hint}(hjݠhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj٠hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9 ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj٠hhhjhM9 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=uh1jhj٠hhhjhM9 ubj)}(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}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]j')}jjsbc.skb_orphan_fragsasbuh1hhjubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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$]jTc.skb_orphan_fragsasbuh1hhjubj)}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj٠hhhjhM9 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjՠhhhjhM9 ubah}(h]jРah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM9 hjҠhhubjS)}(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.hhM9 hjhhubah}(h]h ]h"]h$]h&]uh1jRhjҠhhhjhM9 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 **Description** For each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.h](jX)}(h**Parameters**h]j)}(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: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)}(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 orphan frags fromh]hbuffer to orphan frags 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)}(h9``gfp_t gfp_mask`` allocation mask for replacement pages h](j)}(h``gfp_t gfp_mask``h]j)}(hj_h]hgfp_t gfp_mask}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM; hjYubj)}(hhh]jX)}(h%allocation mask for replacement pagesh]h%allocation mask for replacement pages}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthM; hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM; hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM= hjubj )}(hFor each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.h]jX)}(hFor each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.h]hFor each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM< hjubah}(h]h ]h"]h$]h&]uh1j hj¢hM< hjubeh}(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.hhMS ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMS ubj)}(h__skb_queue_purge_reasonh]j%)}(h__skb_queue_purge_reasonh]h__skb_queue_purge_reason}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMS 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&]uh1hhj"ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j')}jj sbc.__skb_queue_purge_reasonasbuh1hhj"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%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(henum skb_drop_reason reasonh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hskb_drop_reasonh]hskb_drop_reason}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j`c.__skb_queue_purge_reasonasbuh1hhjubj)}(h h]h }(hjԣhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMS ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMS ubah}(h]jܢah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMS hjޢhhubjS)}(hhh]jX)}(h empty a listh]h empty a list}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMS hj hhubah}(h]h ]h"]h$]h&]uh1jRhjޢhhhjhMS ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhj[hNhNubj})}(hX_**Parameters** ``struct sk_buff_head *list`` list to empty ``enum skb_drop_reason reason`` drop reason **Description** Delete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function 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}(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.hhMW hj(ubj)}(hhh](j)}(h,``struct sk_buff_head *list`` list to empty h](j)}(h``struct sk_buff_head *list``h]j)}(hjMh]hstruct sk_buff_head *list}(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.hhMT hjGubj)}(hhh]jX)}(h list to emptyh]h list to empty}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMT hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMT hjDubj)}(h,``enum skb_drop_reason reason`` drop reason 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.hhMU hjubj)}(hhh]jX)}(h drop reasonh]h drop reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMU hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMU 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.hhMW hj(ubj )}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.h]jX)}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.h](hDelete all buffers on an }(hjۤhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(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.hhMV hjۤubh list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.}(hjۤhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMV hjפubah}(h]h ]h"]h$]h&]uh1j hjhMV hj(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMw ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/hhhjAhMw ubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/hhhjAhMw ubj)}(hnetdev_alloc_fragh]j%)}(hnetdev_alloc_fragh]hnetdev_alloc_frag}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/hhhjAhMw ubj)}(h(unsigned int fragsz)h]j)}(hunsigned int fragszh](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%)}(hfragszh]hfragsz}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubah}(h]h ]h"]h$]h&]j<j=uh1jhj/hhhjAhMw ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhjAhMw ubah}(h]j&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhMw hj(hhubjS)}(hhh]jX)}(hallocate a page fragmenth]hallocate a page fragment}(hjߥhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMw hjܥhhubah}(h]h ]h"]h$]h&]uh1jRhj(hhhjAhMw ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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&``unsigned int fragsz`` fragment size h](j)}(h``unsigned int fragsz``h]j)}(hj h]hunsigned int fragsz}(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.hhMx hjubj)}(hhh]jX)}(h fragment sizeh]h fragment size}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMx hj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMx hjubah}(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:17: ./include/linux/skbuff.hhMz hjubjX)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMy hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_alloc_skb (C function)c.netdev_alloc_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hOstruct sk_buff * netdev_alloc_skb (struct net_device *dev, unsigned int length)h]h)}(hMstruct sk_buff *netdev_alloc_skb(struct net_device *dev, unsigned int length)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jnetdev_alloc_skbsbc.netdev_alloc_skbasbuh1hhjhhhjhM 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_alloc_skbh]j%)}(hjݦh]hnetdev_alloc_skb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h-(struct net_device *dev, unsigned int length)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(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}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]jۦc.netdev_alloc_skbasbuh1hhjubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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=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.allocate an skbuff for rx on a specific deviceh]h.allocate an skbuff for rx on a specific device}(hjhhhNhNubah}(h]h ]h"]h$]h&]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 net_device *dev`` network device to receive on ``unsigned int length`` length to allocate **Description** Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.h](jX)}(h**Parameters**h]j)}(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.hhM hjubj)}(hhh](j)}(h8``struct net_device *dev`` network device to receive 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj'ubj)}(hhh]jX)}(hnetwork device to receive onh]hnetwork device to receive on}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM hj$ubj)}(h+``unsigned int length`` length to allocate h](j)}(h``unsigned int length``h]j)}(hjfh]hunsigned int length}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj`ubj)}(hhh]jX)}(hlength to allocateh]hlength to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hM hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM hj$ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj )}(hXAllocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.h](jX)}(hXAllocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.h](hAllocate a new }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjŨh]hsk_buff}(hjǨhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjèubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubh and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubjX)}(h|``NULL`` is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.h](j)}(h``NULL``h]hNULL}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubeh}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(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}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,hhhj=hM ubh)}(hhh]j%)}(hpageh]hpage}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j')}j__dev_alloc_pagessbc.__dev_alloc_pagesasbuh1hhj,hhhj=hM ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,hhhj=hM ubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,hhhj=hM ubj)}(h__dev_alloc_pagesh]j%)}(hjmh]h__dev_alloc_pages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhj=hM ubj)}(h$(gfp_t gfp_mask, unsigned int order)h](j)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jkc.__dev_alloc_pagesasbuh1hhjubj)}(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)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(horderh]horder}(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=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 page for network Rxh]hallocate page for network Rx}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjQhhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhj=hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjljxjljyjzj{uh1hhhhj[hNhNubj})}(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)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjpubj)}(hhh](j)}(hS``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jX)}(h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rxh]h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h.``unsigned int order`` size of the allocation h](j)}(h``unsigned int order``h]j)}(hjΪh]hunsigned int order}(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)}(hsize of the allocationh]hsize of the allocation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjȪubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjpubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjpubjX)}(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 hjpubjX)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh( is returned if there is no free memory.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjpubeh}(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}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjghhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjxhM ubh)}(hhh]j%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j__dev_alloc_pagesbc.__dev_alloc_pageasbuh1hhjghhhjxhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjxhM ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjghhhjxhM ubj)}(h__dev_alloc_pageh]j%)}(hjh]h__dev_alloc_page}(hjʫhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjƫubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjghhhjxhM 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$]jc.__dev_alloc_pageasbuh1hhjubj)}(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ݫubah}(h]h ]h"]h$]h&]j<j=uh1jhjghhhjxhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjchhhjxhM ubah}(h]j^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhM hj`hhubjS)}(hhh]jX)}(hallocate a page for network Rxh]hallocate a 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`hhhjxhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVjxjVjyjzj{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)}(hj`h]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjZubj)}(hhh]j)}(hS``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjyubj)}(hhh]jX)}(h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rxh]h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM hjvubah}(h]h ]h"]h$]h&]uh1jhjZubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjZubjX)}(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 hjZubjX)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߬ubh( is returned if there is no free memory.}(hj߬hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjZubeh}(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}(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)}(hdev_page_is_reusableh]j%)}(hdev_page_is_reusableh]hdev_page_is_reusable}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj)hM ubj)}(h(const struct page *page)h]j)}(hconst struct page *pageh](h)}(hjh]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj>sbc.dev_page_is_reusableasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hpageh]hpage}(hj̭hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubah}(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)}(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&]uh1jRhjhhhj)hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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 struct page *page`` the page to test h](j)}(h``const struct page *page``h]j)}(hj7h]hconst struct page *page}(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)}(hthe page to testh]hthe page to test}(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.hhMhjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjX)}(h **Return**h]j)}(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)}(hHfalse if this page should be returned to page allocator, true otherwise.h]hHfalse if this page should be returned to page allocator, true otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%skb_propagate_pfmemalloc (C function)c.skb_propagate_pfmemallochNtauh1hhj[hhhNhNubh)}(hhh](h)}(hLvoid skb_propagate_pfmemalloc (const struct page *page, struct sk_buff *skb)h]h)}(hKvoid skb_propagate_pfmemalloc(const struct page *page, struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjޮhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjڮhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjڮhhhjhMubj)}(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=uh1jhjڮhhhjhMubj)}(h.(const struct page *page, struct sk_buff *skb)h](j)}(hconst struct page *pageh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hpageh]hpage}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]j')}jjsbc.skb_propagate_pfmemallocasbuh1hhjubj)}(h h]h }(hjthhhNhNubah}(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)}(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$]jpc.skb_propagate_pfmemallocasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjڮhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj֮hhhjhMubah}(h]jѮah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjӮhhubjS)}(hhh]jX)}(h6Propagate pfmemalloc if skb is allocated after RX pageh]h6Propagate pfmemalloc if skb is allocated after RX page}(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&]uh1jRhjӮhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjAjxjAjyjzj{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)}(hjKh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjEubj)}(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)}(hjjh]hconst struct page *page}(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)}(h/The page that was allocated from skb_alloc_pageh]h/The page that was allocated from skb_alloc_page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubj)}(h<``struct sk_buff *skb`` The skb that may need pfmemalloc seth](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h$The skb that may need pfmemalloc seth]h$The skb that may need pfmemalloc set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubeh}(h]h ]h"]h$]h&]uh1jhjEubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj hM'ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hM'ubj)}(h skb_frag_offh]j%)}(h skb_frag_offh]h skb_frag_off}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jj<sbc.skb_frag_offasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hfragh]hfrag}(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]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}(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&]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)}(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)}(hthe paged fragmenth]hthe paged fragment}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM(hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhjhM0ubj)}(hskb_frag_off_addh]j%)}(hskb_frag_off_addh]hskb_frag_off_add}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjphhhjhM0ubj)}(h(skb_frag_t *frag, int delta)h](j)}(hskb_frag_t *fragh](h)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_frag_off_addasbuh1hhjubj)}(h h]h }(hjԲhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int deltah](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjphhhjhM0ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjhM0ubah}(h]jgah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM0hjihhubjS)}(hhh]jX)}(h4Increments the offset of a skb fragment by **delta**h](h+Increments the offset of a skb fragment by }(hjNhhhNhNubj)}(h **delta**h]hdelta}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0hjKhhubah}(h]h ]h"]h$]h&]uh1jRhjihhhjhM0ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtjxjtjyjzj{uh1hhhhj[hNhNubj})}(hQ**Parameters** ``skb_frag_t *frag`` skb fragment ``int delta`` value to addh](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.hhM4hjxubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hjh]hskb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1hjubj)}(hhh]jX)}(h skb fragmenth]h skb fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(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.hhM3hjгubj)}(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.hhM2hjubah}(h]h ]h"]h$]h&]uh1jhjгubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubeh}(h]h ]h"]h$]h&]uh1jhjxubeh}(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)}(hhM:ubj)}(hskb_frag_off_seth]j%)}(hskb_frag_off_seth]hskb_frag_off_set}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhj>hM:ubj)}(h'(skb_frag_t *frag, unsigned int offset)h](j)}(hskb_frag_t *fragh](h)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrmodnameN classnameNjj!)}j$]j')}jjSsbc.skb_frag_off_setasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(hunsigned int offseth](j)}(hunsignedh]hunsigned}(hjĴhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjҴhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubeh}(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!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%hhhj>hM:ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhj[hNhNubj})}(ha**Parameters** ``skb_frag_t *frag`` skb fragment ``unsigned int offset`` offset of fragmenth](jX)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM>hjBubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hjgh]hskb_frag_t *frag}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM;hjaubj)}(hhh]jX)}(h skb fragmenth]h skb fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hM;hj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hM;hj^ubj)}(h*``unsigned int offset`` offset of fragmenth](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM=hjubj)}(hhh]jX)}(hoffset of fragmenth]hoffset of fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubeh}(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.hhMDubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMDubj)}(hskb_frag_off_copyh]j%)}(hskb_frag_off_copyh]hskb_frag_off_copy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMDubj)}(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$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<modnameN classnameNjj!)}j$]j')}jjsbc.skb_frag_off_copyasbuh1hhj3ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hfragtoh]hfragto}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubj)}(hconst skb_frag_t *fragfromh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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$]jVc.skb_frag_off_copyasbuh1hhjubj)}(h h]h }(hjʶhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjضhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragfromh]hfragfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMDubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMDhjhhubjS)}(hhh]jX)}(h7Sets the offset of a skb fragment from another fragmenth]h7Sets the offset of a skb fragment from another fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMDhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMDubeh}(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)}(hj1h]h Parameters}(hj3hhhNhNubah}(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.hhMHhj+ubj)}(hhh](j)}(h8``skb_frag_t *fragto`` skb fragment where offset is set h](j)}(h``skb_frag_t *fragto``h]j)}(hjPh]hskb_frag_t *fragto}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEhjJubj)}(hhh]jX)}(h skb fragment where offset is seth]h skb fragment where offset is set}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMEhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMEhjGubj)}(hA``const skb_frag_t *fragfrom`` skb fragment offset is copied fromh](j)}(h``const skb_frag_t *fragfrom``h]j)}(hjh]hconst skb_frag_t *fragfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhjubj)}(hhh]jX)}(h"skb fragment offset is copied fromh]h"skb fragment offset is copied from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjGubeh}(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_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&]uh1hhj߷hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMUubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj߷hhhjhMUubh)}(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_iovasbuh1hhj߷hhhjhMUubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj߷hhhjhMUubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj߷hhhjhMUubj)}(hskb_frag_net_iovh]j%)}(hj h]hskb_frag_net_iov}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj߷hhhjhMUubj)}(h(const skb_frag_t *frag)h]j)}(hconst skb_frag_t *fragh](h)}(hjh]hconst}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]jc.skb_frag_net_iovasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubah}(h]h ]h"]h$]h&]j<j=uh1jhj߷hhhjhMUubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj۷hhhjhMUubah}(h]jַah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMUhjطhhubjS)}(hhh]jX)}(h,retrieve the net_iov referred to by fragmenth]h,retrieve the net_iov referred to by fragment}(hj޸hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMUhj۸hhubah}(h]h ]h"]h$]h&]uh1jRhjطhhhjhMUubeh}(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.hhMYhjubj)}(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}(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.hhMVhjubj)}(hhh]jX)}(h the fragmenth]h the fragment}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMVhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMVhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hjZh]hReturn}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMXhjubjX)}(huthe :c:type:`struct net_iov ` associated with **frag**. Returns NULL if this frag has no associated net_iov.h](hthe }(hjphhhNhNubh)}(h":c:type:`struct net_iov `h]j)}(hjzh]hstruct net_iov}(hj|hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjnet_iovuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMXhjpubh associated with }(hjphhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh6. Returns NULL if this frag has no associated net_iov.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMXhjubeh}(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}(hjԹhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjйhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjйhhhjhMdubh)}(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_pageasbuh1hhjйhhhjhMdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjйhhhjhMdubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjйhhhjhMdubj)}(h skb_frag_pageh]j%)}(hjh]h skb_frag_page}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjйhhhjhMdubj)}(h(const skb_frag_t *frag)h]j)}(hconst skb_frag_t *fragh](h)}(hjh]hconst}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(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$]jc.skb_frag_pageasbuh1hhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubah}(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)}(h1retrieve the page referred to by a paged fragmenth]h1retrieve the page referred to by a paged fragment}(hjϺhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMdhj̺hhubah}(h]h ]h"]h$]h&]uh1jRhjɹhhhjhMdubeh}(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.hhMhhjubj)}(hhh]j)}(h.``const skb_frag_t *frag`` the paged 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.hhMehj ubj)}(hhh]jX)}(hthe paged fragmenth]hthe paged fragment}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMehj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMehjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hjKh]hReturn}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMghjubjX)}(hlthe :c:type:`struct page ` associated with **frag**. Returns NULL if this frag has no associated page.h](hthe }(hjahhhNhNubh)}(h:c:type:`struct page `h]j)}(hjkh]h struct page}(hjmhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjpageuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMghjaubh associated with }(hjahhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh3. Returns NULL if this frag has no associated page.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMghjubeh}(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}(hjȻhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjŻubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjʻmodnameN classnameNjj!)}j$]j')}jskb_frag_netmemsbc.skb_frag_netmemasbuh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMsubj)}(hskb_frag_netmemh]j%)}(hjh]hskb_frag_netmem}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMsubj)}(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}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]jc.skb_frag_netmemasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragh]hfrag}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMsubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMsubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMshjhhubjS)}(hhh]jX)}(h-retrieve the netmem referred to by a fragmenth]h-retrieve the netmem referred to by a fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMshjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMsubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hy**Parameters** ``const skb_frag_t *frag`` the fragment **Return** the :c:type:`netmem_ref` associated with **frag**.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwhjubj)}(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.hhMthjӼubj)}(hhh]jX)}(h the fragmenth]h the fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjӼubeh}(h]h ]h"]h$]h&]uh1jhjhMthjм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.hhMvhjubjX)}(h2the :c:type:`netmem_ref` associated with **frag**.h](hthe }(hj*hhhNhNubh)}(h:c:type:`netmem_ref`h]j)}(hj4h]h netmem_ref}(hj6hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj netmem_refuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhj*ubh associated with }(hj*hhhNhNubj)}(h**frag**h]hfrag}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh.}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjQhMvhjubeh}(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}(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_frag_addressh]j%)}(hskb_frag_addressh]hskb_frag_address}(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}(hjؽhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjԽubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjԽubh)}(hhh]j%)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_frag_addressasbuh1hhjԽ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%)}(hfragh]hfrag}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjԽubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjнubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(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}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjXhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const skb_frag_t *frag`` the paged fragment buffer **Return** the address of the data within **frag**. The page must already be mapped.h](jX)}(h**Parameters**h]j)}(hj}h]h Parameters}(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.hhMhjwubj)}(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.hhMhjubj)}(hhh]jX)}(hthe paged fragment bufferh]hthe paged fragment 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&]uh1jhjwubjX)}(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.hhMhjwubjX)}(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.hhMhjwubeh}(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}(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;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*hhhj<hMubj)}(hskb_frag_address_safeh]j%)}(hskb_frag_address_safeh]hskb_frag_address_safe}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj<hMubj)}(h(const skb_frag_t *frag)h]j)}(hconst skb_frag_t *fragh](h)}(hjh]hconst}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubh)}(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_address_safeasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hjĿhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hfragh]hfrag}(hjѿhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubah}(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: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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj#hhhj<hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const skb_frag_t *frag`` the paged fragment buffer **Return** the address of the data within **frag**. Checks that the page is mapped and returns ``NULL`` otherwise.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)}(h5``const skb_frag_t *frag`` the paged fragment buffer 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.hhMhj6ubj)}(hhh]jX)}(hthe paged fragment bufferh]hthe paged fragment buffer}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hjwh]hReturn}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(hgthe address of the data within **frag**. Checks that the page is mapped and returns ``NULL`` otherwise.h](hthe address of the data within }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh-. Checks that the page is mapped and returns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh otherwise.}(hjhhhNhNubeh}(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_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.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(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=uh1jhjhhhjhMubj)}(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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]j')}jjsbc.skb_frag_page_copyasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjNhhhNhNubah}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(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<c.skb_frag_page_copyasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hfragfromh]hfragfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(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)}(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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(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)}(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)}(h6``skb_frag_t *fragto`` skb fragment where page is set h](j)}(h``skb_frag_t *fragto``h]j)}(hj6h]hskb_frag_t *fragto}(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)}(hskb fragment where page is seth]hskb fragment where page is set}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhj-ubj)}(h?``const skb_frag_t *fragfrom`` skb fragment page is copied fromh](j)}(h``const skb_frag_t *fragfrom``h]j)}(hjoh]hconst skb_frag_t *fragfrom}(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)}(h skb fragment page is copied fromh]h skb fragment page is copied from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhj-ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__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_mapasbuh1hhjhhhV/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_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=uh1jhjhhhjhMubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hdeviceh]hdevice}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]jc.__skb_frag_dma_mapasbuh1hhjubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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$]jc.__skb_frag_dma_mapasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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 }(hjhhhNhNubah}(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=uh1jhjubj)}(h size_t sizeh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]jc.__skb_frag_dma_mapasbuh1hhj?ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj%)}(hsizeh]hsize}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(henum dma_data_direction dirh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hdma_data_directionh]hdma_data_direction}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__skb_frag_dma_mapasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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%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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h9``struct device *dev`` the device to map the fragment to h](j)}(h``struct device *dev``h]j)}(hj@h]hstruct device *dev}(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)}(h!the device to map the fragment toh]h!the device to map the fragment to}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubj)}(h5``const skb_frag_t *frag`` the paged fragment to map h](j)}(h``const skb_frag_t *frag``h]j)}(hjyh]hconst skb_frag_t *frag}(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.hhMhjsubj)}(hhh]jX)}(hthe paged fragment to maph]hthe paged fragment to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj7ubj)}(hY``size_t offset`` the offset within the fragment (starting at the fragment's own offset) h](j)}(h``size_t offset``h]j)}(hjh]h size_t offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hFthe offset within the fragment (starting at the fragment's own offset)h]hHthe offset within the fragment (starting at the fragment’s own offset)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj7ubj)}(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.hhMhjubj)}(hhh]jX)}(hthe number of bytes to maph]hthe number of bytes to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj7ubj)}(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.hhMhjubj)}(hhh]jX)}(h,the direction of the mapping (``PCI_DMA_*``)h](hthe direction of the mapping (}(hj>hhhNhNubj)}(h ``PCI_DMA_*``h]h PCI_DMA_*}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh)}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj7ubeh}(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.hhMhjubjX)}(h5Maps the page associated with **frag** to **device**.h](hMaps the page associated with }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h **device**h]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(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.skb_clone_writableasbuh1hhjubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h!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&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to check ``unsigned int len`` length up to which to write **Description** Returns true if modifying the header part of the cloned buffer does not requires the data to be copied.h](jX)}(h**Parameters**h]j)}(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.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjHh]hconst struct sk_buff *skb}(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)}(hbuffer to checkh]hbuffer to check}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj?ubj)}(h1``unsigned int len`` length up to which to write h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj{ubj)}(hhh]jX)}(hlength up to which to writeh]hlength up to which to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj#ubj )}(hgReturns true if modifying the header part of the cloned buffer does not requires the data to be copied.h]jX)}(hgReturns true if modifying the header part of the cloned buffer does not requires the data to be copied.h]hgReturns true if modifying the header part of the cloned buffer does not requires the data to be copied.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhj#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}(hj hhhNhNubah}(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$hj(ubah}(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}(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.sb c.skb_cowasbuh1hhjDubj)}(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 headroomh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hheadroomh]hheadroom}(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© 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&]jvjqjwj4jxj4jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to cow ``unsigned int headroom`` needed headroom **Description** If the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed. The result is skb with writable area skb->head...skb->tail and at least **headroom** of space at head.h](jX)}(h**Parameters**h]j)}(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.hhMhj8ubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to cow 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.hhMhjWubj)}(hhh]jX)}(h buffer to cowh]h buffer to cow}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjTubj)}(h*``unsigned int headroom`` needed headroom h](j)}(h``unsigned int headroom``h]j)}(hjh]hunsigned int headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hneeded headroomh]hneeded headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj8ubj )}(hXIf the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed. The result is skb with writable area skb->head...skb->tail and at least **headroom** of space at head.h](jX)}(hIf the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed.h]hIf the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(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 }(hjhhhNhNubj)}(h **headroom**h]hheadroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh of space at head.}(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&]uh1j hjhMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_cow_head (C function)c.skb_cow_headhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=int skb_cow_head (struct sk_buff *skb, unsigned int headroom)h]h)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubj)}(hunsigned int headroomh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hheadroomh]hheadroom}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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)}(h)skb_cow but only making the head writableh]h)skb_cow but only making the head writable}(hjRhhhNhNubah}(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&]uh1jRhj6hhhjOhM$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjjxjjjyjzj{uh1hhhhj[hNhNubj})}(hXS**Parameters** ``struct sk_buff *skb`` buffer to cow ``unsigned int headroom`` needed headroom **Description** This function is identical to skb_cow except that we replace the skb_cloned check by skb_header_cloned. It should be used when you only need to push on some header and do not need to modify the data.h](jX)}(h**Parameters**h]j)}(hjth]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM(hjnubj)}(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.hhM%hjubj)}(hhh]jX)}(h buffer to cowh]h buffer to cow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjubj)}(h*``unsigned int headroom`` needed headroom h](j)}(h``unsigned int headroom``h]j)}(hjh]hunsigned int headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM&hjubj)}(hhh]jX)}(hneeded headroomh]hneeded headroom}(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&]uh1jhjnubjX)}(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(hjnubj )}(hThis function is identical to skb_cow except that we replace the skb_cloned check by skb_header_cloned. It should be used when you only need to push on some header and do not need to modify the data.h]jX)}(hThis function is identical to skb_cow except that we replace the skb_cloned check by skb_header_cloned. It should be used when you only need to push on some header and do not need to modify the data.h]hThis function is identical to skb_cow except that we replace the skb_cloned check by skb_header_cloned. It should be used when you only need to push on some header and do not need to modify the data.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM'hjubah}(h]h ]h"]h$]h&]uh1j hj/hM'hjnubeh}(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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3ubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRhhhjdhM3ubj)}(h skb_padtoh]j%)}(h skb_padtoh]h skb_padto}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjRhhhjdhM3ubj)}(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')}jjysb c.skb_padtoasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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}(hj!hhhNhNubah}(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=uh1jhjRhhhjdhM3ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjNhhhjdhM3ubah}(h]jIah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjdhM3hjKhhubjS)}(hhh]jX)}(h"pad an skbuff up to a minimal sizeh]h"pad an skbuff up to a minimal size}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3hjdhhubah}(h]h ]h"]h$]h&]uh1jRhjKhhhjdhM3ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXW**Parameters** ``struct sk_buff *skb`` buffer to pad ``unsigned int len`` minimal length **Description** Pads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM7hjubj)}(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.hhM4hjubj)}(hhh]jX)}(h buffer to padh]h buffer to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubj)}(h$``unsigned int len`` minimal length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5hjubj)}(hhh]jX)}(hminimal lengthh]hminimal length}(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)}(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.hhM7hjubj )}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]jX)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM6hj2ubah}(h]h ]h"]h$]h&]uh1j hjDhM6hjubeh}(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}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjyhMEubj)}(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=uh1jhjghhhjyhMEubj)}(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*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool free_on_errorh](j)}(hjTh]hbool}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(h free_on_errorh]h free_on_error}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjghhhjyhMEubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjchhhjyhMEubah}(h]j^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyhMEhj`hhubjS)}(hhh]jX)}(h4increase size and pad an skbuff up to a minimal sizeh]h4increase size and pad an skbuff up to a minimal size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEhjhhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhjyhMEubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to pad ``unsigned int len`` minimal length ``bool free_on_error`` free buffer on error **Description** Pads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if **free_on_error** is true.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMIhjubj)}(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.hhMFhjubj)}(hhh]jX)}(h buffer to padh]h buffer to pad}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubj)}(h$``unsigned int len`` minimal length h](j)}(h``unsigned int len``h]j)}(hj*h]hunsigned int len}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhj$ubj)}(hhh]jX)}(hminimal lengthh]hminimal length}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMGhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMGhjubj)}(h,``bool free_on_error`` free buffer on error h](j)}(h``bool free_on_error``h]j)}(hjch]hbool free_on_error}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMHhj]ubj)}(hhh]jX)}(hfree buffer on errorh]hfree buffer on error}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMHhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMHhjubeh}(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.hhMJhjubj )}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if **free_on_error** is true.h]jX)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if **free_on_error** is true.h](hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if }(hjhhhNhNubj)}(h**free_on_error**h]h free_on_error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is true.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMIhjubah}(h]h ]h"]h$]h&]uh1j hjhMIhjubeh}(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&]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 hjhhhj hM_ubj)}(h skb_put_padtoh]j%)}(h skb_put_padtoh]h skb_put_padto}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hM_ubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\modnameN classnameNjj!)}j$]j')}jj"sbc.skb_put_padtoasbuh1hhj8ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(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=uh1jhj4ubeh}(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)}(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.hhM_hj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hM_ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhj[hNhNubj})}(hXW**Parameters** ``struct sk_buff *skb`` buffer to pad ``unsigned int len`` minimal length **Description** Pads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h](jX)}(h**Parameters**h]j)}(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.hhMchj,ubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad 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.hhM`hjKubj)}(hhh]jX)}(h buffer to padh]h buffer to pad}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhM`hjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhM`hjHubj)}(h$``unsigned int len`` minimal length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMahjubj)}(hhh]jX)}(hminimal lengthh]hminimal length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjHubeh}(h]h ]h"]h$]h&]uh1jhj,ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMchj,ubj )}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]jX)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMbhjubah}(h]h ]h"]h$]h&]uh1j hjhMbhj,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.hhMubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj"hMubj)}(h skb_linearizeh]j%)}(h skb_linearizeh]h skb_linearize}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj"hMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j')}jj7sbc.skb_linearizeasbuh1hhjMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj"hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj"hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"hMhj hhubjS)}(hhh]jX)}(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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj"hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to linarize **Description** If there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h](jX)}(h**Parameters**h]j)}(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 linarize 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 linarizeh]hbuffer to linarize}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj )}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]jX)}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjfubah}(h]h ]h"]h$]h&]uh1j hjxhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h skb_has_shared_frag (C function)c.skb_has_shared_fraghNtauh1hhj[hhhNhNubh)}(hhh](h)}(h4bool skb_has_shared_frag (const struct sk_buff *skb)h]h)}(h3bool skb_has_shared_frag(const struct sk_buff *skb)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(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=uh1jhjhhhjhMubj)}(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 }(hj4hhhNhNubah}(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=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)}(hcan any frag be overwrittenh]hcan any frag be overwritten}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjvhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` buffer to test **Return** true if the skb has at least one frag that might be modified by an external entity (as in vmsplice()/sendfile())h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(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.hhMhjubj)}(hhh]jX)}(hbuffer to testh]hbuffer to test}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(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())}(hj hhhNhNubah}(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_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}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6hhhjHhMubj)}(hskb_linearize_cowh]j%)}(hskb_linearize_cowh]hskb_linearize_cow}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6hhhjHhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(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]sbc.skb_linearize_cowasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubah}(h]h ]h"]h$]h&]j<j=uh1jhj6hhhjHhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2hhhjHhMubah}(h]j-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjHhMhj/hhubjS)}(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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj/hhhjHhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer to process **Description** If there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h](jX)}(h**Parameters**h]j)}(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 process 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5ubj)}(hhh]jX)}(hbuffer to processh]hbuffer to process}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjvh]h Description}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj )}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]jX)}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_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}(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_postpull_rcsumh]j%)}(hskb_postpull_rcsumh]hskb_postpull_rcsum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h:(struct sk_buff *skb, const void *start, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]j')}jjsbc.skb_postpull_rcsumasbuh1hhjubj)}(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=uh1jhjubj)}(hconst void *starth](h)}(hjh]hconst}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hstarth]hstart}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(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+update checksum for received skb after pullh]h+update checksum for received skb after pull}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj0hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{uh1hhhhj[hNhNubj})}(hXr**Parameters** ``struct sk_buff *skb`` buffer to update ``const void *start`` start of data before pull ``unsigned int len`` length of data pulled **Description** After doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.h](jX)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjOubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnubj)}(hhh]jX)}(hbuffer to updateh]hbuffer to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhjkubj)}(h0``const void *start`` start of data before pull h](j)}(h``const void *start``h]j)}(hjh]hconst void *start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hstart of data before pullh]hstart of data before pull}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjkubj)}(h+``unsigned int len`` length of data pulled h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hlength of data pulledh]hlength of data pulled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjkubeh}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjOubj )}(hAfter doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.h]jX)}(hAfter doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.h]hAfter doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj7ubah}(h]h ]h"]h$]h&]uh1j hjIhMhjOubeh}(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}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhj~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=uh1jhjlhhhj~hMubj)}(h:(struct sk_buff *skb, const void *start, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_postpush_rcsumasbuh1hhjubj)}(h h]h }(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}(hjhhhNhNubah}(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 }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstarth]hstart}(hjchhhNhNubah}(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&]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%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(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+update checksum for received skb after pushh]h+update checksum for received skb after push}(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&]uh1jRhjehhhj~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 **Description** After doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.h](jX)}(h**Parameters**h]j)}(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}(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)}(hbuffer to updateh]hbuffer to update}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(h/``const void *start`` start of data after push h](j)}(h``const void *start``h]j)}(hjXh]hconst void *start}(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)}(hstart of data after pushh]hstart of data after push}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(h+``unsigned int len`` length of data pushed h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hlength of data pushedh]hlength of data pushed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj )}(hhAfter doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.h]jX)}(hhAfter doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.h]hhAfter doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_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 }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj)hMubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj)hMubj)}(hskb_push_rcsumh]j%)}(hskb_push_rcsumh]hskb_push_rcsum}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(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}(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_push_rcsumasbuh1hhjaubj)}(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)}(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=uh1jhj]ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj)hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj)hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj)hMhjhhubjS)}(hhh]jX)}(h$push skb and update receive checksumh]h$push skb and update receive checksum}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj6hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj)hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to update ``unsigned int len`` length of data pulled **Description** This function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h](jX)}(h**Parameters**h]j)}(hj[h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(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 update h](j)}(h``struct sk_buff *skb``h]j)}(hjzh]hstruct sk_buff *skb}(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.hhMhjtubj)}(hhh]jX)}(hbuffer to updateh]hbuffer to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjqubj)}(h+``unsigned int len`` length of data pulled h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hlength of data pulledh]hlength of data pulled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjqubeh}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjUubj )}(hXThis function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]jX)}(hXThis function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]hXThis function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjUubeh}(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}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhjKhMubj)}(hpskb_trim_rcsumh]j%)}(hpskb_trim_rcsumh]hpskb_trim_rcsum}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhjKhMubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(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`sbc.pskb_trim_rcsumasbuh1hhjvubj)}(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=uh1jhjrubj)}(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=uh1jhjrubeh}(h]h ]h"]h$]h&]j<j=uh1jhj9hhhjKhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhjKhMubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhMhj2hhubjS)}(hhh]jX)}(h%trim received skb and update checksumh]h%trim received skb and update checksum}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKhhubah}(h]h ]h"]h$]h&]uh1jRhj2hhhjKhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjfjxjfjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to trim ``unsigned int len`` new length **Description** This is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.h](jX)}(h**Parameters**h]j)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjjubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to trim h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hbuffer to trimh]hbuffer to trim}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``unsigned int len`` new length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h new lengthh]h new length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjjubj )}(hThis is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.h]jX)}(hThis is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.h]hThis is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1j hj+hMhjjubeh}(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}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhj_hMubj)}(hskb_needs_linearizeh]j%)}(hskb_needs_linearizeh]hskb_needs_linearize}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhj_hMubj)}(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')}jjtsbc.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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_needs_linearizeasbuh1hhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hfeaturesh]hfeatures}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(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)}(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.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjVhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhj_hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqjxjqjyjzj{uh1hhhhj[hNhNubj})}(hX)**Parameters** ``struct sk_buff *skb`` socket buffer to check ``netdev_features_t features`` net device features **Description** Returns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.h](jX)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(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`` socket buffer to check h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hsocket buffer to checkh]hsocket buffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``netdev_features_t features`` net device features h](j)}(h``netdev_features_t features``h]j)}(hjh]hnetdev_features_t features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hnet device featuresh]hnet device features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjuubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjuubj )}(hReturns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.h]jX)}(hReturns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.h]hReturns true if either: 1. skb has frag_list and the device doesn’t support FRAGLIST, or 2. skb is fragmented and the device does not support SG.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj$ubah}(h]h ]h"]h$]h&]uh1j hj6hMhjuubeh}(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}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhMubj)}(hskb_get_timestamph]j%)}(hskb_get_timestamph]hskb_get_timestamp}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjkhMubj)}(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 }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubh)}(hhh]j%)}(h__kernel_old_timevalh]h__kernel_old_timeval}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]jc.skb_get_timestampasbuh1hhj#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%)}(hstamph]hstamp}(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=uh1jhjYhhhjkhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjkhMubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhMhjRhhubjS)}(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&]uh1jRhjRhhhjkhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX]**Parameters** ``const struct sk_buff *skb`` skb to get stamp from ``struct __kernel_old_timeval *stamp`` pointer to struct __kernel_old_timeval to store stamp in **Description** Timestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.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 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.hhMhjubj)}(hhh]jX)}(h8pointer to struct __kernel_old_timeval to store stamp inh]h8pointer to struct __kernel_old_timeval to store stamp in}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubeh}(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:17: ./include/linux/skbuff.hhMhjubj )}(hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.h]jX)}(hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.h]hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjsubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_data_move (C function)c.skb_data_movehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hMvoid skb_data_move (struct sk_buff *skb, const int len, const unsigned int n)h]h)}(hLvoid skb_data_move(struct sk_buff *skb, const int len, const unsigned int n)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_data_moveh]j%)}(h skb_data_moveh]h skb_data_move}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h:(struct sk_buff *skb, const int len, const unsigned int n)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.skb_data_moveasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h const int lenh](h)}(hjh]hconst}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj)}(hinth]hint}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned int nh](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)}(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=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=Move packet data and metadata after skb_push() or skb_pull().h]h=Move packet data and metadata after skb_push() or skb_pull().}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj$hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` packet to operate on ``const int len`` number of bytes pushed or pulled from :c:type:`sk_buff->data ` ``const unsigned int n`` number of bytes to memmove() from pre-push/pull :c:type:`sk_buff->data ` **Description** Moves **n** bytes of packet data, can be zero, and all bytes of skb metadata. Assumes metadata is located immediately before :c:type:`sk_buff->data ` prior to the push/pull, and that sufficient headroom exists to hold it after an skb_push(). Otherwise, metadata is cleared and a one-time warning is issued. Prefer skb_postpull_data_move() or skb_postpush_data_move() to calling this helper directly.h](jX)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjCubj)}(hhh](j)}(h-``struct sk_buff *skb`` packet to operate on h](j)}(h``struct sk_buff *skb``h]j)}(hjhh]hstruct sk_buff *skb}(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)}(hpacket to operate onh]hpacket to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj_ubj)}(hZ``const int len`` number of bytes pushed or pulled from :c:type:`sk_buff->data ` h](j)}(h``const int len``h]j)}(hjh]h const 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)}(hGnumber of bytes pushed or pulled from :c:type:`sk_buff->data `h](h&number of bytes pushed or pulled from }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubj)}(hk``const unsigned int n`` number of bytes to memmove() from pre-push/pull :c:type:`sk_buff->data ` h](j)}(h``const unsigned int n``h]j)}(hjh]hconst unsigned int n}(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)}(hQnumber of bytes to memmove() from pre-push/pull :c:type:`sk_buff->data `h](h0number of bytes to memmove() from pre-push/pull }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubjX)}(h**Description**h]j)}(hjSh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjCubjX)}(hMMoves **n** bytes of packet data, can be zero, and all bytes of skb metadata.h](hMoves }(hjihhhNhNubj)}(h**n**h]hn}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubhB bytes of packet data, can be zero, and all bytes of skb metadata.}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjCubjX)}(hAssumes metadata is located immediately before :c:type:`sk_buff->data ` prior to the push/pull, and that sufficient headroom exists to hold it after an skb_push(). Otherwise, metadata is cleared and a one-time warning is issued.h](h/Assumes metadata is located immediately before }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(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.hhMhjubh prior to the push/pull, and that sufficient headroom exists to hold it after an skb_push(). Otherwise, metadata is cleared and a one-time warning is issued.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjCubjX)}(h\Prefer skb_postpull_data_move() or skb_postpush_data_move() to calling this helper directly.h]h\Prefer skb_postpull_data_move() or skb_postpush_data_move() to calling this helper directly.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_postpull_data_move (C function)c.skb_postpull_data_movehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h_void skb_postpull_data_move (struct sk_buff *skb, const unsigned int len, const unsigned int n)h]h)}(h^void skb_postpull_data_move(struct sk_buff *skb, const unsigned int len, const unsigned int n)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_postpull_data_moveh]j%)}(hskb_postpull_data_moveh]hskb_postpull_data_move}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hC(struct sk_buff *skb, const unsigned int len, const unsigned int n)h](j)}(hstruct sk_buff *skbh](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%)}(hsk_buffh]hsk_buff}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jjsbc.skb_postpull_data_moveasbuh1hhj$ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hconst unsigned int lenh](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)}(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=uh1jhj ubj)}(hconst unsigned int nh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hunsignedh]hunsigned}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hj0h]hn}(hjYhhhNhNubah}(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/Move packet data and metadata after skb_pull().h]h/Move packet data and metadata after skb_pull().}(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`` packet to operate on ``const unsigned int len`` number of bytes pulled from :c:type:`sk_buff->data ` ``const unsigned int n`` number of bytes to memmove() from pre-pull :c:type:`sk_buff->data ` **Description** See skb_data_move() for details.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h-``struct sk_buff *skb`` packet to operate on h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hpacket to operate onh]hpacket to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hY``const unsigned int len`` number of bytes pulled from :c:type:`sk_buff->data ` h](j)}(h``const unsigned int len``h]j)}(hjh]hconst unsigned 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)}(h=number of bytes pulled from :c:type:`sk_buff->data `h](hnumber of bytes pulled from }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hj!hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hf``const unsigned int n`` number of bytes to memmove() from pre-pull :c:type:`sk_buff->data ` h](j)}(h``const unsigned int n``h]j)}(hjTh]hconst unsigned int n}(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.hhMhjNubj)}(hhh]jX)}(hLnumber of bytes to memmove() from pre-pull :c:type:`sk_buff->data `h](h+number of bytes to memmove() from pre-pull }(hjmhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjwh]h sk_buff->data}(hjyhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjihMhjmubeh}(h]h ]h"]h$]h&]uh1jWhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubeh}(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)}(h See skb_data_move() for details.h]h See skb_data_move() for details.}(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](h#skb_postpush_data_move (C function)c.skb_postpush_data_movehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h_void skb_postpush_data_move (struct sk_buff *skb, const unsigned int len, const unsigned int n)h]h)}(h^void skb_postpush_data_move(struct sk_buff *skb, const unsigned int len, const unsigned int n)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_postpush_data_moveh]j%)}(hskb_postpush_data_moveh]hskb_postpush_data_move}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hC(struct sk_buff *skb, const unsigned int len, const unsigned int n)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]j')}jjsbc.skb_postpush_data_moveasbuh1hhj,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%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj(ubj)}(hconst unsigned int lenh](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)}(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=uh1jhj(ubj)}(hconst unsigned int nh](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}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(hinth]hint}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hj0h]hn}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj(ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h/Move packet data and metadata after skb_push().h]h/Move packet data and metadata after skb_push().}(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`` packet to operate on ``const unsigned int len`` number of bytes pushed onto :c:type:`sk_buff->data ` ``const unsigned int n`` number of bytes to memmove() from pre-push :c:type:`sk_buff->data ` **Description** See skb_data_move() for details.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h-``struct sk_buff *skb`` packet to operate on h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hpacket to operate onh]hpacket to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hY``const unsigned int len`` number of bytes pushed onto :c:type:`sk_buff->data ` h](j)}(h``const unsigned int len``h]j)}(hjh]hconst unsigned 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)}(h=number of bytes pushed onto :c:type:`sk_buff->data `h](hnumber of bytes pushed onto }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hj'h]h sk_buff->data}(hj)hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hf``const unsigned int n`` number of bytes to memmove() from pre-push :c:type:`sk_buff->data ` h](j)}(h``const unsigned int n``h]j)}(hj\h]hconst unsigned int n}(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)}(hLnumber of bytes to memmove() from pre-push :c:type:`sk_buff->data `h](h+number of bytes to memmove() from pre-push }(hjuhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjqhMhjuubeh}(h]h ]h"]h$]h&]uh1jWhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(h See skb_data_move() for details.h]h See skb_data_move() for details.}(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](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.hhM7ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hM7ubj)}(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=uh1jhjhhhj hM7ubj)}(h=(struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps)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_complete_tx_timestampasbuh1hhj4ubj)}(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)}(h&struct skb_shared_hwtstamps *hwtstampsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hskb_shared_hwtstampsh]hskb_shared_hwtstamps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jrc.skb_complete_tx_timestampasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h hwtstampsh]h hwtstamps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hM7ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj hM7ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hM7hjhhubjS)}(hhh]jX)}(h%deliver cloned skb with tx timestampsh]h%deliver cloned skb with tx timestamps}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM7hj(hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hM7ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{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)}(hjMh]h Parameters}(hjOhhhNhNubah}(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;hjGubj)}(hhh](j)}(h>``struct sk_buff *skb`` clone of the original outgoing packet h](j)}(h``struct sk_buff *skb``h]j)}(hjlh]hstruct sk_buff *skb}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM>hjfubj)}(hhh]jX)}(h%clone of the original outgoing packeth]h%clone of the original outgoing packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjcubj)}(h@``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps h](j)}(h*``struct skb_shared_hwtstamps *hwtstamps``h]j)}(hjh]h&struct skb_shared_hwtstamps *hwtstamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM?hjubj)}(hhh]jX)}(hhardware time stampsh]hhardware time stamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjcubeh}(h]h ]h"]h$]h&]uh1jhjGubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMAhjGubjX)}(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.hhM8hjGubeh}(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}(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 }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj3hMJubj)}(h skb_tstamp_txh]j%)}(h skb_tstamp_txh]h skb_tstamp_tx}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj3hMJubj)}(hB(struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h](j)}(hstruct sk_buff *orig_skbh](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjHsbc.skb_tstamp_txasbuh1hhj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj%)}(horig_skbh]horig_skb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubj)}(h&struct skb_shared_hwtstamps *hwtstampsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hskb_shared_hwtstampsh]hskb_shared_hwtstamps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_tstamp_txasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h hwtstampsh]h hwtstamps}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubeh}(h]h ]h"]h$]h&]j<j=uh1jhj!hhhj3hMJubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj3hMJubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hMJhjhhubjS)}(hhh]jX)}(h(queue clone of skb with send time stampsh]h(queue clone of skb with send time stamps}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMJhjRhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj3hMJubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmjxjmjyjzj{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)}(hjwh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMNhjqubj)}(hhh](j)}(h:``struct sk_buff *orig_skb`` the original outgoing packet h](j)}(h``struct sk_buff *orig_skb``h]j)}(hjh]hstruct sk_buff *orig_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMKhjubj)}(hhh]jX)}(hthe original outgoing packeth]hthe original outgoing packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(h^``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps, may be NULL if not available h](j)}(h*``struct skb_shared_hwtstamps *hwtstamps``h]j)}(hjh]h&struct skb_shared_hwtstamps *hwtstamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMLhjubj)}(hhh]jX)}(h2hardware time stamps, may be NULL if not availableh]h2hardware time stamps, may be NULL if not available}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjubeh}(h]h ]h"]h$]h&]uh1jhjqubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMNhjqubjX)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMMhjqubeh}(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}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMXubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKhhhj]hMXubj)}(hskb_tx_timestamph]j%)}(hskb_tx_timestamph]hskb_tx_timestamp}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjKhhhj]hMXubj)}(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')}jjrsbc.skb_tx_timestampasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjKhhhj]hMXubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhj]hMXubah}(h]jBah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hMXhjDhhubjS)}(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.hhMXhj hhubah}(h]h ]h"]h$]h&]uh1jRhjDhhhj]hMXubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` A socket buffer. **Description** Ethernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware. Specifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.h](jX)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(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`` A socket buffer. h](j)}(h``struct sk_buff *skb``h]j)}(hjPh]hstruct sk_buff *skb}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMahjJubj)}(hhh]jX)}(hA socket buffer.h]hA socket buffer.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMahjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMahjGubah}(h]h ]h"]h$]h&]uh1jhj+ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMchj+ubjX)}(hEthernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware.h]hEthernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMYhj+ubjX)}(hSpecifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.h]hSpecifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_complete_wifi_ack (C function)c.skb_complete_wifi_ackhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hh]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool ackedh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hackedh]hacked}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMkubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMkhjhhubjS)}(hhh]jX)}(hdeliver skb with wifi statush]hdeliver skb with wifi status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMkhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMkubeh}(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.hhMohjubj)}(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.hhMmhjubj)}(hhh]jX)}(hthe original outgoing packeth]hthe original outgoing packet}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMmhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMmhj ubj)}(h``bool acked`` ack statush](j)}(h``bool acked``h]j)}(hjMh]h bool acked}(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.hhMohjGubj)}(hhh]jX)}(h ack statush]h ack status}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMnhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMohj 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_checksum_complete (C function)c.skb_checksum_completehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3__sum16 skb_checksum_complete (struct sk_buff *skb)h]h)}(h2__sum16 skb_checksum_complete(struct sk_buff *skb)h](h)}(hhh]j%)}(h__sum16h]h__sum16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jskb_checksum_completesbc.skb_checksum_completeasbuh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_checksum_completeh]j%)}(hjh]hskb_checksum_complete}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_checksum_completeasbuh1hhjubj)}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h&Calculate checksum of an entire packeth]h&Calculate checksum of an entire packet}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` packet to process **Description** This function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum. For protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h*``struct sk_buff *skb`` packet to process h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hpacket to processh]hpacket to process}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj )}(hXPThis function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum. For protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.h](jX)}(hThis function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum.h]hThis function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubjX)}(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.hhMhj ubeh}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_ext (C struct) c.skb_exthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hskb_exth]h)}(hstruct skb_exth](h)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhhhjahMubj)}(hskb_exth]j%)}(hjNh]hskb_ext}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPhhhjahMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhjahMubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjahMhjIhhubjS)}(hhh]jX)}(hsk_buff extensionsh]hsk_buff extensions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjIhhhjahMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Definition**:: struct skb_ext { refcount_t refcnt; u8 offset[SKB_EXT_NUM]; u8 chunks; char data[] ; }; **Members** ``refcnt`` 1 on allocation, deallocated on 0 ``offset`` offset to add to **data** to obtain extension address ``chunks`` size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units ``data`` start of extension data, variable sizedh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjU)}(hgstruct skb_ext { refcount_t refcnt; u8 offset[SKB_EXT_NUM]; u8 chunks; char data[] ; };h]hgstruct skb_ext { refcount_t refcnt; u8 offset[SKB_EXT_NUM]; u8 chunks; char data[] ; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h-``refcnt`` 1 on allocation, deallocated on 0 h](j)}(h ``refcnt``h]j)}(hjh]hrefcnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h!1 on allocation, deallocated on 0h]h!1 on allocation, deallocated on 0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hA``offset`` offset to add to **data** to obtain extension address h](j)}(h ``offset``h]j)}(hj<h]hoffset}(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.hhMhj6ubj)}(hhh]jX)}(h5offset to add to **data** to obtain extension addressh](hoffset to add to }(hjUhhhNhNubj)}(h**data**h]hdata}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh to obtain extension address}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjubj)}(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&]uh1jhjhMhjubj)}(h0``data`` start of extension data, variable sizedh](j)}(h``data``h]j)}(hjh]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h'start of extension data, variable sizedh]h'start of extension data, variable sized}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubjX)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.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=uh1jhjhhhhjzhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjdhhhjzhMubah}(h]j_ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzhMhjahhubjS)}(hhh]jX)}(h(make sure skb ip_summed is CHECKSUM_NONEh]h(make sure skb ip_summed is CHECKSUM_NONE}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjDhhubah}(h]h ]h"]h$]h&]uh1jRhjahhhjzhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_jxj_jyjzj{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)}(hjih]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubj)}(hhh]j)}(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&]uh1jhjcubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubjX)}(hfresh skbs have their ip_summed set to CHECKSUM_NONE. Instead of forcing ip_summed to CHECKSUM_NONE, we can use this helper, to document places where we make this assertion.h]hfresh skbs have their ip_summed set to CHECKSUM_NONE. Instead of forcing ip_summed to CHECKSUM_NONE, we can use this helper, to document places where we make this assertion.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_head_is_locked (C function)c.skb_head_is_lockedhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3bool skb_head_is_locked (const struct sk_buff *skb)h]h)}(h2bool skb_head_is_locked(const struct sk_buff *skb)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_head_is_lockedh]j%)}(hskb_head_is_lockedh]hskb_head_is_locked}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@ubj)}(h h]h }(hjQhhhNhNubah}(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%)}(hsk_buffh]hsk_buff}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj*sbc.skb_head_is_lockedasbuh1hhj@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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h)Determine if the skb->head is locked downh]h)Determine if the skb->head is locked down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX?**Parameters** ``const struct sk_buff *skb`` skb to check **Description** The head on skbs build around a head frag can be removed if they are not cloned. This function returns true if the skb head is locked down due to either being allocated via kmalloc, or by being a clone with multiple references to the head.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h+``const struct sk_buff *skb`` skb to check 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.hhMhjubj)}(hhh]jX)}(h skb to checkh]h skb to check}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(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.}(hjthhhNhNubah}(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](hsock_common (C struct) c.sock_commonhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h sock_commonh]h)}(hstruct sock_commonh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(h sock_commonh]j%)}(hjh]h sock_common}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h/minimal network layer representation of socketsh]h/minimal network layer representation of sockets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKjhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Definition**:: struct sock_common { union { __addrpair skc_addrpair; struct { __be32 skc_daddr; __be32 skc_rcv_saddr; }; }; union { unsigned int skc_hash; __u16 skc_u16hashes[2]; }; union { __portpair skc_portpair; struct { __be16 skc_dport; __u16 skc_num; }; }; unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse:4; unsigned char skc_reuseport:1; unsigned char skc_ipv6only:1; unsigned char skc_net_refcnt:1; unsigned char skc_bypass_prot_mem: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_bypass_prot_mem`` bypass the per-protocol memory accounting for skb ``skc_bound_dev_if`` bound device index if != 0 ``{unnamed_union}`` anonymous ``skc_bind_node`` bind hash linkage for various protocol lookup tables ``skc_portaddr_node`` second hash linkage for UDP/UDP-Lite protocol ``skc_prot`` protocol handlers inside a network family ``skc_net`` reference to the network namespace of this socket ``skc_v6_daddr`` IPV6 destination address ``skc_v6_rcv_saddr`` IPV6 source address ``skc_cookie`` socket's cookie value ``{unnamed_union}`` anonymous ``skc_flags`` place holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settings ``skc_listener`` connection request listener socket (aka rsk_listener) [union with **skc_flags**] ``skc_tw_dr`` (aka tw_dr) ptr to :c:type:`struct inet_timewait_death_row ` [union with **skc_flags**] ``{unnamed_union}`` anonymous ``skc_node`` main hash linkage for various protocol lookup tables ``skc_nulls_node`` main hash linkage for TCP/UDP/UDP-Lite protocol ``skc_tx_queue_mapping`` tx queue number for this connection ``skc_rx_queue_mapping`` rx queue number for this connection ``{unnamed_union}`` anonymous ``skc_incoming_cpu`` record/match cpu processing incoming packets ``skc_rcv_wnd`` (aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with **skc_incoming_cpu**] ``skc_tw_rcv_nxt`` (aka tw_rcv_nxt) TCP window next expected seq number [union with **skc_incoming_cpu**] ``skc_refcnt`` reference counth](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKnhjubjU)}(hX0struct 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; unsigned char skc_bypass_prot_mem: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]hX0struct 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; unsigned char skc_bypass_prot_mem: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; };}hj"sbah}(h]h ]h"]h$]h&]j<j=uh1jThR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKphjubjX)}(h **Members**h]j)}(hj3h]hMembers}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh](j)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjRh]h{unnamed_union}}(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.hhKhjLubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghKhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghKhjIubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh & }(hjhhhNhNubj)}(h**skc_rcv_saddr**h]h skc_rcv_saddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhKnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKnhjIubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjIubj)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hKlhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hKlhjIubj)}(h(``skc_rcv_saddr`` Bound local IPv4 addr h](j)}(h``skc_rcv_saddr``h]j)}(hjVh]h skc_rcv_saddr}(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.hhKmhjPubj)}(hhh]jX)}(hBound local IPv4 addrh]hBound local IPv4 addr}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhKmhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhKmhjIubj)}(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&]uh1jhjhKhjIubj)}(hA``skc_hash`` hash value used with various protocol lookup tables h](j)}(h ``skc_hash``h]j)}(hjh]hskc_hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKohjubj)}(hhh]jX)}(h3hash value used with various protocol lookup tablesh]h3hash value used with various protocol lookup tables}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKohjIubj)}(h@``skc_u16hashes`` two u16 hash values used by UDP lookup tables h](j)}(h``skc_u16hashes``h]j)}(hjh]h skc_u16hashes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKphjubj)}(hhh]jX)}(h-two u16 hash values used by UDP lookup tablesh]h-two u16 hash values used by UDP lookup tables}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKphjIubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj:h]h{unnamed_union}}(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.hhKhj4ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhKhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhKhjIubj)}(h<``skc_portpair`` __u32 union of **skc_dport** & **skc_num** h](j)}(h``skc_portpair``h]j)}(hjsh]h skc_portpair}(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.hhKshjmubj)}(hhh]jX)}(h*__u32 union of **skc_dport** & **skc_num**h](h__u32 union of }(hjhhhNhNubj)}(h **skc_dport**h]h skc_dport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh & }(hjhhhNhNubj)}(h **skc_num**h]hskc_num}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhKshjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhKshjIubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjIubj)}(h2``skc_dport`` placeholder for inet_dport/tw_dport h](j)}(h ``skc_dport``h]j)}(hjh]h skc_dport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKqhjubj)}(hhh]jX)}(h#placeholder for inet_dport/tw_dporth]h#placeholder for inet_dport/tw_dport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKqhjIubj)}(h,``skc_num`` placeholder for inet_num/tw_num h](j)}(h ``skc_num``h]j)}(hj>h]hskc_num}(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.hhKrhj8ubj)}(hhh]jX)}(hplaceholder for inet_num/tw_numh]hplaceholder for inet_num/tw_num}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShKrhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShKrhjIubj)}(h&``skc_family`` network address family h](j)}(h``skc_family``h]j)}(hjwh]h skc_family}(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.hhKthjqubj)}(hhh]jX)}(hnetwork address familyh]hnetwork address family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKthjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhKthjIubj)}(h``skc_state`` Connection state h](j)}(h ``skc_state``h]j)}(hjh]h skc_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKuhjubj)}(hhh]jX)}(hConnection stateh]hConnection state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKuhjIubj)}(h'``skc_reuse`` ``SO_REUSEADDR`` setting h](j)}(h ``skc_reuse``h]j)}(hjh]h skc_reuse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKvhjubj)}(hhh]jX)}(h``SO_REUSEADDR`` settingh](j)}(h``SO_REUSEADDR``h]h SO_REUSEADDR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKvhjIubj)}(h+``skc_reuseport`` ``SO_REUSEPORT`` setting h](j)}(h``skc_reuseport``h]j)}(hj0h]h skc_reuseport}(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.hhKwhj*ubj)}(hhh]jX)}(h``SO_REUSEPORT`` settingh](j)}(h``SO_REUSEPORT``h]h SO_REUSEPORT}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh setting}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjEhKwhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhKwhjIubj)}(h%``skc_ipv6only`` socket is IPV6 only h](j)}(h``skc_ipv6only``h]j)}(hjwh]h skc_ipv6only}(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.hhKxhjqubj)}(hhh]jX)}(hsocket is IPV6 onlyh]hsocket is IPV6 only}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKxhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhKxhjIubj)}(h4``skc_net_refcnt`` socket is using net ref counting h](j)}(h``skc_net_refcnt``h]j)}(hjh]hskc_net_refcnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKyhjubj)}(hhh]jX)}(h socket is using net ref countingh]h socket is using net ref counting}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKyhjIubj)}(hJ``skc_bypass_prot_mem`` bypass the per-protocol memory accounting for skb h](j)}(h``skc_bypass_prot_mem``h]j)}(hjh]hskc_bypass_prot_mem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKzhjubj)}(hhh]jX)}(h1bypass the per-protocol memory accounting for skbh]h1bypass the per-protocol memory accounting for skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKzhjIubj)}(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.hhK{hjubj)}(hhh]jX)}(hbound device index if != 0h]hbound device index if != 0}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hK{hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hK{hjIubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj[h]h{unnamed_union}}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjUubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphKhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphKhjIubj)}(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|hjIubj)}(hD``skc_portaddr_node`` second hash linkage for UDP/UDP-Lite protocol h](j)}(h``skc_portaddr_node``h]j)}(hjh]hskc_portaddr_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK}hjubj)}(hhh]jX)}(h-second hash linkage for UDP/UDP-Lite protocolh]h-second hash linkage for UDP/UDP-Lite protocol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK}hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK}hjIubj)}(h7``skc_prot`` protocol handlers inside a network family h](j)}(h ``skc_prot``h]j)}(hjh]hskc_prot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK~hjubj)}(hhh]jX)}(h)protocol handlers inside a network familyh]h)protocol handlers inside a network family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK~hjIubj)}(h>``skc_net`` reference to the network namespace of this socket h](j)}(h ``skc_net``h]j)}(hj?h]hskc_net}(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.hhKhj9ubj)}(hhh]jX)}(h1reference to the network namespace of this socketh]h1reference to the network namespace of this socket}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThKhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThKhjIubj)}(h*``skc_v6_daddr`` IPV6 destination address h](j)}(h``skc_v6_daddr``h]j)}(hjxh]h skc_v6_daddr}(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)}(hIPV6 destination addressh]hIPV6 destination address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhKhjIubj)}(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&]uh1jhjhKhjIubj)}(h%``skc_cookie`` socket's cookie value h](j)}(h``skc_cookie``h]j)}(hjh]h skc_cookie}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hsocket's cookie valueh]hsocket’s cookie value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjIubj)}(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&]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&]uh1jWhj8hKhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hKhjIubj)}(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)}(hj\h]h skc_flags}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjVubj)}(hhh]jX)}(hplace holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settingsh](hplace holder for sk_flags }(hjuhhhNhNubj)}(h ``SO_LINGER``h]h SO_LINGER}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh (l_onoff), }(hjuhhhNhNubj)}(h``SO_BROADCAST``h]h SO_BROADCAST}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh, }(hjuhhhNhNubj)}(h``SO_KEEPALIVE``h]h SO_KEEPALIVE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh, }(hjuhhhNhNubj)}(h``SO_OOBINLINE``h]h SO_OOBINLINE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh settings, }(hjuhhhNhNubj)}(h``SO_TIMESTAMPING``h]hSO_TIMESTAMPING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh settings}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhKhjIubj)}(hb``skc_listener`` connection request listener socket (aka rsk_listener) [union with **skc_flags**] h](j)}(h``skc_listener``h]j)}(hjh]h skc_listener}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hPconnection request listener socket (aka rsk_listener) [union with **skc_flags**]h](hBconnection request listener socket (aka rsk_listener) [union with }(hj hhhNhNubj)}(h **skc_flags**h]h skc_flags}(hjhhhNhNubah}(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.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjIubj)}(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)}(hj<h]h skc_tw_dr}(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.hhKhj6ubj)}(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 }(hjUhhhNhNubh)}(hB:c:type:`struct inet_timewait_death_row `h]j)}(hj_h]hstruct inet_timewait_death_row}(hjahhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjinet_timewait_death_rowuh1hhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjUubh [union with }(hjUhhhNhNubj)}(h **skc_flags**h]h skc_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh]}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj|hKhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhKhjIubj)}(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&]uh1jhjhKhjIubj)}(hB``skc_node`` main hash linkage for various protocol lookup tables h](j)}(h ``skc_node``h]j)}(hjh]hskc_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h4main hash linkage for various protocol lookup tablesh]h4main hash linkage for various protocol lookup tables}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjIubj)}(hC``skc_nulls_node`` main hash linkage for TCP/UDP/UDP-Lite protocol h](j)}(h``skc_nulls_node``h]j)}(hjh]hskc_nulls_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h/main hash linkage for TCP/UDP/UDP-Lite protocolh]h/main hash linkage for TCP/UDP/UDP-Lite protocol}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hKhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hKhjIubj)}(h=``skc_tx_queue_mapping`` tx queue number for this connection h](j)}(h``skc_tx_queue_mapping``h]j)}(hjVh]hskc_tx_queue_mapping}(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#tx queue number for this connectionh]h#tx queue number for this connection}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhKhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhKhjIubj)}(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&]uh1jhjhKhjIubj)}(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&]uh1jhjhKhjIubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h,record/match cpu processing incoming packetsh]h,record/match cpu processing incoming packets}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjIubj)}(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)}(hj: h]h skc_rcv_wnd}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8 ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj4 ubj)}(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 }(hjS hhhNhNubj)}(h**skc_incoming_cpu**h]hskc_incoming_cpu}(hj[ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS ubh]}(hjS hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjP ubah}(h]h ]h"]h$]h&]uh1jhj4 ubeh}(h]h ]h"]h$]h&]uh1jhjO hKhjIubj)}(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)}(hj h]hskc_tw_rcv_nxt}(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)}(hV(aka tw_rcv_nxt) TCP window next expected seq number [union with **skc_incoming_cpu**]h](hA(aka tw_rcv_nxt) TCP window next expected seq number [union with }(hj hhhNhNubj)}(h**skc_incoming_cpu**h]hskc_incoming_cpu}(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.hhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjIubj)}(h``skc_refcnt`` reference counth](j)}(h``skc_refcnt``h]j)}(hj h]h skc_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.hhKhj ubj)}(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 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjIubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubjX)}(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.hhKhj[hhubj )}(hzThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock. h]jX)}(hvThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.h]hvThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.}(hj/ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj+ ubah}(h]h ]h"]h$]h&]uh1j hj= hKhj[hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock (C struct)c.sockhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hsockh]h)}(h struct sockh](h)}(hjh]hstruct}(hj] hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjY hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKubj)}(h h]h }(hjk hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjY hhhjj hKubj)}(hsockh]j%)}(hjW h]hsock}(hj} hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjy ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjY hhhjj hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjU hhhjj hKubah}(h]jP ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjj hKhjR hhubjS)}(hhh]jX)}(h'network layer representation of socketsh]h'network layer representation of sockets}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj hhubah}(h]h ]h"]h$]h&]uh1jRhjR hhhjj hKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hXe3**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_bypass_prot_mem __sk_common.skc_bypass_prot_mem; #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; 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; struct dst_entry *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 *sk_filter; union { struct socket_wq *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; int sk_err; struct socket *sk_socket; #ifdef CONFIG_MEMCG; struct mem_cgroup *sk_memcg; #endif; #ifdef CONFIG_XFRM; struct xfrm_policy *sk_policy[2]; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_assoc *psp_assoc; #endif; socket_lock_t sk_lock; u32 sk_reserved_mem; int sk_forward_alloc; u32 sk_tsflags; int sk_write_pending; atomic_t sk_omem_alloc; int sk_err_soft; 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; struct page_frag sk_frag; union { struct timer_list sk_timer; struct timer_list tcp_retransmit_timer; struct timer_list mptcp_retransmit_timer; }; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; unsigned long sk_tx_queue_mapping_jiffies; u32 sk_dst_pending_confirm; u32 sk_pacing_status; unsigned long sk_max_pacing_rate; long sk_sndtimeo; u32 sk_priority; u32 sk_mark; kuid_t sk_uid; u16 sk_protocol; u16 sk_type; struct dst_entry *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; int sk_sndbuf; u8 sk_pacing_shift; bool sk_use_task_frag; u8 sk_gso_disabled : 1, sk_kern_sock : 1, sk_no_check_tx : 1, sk_no_check_rx : 1; u8 sk_shutdown; unsigned long sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; u32 sk_ack_backlog; u32 sk_max_ack_backlog; unsigned long sk_ino; 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 *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage *sk_bpf_storage; #endif; struct numa_drop_counters *sk_drop_counters; 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 ``psp_assoc`` PSP association, if socket is PSP-secured ``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_err_soft`` errors that don't cause failure but are the cause of a persistent failure not just 'timed out' ``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_frag`` cached page frag ``{unnamed_union}`` anonymous ``sk_timer`` sock cleanup timer ``tcp_retransmit_timer`` tcp retransmit timer ``mptcp_retransmit_timer`` mptcp retransmit 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_tx_queue_mapping_jiffies`` time in jiffies of last **sk_tx_queue_mapping** refresh. ``sk_dst_pending_confirm`` need to confirm neighbour ``sk_pacing_status`` Pacing status (requested, handled by sch_fq) ``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_uid`` user id of owner ``sk_protocol`` which protocol this socket belongs in this network family ``sk_type`` socket type (``SOCK_STREAM``, etc) ``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_sndbuf`` size of send buffer in bytes ``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_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_ack_backlog`` current listen backlog ``sk_max_ack_backlog`` listen backlog set in listen() ``sk_ino`` inode number (zero if orphaned) ``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_drop_counters`` optional pointer to numa_drop_counters ``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}(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.hhKhj ubjU)}(hXstruct 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_bypass_prot_mem __sk_common.skc_bypass_prot_mem; #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; 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; struct dst_entry *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 *sk_filter; union { struct socket_wq *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; int sk_err; struct socket *sk_socket; #ifdef CONFIG_MEMCG; struct mem_cgroup *sk_memcg; #endif; #ifdef CONFIG_XFRM; struct xfrm_policy *sk_policy[2]; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_assoc *psp_assoc; #endif; socket_lock_t sk_lock; u32 sk_reserved_mem; int sk_forward_alloc; u32 sk_tsflags; int sk_write_pending; atomic_t sk_omem_alloc; int sk_err_soft; 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; struct page_frag sk_frag; union { struct timer_list sk_timer; struct timer_list tcp_retransmit_timer; struct timer_list mptcp_retransmit_timer; }; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; unsigned long sk_tx_queue_mapping_jiffies; u32 sk_dst_pending_confirm; u32 sk_pacing_status; unsigned long sk_max_pacing_rate; long sk_sndtimeo; u32 sk_priority; u32 sk_mark; kuid_t sk_uid; u16 sk_protocol; u16 sk_type; struct dst_entry *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; int sk_sndbuf; u8 sk_pacing_shift; bool sk_use_task_frag; u8 sk_gso_disabled : 1, sk_kern_sock : 1, sk_no_check_tx : 1, sk_no_check_rx : 1; u8 sk_shutdown; unsigned long sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; u32 sk_ack_backlog; u32 sk_max_ack_backlog; unsigned long sk_ino; 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 *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage *sk_bpf_storage; #endif; struct numa_drop_counters *sk_drop_counters; 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]hXstruct 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_bypass_prot_mem __sk_common.skc_bypass_prot_mem; #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; 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; struct dst_entry *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 *sk_filter; union { struct socket_wq *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; int sk_err; struct socket *sk_socket; #ifdef CONFIG_MEMCG; struct mem_cgroup *sk_memcg; #endif; #ifdef CONFIG_XFRM; struct xfrm_policy *sk_policy[2]; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_assoc *psp_assoc; #endif; socket_lock_t sk_lock; u32 sk_reserved_mem; int sk_forward_alloc; u32 sk_tsflags; int sk_write_pending; atomic_t sk_omem_alloc; int sk_err_soft; 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; struct page_frag sk_frag; union { struct timer_list sk_timer; struct timer_list tcp_retransmit_timer; struct timer_list mptcp_retransmit_timer; }; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; unsigned long sk_tx_queue_mapping_jiffies; u32 sk_dst_pending_confirm; u32 sk_pacing_status; unsigned long sk_max_pacing_rate; long sk_sndtimeo; u32 sk_priority; u32 sk_mark; kuid_t sk_uid; u16 sk_protocol; u16 sk_type; struct dst_entry *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; int sk_sndbuf; u8 sk_pacing_shift; bool sk_use_task_frag; u8 sk_gso_disabled : 1, sk_kern_sock : 1, sk_no_check_tx : 1, sk_no_check_rx : 1; u8 sk_shutdown; unsigned long sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; u32 sk_ack_backlog; u32 sk_max_ack_backlog; unsigned long sk_ino; 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 *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage *sk_bpf_storage; #endif; struct numa_drop_counters *sk_drop_counters; 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; };}hj sbah}(h]h ]h"]h$]h&]j<j=uh1jThR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubjX)}(h **Members**h]j)}(hj h]hMembers}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubj)}(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.hhKhj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj! hKhj ubj)}(h#``sk_drops`` raw/udp drops counter h](j)}(h ``sk_drops``h]j)}(hjE h]hsk_drops}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj? ubj)}(hhh]jX)}(hraw/udp drops counterh]hraw/udp drops counter}(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 ubj)}(h*``sk_peek_off`` current peek_offset value h](j)}(h``sk_peek_off``h]j)}(hj~ h]h sk_peek_off}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj| ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMFhjx ubj)}(hhh]jX)}(hcurrent peek_offset valueh]hcurrent peek_offset value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMFhj ubah}(h]h ]h"]h$]h&]uh1jhjx ubeh}(h]h ]h"]h$]h&]uh1jhj hMFhj ubj)}(h``sk_error_queue`` rarely used h](j)}(h``sk_error_queue``h]j)}(hj h]hsk_error_queue}(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 rarely usedh]h rarely used}(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&``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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubj)}(hhh]jX)}(hincoming packetsh]hincoming packets}(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=``sk_backlog`` always used with the per-socket spinlock held h](j)}(h``sk_backlog``h]j)}(hj) h]h sk_backlog}(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-always used with the per-socket spinlock heldh]h-always used with the per-socket spinlock held}(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)}(h6``sk_rx_dst`` receive input route used by early demux h](j)}(h ``sk_rx_dst``h]j)}(hjb h]h sk_rx_dst}(hjd 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'receive input route used by early demuxh]h'receive input route used by early demux}(hj{ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjw hKhjx ubah}(h]h ]h"]h$]h&]uh1jhj\ ubeh}(h]h ]h"]h$]h&]uh1jhjw hKhj ubj)}(h0``sk_rx_dst_ifindex`` ifindex for **sk_rx_dst** h](j)}(h``sk_rx_dst_ifindex``h]j)}(hj h]hsk_rx_dst_ifindex}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jX)}(hifindex for **sk_rx_dst**h](h ifindex for }(hj hhhNhNubj)}(h **sk_rx_dst**h]h sk_rx_dst}(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)}(h.``sk_rx_dst_cookie`` cookie for **sk_rx_dst** h](j)}(h``sk_rx_dst_cookie``h]j)}(hj h]hsk_rx_dst_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)}(hcookie for **sk_rx_dst**h](h cookie for }(hj hhhNhNubj)}(h **sk_rx_dst**h]h sk_rx_dst}(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)}(h7``sk_ll_usec`` usecs to busypoll when there is no data h](j)}(h``sk_ll_usec``h]j)}(hj) h]h sk_ll_usec}(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'usecs to busypoll when there is no datah]h'usecs to busypoll when there is no data}(hjB 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)}(hB``sk_napi_id`` id of the last napi context to receive data for sk h](j)}(h``sk_napi_id``h]j)}(hjb h]h sk_napi_id}(hjd 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)}(h2id of the last napi context to receive data for skh]h2id of the last napi context to receive data for sk}(hj{ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjw hMhjx ubah}(h]h ]h"]h$]h&]uh1jhj\ ubeh}(h]h ]h"]h$]h&]uh1jhjw hMhj ubj)}(h@``sk_busy_poll_budget`` napi processing budget when busypolling h](j)}(h``sk_busy_poll_budget``h]j)}(hj h]hsk_busy_poll_budget}(hj hhhNhNubah}(h]h ]h"]h$]h&]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'napi processing budget when busypollingh]h'napi processing budget when busypolling}(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``sk_prefer_busy_poll`` prefer busypolling over softirq processing h](j)}(h``sk_prefer_busy_poll``h]j)}(hj h]hsk_prefer_busy_poll}(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*prefer busypolling over softirq processingh]h*prefer busypolling over softirq processing}(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:``sk_userlocks`` ``SO_SNDBUF`` and ``SO_RCVBUF`` settings h](j)}(h``sk_userlocks``h]j)}(hj h]h sk_userlocks}(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(``SO_SNDBUF`` and ``SO_RCVBUF`` settingsh](j)}(h ``SO_SNDBUF``h]h SO_SNDBUF}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh and }(hj&hhhNhNubj)}(h ``SO_RCVBUF``h]h SO_RCVBUF}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh settings}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj"hKhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hKhj ubj)}(h.``sk_rcvbuf`` size of receive buffer in bytes h](j)}(h ``sk_rcvbuf``h]j)}(hjfh]h sk_rcvbuf}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj`ubj)}(hhh]jX)}(hsize of receive buffer in bytesh]hsize of receive buffer in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hKhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hKhj ubj)}(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.hhM3hjubj)}(hhh]jX)}(hsocket filtering instructionsh]hsocket filtering instructions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hj ubj)}(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&]uh1jhjhKhj ubj)}(h)``sk_wq`` sock wait queue and async head h](j)}(h ``sk_wq``h]j)}(hjh]hsk_wq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jX)}(hsock wait queue and async headh]hsock wait queue and async head}(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)}(hE``sk_data_ready`` callback to indicate there is data to be processed h](j)}(h``sk_data_ready``h]j)}(hjJh]h sk_data_ready}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMPhjDubj)}(hhh]jX)}(h2callback to indicate there is data to be processedh]h2callback to indicate there is data to be processed}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMPhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMPhj ubj)}(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/hj}ubj)}(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&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhM/hj ubj)}(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.hj ubj)}(h``sk_err`` last error h](j)}(h ``sk_err``h]j)}(hjh]hsk_err}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubj)}(hhh]jX)}(h last errorh]h last error}(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.``sk_socket`` Identd and reporting IO signals h](j)}(h ``sk_socket``h]j)}(hjJh]h sk_socket}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMChjDubj)}(hhh]jX)}(hIdentd and reporting IO signalsh]hIdentd and reporting IO signals}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMChj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMChj ubj)}(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.hhMLhj}ubj)}(hhh]jX)}(h'this socket's memory cgroup associationh]h)this socket’s memory cgroup association}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMLhj ubj)}(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&]uh1jhjhKhj ubj)}(h8``psp_assoc`` PSP association, if socket is PSP-secured h](j)}(h ``psp_assoc``h]j)}(hjh]h psp_assoc}(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)PSP association, if socket is PSP-securedh]h)PSP association, if socket is PSP-secured}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhj ubj)}(h``sk_lock`` synchronizer h](j)}(h ``sk_lock``h]j)}(hj.h]hsk_lock}(hj0hhhNhNubah}(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 synchronizerh]h synchronizer}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChKhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChKhj ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj ubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(hspace allocated forwardh]hspace allocated forward}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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.hhM9hjubj)}(hhh]jX)}(hSO_TIMESTAMPING flagsh]hSO_TIMESTAMPING flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hj ubj)}(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.hhMMhj ubj)}(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&]uh1jWhj'hMMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMMhj ubj)}(h-``sk_omem_alloc`` "o" is "option" or "other" h](j)}(h``sk_omem_alloc``h]j)}(hjKh]h sk_omem_alloc}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjEubj)}(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&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj ubj)}(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.hhMhj~ubj)}(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&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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&]uh1jhjhMhj ubj)}(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.hhMhjubj)}(hhh]jX)}(htransmit queue bytes committedh]htransmit queue bytes committed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h(``sk_tsq_flags`` TCP Small Queues flags h](j)}(h``sk_tsq_flags``h]j)}(hj0h]h sk_tsq_flags}(hj2hhhNh.Nubah}(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)}(hTCP Small Queues flagsh]hTCP Small Queues flags}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjih]h{unnamed_union}}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjcubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hKhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hKhj ubj)}(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.hhMGhjubj)}(hhh]jX)}(hfront of stuff to transmith]hfront of stuff to transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhj ubj)}(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.hhMHhjubj)}(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&]uh1jWhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhj ubj)}(h(``sk_write_queue`` Packet sending queue h](j)}(h``sk_write_queue``h]j)}(hj&h]hsk_write_queue}(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)}(hPacket sending queueh]hPacket sending queue}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj ubj)}(h``sk_frag`` cached page frag h](j)}(h ``sk_frag``h]j)}(hj_h]hsk_frag}(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.hhMEhjYubj)}(hhh]jX)}(hcached page fragh]hcached page frag}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMEhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMEhj ubj)}(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&]uh1jhjhKhj ubj)}(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.hhM4hjubj)}(hhh]jX)}(hsock cleanup timerh]hsock cleanup timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hj ubj)}(h.``tcp_retransmit_timer`` tcp retransmit timer h](j)}(h``tcp_retransmit_timer``h]j)}(hj h]htcp_retransmit_timer}(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.hhM5hjubj)}(hhh]jX)}(htcp retransmit timerh]htcp retransmit timer}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM5hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hj ubj)}(h2``mptcp_retransmit_timer`` mptcp retransmit timer h](j)}(h``mptcp_retransmit_timer``h]j)}(hjCh]hmptcp_retransmit_timer}(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.hhM6hj=ubj)}(hhh]jX)}(hmptcp retransmit timerh]hmptcp retransmit timer}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhM6hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM6hj ubj)}(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&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjvubj)}(hhh]jX)}(h8Pacing rate (if supported by transport/packet scheduler)h]h8Pacing rate (if supported by transport/packet scheduler)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhM hj ubj)}(h9``sk_zckey`` counter to order MSG_ZEROCOPY notifications h](j)}(h ``sk_zckey``h]j)}(hjh]hsk_zckey}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMBhjubj)}(hhh]jX)}(h+counter to order MSG_ZEROCOPY notificationsh]h+counter to order MSG_ZEROCOPY notifications}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhj ubj)}(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.hhM@hjubj)}(hhh]jX)}(h2counter to disambiguate concurrent tstamp requestsh]h2counter to disambiguate concurrent tstamp requests}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hj ubj)}(hY``sk_tx_queue_mapping_jiffies`` time in jiffies of last **sk_tx_queue_mapping** refresh. h](j)}(h``sk_tx_queue_mapping_jiffies``h]j)}(hj'h]hsk_tx_queue_mapping_jiffies}(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)}(h8time in jiffies of last **sk_tx_queue_mapping** refresh.h](htime in jiffies of last }(hj@hhhNhNubj)}(h**sk_tx_queue_mapping**h]hsk_tx_queue_mapping}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh refresh.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj<hMAhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMAhj ubj)}(h5``sk_dst_pending_confirm`` need to confirm neighbour h](j)}(h``sk_dst_pending_confirm``h]j)}(hjrh]hsk_dst_pending_confirm}(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.hhKhjlubj)}(hhh]jX)}(hneed to confirm neighbourh]hneed to confirm neighbour}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhKhj ubj)}(hB``sk_pacing_status`` Pacing status (requested, handled by sch_fq) h](j)}(h``sk_pacing_status``h]j)}(hjh]hsk_pacing_status}(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,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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj ubj)}(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 hj ubj)}(h(``sk_sndtimeo`` ``SO_SNDTIMEO`` setting h](j)}(h``sk_sndtimeo``h]j)}(hj/h]h sk_sndtimeo}(hj1hhhNhNubah}(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.hhM0hj)ubj)}(hhh]jX)}(h``SO_SNDTIMEO`` settingh](j)}(h``SO_SNDTIMEO``h]h SO_SNDTIMEO}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh setting}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjDhM0hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhM0hj ubj)}(h(``sk_priority`` ``SO_PRIORITY`` setting h](j)}(h``sk_priority``h]j)}(hjvh]h sk_priority}(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.hhM(hjpubj)}(hhh]jX)}(h``SO_PRIORITY`` settingh](j)}(h``SO_PRIORITY``h]h SO_PRIORITY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM(hj ubj)}(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.hhMJhjubj)}(hhh]jX)}(hgeneric packet markh]hgeneric packet mark}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhj ubj)}(h``sk_uid`` user id of owner h](j)}(h ``sk_uid``h]j)}(hjh]hsk_uid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM$hjubj)}(hhh]jX)}(huser id of ownerh]huser id of owner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM$hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM$hj ubj)}(hJ``sk_protocol`` which protocol this socket belongs in this network family h](j)}(h``sk_protocol``h]j)}(hj/h]h sk_protocol}(hj1hhhNhNubah}(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)}(h9which protocol this socket belongs in this network familyh]h9which protocol this socket belongs in this network family}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhM*hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhM*hj ubj)}(h/``sk_type`` socket type (``SOCK_STREAM``, etc) h](j)}(h ``sk_type``h]j)}(hjhh]hsk_type}(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.hhM)hjbubj)}(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&]uh1jWhj}hM)hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM)hj ubj)}(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&]uh1jhjhKhj ubj)}(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. }(hjhhhNhNubj)}(h``NETIF_F_TSO``h]h NETIF_F_TSO}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h>``sk_validate_xmit_skb`` ptr to an optional validate function h](j)}(h``sk_validate_xmit_skb``h]j)}(hj7h]hsk_validate_xmit_skb}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMThj1ubj)}(hhh]jX)}(h$ptr to an optional validate functionh]h$ptr to an optional validate function}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMThjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMThj ubj)}(h2``sk_gso_type`` GSO type (e.g. ``SKB_GSO_TCPV4``) h](j)}(h``sk_gso_type``h]j)}(hjph]h sk_gso_type}(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.hhMhjjubj)}(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&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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&]uh1jhjhMhj ubj)}(h6``sk_gso_max_size`` Maximum GSO segment size to build h](j)}(h``sk_gso_max_size``h]j)}(hjh]hsk_gso_max_size}(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!Maximum GSO segment size to buildh]h!Maximum GSO segment size to build}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h"``sk_allocation`` allocation mode h](j)}(h``sk_allocation``h]j)}(hj-h]h sk_allocation}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj'ubj)}(hhh]jX)}(hallocation modeh]hallocation mode}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM hj ubj)}(h5``sk_txhash`` computed flow hash for use on transmit h](j)}(h ``sk_txhash``h]j)}(hjfh]h sk_txhash}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM1hj`ubj)}(hhh]jX)}(h&computed flow hash for use on transmith]h&computed flow hash for use on transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hM1hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM1hj ubj)}(h+``sk_sndbuf`` size of send buffer in bytes h](j)}(h ``sk_sndbuf``h]j)}(hjh]h sk_sndbuf}(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)}(hsize of send buffer in bytesh]hsize of send buffer in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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&]uh1jhjhMhj ubj)}(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.hhM=hj ubj)}(hhh]jX)}(hwallow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false.h]hwallow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM;hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM=hj ubj)}(h;``sk_gso_disabled`` if set, NETIF_F_GSO_MASK is forbidden. h](j)}(h``sk_gso_disabled``h]j)}(hjKh]hsk_gso_disabled}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjEubj)}(hhh]jX)}(h&if set, NETIF_F_GSO_MASK is forbidden.h]h&if set, NETIF_F_GSO_MASK is forbidden.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj ubj)}(h;``sk_kern_sock`` True if sock is using kernel lock classes h](j)}(h``sk_kern_sock``h]j)}(hjh]h sk_kern_sock}(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.hhKhj~ubj)}(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&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhKhj ubj)}(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.hhMhjubj)}(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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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.hhMhjubj)}(hhh]jX)}(h!allow zero checksum in RX packetsh]h!allow zero checksum in RX packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(hB``sk_shutdown`` mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN`` h](j)}(h``sk_shutdown``h]j)}(hj=h]h sk_shutdown}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj7ubj)}(hhh]jX)}(h1mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN``h](hmask of }(hjVhhhNhNubj)}(h``SEND_SHUTDOWN``h]h SEND_SHUTDOWN}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh and/or }(hjVhhhNhNubj)}(h``RCV_SHUTDOWN``h]h RCV_SHUTDOWN}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jWhjRhKhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhKhj ubj)}(h1``sk_lingertime`` ``SO_LINGER`` l_linger setting h](j)}(h``sk_lingertime``h]j)}(hjh]h sk_lingertime}(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``SO_LINGER`` l_linger settingh](j)}(h ``SO_LINGER``h]h SO_LINGER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh l_linger setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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)}(hjh]hsk_prot_creator}(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)}(hRsk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance)h]hRsk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj ubj)}(h*``sk_ack_backlog`` current listen backlog h](j)}(h``sk_ack_backlog``h]j)}(hjPh]hsk_ack_backlog}(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.hhM"hjJubj)}(hhh]jX)}(hcurrent listen backlogh]hcurrent listen backlog}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehM"hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM"hj ubj)}(h6``sk_max_ack_backlog`` listen backlog set in listen() h](j)}(h``sk_max_ack_backlog``h]j)}(hjh]hsk_max_ack_backlog}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM#hjubj)}(hhh]jX)}(hlisten backlog set in listen()h]hlisten backlog set in listen()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hj ubj)}(h+``sk_ino`` inode number (zero if orphaned) h](j)}(h ``sk_ino``h]j)}(hjh]hsk_ino}(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)}(hinode number (zero if orphaned)h]hinode number (zero if orphaned)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hj ubj)}(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}(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+hj ubj)}(hU``sk_bind_phc`` SO_TIMESTAMPING bind PHC index of PTP virtual clock for timestamping h](j)}(h``sk_bind_phc``h]j)}(hjTh]h sk_bind_phc}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM?hjNubj)}(hhh]jX)}(hDSO_TIMESTAMPING bind PHC index of PTP virtual clock for timestampingh]hDSO_TIMESTAMPING bind PHC index of PTP virtual clock for timestamping}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM>hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM?hj ubj)}(hB``sk_peer_pid`` :c:type:`struct pid ` for this socket's peer h](j)}(h``sk_peer_pid``h]j)}(hjh]h sk_peer_pid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM,hjubj)}(hhh]jX)}(h1:c:type:`struct pid ` for this socket's peerh](h)}(h:c:type:`struct pid `h]j)}(hjh]h struct pid}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjpiduh1hhjhM,hjubh for this socket’s peer}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hj ubj)}(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-hj ubj)}(h0``sk_stamp`` time stamp of last packet received h](j)}(h ``sk_stamp``h]j)}(hj-h]hsk_stamp}(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.hhM7hj'ubj)}(hhh]jX)}(h"time stamp of last packet receivedh]h"time stamp of last packet received}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM7hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM7hj ubj)}(hJ``sk_stamp_seq`` lock for accessing sk_stamp on 32 bit architectures only h](j)}(h``sk_stamp_seq``h]j)}(hjfh]h sk_stamp_seq}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM8hj`ubj)}(hhh]jX)}(h8lock for accessing sk_stamp on 32 bit architectures onlyh]h8lock for accessing sk_stamp on 32 bit architectures only}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hM8hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM8hj ubj)}(hJ``sk_disconnects`` number of disconnect operations performed on this sock h](j)}(h``sk_disconnects``h]j)}(hjh]hsk_disconnects}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMNhjubj)}(hhh]jX)}(h6number of disconnect operations performed on this sockh]h6number of disconnect operations performed on this sock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhj ubj)}(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&]uh1jhjhKhj ubj)}(h'``sk_txrehash`` enable TX hash rethink h](j)}(h``sk_txrehash``h]j)}(hj h]h sk_txrehash}(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.hhM2hj ubj)}(hhh]jX)}(henable TX hash rethinkh]henable TX hash rethink}(hj* hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj& hM2hj' ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj& hM2hj ubj)}(h3``sk_scm_recv_flags`` all flags used by scm_recv() h](j)}(h``sk_scm_recv_flags``h]j)}(hjJ h]hsk_scm_recv_flags}(hjL hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM]hjD ubj)}(hhh]jX)}(hall flags used by scm_recv()h]hall flags used by scm_recv()}(hjc hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_ hM]hj` ubah}(h]h ]h"]h$]h&]uh1jhjD ubeh}(h]h ]h"]h$]h&]uh1jhj_ hM]hj ubj)}(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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.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 hKhj ubj)}(hF``sk_scm_credentials`` flagged by SO_PASSCRED to recv SCM_CREDENTIALS h](j)}(h``sk_scm_credentials``h]j)}(hj h]hsk_scm_credentials}(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.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 hM^hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM^hj ubj)}(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.hhM_hj 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 !hM_hj !ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj !hM_hj ubj)}(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}(hj0!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)flagged by SO_PASSPIDFD to recv SCM_PIDFDh]h)flagged by SO_PASSPIDFD to recv SCM_PIDFD}(hjG!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjC!hM`hjD!ubah}(h]h ]h"]h$]h&]uh1jhj(!ubeh}(h]h ]h"]h$]h&]uh1jhjC!hM`hj ubj)}(h>``sk_scm_rights`` flagged by SO_PASSRIGHTS to recv SCM_RIGHTS h](j)}(h``sk_scm_rights``h]j)}(hjg!h]h sk_scm_rights}(hji!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMahja!ubj)}(hhh]jX)}(h+flagged by SO_PASSRIGHTS to recv SCM_RIGHTSh]h+flagged by SO_PASSRIGHTS to recv SCM_RIGHTS}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|!hMahj}!ubah}(h]h ]h"]h$]h&]uh1jhja!ubeh}(h]h ]h"]h$]h&]uh1jhj|!hMahj ubj)}(h.``sk_scm_unused`` unused flags for scm_recv() h](j)}(h``sk_scm_unused``h]j)}(hj!h]h sk_scm_unused}(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.hhMbhj!ubj)}(hhh]jX)}(hunused flags for scm_recv()h]hunused flags for scm_recv()}(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)}(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.hhMYhj!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!hMYhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMYhj ubj)}(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.hhMZhj "ubj)}(hhh]jX)}(hset deadline mode for SO_TXTIMEh]hset deadline mode for SO_TXTIME}(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)}(hA``sk_txtime_report_errors`` set report errors mode for SO_TXTIME h](j)}(h``sk_txtime_report_errors``h]j)}(hjK"h]hsk_txtime_report_errors}(hjM"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM[hjE"ubj)}(hhh]jX)}(h$set report errors mode for SO_TXTIMEh]h$set report errors mode for SO_TXTIME}(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)}(h)``sk_txtime_unused`` unused txtime flags h](j)}(h``sk_txtime_unused``h]j)}(hj"h]hsk_txtime_unused}(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)}(hunused txtime flagsh]hunused txtime flags}(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-``sk_bpf_cb_flags`` used in bpf_setsockopt() h](j)}(h``sk_bpf_cb_flags``h]j)}(hj"h]hsk_bpf_cb_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)}(hused in bpf_setsockopt()h]hused in bpf_setsockopt()}(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)}(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.hhMDhj"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 #hMDhj #ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj #hMDhj ubj)}(h)``sk_security`` used by security modules h](j)}(h``sk_security``h]j)}(hjA#h]h sk_security}(hjC#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)}(hused by security modulesh]hused by security modules}(hjZ#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjV#hMIhjW#ubah}(h]h ]h"]h$]h&]uh1jhj;#ubeh}(h]h ]h"]h$]h&]uh1jhjV#hMIhj ubj)}(h-``sk_cgrp_data`` cgroup data for this cgroup h](j)}(h``sk_cgrp_data``h]j)}(hjz#h]h sk_cgrp_data}(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.hhMKhjt#ubj)}(hhh]jX)}(hcgroup data for this cgrouph]hcgroup data for this cgroup}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hMKhj#ubah}(h]h ]h"]h$]h&]uh1jhjt#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMKhj ubj)}(hI``sk_state_change`` callback to indicate change in the state of the sock h](j)}(h``sk_state_change``h]j)}(hj#h]hsk_state_change}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMOhj#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&]uh1jWhj#hMOhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMOhj ubj)}(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.hhMQhj#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$hMQhj$ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj$hMQhj ubj)}(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.hhMRhj$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}(hjF$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>$ubh)}(hj>$hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj:$hMRhj;$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj:$hMRhj ubj)}(h3``sk_backlog_rcv`` callback to process the backlog h](j)}(h``sk_backlog_rcv``h]j)}(hjp$h]hsk_backlog_rcv}(hjr$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMShjj$ubj)}(hhh]jX)}(hcallback to process the backlogh]hcallback to process the backlog}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMShj$ubah}(h]h ]h"]h$]h&]uh1jhjj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMShj ubj)}(hG``sk_destruct`` called at sock freeing time, i.e. when all refcnt == 0 h](j)}(h``sk_destruct``h]j)}(hj$h]h sk_destruct}(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.hhMUhj$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}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMUhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMUhj ubj)}(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.hhMVhj$ubj)}(hhh]jX)}(hreuseport group containerh]hreuseport group container}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMVhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMVhj ubj)}(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.hhMWhj%ubj)}(hhh]jX)}(h+ptr to cache and control for bpf_sk_storageh]h+ptr to cache and control for bpf_sk_storage}(hj4%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0%hMWhj1%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj0%hMWhj ubj)}(h<``sk_drop_counters`` optional pointer to numa_drop_counters h](j)}(h``sk_drop_counters``h]j)}(hjT%h]hsk_drop_counters}(hjV%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM!hjN%ubj)}(hhh]jX)}(h&optional pointer to numa_drop_countersh]h&optional pointer to numa_drop_counters}(hjm%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhji%hM!hjj%ubah}(h]h ]h"]h$]h&]uh1jhjN%ubeh}(h]h ]h"]h$]h&]uh1jhji%hM!hj ubj)}(h(``sk_rcu`` used during RCU grace period h](j)}(h ``sk_rcu``h]j)}(hj%h]hsk_rcu}(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)}(hused during RCU grace periodh]hused during RCU grace period}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMXhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMXhj ubj)}(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.hhMchj%ubj)}(hhh]jX)}(htracker for netns referenceh]htracker for netns reference}(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)}(hF``sk_user_frags`` xarray of pages the user is holding a reference on. h](j)}(h``sk_user_frags``h]j)}(hj%h]h sk_user_frags}(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.hhMdhj%ubj)}(hhh]jX)}(h3xarray of pages the user is holding a reference on.h]h3xarray of pages the user is holding a reference on.}(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)}(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)}(hj8&h]hsk_owner}(hj:&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMehj2&ubj)}(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().}(hjQ&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjM&hMehjN&ubah}(h]h ]h"]h$]h&]uh1jhj2&ubeh}(h]h ]h"]h$]h&]uh1jhjM&hMehj 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#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&]uh1jhj&hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMsubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&hhhj&hMsubj)}(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=uh1jhj&hhhj&hMsubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(hsockh]hsock}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]j')}jj&sbc.sk_user_data_is_nocopyasbuh1hhj&ubj)}(h h]h }(hj&'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hj4'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hskh]hsk}(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&hMsubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&hhhj&hMsubah}(h]j&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&hMshj&hhubjS)}(hhh]jX)}(h/Test if sk_user_data pointer must not be copiedh]h/Test if sk_user_data pointer must not be copied}(hjk'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMshjh'hhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj&hMsubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhj[hNhNubj})}(h2**Parameters** ``const struct sock *sk`` socketh](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.hhMwhj'ubj)}(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.hhMyhj'ubj)}(hhh]jX)}(hsocketh]hsocket}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMthj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMyhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h2__locked_read_sk_user_data_with_flags (C function)'c.__locked_read_sk_user_data_with_flagshNtauh1hhj[hhhNhNubh)}(hhh](h)}(hUvoid * __locked_read_sk_user_data_with_flags (const struct sock *sk, uintptr_t flags)h]h)}(hSvoid *__locked_read_sk_user_data_with_flags(const struct sock *sk, uintptr_t flags)h](j)}(hvoidh]hvoid}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM~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)}(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}(hj4(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0(ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj(hhhj(hM~ubj)}(h((const struct sock *sk, uintptr_t flags)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjP(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjL(ubj)}(h h]h }(hj](hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL(ubh)}(hjh]hstruct}(hjk(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjL(ubj)}(h h]h }(hjx(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL(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')}jj6(sb'c.__locked_read_sk_user_data_with_flagsasbuh1hhjL(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL(ubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjL(ubj%)}(hskh]hsk}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjH(ubj)}(huintptr_t flagsh](h)}(hhh]j%)}(h uintptr_th]h uintptr_t}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(modnameN classnameNjj!)}j$]j('c.__locked_read_sk_user_data_with_flagsasbuh1hhj(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=uh1jhjH(ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj(hhhj(hM~ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj'hhhj(hM~ubah}(h]j'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(hM~hj'hhubjS)}(hhh]jX)}(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}(hj6)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM~hj3)hhubah}(h]h ]h"]h$]h&]uh1jRhj'hhhj(hM~ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjN)jxjN)jyjzj{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)}(hjX)h]h Parameters}(hjZ)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV)ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjR)ubj)}(hhh](j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hjw)h]hconst struct sock *sk}(hjy)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjq)ubj)}(hhh]jX)}(hsocketh]hsocket}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhjq)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjn)ubj)}(h``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.hhMhj)ubj)}(hhh]jX)}(h flag bitsh]h flag bits}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjn)ubeh}(h]h ]h"]h$]h&]uh1jhjR)ubjX)}(h**Description**h]j)}(hj)h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjR)ubjX)}(h0The caller must be holding sk->sk_callback_lock.h]h0The caller must be holding sk->sk_callback_lock.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjR)ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h6__rcu_dereference_sk_user_data_with_flags (C function)+c.__rcu_dereference_sk_user_data_with_flagshNtauh1hhj[hhhNhNubh)}(hhh](h)}(hYvoid * __rcu_dereference_sk_user_data_with_flags (const struct sock *sk, uintptr_t flags)h]h)}(hWvoid *__rcu_dereference_sk_user_data_with_flags(const struct sock *sk, uintptr_t flags)h](j)}(hvoidh]hvoid}(hj0*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,*hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj)}(h h]h }(hj?*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,*hhhj>*hMubj;)}(hj>h]h*}(hjM*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,*hhhj>*hMubj)}(h)__rcu_dereference_sk_user_data_with_flagsh]j%)}(h)__rcu_dereference_sk_user_data_with_flagsh]h)__rcu_dereference_sk_user_data_with_flags}(hj^*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZ*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,*hhhj>*hMubj)}(h((const struct sock *sk, uintptr_t flags)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjz*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjv*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjv*ubh)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjv*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjv*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`*sb+c.__rcu_dereference_sk_user_data_with_flagsasbuh1hhjv*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjv*ubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjv*ubj%)}(hskh]hsk}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjv*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjr*ubj)}(huintptr_t flagsh](h)}(hhh]j%)}(h uintptr_th]h uintptr_t}(hj +hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj +modnameN classnameNjj!)}j$]j*+c.__rcu_dereference_sk_user_data_with_flagsasbuh1hhj+ubj)}(h h]h }(hj(+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj%)}(hflagsh]hflags}(hj6+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjr*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)}(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}(hj`+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj]+hhubah}(h]h ]h"]h$]h&]uh1jRhj%*hhhj>*hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjx+jxjx+jyjzj{uh1hhhhj[hNhNubj})}(hS**Parameters** ``const struct sock *sk`` socket ``uintptr_t flags`` flag bitsh](jX)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj|+ubj)}(hhh](j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj+h]hconst struct sock *sk}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj+ubj)}(hhh]jX)}(hsocketh]hsocket}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj+ubj)}(h``uintptr_t flags`` flag bitsh](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.hhMhj+ubj)}(hhh]jX)}(h flag bitsh]h flag bits}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj+ubeh}(h]h ]h"]h$]h&]uh1jhj|+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&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%)}(hj.,h]hsk_for_each_entry_offset_rcu}(hj8,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0,hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubah}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,,hhhjK,hMubah}(h]j',ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjK,hMhj),hhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhj),hhhjK,hMubeh}(h]h ](jqmacroeh"]h$]h&]jvjqjwjd,jxjd,jyjzj{uh1hhhhj[hNhNubjX)}(h:``sk_for_each_entry_offset_rcu (tpos, pos, head, offset)``h]j)}(hjj,h]h6sk_for_each_entry_offset_rcu (tpos, pos, head, offset)}(hjl,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh,ubah}(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}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj,ubah}(h]h ]h"]h$]h&]uh1j hj,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)}(hj,h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj,ubj)}(hhh](j)}(h-``tpos`` the type * to use as a loop cursor. h](j)}(h``tpos``h]j)}(hj,h]htpos}(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#the type * to use as a loop cursor.h]h#the type * to use as a loop cursor.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj,ubj)}(hN``pos`` the :c:type:`struct hlist_node ` to use as a loop cursor. h](j)}(h``pos``h]j)}(hj,h]hpos}(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)}(hEthe :c:type:`struct hlist_node ` to use as a loop cursor.h](hthe }(hj-hhhNhNubh)}(h(:c:type:`struct hlist_node `h]j)}(hj-h]hstruct hlist_node}(hj-hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj hlist_nodeuh1hhj -hMhj-ubh to use as a loop cursor.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj -hMhj -ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj -hMhj,ubj)}(h!``head`` the head for your list. h](j)}(h``head``h]j)}(hjS-h]hhead}(hjU-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ-ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjM-ubj)}(hhh]jX)}(hthe head for your list.h]hthe head for your list.}(hjl-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjh-hMhji-ubah}(h]h ]h"]h$]h&]uh1jhjM-ubeh}(h]h ]h"]h$]h&]uh1jhjh-hMhj,ubj)}(h2``offset`` offset of hlist_node within the struct.h](j)}(h ``offset``h]j)}(hj-h]hoffset}(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'offset of hlist_node within the struct.h]h'offset of hlist_node within the struct.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj-ubah}(h]h ]h"]h$]h&]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_CONNECT_BIND (C macro)c.SOCK_CONNECT_BINDhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hSOCK_CONNECT_BINDh]h)}(hSOCK_CONNECT_BINDh]j)}(hSOCK_CONNECT_BINDh]j%)}(hj-h]hSOCK_CONNECT_BIND}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubah}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-hhhj-hMubah}(h]j-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-hMhj-hhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhj-hhhj-hMubeh}(h]h ](jqmacroeh"]h$]h&]jvjqjwj.jxj.jyjzj{uh1hhhhj[hNhNubjX)}(h``SOCK_CONNECT_BIND``h]j)}(hj.h]hSOCK_CONNECT_BIND}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj[hhubj )}(hJ:c:type:`sock->sk_userlocks ` flag for auto-bind at connect() time h]jX)}(hH:c:type:`sock->sk_userlocks ` flag for auto-bind at connect() timeh](h)}(h#:c:type:`sock->sk_userlocks `h]j)}(hj<.h]hsock->sk_userlocks}(hj>.hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj:.ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsockuh1hhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj6.ubh% flag for auto-bind at connect() time}(hj6.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjY.hMhj2.ubah}(h]h ]h"]h$]h&]uh1j hjY.hMhj[hhubh)}(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&]uh1jhj.hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj.hMubj)}(hlock_sock_fasth]j%)}(hlock_sock_fasth]hlock_sock_fast}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj.hMubj)}(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.lock_sock_fastasbuh1hhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj /hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hskh]hsk}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubah}(h]h ]h"]h$]h&]j<j=uh1jhj.hhhj.hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{.hhhj.hMubah}(h]jv.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hMhjx.hhubjS)}(hhh]jX)}(hfast version of lock_sockh]hfast version of lock_sock}(hjB/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj?/hhubah}(h]h ]h"]h$]h&]uh1jRhjx.hhhj.hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZ/jxjZ/jyjzj{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)}(hjd/h]h Parameters}(hjf/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb/ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj^/ubj)}(hhh]j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj/h]hstruct sock *sk}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj}/ubj)}(hhh]jX)}(hsocketh]hsocket}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMhj/ubah}(h]h ]h"]h$]h&]uh1jhj}/ubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjz/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.hhMhj^/ubjX)}(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:}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj^/ubj )}(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}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj/ubah}(h]h ]h"]h$]h&]uh1j hj/hMhj^/ubjX)}(h"return true if slow path is taken:h]h"return true if slow path is taken:}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj^/ubj )}(h-sk_lock.slock unlocked, owned = 1, BH enabledh]jX)}(hj 0h]h-sk_lock.slock unlocked, owned = 1, BH enabled}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj 0ubah}(h]h ]h"]h$]h&]uh1j hj0hMhj^/ubeh}(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}(hjC0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?0hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj)}(h h]h }(hjR0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?0hhhjQ0hMubj)}(hunlock_sock_fasth]j%)}(hunlock_sock_fasth]hunlock_sock_fast}(hjd0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?0hhhjQ0hMubj)}(h(struct sock *sk, bool slow)h](j)}(hstruct sock *skh](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%)}(hsockh]hsock}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]j')}jjf0sbc.unlock_sock_fastasbuh1hhj|0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|0ubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|0ubj%)}(hskh]hsk}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjx0ubj)}(h bool slowh](j)}(hjTh]hbool}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj%)}(hslowh]hslow}(hj 1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjx0ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?0hhhjQ0hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;0hhhjQ0hMubah}(h]j60ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQ0hMhj80hhubjS)}(hhh]jX)}(hcomplement of lock_sock_fasth]hcomplement of lock_sock_fast}(hj71hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj41hhubah}(h]h ]h"]h$]h&]uh1jRhj80hhhjQ0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjO1jxjO1jyjzj{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)}(hjY1h]h Parameters}(hj[1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW1ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjS1ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjx1h]hstruct sock *sk}(hjz1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjr1ubj)}(hhh]jX)}(hsocketh]hsocket}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjr1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjo1ubj)}(h``bool slow`` slow mode h](j)}(h ``bool slow``h]j)}(hj1h]h bool slow}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj1ubj)}(hhh]jX)}(h slow modeh]h slow mode}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjo1ubeh}(h]h ]h"]h$]h&]uh1jhjS1ubjX)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjS1ubjX)}(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()}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjS1ubeh}(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}(hj12hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-2hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM ubj)}(h h]h }(hj@2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-2hhhj?2hM ubj)}(hsk_wmem_alloc_geth]j%)}(hsk_wmem_alloc_geth]hsk_wmem_alloc_get}(hjR2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjN2ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-2hhhj?2hM ubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjn2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjj2ubj)}(h h]h }(hj{2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj2ubh)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj2ubh)}(hhh]j%)}(hsockh]hsock}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j')}jjT2sbc.sk_wmem_alloc_getasbuh1hhjj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj2ubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjj2ubj%)}(hskh]hsk}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjf2ubah}(h]h ]h"]h$]h&]j<j=uh1jhj-2hhhj?2hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)2hhhj?2hM ubah}(h]j$2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj?2hM hj&2hhubjS)}(hhh]jX)}(hreturns write allocationsh]hreturns write allocations}(hj 3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj 3hhubah}(h]h ]h"]h$]h&]uh1jRhj&2hhhj?2hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$3jxj$3jyjzj{uh1hhhhj[hNhNubj})}(hi**Parameters** ``const struct sock *sk`` socket **Return** sk_wmem_alloc minus initial offset of oneh](jX)}(h**Parameters**h]j)}(hj.3h]h Parameters}(hj03hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,3ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(3ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hjM3h]hconst struct sock *sk}(hjO3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjG3ubj)}(hhh]jX)}(hsocketh]hsocket}(hjf3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjb3hM hjc3ubah}(h]h ]h"]h$]h&]uh1jhjG3ubeh}(h]h ]h"]h$]h&]uh1jhjb3hM hjD3ubah}(h]h ]h"]h$]h&]uh1jhj(3ubjX)}(h **Return**h]j)}(hj3h]hReturn}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(3ubjX)}(h)sk_wmem_alloc minus initial offset of oneh]h)sk_wmem_alloc minus initial offset of one}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(3ubeh}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM% ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhj3hM% ubj)}(hsk_rmem_alloc_geth]j%)}(hsk_rmem_alloc_geth]hsk_rmem_alloc_get}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhj3hM% ubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj 4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hjh]hstruct}(hj%4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj24hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(hsockh]hsock}(hjC4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjE4modnameN classnameNjj!)}j$]j')}jj3sbc.sk_rmem_alloc_getasbuh1hhj4ubj)}(h h]h }(hjc4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hjq4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hskh]hsk}(hj~4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubah}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhj3hM% ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhj3hM% ubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hM% hj3hhubjS)}(hhh]jX)}(hreturns read allocationsh]hreturns read allocations}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM% hj4hhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhj3hM% ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhj[hNhNubj})}(hM**Parameters** ``const struct sock *sk`` socket **Return** sk_rmem_alloch](jX)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM) hj4ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj4h]hconst struct sock *sk}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM& hj4ubj)}(hhh]jX)}(hsocketh]hsocket}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hM& hj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hM& hj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubjX)}(h **Return**h]j)}(hj$5h]hReturn}(hj&5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"5ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM( hj4ubjX)}(h sk_rmem_alloch]h sk_rmem_alloc}(hj:5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM( hj4ubeh}(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}(hji5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje5hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM0 ubj)}(h h]h }(hjw5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hje5hhhjv5hM0 ubj)}(hsk_has_allocationsh]j%)}(hsk_has_allocationsh]hsk_has_allocations}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhje5hhhjv5hM0 ubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(hsockh]hsock}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j')}jj5sbc.sk_has_allocationsasbuh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hj 6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hskh]hsk}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubah}(h]h ]h"]h$]h&]j<j=uh1jhje5hhhjv5hM0 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhja5hhhjv5hM0 ubah}(h]j\5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjv5hM0 hj^5hhubjS)}(hhh]jX)}(h$check if allocations are outstandingh]h$check if allocations are outstanding}(hjC6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM0 hj@6hhubah}(h]h ]h"]h$]h&]uh1jRhj^5hhhjv5hM0 ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[6jxj[6jyjzj{uh1hhhhj[hNhNubj})}(hl**Parameters** ``const struct sock *sk`` socket **Return** true if socket has write or read allocationsh](jX)}(h**Parameters**h]j)}(hje6h]h Parameters}(hjg6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc6ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM4 hj_6ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj6h]hconst struct sock *sk}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM1 hj~6ubj)}(hhh]jX)}(hsocketh]hsocket}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hM1 hj6ubah}(h]h ]h"]h$]h&]uh1jhj~6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM1 hj{6ubah}(h]h ]h"]h$]h&]uh1jhj_6ubjX)}(h **Return**h]j)}(hj6h]hReturn}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM3 hj_6ubjX)}(h,true if socket has write or read allocationsh]h,true if socket has write or read allocations}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM3 hj_6ubeh}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM; ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhj7hM; ubj)}(hskwq_has_sleeperh]j%)}(hskwq_has_sleeperh]hskwq_has_sleeper}(hj$7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhj7hM; ubj)}(h(struct socket_wq *wq)h]j)}(hstruct socket_wq *wqh](h)}(hjh]hstruct}(hj@7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<7ubj)}(h h]h }(hjM7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<7ubh)}(hhh]j%)}(h socket_wqh]h socket_wq}(hj^7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`7modnameN classnameNjj!)}j$]j')}jj&7sbc.skwq_has_sleeperasbuh1hhj<7ubj)}(h h]h }(hj~7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<7ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<7ubj%)}(hwqh]hwq}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj87ubah}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhj7hM; ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6hhhj7hM; ubah}(h]j6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hM; hj6hhubjS)}(hhh]jX)}(h(check if there are any waiting processesh]h(check if there are any waiting processes}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM; hj7hhubah}(h]h ]h"]h$]h&]uh1jRhj6hhhj7hM; ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{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)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM? hj7ubj)}(hhh]j)}(h*``struct socket_wq *wq`` struct socket_wq h](j)}(h``struct socket_wq *wq``h]j)}(hj8h]hstruct socket_wq *wq}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM< hj7ubj)}(hhh]jX)}(hstruct socket_wqh]hstruct socket_wq}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hM< hj8ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj8hM< hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubjX)}(h **Return**h]j)}(hj?8h]hReturn}(hjA8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=8ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM> hj7ubjX)}(h'true if socket_wq has waiting processesh]h'true if socket_wq has waiting processes}(hjU8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM> hj7ubjX)}(h**Description**h]j)}(hjf8h]h Description}(hjh8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd8ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM@ hj7ubjX)}(hThe purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code.h]hThe purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code.}(hj|8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM? hj7ubjX)}(h#Consider following tcp code paths::h]h"Consider following tcp code paths:}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMB hj7ubjU)}(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) ... }}hj8sbah}(h]h ]h"]h$]h&]j<j=uh1jThR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMD hj7ubjX)}(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.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMR hj7ubeh}(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}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM_ ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhj8hM_ ubj)}(hsock_poll_waith]j%)}(hsock_poll_waith]hsock_poll_wait}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhj8hM_ ubj)}(h7(struct file *filp, struct socket *sock, poll_table *p)h](j)}(hstruct file *filph](h)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hj"9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(hfileh]hfile}(hj39hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj09ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj59modnameN classnameNjj!)}j$]j')}jj8sbc.sock_poll_waitasbuh1hhj9ubj)}(h h]h }(hjS9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hja9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hfilph]hfilp}(hjn9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj 9ubj)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(hsocketh]hsocket}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]jO9c.sock_poll_waitasbuh1hhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hsockh]hsock}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj 9ubj)}(h poll_table *ph](h)}(hhh]j%)}(h poll_tableh]h poll_table}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]jO9c.sock_poll_waitasbuh1hhj9ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hj&:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hjGh]hp}(hj3:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj 9ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj8hhhj8hM_ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8hhhj8hM_ ubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8hM_ hj8hhubjS)}(hhh]jX)}(hwrapper for the poll_wait call.h]hwrapper for the poll_wait call.}(hj\:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM_ hjY:hhubah}(h]h ]h"]h$]h&]uh1jRhj8hhhj8hM_ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjt:jxjt:jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct file *filp`` file ``struct socket *sock`` socket to wait on ``poll_table *p`` poll_table **Description** See the comments in the wq_has_sleeper function.h](jX)}(h**Parameters**h]j)}(hj~:h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|:ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMc hjx:ubj)}(hhh](j)}(h``struct file *filp`` file h](j)}(h``struct file *filp``h]j)}(hj:h]hstruct file *filp}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM` hj:ubj)}(hhh]jX)}(hfileh]hfile}(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 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.hhMa hj:ubj)}(hhh]jX)}(hsocket to wait onh]hsocket to wait on}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMa hj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMa hj:ubj)}(h``poll_table *p`` poll_table h](j)}(h``poll_table *p``h]j)}(hj;h]h poll_table *p}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ;ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMb hj ;ubj)}(hhh]jX)}(h poll_tableh]h poll_table}(hj(;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$;hMb hj%;ubah}(h]h ]h"]h$]h&]uh1jhj ;ubeh}(h]h ]h"]h$]h&]uh1jhj$;hMb hj:ubeh}(h]h ]h"]h$]h&]uh1jhjx:ubjX)}(h**Description**h]j)}(hjJ;h]h Description}(hjL;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH;ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMd hjx: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.hhMc hjx:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_page_frag (C function)c.sk_page_fraghNtauh1hhj[hhhNhNubh)}(hhh](h)}(h1struct page_frag * sk_page_frag (struct sock *sk)h]h)}(h/struct page_frag *sk_page_frag(struct sock *sk)h](h)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM% ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhj;hM% ubh)}(hhh]j%)}(h page_fragh]h page_frag}(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_fragasbuh1hhj;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)}(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=uh1jhj;hhhj;hM% ubj)}(h(struct sock *sk)h]j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj <hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hhh]j%)}(hsockh]hsock}(hj'<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)<modnameN classnameNjj!)}j$]j;c.sk_page_fragasbuh1hhj<ubj)}(h h]h }(hjE<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj;)}(hj>h]h*}(hjS<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj%)}(hskh]hsk}(hj`<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubah}(h]h ]h"]h$]h&]j<j=uh1jhj;hhhj;hM% ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhj;hM% ubah}(h]j;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;hM% hj;hhubjS)}(hhh]jX)}(hreturn an appropriate page_fragh]hreturn an appropriate page_frag}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM% hj<hhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhj;hM% ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sock *sk`` socket **Description** Use the per task page_frag instead of the per socket one for optimization when we know that we're in process context and own everything that's associated with ``current``. Both direct reclaim and page faults can nest inside other socket operations and end up recursing into sk_page_frag() while it's already in use: explicitly avoid task page_frag when users disable sk_use_task_frag. **Return** a per task page_frag if context allows that, otherwise a per socket one.h](jX)}(h**Parameters**h]j)}(hj<h]h Parameters}(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)}(hjN=h]hReturn}(hjP=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL=ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM0 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.}(hjd=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM1 hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_sock_tx_timestamp (C function)c._sock_tx_timestamphNtauh1hhj[hhhNhNubh)}(hhh](h)}(hjvoid _sock_tx_timestamp (struct sock *sk, const struct sockcm_cookie *sockc, __u8 *tx_flags, __u32 *tskey)h]h)}(hivoid _sock_tx_timestamp(struct sock *sk, const struct sockcm_cookie *sockc, __u8 *tx_flags, __u32 *tskey)h](j)}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM7 ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhj=hM7 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=uh1jhj=hhhj=hM7 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}(hjB>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>>ubj)}(h h]h }(hjO>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>>ubh)}(hjh]hstruct}(hj]>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>>ubj)}(h h]h }(hjj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>>ubh)}(hhh]j%)}(h sockcm_cookieh]h sockcm_cookie}(hj{>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjx>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}>modnameN classnameNjj!)}j$]j >c._sock_tx_timestampasbuh1hhj>>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>>ubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>>ubj%)}(hsockch]hsockc}(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 }(hjC?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hjQ?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(htskeyh]htskey}(hj^?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj=hhhj=hM7 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhj=hM7 ubah}(h]j=ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=hM7 hj=hhubjS)}(hhh]jX)}(h8checks whether the outgoing packet is to be time stampedh]h8checks whether the outgoing packet is to be time stamped}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM7 hj?hhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhj=hM7 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.hhM8 hj?ubj)}(hhh]jX)}(hsocket sending this packeth]hsocket sending this packet}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hM8 hj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hM8 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.hhM9 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@hM9 hj@ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj@hM9 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&]uh1jhj9@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM: hj5@ubj)}(hhh]jX)}(h-completed with instructions for time stampingh]h-completed with instructions for time stamping}(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: hj?ubj)}(hN``__u32 *tskey`` filled in with next sk_tskey (not for TCP, which uses seqno) h](j)}(h``__u32 *tskey``h]j)}(hjt@h]h __u32 *tskey}(hjv@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM; hjn@ubj)}(hhh]jX)}(hh]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?Aubj%)}(hskh]hsk}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?Aubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;Aubj)}(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}A c.sk_eat_skbasbuh1hhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hskbh]hskb}(hj BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;Aubeh}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjAhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhjAhM ubah}(h]j@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhM hj@hhubjS)}(hhh]jX)}(h'Release a skb if it is no longer neededh]h'Release a skb if it is no longer needed}(hj6BhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj3Bhhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhjAhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNBjxjNBjyjzj{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)}(hjXBh]h Parameters}(hjZBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVBubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjRBubj)}(hhh](j)}(h0``struct sock *sk`` socket to eat this skb from h](j)}(h``struct sock *sk``h]j)}(hjwBh]hstruct sock *sk}(hjyBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjqBubj)}(hhh]jX)}(hsocket to eat this skb fromh]hsocket to eat this skb from}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM hjBubah}(h]h ]h"]h$]h&]uh1jhjqBubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjnBubj)}(h-``struct sk_buff *skb`` socket buffer to eat 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjBubj)}(hhh]jX)}(hsocket buffer to eath]hsocket buffer to eat}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjnBubeh}(h]h ]h"]h$]h&]uh1jhjRBubjX)}(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:20: ./include/net/sock.hhM hjRBubjX)}(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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjRBubeh}(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}(hj0ChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ChhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hj>ChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,Chhhj=ChMubh)}(hhh]j%)}(hfileh]hfile}(hjOChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQCmodnameN classnameNjj!)}j$]j')}jsock_alloc_filesbc.sock_alloc_fileasbuh1hhj,Chhhj=ChMubj)}(h h]h }(hjpChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,Chhhj=ChMubj;)}(hj>h]h*}(hj~ChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,Chhhj=ChMubj)}(hsock_alloc_fileh]j%)}(hjmCh]hsock_alloc_file}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,Chhhj=ChMubj)}(h3(struct socket *sock, int flags, const char *dname)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(hsocketh]hsocket}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]jkCc.sock_alloc_fileasbuh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hsockh]hsock}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(h int flagsh](j)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hj(DhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj%)}(hflagsh]hflags}(hj6DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(hconst char *dnameh](h)}(hjh]hconst}(hjODhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKDubj)}(h h]h }(hj\DhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKDubj)}(hcharh]hchar}(hjjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKDubj)}(h h]h }(hjxDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKDubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKDubj%)}(hdnameh]hdname}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubeh}(h]h ]h"]h$]h&]j<j=uh1jhj,Chhhj=ChMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj(Chhhj=ChMubah}(h]j#Cah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=ChMhj%ChhubjS)}(hhh]jX)}(h+Bind a :c:type:`socket` to a :c:type:`file`h](hBind a }(hjDhhhNhNubh)}(h:c:type:`socket`h]j)}(hjDh]hsocket}(hjDhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]jkCc.sock_alloc_fileasbjsocketuh1hhj=ChMhjDubh to a }(hjDhhhNhNubh)}(h:c:type:`file`h]j)}(hjDh]hfile}(hjDhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjDjfileuh1hhj=ChMhjDubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjDhhubah}(h]h ]h"]h$]h&]uh1jRhj%Chhhj=ChMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjEjxjEjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct socket *sock`` socket ``int flags`` file status flags ``const char *dname`` protocol name **Description** Returns the :c:type:`file` bound with **sock**, implicitly storing it in sock->file. If dname is ``NULL``, sets to "". On failure **sock** is released, and an ERR pointer is returned. This function uses GFP_KERNEL internally.h](jX)}(h**Parameters**h]j)}(hj&Eh]h Parameters}(hj(EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Eubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj Eubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjEEh]hstruct socket *sock}(hjGEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCEubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj?Eubj)}(hhh]jX)}(hsocketh]hsocket}(hj^EhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZEhMhj[Eubah}(h]h ]h"]h$]h&]uh1jhj?Eubeh}(h]h ]h"]h$]h&]uh1jhjZEhMhjfile. If dname is ``NULL``, sets to "". On failure **sock** is released, and an ERR pointer is returned. This function uses GFP_KERNEL internally.h](jX)}(hvReturns the :c:type:`file` bound with **sock**, implicitly storing it in sock->file. If dname is ``NULL``, sets to "".h](h Returns the }(hj FhhhNhNubh)}(h:c:type:`file`h]j)}(hjFh]hfile}(hjFhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjfileuh1hhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj Fubh bound with }(hj FhhhNhNubj)}(h**sock**h]hsock}(hj8FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Fubh3, implicitly storing it in sock->file. If dname is }(hj FhhhNhNubj)}(h``NULL``h]hNULL}(hjJFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Fubh, sets to “”.}(hj FhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj3FhMhjFubjX)}(h@On failure **sock** is released, and an ERR pointer is returned.h](h On failure }(hjbFhhhNhNubj)}(h**sock**h]hsock}(hjjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbFubh- is released, and an ERR pointer is returned.}(hjbFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjFubjX)}(h)This function uses GFP_KERNEL internally.h]h)This function uses GFP_KERNEL internally.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjFubeh}(h]h ]h"]h$]h&]uh1j hj3FhMhj Eubeh}(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}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjFhM ubh)}(hhh]j%)}(hsocketh]hsocket}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j')}jsock_from_filesbc.sock_from_fileasbuh1hhjFhhhjFhM ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjFhM ubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFhhhjFhM ubj)}(hsock_from_fileh]j%)}(hjFh]hsock_from_file}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjFhhhjFhM ubj)}(h(struct file *file)h]j)}(hstruct file *fileh](h)}(hjh]hstruct}(hj2GhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.Gubj)}(h h]h }(hj?GhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.Gubh)}(hhh]j%)}(hfileh]hfile}(hjPGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRGmodnameN classnameNjj!)}j$]jFc.sock_from_fileasbuh1hhj.Gubj)}(h h]h }(hjnGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.Gubj;)}(hj>h]h*}(hj|GhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.Gubj%)}(hfileh]hfile}(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=uh1jhjFhhhjFhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjFhhhjFhM ubah}(h]jFah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjFhM hjFhhubjS)}(hhh]jX)}(h0Return the :c:type:`socket` bounded to **file**.h](h Return the }(hjGhhhNhNubh)}(h:c:type:`socket`h]j)}(hjGh]hsocket}(hjGhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]jFc.sock_from_fileasbjsocketuh1hhj=ChMhjGubh bounded to }(hjGhhhNhNubj)}(h**file**h]hfile}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjGhhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhjFhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjHjxjHjyjzj{uh1hhhhj[hNhNubj})}(h`**Parameters** ``struct file *file`` file **Description** On failure returns ``NULL``.h](jX)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Hubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj Hubj)}(hhh]j)}(h``struct file *file`` file h](j)}(h``struct file *file``h]j)}(hj.Hh]hstruct file *file}(hj0HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Hubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj(Hubj)}(hhh]jX)}(hfileh]hfile}(hjGHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjCHhM hjDHubah}(h]h ]h"]h$]h&]uh1jhj(Hubeh}(h]h ]h"]h$]h&]uh1jhjCHhM hj%Hubah}(h]h ]h"]h$]h&]uh1jhj HubjX)}(h**Description**h]j)}(hjiHh]h Description}(hjkHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgHubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj Hubj )}(hOn failure returns ``NULL``.h]jX)}(hjHh](hOn failure returns }(hjHhhhNhNubj)}(h``NULL``h]hNULL}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjHubah}(h]h ]h"]h$]h&]uh1j hjHhMhj Hubeh}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhhjHhMubh)}(hhh]j%)}(hsocketh]hsocket}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}j sockfd_lookupsbc.sockfd_lookupasbuh1hhjHhhhjHhMubj)}(h h]h }(hj IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhhjHhMubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHhhhjHhMubj)}(h sockfd_lookuph]j%)}(hjIh]h sockfd_lookup}(hj(IhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$Iubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjHhMubj)}(h(int fd, int *err)h](j)}(hint fdh](j)}(hinth]hint}(hjCIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?Iubj)}(h h]h }(hjQIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?Iubj%)}(hfdh]hfd}(hj_IhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?Iubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;Iubj)}(hint *errh](j)}(hinth]hint}(hjxIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtIubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtIubj%)}(herrh]herr}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;Iubeh}(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)}(h(Go from a file number to its socket sloth]h(Go from a file number to its socket slot}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjIhhubah}(h]h ]h"]h$]h&]uh1jRhjHhhhjHhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``int fd`` file handle ``int *err`` pointer to an error code return **Description** The file handle passed in is locked and the socket it is bound to is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket. On a success the socket object pointer is returned.h](jX)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjIubj)}(hhh](j)}(h``int fd`` file handle h](j)}(h ``int fd``h]j)}(hj Jh]hint fd}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Jubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjJubj)}(hhh]jX)}(h file handleh]h file handle}(hj%JhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!JhMhj"Jubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj!JhMhjJubj)}(h-``int *err`` pointer to an error code return h](j)}(h ``int *err``h]j)}(hjEJh]hint *err}(hjGJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCJubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj?Jubj)}(hhh]jX)}(hpointer to an error code returnh]hpointer to an error code return}(hj^JhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZJhMhj[Jubah}(h]h ]h"]h$]h&]uh1jhj?Jubeh}(h]h ]h"]h$]h&]uh1jhjZJhMhjJubeh}(h]h ]h"]h$]h&]uh1jhjIubjX)}(h**Description**h]j)}(hjJh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~Jubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjIubj )}(hX?The file handle passed in is locked and the socket it is bound to is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket. On a success the socket object pointer is returned.h](jX)}(hX The file handle passed in is locked and the socket it is bound to is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket.h]hX The file handle passed in is locked and the socket it is bound to is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjJubjX)}(h3On a success the socket object pointer is returned.h]h3On a success the socket object pointer is returned.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM$hjJubeh}(h]h ]h"]h$]h&]uh1j hjJhMhjIubeh}(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}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMqubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJhhhjJhMqubh)}(hhh]j%)}(hsocketh]hsocket}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]j')}j sock_allocsb c.sock_allocasbuh1hhjJhhhjJhMqubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJhhhjJhMqubj;)}(hj>h]h*}(hj,KhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJhhhjJhMqubj)}(h sock_alloch]j%)}(hjKh]h sock_alloc}(hj=KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9Kubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJhhhjJhMqubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hjXKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTKubah}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPKubah}(h]h ]h"]h$]h&]j<j=uh1jhjJhhhjJhMqubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhjJhMqubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJhMqhjJhhubjS)}(hhh]jX)}(hallocate a socketh]hallocate a socket}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMqhjKhhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhjJhMqubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{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)}(hjKh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMuhjKubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjKh]hvoid}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chKhjKubj)}(hhh]jX)}(h no argumentsh]h no arguments}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhKhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhKhjKubah}(h]h ]h"]h$]h&]uh1jhjKubjX)}(h**Description**h]j)}(hjKh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chKhjKubj )}(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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMrhjLubah}(h]h ]h"]h$]h&]uh1j hj&LhMrhjKubeh}(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}(hjMLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjILhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hj\LhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjILhhhj[LhMubj)}(h sock_releaseh]j%)}(h sock_releaseh]h sock_release}(hjnLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjILhhhj[LhMubj)}(h(struct socket *sock)h]j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(hsocketh]hsocket}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j')}jjpLsbc.sock_releaseasbuh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hsockh]hsock}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubah}(h]h ]h"]h$]h&]j<j=uh1jhjILhhhj[LhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjELhhhj[LhMubah}(h]j@Lah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[LhMhjBLhhubjS)}(hhh]jX)}(hclose a socketh]hclose a socket}(hj MhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj Mhhubah}(h]h ]h"]h$]h&]uh1jRhjBLhhhj[LhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%Mjxj%Mjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket to close **Description** The socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.h](jX)}(h**Parameters**h]j)}(hj/Mh]h Parameters}(hj1MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Mubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj)Mubj)}(hhh]j)}(h(``struct socket *sock`` socket to close h](j)}(h``struct socket *sock``h]j)}(hjNMh]hstruct socket *sock}(hjPMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLMubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjHMubj)}(hhh]jX)}(hsocket to closeh]hsocket to close}(hjgMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjcMhMhjdMubah}(h]h ]h"]h$]h&]uh1jhjHMubeh}(h]h ]h"]h$]h&]uh1jhjcMhMhjEMubah}(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&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj)Mubj )}(hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.h]jX)}(hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.h]hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjMubah}(h]h ]h"]h$]h&]uh1j hjMhMhj)Mubeh}(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}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhjMhMubj)}(h sock_sendmsgh]j%)}(h sock_sendmsgh]h sock_sendmsg}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhjMhMubj)}(h)(struct socket *sock, struct msghdr *msg)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hj"NhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(hsocketh]hsocket}(hj3NhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0Nubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5NmodnameN classnameNjj!)}j$]j')}jjMsbc.sock_sendmsgasbuh1hhjNubj)}(h h]h }(hjSNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjaNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hsockh]hsock}(hjnNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Nubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]jONc.sock_sendmsgasbuh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hmsgh]hmsg}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Nubeh}(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)}(hsend a message through **sock**h](hsend a message through }(hjOhhhNhNubj)}(h**sock**h]hsock}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjOhhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhjMhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.Ojxj.Ojyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message to send **Description** Sends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h](jX)}(h**Parameters**h]j)}(hj8Oh]h Parameters}(hj:OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Oubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj2Oubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjWOh]hstruct socket *sock}(hjYOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUOubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjQOubj)}(hhh]jX)}(hsocketh]hsocket}(hjpOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlOhMhjmOubah}(h]h ]h"]h$]h&]uh1jhjQOubeh}(h]h ]h"]h$]h&]uh1jhjlOhMhjNOubj)}(h'``struct msghdr *msg`` message to send h](j)}(h``struct msghdr *msg``h]j)}(hjOh]hstruct msghdr *msg}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjOubj)}(hhh]jX)}(hmessage to sendh]hmessage to send}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjNOubeh}(h]h ]h"]h$]h&]uh1jhj2OubjX)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj2Oubj )}(hhSends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h]jX)}(hhSends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h](hSends }(hjOhhhNhNubj)}(h**msg**h]hmsg}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh through }(hjOhhhNhNubj)}(h**sock**h]hsock}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubhJ, passing through LSM. Returns the number of bytes sent, or an error code.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjOubah}(h]h ]h"]h$]h&]uh1j hjPhMhj2Oubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_sendmsg (C function)c.kernel_sendmsghNtauh1hhj[hhhNhNubh)}(hhh](h)}(hgint kernel_sendmsg (struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)h]h)}(hfint kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)h](j)}(hinth]hint}(hj>PhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:PhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hjMPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:PhhhjLPhMubj)}(hkernel_sendmsgh]j%)}(hkernel_sendmsgh]hkernel_sendmsg}(hj_PhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[Pubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:PhhhjLPhMubj)}(hT(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj{PhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwPubh)}(hhh]j%)}(hsocketh]hsocket}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]j')}jjaPsbc.kernel_sendmsgasbuh1hhjwPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwPubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwPubj%)}(hsockh]hsock}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsPubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hj QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj QmodnameN classnameNjj!)}j$]jPc.kernel_sendmsgasbuh1hhjPubj)}(h h]h }(hj)QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj;)}(hj>h]h*}(hj7QhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPubj%)}(hmsgh]hmsg}(hjDQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsPubj)}(hstruct kvec *vech](h)}(hjh]hstruct}(hj]QhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYQubj)}(h h]h }(hjjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYQubh)}(hhh]j%)}(hkvech]hkvec}(hj{QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}QmodnameN classnameNjj!)}j$]jPc.kernel_sendmsgasbuh1hhjYQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYQubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYQubj%)}(hvech]hvec}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsPubj)}(h size_t numh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]jPc.kernel_sendmsgasbuh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(hnumh]hnum}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsPubj)}(h size_t sizeh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]jPc.kernel_sendmsgasbuh1hhjRubj)}(h h]h }(hj6RhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj%)}(hsizeh]hsize}(hjDRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsPubeh}(h]h ]h"]h$]h&]j<j=uh1jhj:PhhhjLPhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6PhhhjLPhMubah}(h]j1Pah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLPhMhj3PhhubjS)}(hhh]jX)}(h.send a message through **sock** (kernel-space)h](hsend a message through }(hjnRhhhNhNubj)}(h**sock**h]hsock}(hjvRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnRubh (kernel-space)}(hjnRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjkRhhubah}(h]h ]h"]h$]h&]uh1jRhj3PhhhjLPhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRjxjRjyjzj{uh1hhhhj[hNhNubj})}(hX^**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message header ``struct kvec *vec`` kernel vec ``size_t num`` vec array length ``size_t size`` total message data size **Description** Builds the message data with **vec** and sends it through **sock**. Returns the number of bytes sent, or an error code.h](jX)}(h**Parameters**h]j)}(hjRh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjRubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjRh]hstruct socket *sock}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjRubj)}(hhh]jX)}(hsocketh]hsocket}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjRubj)}(h&``struct msghdr *msg`` message header h](j)}(h``struct msghdr *msg``h]j)}(hjRh]hstruct msghdr *msg}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjRubj)}(hhh]jX)}(hmessage headerh]hmessage header}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjShMhjRubj)}(h ``struct kvec *vec`` kernel vec h](j)}(h``struct kvec *vec``h]j)}(hj3Sh]hstruct kvec *vec}(hj5ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1Subah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj-Subj)}(hhh]jX)}(h kernel vech]h kernel vec}(hjLShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHShM hjISubah}(h]h ]h"]h$]h&]uh1jhj-Subeh}(h]h ]h"]h$]h&]uh1jhjHShM hjRubj)}(h ``size_t num`` vec array length h](j)}(h``size_t num``h]j)}(hjlSh]h size_t num}(hjnShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjSubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjfSubj)}(hhh]jX)}(hvec array lengthh]hvec array length}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM hjSubah}(h]h ]h"]h$]h&]uh1jhjfSubeh}(h]h ]h"]h$]h&]uh1jhjShM hjRubj)}(h(``size_t size`` total message data size h](j)}(h``size_t size``h]j)}(hjSh]h size_t size}(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)}(htotal message data sizeh]htotal message data size}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM hjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShM hjRubeh}(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&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjRubj )}(hwBuilds the message data with **vec** and sends it through **sock**. Returns the number of bytes sent, or an error code.h]jX)}(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 }(hjShhhNhNubj)}(h**vec**h]hvec}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh and sends it through }(hjShhhNhNubj)}(h**sock**h]hsock}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh5. Returns the number of bytes sent, or an error code.}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjSubah}(h]h ]h"]h$]h&]uh1j hj,ThM hjRubeh}(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}(hjSThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOThhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM@ubj)}(h h]h }(hjbThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOThhhjaThM@ubj)}(h sock_recvmsgh]j%)}(h sock_recvmsgh]h sock_recvmsg}(hjtThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOThhhjaThM@ubj)}(h4(struct socket *sock, struct msghdr *msg, int flags)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(hsocketh]hsocket}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]j')}jjvTsbc.sock_recvmsgasbuh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hsockh]hsock}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hj UhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"UmodnameN classnameNjj!)}j$]jTc.sock_recvmsgasbuh1hhjTubj)}(h h]h }(hj>UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjLUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hmsgh]hmsg}(hjYUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(h int flagsh](j)}(hinth]hint}(hjrUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnUubj%)}(hflagsh]hflags}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubeh}(h]h ]h"]h$]h&]j<j=uh1jhjOThhhjaThM@ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKThhhjaThM@ubah}(h]jFTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjaThM@hjHThhubjS)}(hhh]jX)}(hreceive a message from **sock**h](hreceive a message from }(hjUhhhNhNubj)}(h**sock**h]hsock}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM@hjUhhubah}(h]h ]h"]h$]h&]uh1jRhjHThhhjaThM@ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message to receive ``int flags`` message flags **Description** Receives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, or an error.h](jX)}(h**Parameters**h]j)}(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.chMDhjUubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjVh]hstruct socket *sock}(hj VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMAhjVubj)}(hhh]jX)}(hsocketh]hsocket}(hj VhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMAhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMAhjUubj)}(h*``struct msghdr *msg`` message to receive h](j)}(h``struct msghdr *msg``h]j)}(hj@Vh]hstruct msghdr *msg}(hjBVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>Vubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMBhj:Vubj)}(hhh]jX)}(hmessage to receiveh]hmessage to receive}(hjYVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUVhMBhjVVubah}(h]h ]h"]h$]h&]uh1jhj:Vubeh}(h]h ]h"]h$]h&]uh1jhjUVhMBhjUubj)}(h``int flags`` message flags h](j)}(h ``int flags``h]j)}(hjyVh]h int flags}(hj{VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwVubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMChjsVubj)}(hhh]jX)}(h message flagsh]h message flags}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMChjVubah}(h]h ]h"]h$]h&]uh1jhjsVubeh}(h]h ]h"]h$]h&]uh1jhjVhMChjUubeh}(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&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMEhjUubj )}(hmReceives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, or an error.h]jX)}(hmReceives **msg** from **sock**, passing through LSM. Returns the total number of bytes received, or an error.h](h Receives }(hjVhhhNhNubj)}(h**msg**h]hmsg}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh from }(hjVhhhNhNubj)}(h**sock**h]hsock}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubhO, passing through LSM. Returns the total number of bytes received, or an error.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMDhjVubah}(h]h ]h"]h$]h&]uh1j hjWhMDhjUubeh}(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'WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#WhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMQubj)}(h h]h }(hj6WhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#Whhhj5WhMQubj)}(hkernel_recvmsgh]j%)}(hkernel_recvmsgh]hkernel_recvmsg}(hjHWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDWubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj#Whhhj5WhMQubj)}(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}(hjdWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj`Wubj)}(h h]h }(hjqWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`Wubh)}(hhh]j%)}(hsocketh]hsocket}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]j')}jjJWsbc.kernel_recvmsgasbuh1hhj`Wubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`Wubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`Wubj%)}(hsockh]hsock}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`Wubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\Wubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]jWc.kernel_recvmsgasbuh1hhjWubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj;)}(hj>h]h*}(hj XhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj%)}(hmsgh]hmsg}(hj-XhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\Wubj)}(hstruct kvec *vech](h)}(hjh]hstruct}(hjFXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBXubj)}(h h]h }(hjSXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBXubh)}(hhh]j%)}(hkvech]hkvec}(hjdXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfXmodnameN classnameNjj!)}j$]jWc.kernel_recvmsgasbuh1hhjBXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBXubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBXubj%)}(hvech]hvec}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\Wubj)}(h size_t numh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]jWc.kernel_recvmsgasbuh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(hnumh]hnum}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\Wubj)}(h size_t sizeh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]jWc.kernel_recvmsgasbuh1hhjXubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(hsizeh]hsize}(hj-YhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\Wubj)}(h int flagsh](j)}(hinth]hint}(hjFYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBYubj)}(h h]h }(hjTYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBYubj%)}(hflagsh]hflags}(hjbYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\Wubeh}(h]h ]h"]h$]h&]j<j=uh1jhj#Whhhj5WhMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhj5WhMQubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5WhMQhjWhhubjS)}(hhh]jX)}(h.Receive a message from a socket (kernel space)h]h.Receive a message from a socket (kernel space)}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMQhjYhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhj5WhMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhj[hNhNubj})}(hX`**Parameters** ``struct socket *sock`` The socket to receive the message from ``struct msghdr *msg`` Received message ``struct kvec *vec`` Input s/g array for message data ``size_t num`` Size of input s/g array ``size_t size`` Number of bytes to read ``int flags`` Message flags (MSG_DONTWAIT, etc...) **Description** On return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array. The returned value is the total number of bytes received, or an error.h](jX)}(h**Parameters**h]j)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMUhjYubj)}(hhh](j)}(h?``struct socket *sock`` The socket to receive the message from h](j)}(h``struct socket *sock``h]j)}(hjYh]hstruct socket *sock}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMRhjYubj)}(hhh]jX)}(h&The socket to receive the message fromh]h&The socket to receive the message from}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMRhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMRhjYubj)}(h(``struct msghdr *msg`` Received message h](j)}(h``struct msghdr *msg``h]j)}(hjZh]hstruct msghdr *msg}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMShjZubj)}(hhh]jX)}(hReceived messageh]hReceived message}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMShjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMShjYubj)}(h6``struct kvec *vec`` Input s/g array for message data h](j)}(h``struct kvec *vec``h]j)}(hj?Zh]hstruct kvec *vec}(hjAZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=Zubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMThj9Zubj)}(hhh]jX)}(h Input s/g array for message datah]h Input s/g array for message data}(hjXZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjTZhMThjUZubah}(h]h ]h"]h$]h&]uh1jhj9Zubeh}(h]h ]h"]h$]h&]uh1jhjTZhMThjYubj)}(h'``size_t num`` Size of input s/g array h](j)}(h``size_t num``h]j)}(hjxZh]h size_t num}(hjzZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvZubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMUhjrZubj)}(hhh]jX)}(hSize of input s/g arrayh]hSize of input s/g array}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMUhjZubah}(h]h ]h"]h$]h&]uh1jhjrZubeh}(h]h ]h"]h$]h&]uh1jhjZhMUhjYubj)}(h(``size_t size`` Number of bytes to read h](j)}(h``size_t size``h]j)}(hjZh]h size_t size}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMVhjZubj)}(hhh]jX)}(hNumber of bytes to readh]hNumber of bytes to read}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMVhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMVhjYubj)}(h3``int flags`` Message flags (MSG_DONTWAIT, etc...) h](j)}(h ``int flags``h]j)}(hjZh]h int flags}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMWhjZubj)}(hhh]jX)}(h$Message flags (MSG_DONTWAIT, etc...)h]h$Message flags (MSG_DONTWAIT, etc...)}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMWhj[ubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMWhjYubeh}(h]h ]h"]h$]h&]uh1jhjYubjX)}(h**Description**h]j)}(hj%[h]h Description}(hj'[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#[ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMYhjYubj )}(hOn return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array. The returned value is the total number of bytes received, or an error.h](jX)}(hOn return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array.h]hOn return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array.}(hj?[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMXhj;[ubjX)}(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.}(hjN[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM\hj;[ubeh}(h]h ]h"]h$]h&]uh1j hjM[hMXhjYubeh}(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}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMfubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhj[hMfubj)}(hsock_create_liteh]j%)}(hsock_create_liteh]hsock_create_lite}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[hhhj[hMfubj)}(h9(int family, int type, int protocol, struct socket **res)h](j)}(h int familyh](j)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj%)}(hfamilyh]hfamily}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubj)}(hint typeh](j)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj%)}(htypeh]htype}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubj)}(h int protocolh](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%)}(hprotocolh]hprotocol}(hjF\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubj)}(hstruct socket **resh](h)}(hjh]hstruct}(hj_\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[\ubj)}(h h]h }(hjl\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[\ubh)}(hhh]j%)}(hsocketh]hsocket}(hj}\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjz\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\modnameN classnameNjj!)}j$]j')}jj[sbc.sock_create_liteasbuh1hhj[\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%)}(hresh]hres}(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[hMfubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{[hhhj[hMfubah}(h]jv[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[hMfhjx[hhubjS)}(hhh]jX)}(hcreates a socketh]hcreates a socket}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMfhj\hhubah}(h]h ]h"]h$]h&]uh1jRhjx[hhhj[hMfubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]jxj]jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``int family`` protocol family (AF_INET, ...) ``int type`` communication type (SOCK_STREAM, ...) ``int protocol`` protocol (0, ...) ``struct socket **res`` new socket **Description** Creates a new socket and assigns it to **res**, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure **res** is set to ``NULL``. This function internally uses GFP_KERNEL.h](jX)}(h**Parameters**h]j)}(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.chMjhj ]ubj)}(hhh](j)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hj0]h]h int family}(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.chMghj*]ubj)}(hhh]jX)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hjI]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjE]hMghjF]ubah}(h]h ]h"]h$]h&]uh1jhj*]ubeh}(h]h ]h"]h$]h&]uh1jhjE]hMghj']ubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hji]h]hint type}(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.chMhhjc]ubj)}(hhh]jX)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~]hMhhj]ubah}(h]h ]h"]h$]h&]uh1jhjc]ubeh}(h]h ]h"]h$]h&]uh1jhj~]hMhhj']ubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hj]h]h int protocol}(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.chMihj]ubj)}(hhh]jX)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMihj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMihj']ubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hj]h]hstruct socket **res}(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.chMjhj]ubj)}(hhh]jX)}(h new socketh]h new socket}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMjhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMjhj']ubeh}(h]h ]h"]h$]h&]uh1jhj ]ubjX)}(h**Description**h]j)}(hj^h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMlhj ]ubj )}(hCreates a new socket and assigns it to **res**, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure **res** is set to ``NULL``. This function internally uses GFP_KERNEL.h]jX)}(hCreates a new socket and assigns it to **res**, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure **res** is set to ``NULL``. This function internally uses GFP_KERNEL.h](h'Creates a new socket and assigns it to }(hj0^hhhNhNubj)}(h**res**h]hres}(hj8^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0^ubh}, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure }(hj0^hhhNhNubj)}(h**res**h]hres}(hjJ^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0^ubh is set to }(hj0^hhhNhNubj)}(h``NULL``h]hNULL}(hj\^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0^ubh+. This function internally uses GFP_KERNEL.}(hj0^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMkhj,^ubah}(h]h ]h"]h$]h&]uh1j hjt^hMkhj ]ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__sock_create (C function)c.__sock_createhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hfint __sock_create (struct net *net, int family, int type, int protocol, struct socket **res, int kern)h]h)}(heint __sock_create(struct net *net, int family, int type, int protocol, struct socket **res, int kern)h](j)}(hinth]hint}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhj^hMubj)}(h __sock_createh]j%)}(h __sock_createh]h __sock_create}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhj^hMubj)}(hT(struct net *net, int family, int type, int protocol, struct socket **res, int kern)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubh)}(hhh]j%)}(hneth]hnet}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j')}jj^sbc.__sock_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%)}(hneth]hnet}(hj1_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(h int familyh](j)}(hinth]hint}(hjJ_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjF_ubj)}(h h]h }(hjX_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjF_ubj%)}(hfamilyh]hfamily}(hjf_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjF_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(hint typeh](j)}(hinth]hint}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{_ubj%)}(htypeh]htype}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(h int protocolh](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%)}(hprotocolh]hprotocol}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(hstruct socket **resh](h)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(hsocketh]hsocket}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj `modnameN classnameNjj!)}j$]j_c.__sock_createasbuh1hhj_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;)}(hj>h]h*}(hj@`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hresh]hres}(hjM`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(hint kernh](j)}(hinth]hint}(hjf`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb`ubj)}(h h]h }(hjt`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb`ubj%)}(hkernh]hkern}(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^hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^hhhj^hMubah}(h]j^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj^hMhj^hhubjS)}(hhh]jX)}(hcreates a socketh]hcreates a socket}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj`hhubah}(h]h ]h"]h$]h&]uh1jRhj^hhhj^hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`jxj`jyjzj{uh1hhhhj[hNhNubj})}(hX.**Parameters** ``struct net *net`` net namespace ``int family`` protocol family (AF_INET, ...) ``int type`` communication type (SOCK_STREAM, ...) ``int protocol`` protocol (0, ...) ``struct socket **res`` new socket ``int kern`` boolean for kernel space sockets **Description** Creates a new socket and assigns it to **res**, passing through LSM. Returns 0 or an error. On failure **res** is set to ``NULL``. **kern** must be set to true if the socket resides in kernel space. This function internally uses GFP_KERNEL.h](jX)}(h**Parameters**h]j)}(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 net *net`` 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&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj`ubj)}(hhh]jX)}(h net namespaceh]h net namespace}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhjahMhj`ubj)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hj&ah]h int family}(hj(ahhhNhNubah}(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)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hj?ahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;ahMhjh]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hresh]hres}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubeh}(h]h ]h"]h$]h&]j<j=uh1jhjbhhhjbhMsubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjbhMsubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhMshjbhhubjS)}(hhh]jX)}(hcreates a socketh]hcreates a socket}(hjHdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMshjEdhhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhjbhMsubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`djxj`djyjzj{uh1hhhhj[hNhNubj})}(hX@**Parameters** ``int family`` protocol family (AF_INET, ...) ``int type`` communication type (SOCK_STREAM, ...) ``int protocol`` protocol (0, ...) ``struct socket **res`` new socket **Description** A wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h](jX)}(h**Parameters**h]j)}(hjjdh]h Parameters}(hjldhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhdubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMwhjddubj)}(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&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMthjdubj)}(hhh]jX)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMthjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMthjdubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjdh]hint type}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMuhjdubj)}(hhh]jX)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMuhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMuhjdubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hjdh]h int protocol}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMvhjdubj)}(hhh]jX)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMvhjeubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjehMvhjdubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hj4eh]hstruct socket **res}(hj6ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2eubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMwhj.eubj)}(hhh]jX)}(h new socketh]h new socket}(hjMehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIehMwhjJeubah}(h]h ]h"]h$]h&]uh1jhj.eubeh}(h]h ]h"]h$]h&]uh1jhjIehMwhjdubeh}(h]h ]h"]h$]h&]uh1jhjddubjX)}(h**Description**h]j)}(hjoeh]h Description}(hjqehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmeubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMyhjddubj )}(hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h]jX)}(hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h]hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMxhjeubah}(h]h ]h"]h$]h&]uh1j hjehMxhjddubeh}(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}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjehMubj)}(hsock_create_kernh]j%)}(hsock_create_kernh]hsock_create_kern}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhjehMubj)}(hJ(struct net *net, int family, int type, int protocol, struct socket **res)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjeubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubh)}(hhh]j%)}(hneth]hnet}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}jjesbc.sock_create_kernasbuh1hhjeubj)}(h h]h }(hj9fhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjGfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hneth]hnet}(hjTfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(h int familyh](j)}(hinth]hint}(hjmfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjifubj)}(h h]h }(hj{fhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjifubj%)}(hfamilyh]hfamily}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjifubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(hint typeh](j)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj%)}(htypeh]htype}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(h int protocolh](j)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj%)}(hprotocolh]hprotocol}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(hstruct socket **resh](h)}(hjh]hstruct}(hj ghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(hhh]j%)}(hsocketh]hsocket}(hj*ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'gubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,gmodnameN classnameNjj!)}j$]j5fc.sock_create_kernasbuh1hhjgubj)}(h h]h }(hjHghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hj>h]h*}(hjVghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj;)}(hj>h]h*}(hjcghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hresh]hres}(hjpghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubeh}(h]h ]h"]h$]h&]j<j=uh1jhjehhhjehMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhjehMubah}(h]jeah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjehMhjehhubjS)}(hhh]jX)}(hcreates a socket (kernel space)h]hcreates a socket (kernel space)}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjghhubah}(h]h ]h"]h$]h&]uh1jRhjehhhjehMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjgjxjgjyjzj{uh1hhhhj[hNhNubj})}(hXe**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 **Description** A wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h](jX)}(h**Parameters**h]j)}(hjgh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjgubj)}(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)}(hjhh]h int family}(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)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hj-hhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hhMhj*hubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhj)hhMhjgubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjMhh]hint type}(hjOhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKhubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjGhubj)}(hhh]jX)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hjfhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhhMhjchubah}(h]h ]h"]h$]h&]uh1jhjGhubeh}(h]h ]h"]h$]h&]uh1jhjbhhMhjgubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hjhh]h int protocol}(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)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjgubj)}(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.chMhjhubj)}(hhh]jX)}(h new socketh]h new socket}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjgubeh}(h]h ]h"]h$]h&]uh1jhjgubjX)}(h**Description**h]j)}(hjhh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjgubj )}(hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h]jX)}(hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h]hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjiubah}(h]h ]h"]h$]h&]uh1j hj"ihMhjgubeh}(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}(hjIihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEihhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hjXihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEihhhjWihM ubj)}(h sock_registerh]j%)}(h sock_registerh]h sock_register}(hjjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEihhhjWihM ubj)}(h$(const struct net_proto_family *ops)h]j)}(h"const struct net_proto_family *opsh](h)}(hjh]hconst}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(hnet_proto_familyh]hnet_proto_family}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j')}jjlisbc.sock_registerasbuh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hopsh]hops}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~iubah}(h]h ]h"]h$]h&]j<j=uh1jhjEihhhjWihM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAihhhjWihM ubah}(h]jihhubjS)}(hhh]jX)}(hadd a socket protocol handlerh]hadd a socket protocol handler}(hj$jhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj!jhhubah}(h]h ]h"]h$]h&]uh1jRhj>ihhhjWihM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjfamily corresponds to the socket system call protocol family.h](jX)}(h**Parameters**h]j)}(hjFjh]h Parameters}(hjHjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDjubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj@jubj)}(hhh]j)}(h?``const struct net_proto_family *ops`` description of protocol h](j)}(h&``const struct net_proto_family *ops``h]j)}(hjejh]h"const struct net_proto_family *ops}(hjgjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcjubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj_jubj)}(hhh]jX)}(hdescription of protocolh]hdescription of protocol}(hj~jhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzjhM hj{jubah}(h]h ]h"]h$]h&]uh1jhj_jubeh}(h]h ]h"]h$]h&]uh1jhjzjhM hj\jubah}(h]h ]h"]h$]h&]uh1jhj@jubjX)}(h**Description**h]j)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj@jubj )}(hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.h]jX)}(hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.h]hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjjubah}(h]h ]h"]h$]h&]uh1j hjjhM hj@jubeh}(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}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhjjhM ubj)}(hsock_unregisterh]j%)}(hsock_unregisterh]hsock_unregister}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj kubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjhhhjjhM ubj)}(h (int family)h]j)}(h int familyh](j)}(hinth]hint}(hj,khhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(kubj)}(h h]h }(hj:khhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(kubj%)}(hfamilyh]hfamily}(hjHkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(kubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$kubah}(h]h ]h"]h$]h&]j<j=uh1jhjjhhhjjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjjhhhjjhM ubah}(h]jjah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhM hjjhhubjS)}(hhh]jX)}(hremove a protocol handlerh]hremove a protocol handler}(hjrkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjokhhubah}(h]h ]h"]h$]h&]uh1jRhjjhhhjjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjkjxjkjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``int family`` protocol family to remove **Description** This function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation. If protocol handler is a module, then it can use module reference counts to protect against new references. If protocol handler is not a module then it needs to provide its own protection in the ops->create routine.h](jX)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjkubj)}(hhh]j)}(h)``int family`` protocol family to remove 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.chM hjkubj)}(hhh]jX)}(hprotocol family to removeh]hprotocol family to remove}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhM hjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhM hjkubah}(h]h ]h"]h$]h&]uh1jhjkubjX)}(h**Description**h]j)}(hjkh]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjkubj )}(hXbThis function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation. If protocol handler is a module, then it can use module reference counts to protect against new references. If protocol handler is not a module then it needs to provide its own protection in the ops->create routine.h](jX)}(hThis function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation.h]hThis function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjlubjX)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjlubeh}(h]h ]h"]h$]h&]uh1j hjlhM hjkubeh}(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)}(hQint kernel_bind (struct socket *sock, struct sockaddr_unsized *addr, int addrlen)h]h)}(hPint kernel_bind(struct socket *sock, struct sockaddr_unsized *addr, int addrlen)h](j)}(hinth]hint}(hjLlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHlhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hj[lhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHlhhhjZlhM ubj)}(h kernel_bindh]j%)}(h kernel_bindh]h kernel_bind}(hjmlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjilubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHlhhhjZlhM ubj)}(hA(struct socket *sock, struct sockaddr_unsized *addr, int addrlen)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hhh]j%)}(hsocketh]hsocket}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j')}jjolsb c.kernel_bindasbuh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hsockh]hsock}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(hstruct sockaddr_unsized *addrh](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hhh]j%)}(hsockaddr_unsizedh]hsockaddr_unsized}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]jl c.kernel_bindasbuh1hhjlubj)}(h h]h }(hj7mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjEmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(haddrh]haddr}(hjRmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(h int addrlenh](j)}(hinth]hint}(hjkmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgmubj)}(h h]h }(hjymhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgmubj%)}(haddrlenh]haddrlen}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubeh}(h]h ]h"]h$]h&]j<j=uh1jhjHlhhhjZlhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDlhhhjZlhM ubah}(h]j?lah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZlhM hjAlhhubjS)}(hhh]jX)}(h*bind an address to a socket (kernel space)h]h*bind an address to a socket (kernel space)}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjmhhubah}(h]h ]h"]h$]h&]uh1jRhjAlhhhjZlhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmjxjmjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``struct sockaddr_unsized *addr`` address ``int addrlen`` length of address **Description** Returns 0 or an error.h](jX)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjmubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjmh]hstruct socket *sock}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjmubj)}(hhh]jX)}(hsocketh]hsocket}(hj nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhM hjnubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjnhM hjmubj)}(h*``struct sockaddr_unsized *addr`` address h](j)}(h!``struct sockaddr_unsized *addr``h]j)}(hj+nh]hstruct sockaddr_unsized *addr}(hj-nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)nubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj%nubj)}(hhh]jX)}(haddressh]haddress}(hjDnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@nhM hjAnubah}(h]h ]h"]h$]h&]uh1jzhj%nubeh}(h]h ]h"]h$]h&]uh1jhj@nhM hjmubj)}(h"``int addrlen`` length of address h](j)}(h``int addrlen``h]j)}(hjdnh]h int addrlen}(hjfnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbnubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj^nubj)}(hhh]jX)}(hlength of addressh]hlength of address}(hj}nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjynhM hjznubah}(h]h ]h"]h$]h&]uh1jhj^nubeh}(h]h ]h"]h$]h&]uh1jhjynhM hjmubeh}(h]h ]h"]h$]h&]uh1jhjmubjX)}(h**Description**h]j)}(hjnh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjmubj )}(hReturns 0 or an error.h]jX)}(hjnh]hReturns 0 or an error.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjnubah}(h]h ]h"]h$]h&]uh1j hjnhM hjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhjnhM ubj)}(h kernel_listenh]j%)}(h kernel_listenh]h kernel_listen}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj oubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjnhhhjnhM ubj)}(h"(struct socket *sock, int backlog)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj*ohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&oubj)}(h h]h }(hj7ohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&oubh)}(hhh]j%)}(hsocketh]hsocket}(hjHohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJomodnameN classnameNjj!)}j$]j')}jjosbc.kernel_listenasbuh1hhj&oubj)}(h h]h }(hjhohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&oubj;)}(hj>h]h*}(hjvohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&oubj%)}(hsockh]hsock}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&oubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"oubj)}(h int backlogh](j)}(hinth]hint}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj%)}(hbacklogh]hbacklog}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"oubeh}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjnhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjnhM ubah}(h]jnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhM hjnhhubjS)}(hhh]jX)}(h-move socket to listening state (kernel space)h]h-move socket to listening state (kernel space)}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjohhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjnhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``int backlog`` pending connections queue size **Description** Returns 0 or an error.h](jX)}(h**Parameters**h]j)}(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.chM hjoubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj#ph]hstruct socket *sock}(hj%phhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!pubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjpubj)}(hhh]jX)}(hsocketh]hsocket}(hjh]h*}(hjnqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(hsockh]hsock}(hj{qhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubj)}(hstruct socket **newsockh](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(hhh]j%)}(hsocketh]hsocket}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j\qc.kernel_acceptasbuh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj;)}(hj>h]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj;)}(hj>h]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(hnewsockh]hnewsock}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubj)}(h int flagsh](j)}(hinth]hint}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj rubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj rubj%)}(hflagsh]hflags}(hj-rhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubeh}(h]h ]h"]h$]h&]j<j=uh1jhjphhhjphM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjphM ubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphM hjphhubjS)}(hhh]jX)}(h"accept a connection (kernel space)h]h"accept a connection (kernel space)}(hjWrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjTrhhubah}(h]h ]h"]h$]h&]uh1jRhjphhhjphM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjorjxjorjyjzj{uh1hhhhj[hNhNubj})}(hX(**Parameters** ``struct socket *sock`` listening socket ``struct socket **newsock`` new connected socket ``int flags`` flags **Description** **flags** must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, **newsock** is guaranteed to be ``NULL``. Returns 0 or an error.h](jX)}(h**Parameters**h]j)}(hjyrh]h Parameters}(hj{rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwrubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjsrubj)}(hhh](j)}(h)``struct socket *sock`` listening socket h](j)}(h``struct socket *sock``h]j)}(hjrh]hstruct socket *sock}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjrubj)}(hhh]jX)}(hlistening socketh]hlistening socket}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhM hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM hjrubj)}(h1``struct socket **newsock`` new connected socket h](j)}(h``struct socket **newsock``h]j)}(hjrh]hstruct socket **newsock}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjrubj)}(hhh]jX)}(hnew connected socketh]hnew connected socket}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhM hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM hjrubj)}(h``int flags`` flags h](j)}(h ``int flags``h]j)}(hj sh]h int flags}(hj shhhNhNubah}(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)}(hflagsh]hflags}(hj#shhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshM hj subah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshM hjrubeh}(h]h ]h"]h$]h&]uh1jhjsrubjX)}(h**Description**h]j)}(hjEsh]h Description}(hjGshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCsubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjsrubj )}(h**flags** must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, **newsock** is guaranteed to be ``NULL``. Returns 0 or an error.h]jX)}(h**flags** must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, **newsock** is guaranteed to be ``NULL``. Returns 0 or an error.h](j)}(h **flags**h]hflags}(hjcshhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_subh8 must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, }(hj_shhhNhNubj)}(h **newsock**h]hnewsock}(hjushhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_subh is guaranteed to be }(hj_shhhNhNubj)}(h``NULL``h]hNULL}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_subh. Returns 0 or an error.}(hj_shhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj[subah}(h]h ]h"]h$]h&]uh1j hjshM hjsrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_connect (C function)c.kernel_connecthNtauh1hhj[hhhNhNubh)}(hhh](h)}(h_int kernel_connect (struct socket *sock, struct sockaddr_unsized *addr, int addrlen, int flags)h]h)}(h^int kernel_connect(struct socket *sock, struct sockaddr_unsized *addr, int addrlen, int flags)h](j)}(hinth]hint}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhhjshMubj)}(hkernel_connecth]j%)}(hkernel_connecth]hkernel_connect}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjshhhjshMubj)}(hL(struct socket *sock, struct sockaddr_unsized *addr, int addrlen, int flags)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hhh]j%)}(hsocketh]hsocket}(hj!thhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#tmodnameN classnameNjj!)}j$]j')}jjssbc.kernel_connectasbuh1hhjsubj)}(h h]h }(hjAthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjOthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hsockh]hsock}(hj\thhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(hstruct sockaddr_unsized *addrh](h)}(hjh]hstruct}(hjuthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqtubh)}(hhh]j%)}(hsockaddr_unsizedh]hsockaddr_unsized}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]j=tc.kernel_connectasbuh1hhjqtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqtubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqtubj%)}(haddrh]haddr}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(h int addrlenh](j)}(hinth]hint}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj%)}(haddrlenh]haddrlen}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(h int flagsh](j)}(hinth]hint}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj)}(h h]h }(hj(uhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj%)}(hflagsh]hflags}(hj6uhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubeh}(h]h ]h"]h$]h&]j<j=uh1jhjshhhjshMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjshhhjshMubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjshMhjshhubjS)}(hhh]jX)}(hconnect a socket (kernel space)h]hconnect a socket (kernel space)}(hj`uhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj]uhhubah}(h]h ]h"]h$]h&]uh1jRhjshhhjshMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxujxjxujyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct socket *sock`` socket ``struct sockaddr_unsized *addr`` address ``int addrlen`` address length ``int flags`` flags (O_NONBLOCK, ...) **Description** For datagram sockets, **addr** is the address to which datagrams are sent by default, and the only address from which datagrams are received. For stream sockets, attempts to connect to **addr**. Returns 0 or an error code.h](jX)}(h**Parameters**h]j)}(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#hj|uubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjuh]hstruct socket *sock}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjuubj)}(hhh]jX)}(hsocketh]hsocket}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhM hjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhM hjuubj)}(h*``struct sockaddr_unsized *addr`` address h](j)}(h!``struct sockaddr_unsized *addr``h]j)}(hjuh]hstruct sockaddr_unsized *addr}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM!hjuubj)}(hhh]jX)}(haddressh]haddress}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhM!hjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhM!hjuubj)}(h``int addrlen`` address length h](j)}(h``int addrlen``h]j)}(hjvh]h int addrlen}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM"hj vubj)}(hhh]jX)}(haddress lengthh]haddress length}(hj,vhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(vhM"hj)vubah}(h]h ]h"]h$]h&]uh1jhj vubeh}(h]h ]h"]h$]h&]uh1jhj(vhM"hjuubj)}(h&``int flags`` flags (O_NONBLOCK, ...) h](j)}(h ``int flags``h]j)}(hjLvh]h int flags}(hjNvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJvubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM#hjFvubj)}(hhh]jX)}(hflags (O_NONBLOCK, ...)h]hflags (O_NONBLOCK, ...)}(hjevhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjavhM#hjbvubah}(h]h ]h"]h$]h&]uh1jhjFvubeh}(h]h ]h"]h$]h&]uh1jhjavhM#hjuubeh}(h]h ]h"]h$]h&]uh1jhj|uubjX)}(h**Description**h]j)}(hjvh]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM%hj|uubj )}(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]jX)}(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, }(hjvhhhNhNubj)}(h**addr**h]haddr}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh 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 }(hjvhhhNhNubj)}(h**addr**h]haddr}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh. Returns 0 or an error code.}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM$hjvubah}(h]h ]h"]h$]h&]uh1j hjvhM$hj|uubeh}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM8ubj)}(h h]h }(hj whhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhjwhM8ubj)}(hkernel_getsocknameh]j%)}(hkernel_getsocknameh]hkernel_getsockname}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvhhhjwhM8ubj)}(h,(struct socket *sock, struct sockaddr *addr)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj7whhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3wubj)}(h h]h }(hjDwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3wubh)}(hhh]j%)}(hsocketh]hsocket}(hjUwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWwmodnameN classnameNjj!)}j$]j')}jjwsbc.kernel_getsocknameasbuh1hhj3wubj)}(h h]h }(hjuwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3wubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3wubj%)}(hsockh]hsock}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3wubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/wubj)}(hstruct sockaddr *addrh](h)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]jqwc.kernel_getsocknameasbuh1hhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(haddrh]haddr}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/wubeh}(h]h ]h"]h$]h&]j<j=uh1jhjvhhhjwhM8ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvhhhjwhM8ubah}(h]jvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwhM8hjvhhubjS)}(hhh]jX)}(h8get the address which the socket is bound (kernel space)h]h8get the address which the socket is bound (kernel space)}(hj*xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM8hj'xhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhjwhM8ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjBxjxjBxjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``struct sockaddr *addr`` address holder **Description** Fills the **addr** pointer with the address which the socket is bound. Returns the length of the address in bytes or an error code.h](jX)}(h**Parameters**h]j)}(hjLxh]h Parameters}(hjNxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJxubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM<hjFxubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjkxh]hstruct socket *sock}(hjmxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjixubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM9hjexubj)}(hhh]jX)}(hsocketh]hsocket}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhM9hjxubah}(h]h ]h"]h$]h&]uh1jhjexubeh}(h]h ]h"]h$]h&]uh1jhjxhM9hjbxubj)}(h)``struct sockaddr *addr`` address holder h](j)}(h``struct sockaddr *addr``h]j)}(hjxh]hstruct sockaddr *addr}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM:hjxubj)}(hhh]jX)}(haddress holderh]haddress holder}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhM:hjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhM:hjbxubeh}(h]h ]h"]h$]h&]uh1jhjFxubjX)}(h**Description**h]j)}(hjxh]h Description}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM<hjFxubj )}(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]jX)}(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 }(hjxhhhNhNubj)}(h**addr**h]haddr}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubhq pointer with the address which the socket is bound. Returns the length of the address in bytes or an error code.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM;hjxubah}(h]h ]h"]h$]h&]uh1j hjyhM;hjFxubeh}(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@yhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyyubj%)}(hsockh]hsock}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuyubj)}(hstruct sockaddr *addrh](h)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hj zhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj zubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]jyc.kernel_getpeernameasbuh1hhjyubj)}(h h]h }(hj+zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hj9zhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(haddrh]haddr}(hjFzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuyubeh}(h]h ]h"]h$]h&]j<j=uh1jhjh]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)}(henum sock_shutdown_cmd howh](h)}(hhh]henum}(hj5|hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1|ubj)}(h h]h }(hjB|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1|ubh)}(hhh]j%)}(hsock_shutdown_cmdh]hsock_shutdown_cmd}(hjS|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjP|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjU|modnameN classnameNjj!)}j$]j{c.kernel_sock_shutdownasbuh1hhj1|ubj)}(h h]h }(hjq|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1|ubj%)}(hhowh]hhow}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj{hhhj{hMVubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~{hhhj{hMVubah}(h]jy{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{hMVhj{{hhubjS)}(hhh]jX)}(h9shut down part of a full-duplex connection (kernel space)h]h9shut down part of a full-duplex connection (kernel space)}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMVhj|hhubah}(h]h ]h"]h$]h&]uh1jRhj{{hhhj{hMVubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|jxj|jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``enum sock_shutdown_cmd how`` connection part **Description** Returns 0 or an error.h](jX)}(h**Parameters**h]j)}(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.chMZhj|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.chMWhj|ubj)}(hhh]jX)}(hsocketh]hsocket}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMWhj}ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMWhj|ubj)}(h/``enum sock_shutdown_cmd how`` connection part h](j)}(h``enum sock_shutdown_cmd how``h]j)}(hj#}h]henum sock_shutdown_cmd how}(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.chMXhj}ubj)}(hhh]jX)}(hconnection parth]hconnection part}(hj<}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8}hMXhj9}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj8}hMXhj|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&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMZhj|ubj )}(hReturns 0 or an error.h]jX)}(hjv}h]hReturns 0 or an error.}(hjx}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMYhjt}ubah}(h]h ]h"]h$]h&]uh1j hj}hMYhj|ubeh}(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}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j')}jkernel_sock_ip_overheadsbc.kernel_sock_ip_overheadasbuh1hhj}hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMdubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhj}hMdubj)}(hkernel_sock_ip_overheadh]j%)}(hj}h]hkernel_sock_ip_overhead}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhj}hMdubj)}(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.kernel_sock_ip_overheadasbuh1hhj}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%)}(hskh]hsk}(hjU~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]j}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}hMdhj}hhubjS)}(hhh]jX)}(h+returns the IP overhead imposed by a socketh]h+returns the IP overhead imposed by a socket}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMdhj|~hhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhj}hMdubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~jxj~jyjzj{uh1hhhhj[hNhNubj})}(hXV**Parameters** ``struct sock *sk`` socket **Description** This routine returns the IP overhead imposed by a socket i.e. the length of the underlying IP header, depending on whether this is an IPv4 or IPv6 socket and the length from IP options turned on at the socket. Assumes that the caller has a lock on the socket.h](jX)}(h**Parameters**h]j)}(hj~h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhhj~ubj)}(hhh]j)}(h``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&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMehj~ubj)}(hhh]jX)}(hsocketh]hsocket}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMehj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMehj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubjX)}(h**Description**h]j)}(hj~h]h Description}(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.chMghj~ubj )}(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]jX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMfhjubah}(h]h ]h"]h$]h&]uh1j hj#hMfhj~ubeh}(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}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjXhKubj)}(hdrop_reasons_register_subsysh]j%)}(hdrop_reasons_register_subsysh]hdrop_reasons_register_subsys}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjFhhhjXhKubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hskb_drop_reason_subsysh]hskb_drop_reason_subsys}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjmsbc.drop_reasons_register_subsysasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsubsysh]hsubsys}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h#const struct drop_reason_list *listh](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%)}(hdrop_reason_listh]hdrop_reason_list}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]jc.drop_reasons_register_subsysasbuh1hhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlisth]hlist}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjFhhhjXhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjBhhhjXhKubah}(h]j=ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjXhKhj?hhubjS)}(hhh]jX)}(h®ister another drop reason subsystemh]h®ister another drop reason subsystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhj?hhhjXhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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.chKhjubj)}(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)}(hjɀh]h"enum skb_drop_reason_subsys subsys}(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.chKhjÀubj)}(hhh]jX)}(h/the subsystem to register, must not be the coreh]h/the subsystem to register, must not be the core}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjހhKhj߀ubah}(h]h ]h"]h$]h&]uh1jhjÀubeh}(h]h ]h"]h$]h&]uh1jhjހhKhjubj)}(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)}(hjh]h#const struct drop_reason_list *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.chKhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjihKubj)}(hdrop_reasons_unregister_subsysh]j%)}(hdrop_reasons_unregister_subsysh]hdrop_reasons_unregister_subsys}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjihKubj)}(h$(enum skb_drop_reason_subsys subsys)h]j)}(h"enum skb_drop_reason_subsys subsysh](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_reason_subsysh]hskb_drop_reason_subsys}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj~sb c.drop_reasons_unregister_subsysasbuh1hhjubj)}(h h]h }(hjցhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsubsysh]hsubsys}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjWhhhjihKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjShhhjihKubah}(h]jNah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjihKhjPhhubjS)}(hhh]jX)}(h"unregister a drop reason subsystemh]h"unregister a drop reason subsystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhj hhubah}(h]h ]h"]h$]h&]uh1jRhjPhhhjihKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{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)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhj*ubj)}(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)}(hjOh]h"enum skb_drop_reason_subsys subsys}(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.chKhjIubj)}(hhh]jX)}(h-the subsystem to remove, must not be the coreh]h-the subsystem to remove, must not be the core}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhKhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhKhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubjX)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhj*ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhj*ubeh}(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}(hj҂hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjςubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjԂmodnameN classnameNjj!)}j$]j')}jnapi_skb_cache_get_bulksbc.napi_skb_cache_get_bulkasbuh1hhj˂hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM7ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj˂hhhjhM7ubj)}(hnapi_skb_cache_get_bulkh]j%)}(hjh]hnapi_skb_cache_get_bulk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj˂hhhjhM7ubj)}(h(void **skbs, u32 n)h](j)}(h void **skbsh](j)}(hvoidh]hvoid}(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;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbsh]hskbs}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu32 nh](h)}(hhh]j%)}(hu32h]hu32}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]jc.napi_skb_cache_get_bulkasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj˂hhhjhM7ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjǂhhhjhM7ubah}(h]j‚ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM7hjĂhhubjS)}(hhh]jX)}(h2obtain a number of zeroed skb heads from the cacheh]h2obtain a number of zeroed skb heads from the cache}(hjȃhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM7hjŃhhubah}(h]h ]h"]h$]h&]uh1jRhjĂhhhjhM7ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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)}(hS``void **skbs`` pointer to an at least **n**-sized array to fill with skb pointers h](j)}(h``void **skbs``h]j)}(hj h]h void **skbs}(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.chM8hjubj)}(hhh]jX)}(hBpointer to an at least **n**-sized array to fill with skb pointersh](hpointer to an at least }(hj"hhhNhNubj)}(h**n**h]hn}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh&-sized array to fill with skb pointers}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(h'``u32 n`` number of entries to provide h](j)}(h ``u32 n``h]j)}(hjTh]hu32 n}(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.chM9hjNubj)}(hhh]jX)}(hnumber of entries to provideh]hnumber of entries to provide}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihM9hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM9hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;hjubjX)}(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 }(hjhhhNhNubj)}(h**n**h]hn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh }(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:hjubhT entries from the NAPI percpu cache and writes the pointers into the provided array }(hjhhhNhNubj)}(h**skbs**h]hskbs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. 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 /}(hjhhhNhNubj)}(h``__GFP_ZERO``h]h __GFP_ZERO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhk, so they are ready for {,__}build_skb_around() and don’t have any data buffers attached. Must be called }(hjhhhNhNubhemphasis)}(h*only*h]honly}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh from the BH context.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjބhM:hjubjX)}(h **Return**h]j)}(hj#h]hReturn}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMBhjubjX)}(htnumber of successfully allocated skbs (**n** if no actual allocation needed or kmem_cache_alloc_bulk() didn't fail).h](h'number of successfully allocated skbs (}(hj9hhhNhNubj)}(h**n**h]hn}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubhJ if no actual allocation needed or kmem_cache_alloc_bulk() didn’t fail).}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMChjubeh}(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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhjhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jbuild_skb_aroundsbc.build_skb_aroundasbuh1hhjvhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhjhMubj;)}(hj>h]h*}(hjȅhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvhhhjhMubj)}(hbuild_skb_aroundh]j%)}(hjh]hbuild_skb_around}(hjمhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjՅubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvhhhjhMubj)}(h9(struct sk_buff *skb, void *data, unsigned int frag_size)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.build_skb_aroundasbuh1hhjubj)}(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)}(h void *datah](j)}(hvoidh]hvoid}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj;)}(hj>h]h*}(hjhhhNhNubah}(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=uh1jhjubj)}(hunsigned int frag_sizeh](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%)}(h frag_sizeh]h frag_size}(hjކhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjvhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrhhhjhMubah}(h]jmah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjohhubjS)}(hhh]jX)}(h*build a network buffer around provided skbh]h*build a network buffer around provided 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&]uh1jRhjohhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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)}(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)}(hJ``struct sk_buff *skb`` sk_buff provide by caller, must be memset cleared h](j)}(h``struct sk_buff *skb``h]j)}(hjIh]hstruct sk_buff *skb}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjCubj)}(hhh]jX)}(h1sk_buff provide by caller, must be memset clearedh]h1sk_buff provide by caller, must be memset cleared}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj@ubj)}(h.``void *data`` data buffer provided by caller 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:26: ./net/core/skbuff.chMhj|ubj)}(hhh]jX)}(hdata buffer provided by callerh]hdata buffer provided by caller}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj@ubj)}(h'``unsigned int frag_size`` size of datah](j)}(h``unsigned int frag_size``h]j)}(hjh]hunsigned int frag_size}(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 size of datah]h size of 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&]uh1jhjubeh}(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](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}(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}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j')}jnapi_build_skbsbc.napi_build_skbasbuh1hhjhhhj"hM#ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj"hM#ubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj"hM#ubj)}(hnapi_build_skbh]j%)}(hjRh]hnapi_build_skb}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj"hM#ubj)}(h$(void *data, unsigned int frag_size)h](j)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int frag_sizeh](j)}(hunsignedh]hunsigned}(hjшhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj͈ubj)}(h h]h }(hj߈hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj͈ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj͈ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj͈ubj%)}(h frag_sizeh]h frag_size}(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=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)}(hbuild a network bufferh]hbuild a network 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&]uh1jRhj hhhj"hM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{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)}(hjUh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'hjOubj)}(hhh](j)}(h.``void *data`` data buffer provided by caller h](j)}(h``void *data``h]j)}(hjth]h void *data}(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)}(hdata buffer provided by callerh]hdata buffer provided by caller}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjkubj)}(h(``unsigned int frag_size`` size of data h](j)}(h``unsigned int frag_size``h]j)}(hjh]hunsigned int frag_size}(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 size of datah]h size of 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%hjkubeh}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'hjOubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM&hjOubjX)}(hKReturns a new :c:type:`sk_buff` on success, ``NULL`` on allocation failure.h](hReturns a new }(hj hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM)hj ubh on success, }(hj hhhNhNubj)}(h``NULL``h]hNULL}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh on allocation failure.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj4hM)hjOubeh}(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}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhj~hMxubh)}(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 __alloc_skbsb c.__alloc_skbasbuh1hhjmhhhj~hMxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhj~hMxubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmhhhj~hMxubj)}(h __alloc_skbh]j%)}(hjh]h __alloc_skb}(hjЊhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj̊ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhj~hMxubj)}(h8(unsigned int size, gfp_t gfp_mask, int flags, int node)h](j)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsizeh]hsize}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j c.__alloc_skbasbuh1hhj8ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj%)}(hgfp_maskh]hgfp_mask}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(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)}(hint nodeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjNjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hnodeh]hnode}(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~hMxubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhj~hMxubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hMxhjfhhubjS)}(hhh]jX)}(hallocate a network bufferh]hallocate a network buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMxhjhhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhj~hMxubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``unsigned int size`` size to allocate ``gfp_t gfp_mask`` allocation mask ``int flags`` If SKB_ALLOC_FCLONE is set, allocate from fclone cache instead of head cache and allocate a cloned (child) skb. If SKB_ALLOC_RX is set, __GFP_MEMALLOC will be used for allocations in case the data is required for writeback ``int node`` numa node to allocate memory on **Description** Allocate a new :c:type:`sk_buff`. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is ``NULL``. Buffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](jX)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM|hjubj)}(hhh](j)}(h'``unsigned int size`` size to allocate h](j)}(h``unsigned int size``h]j)}(hj@h]hunsigned int size}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMyhj:ubj)}(hhh]jX)}(hsize to allocateh]hsize to allocate}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMyhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMyhj7ubj)}(h#``gfp_t gfp_mask`` allocation mask h](j)}(h``gfp_t gfp_mask``h]j)}(hjyh]hgfp_t gfp_mask}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMzhjsubj)}(hhh]jX)}(hallocation maskh]hallocation mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMzhj7ubj)}(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)}(hjh]h int flags}(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)}(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}(hjˌhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM{hjȌubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjnjhM~hj7ubj)}(h-``int node`` numa node to allocate memory on h](j)}(h ``int node``h]j)}(hjh]hint node}(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)}(hnuma node to allocate memory onh]hnuma node to allocate memory on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj7ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj'h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hX,Allocate a new :c:type:`sk_buff`. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is ``NULL``. Buffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](jX)}(hAllocate a new :c:type:`sk_buff`. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is ``NULL``.h](hAllocate a new }(hjAhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjKh]hsk_buff}(hjMhhhNhNubah}(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.chMhjAubh. 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 }(hjAhhhNhNubj)}(h``NULL``h]hNULL}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhhMhj=ubjX)}(hUBuffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](h6Buffers may only be allocated from interrupts using a }(hjhhhNhNubj)}(h **gfp_mask**h]hgfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh of }(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.chMhj=ubeh}(h]h ]h"]h$]h&]uh1j hjhhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netdev_alloc_skb (C function)c.__netdev_alloc_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h^struct sk_buff * __netdev_alloc_skb (struct net_device *dev, unsigned int len, gfp_t gfp_mask)h]h)}(h\struct sk_buff *__netdev_alloc_skb(struct net_device *dev, unsigned int len, gfp_t gfp_mask)h](h)}(hjh]hstruct}(hjލhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjڍhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjڍhhhjhMubh)}(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__netdev_alloc_skbsbc.__netdev_alloc_skbasbuh1hhjڍ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)}(h__netdev_alloc_skbh]j%)}(hjh]h__netdev_alloc_skb}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjڍhhhjhMubj)}(h:(struct net_device *dev, unsigned int len, gfp_t gfp_mask)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$]jc.__netdev_alloc_skbasbuh1hhjTubj)}(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)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjȎhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjĎubj)}(h h]h }(hj֎hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjĎubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjĎubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjĎubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjĎubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__netdev_alloc_skbasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hgfp_maskh]hgfp_mask}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubeh}(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.allocate an skbuff for rx on a specific deviceh]h.allocate an skbuff for rx on a specific device}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjohhubah}(h]h ]h"]h$]h&]uh1jRhjӍhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct net_device *dev`` network device to receive on ``unsigned int len`` length to allocate ``gfp_t gfp_mask`` get_free_pages mask, passed to alloc_skb **Description** Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h8``struct net_device *dev`` network device to receive on h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(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)}(hnetwork device to receive onh]hnetwork device to receive on}(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 len`` length to allocate 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 to allocateh]hlength to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h<``gfp_t gfp_mask`` get_free_pages mask, passed to alloc_skb h](j)}(h``gfp_t gfp_mask``h]j)}(hj%h]hgfp_t gfp_mask}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h(get_free_pages mask, passed to alloc_skbh]h(get_free_pages mask, passed to alloc_skb}(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)}(hj`h]h Description}(hjbhhhNhNubah}(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 )}(hX5Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory.h](jX)}(hXAllocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.h](hAllocate a new }(hjzhhhNhNubh)}(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.chMhjzubh 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.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjvubjX)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( is returned if there is no free memory.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjvubeh}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(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}(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$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jnapi_alloc_skbsbc.napi_alloc_skbasbuh1hhjhhhjhM$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)}(hnapi_alloc_skbh]j%)}(hj,h]hnapi_alloc_skb}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM$ubj)}(h,(struct napi_struct *napi, unsigned int len)h](j)}(hstruct napi_struct *napih](h)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjeubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubh)}(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*c.napi_alloc_skbasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjّhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjՑubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjՑubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjՑubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjՑubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjՑubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM$ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM$hjhhubjS)}(hhh]jX)}(h2allocate skbuff for rx in a specific NAPI instanceh]h2allocate skbuff for rx in a specific NAPI instance}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM$hj8hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct napi_struct *napi`` napi instance this buffer was allocated for ``unsigned int len`` length to allocate **Description** Allocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs. ``NULL`` is returned if there is no free memory.h](jX)}(h**Parameters**h]j)}(hj]h]h Parameters}(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(hjWubj)}(hhh](j)}(hI``struct napi_struct *napi`` napi instance this buffer was allocated for h](j)}(h``struct napi_struct *napi``h]j)}(hj|h]hstruct napi_struct *napi}(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.chM%hjvubj)}(hhh]jX)}(h+napi instance this buffer was allocated forh]h+napi instance this buffer was allocated for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjsubj)}(h(``unsigned int len`` length to allocate 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)}(hlength to allocateh]hlength to allocate}(hjΒhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjʒhM&hj˒ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʒhM&hjsubeh}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM(hjWubj )}(hX1Allocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs. ``NULL`` is returned if there is no free memory.h](jX)}(hAllocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs.h]hAllocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM,hjubeh}(h]h ]h"]h$]h&]uh1j hjhM'hjWubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__kfree_skb (C function) c.__kfree_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h&void __kfree_skb (struct sk_buff *skb)h]h)}(h%void __kfree_skb(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhjjhMubj)}(h __kfree_skbh]j%)}(h __kfree_skbh]h __kfree_skb}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXhhhjjhMubj)}(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.__kfree_skbasbuh1hhjubj)}(h h]h }(hjדhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjXhhhjjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjjhMubah}(h]jOah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhMhjQhhubjS)}(hhh]jX)}(hprivate functionh]hprivate function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhjjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer **Description** Free an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh](jX)}(h**Parameters**h]j)}(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.chMhj8ubj)}(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.chMhjWubj)}(hhh]jX)}(hbufferh]hbuffer}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj8ubj )}(hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh]jX)}(hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh]hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skb}(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 hjhMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_skb_reason_drop (C function)c.sk_skb_reason_drophNtauh1hhj[hhhNhNubh)}(hhh](h)}(hivoid __fix_address sk_skb_reason_drop (struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h]h)}(hhvoid __fix_address sk_skb_reason_drop(struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h](j)}(hvoidh]hvoid}(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 hjhhhjhMubh __fix_address}(hjhhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hsk_skb_reason_droph]j%)}(hsk_skb_reason_droph]hsk_skb_reason_drop}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hC(struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)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$]j')}jjsbc.sk_skb_reason_dropasbuh1hhj2ubj)}(h h]h }(hjthhhNhNubah}(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 *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$]jpc.sk_skb_reason_dropasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(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 }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hskb_drop_reasonh]hskb_drop_reason}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]jpc.sk_skb_reason_dropasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hreasonh]hreason}(hjbhhhNhNubah}(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=jDuh1hjEjFhjߔhhhjhMubah}(h]jڔah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjܔhhubjS)}(hhh]jX)}(h#free an sk_buff with special reasonh]h#free an sk_buff with special reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjܔhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sock *sk`` the socket to receive **skb**, or NULL if not applicable ``struct sk_buff *skb`` buffer to free ``enum skb_drop_reason reason`` reason why this skb is dropped **Description** Drop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to 'kfree_skb' tracepoint.h](jX)}(h**Parameters**h]j)}(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)}(hM``struct sock *sk`` the socket to receive **skb**, or NULL if not applicable 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:26: ./net/core/skbuff.chMhjǖubj)}(hhh]jX)}(h8the socket to receive **skb**, or NULL if not applicableh](hthe socket to receive }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, or NULL if not applicable}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjǖubeh}(h]h ]h"]h$]h&]uh1jhjhMhjĖubj)}(h'``struct sk_buff *skb`` buffer to free h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to freeh]hbuffer to free}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjĖubj)}(h?``enum skb_drop_reason reason`` reason why this skb is dropped h](j)}(h``enum skb_drop_reason reason``h]j)}(hjQh]henum skb_drop_reason reason}(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.chMhjKubj)}(hhh]jX)}(hreason why this skb is droppedh]hreason why this skb is dropped}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjĖubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hDrop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to 'kfree_skb' tracepoint.h]jX)}(hDrop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to 'kfree_skb' tracepoint.h]hDrop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to ‘kfree_skb’ tracepoint.}(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_tx_error (C function)c.skb_tx_errorhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h'void skb_tx_error (struct sk_buff *skb)h]h)}(h&void skb_tx_error(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjۗhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjחhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjחhhhjhMvubj)}(h skb_tx_errorh]j%)}(h skb_tx_errorh]h skb_tx_error}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjחhhhjhMvubj)}(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}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j')}jjsbc.skb_tx_errorasbuh1hhjubj)}(h h]h }(hjVhhhNhNubah}(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=uh1jhjחhhhjhMvubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjӗhhhjhMvubah}(h]jΗah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMvhjЗhhubjS)}(hhh]jX)}(hreport an sk_buff xmit errorh]hreport an sk_buff xmit error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMvhjhhubah}(h]h ]h"]h$]h&]uh1jRhjЗhhhjhMvubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer that triggered an error **Description** Report xmit error if a device callback is tracking this skb. skb must be freed afterwards.h](jX)}(h**Parameters**h]j)}(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.chMzhjubj)}(hhh]j)}(h7``struct sk_buff *skb`` buffer that triggered an error h](j)}(h``struct sk_buff *skb``h]j)}(hjܘh]hstruct sk_buff *skb}(hjޘhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjژubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMwhj֘ubj)}(hhh]jX)}(hbuffer that triggered an errorh]hbuffer that triggered an error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhj֘ubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjӘubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMyhjubj )}(hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.h]jX)}(hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.h]hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMxhj-ubah}(h]h ]h"]h$]h&]uh1j hj?hMxhjubeh}(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}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjthMubj)}(h consume_skbh]j%)}(h consume_skbh]h consume_skb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbhhhjthMubj)}(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 reftargetjÙmodnameN classnameNjj!)}j$]j')}jjsb c.consume_skbasbuh1hhjubj)}(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=uh1jhjbhhhjthMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^hhhjthMubah}(h]jYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjthMhj[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.chMhj#hhubah}(h]h ]h"]h$]h&]uh1jRhj[hhhjthMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to free **Description** Drop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath](jX)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjBubj)}(hhh]j)}(h'``struct sk_buff *skb`` buffer to free h](j)}(h``struct sk_buff *skb``h]j)}(hjgh]hstruct sk_buff *skb}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjaubj)}(hhh]jX)}(hbuffer to freeh]hbuffer to free}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubjX)}(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.chMhjBubj )}(hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath]jX)}(hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath]hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes that}(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 hjʚhMhjBubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMLubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jalloc_skb_for_msgsbc.alloc_skb_for_msgasbuh1hhjhhhjhMLubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMLubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMLubj)}(halloc_skb_for_msgh]j%)}(hj.h]halloc_skb_for_msg}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMLubj)}(h(struct sk_buff *first)h]j)}(hstruct sk_buff *firsth](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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j,c.alloc_skb_for_msgasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hfirsth]hfirst}(hj›hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubah}(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)}(h0allocate sk_buff to wrap frag list forming a msgh]h0allocate sk_buff to wrap frag list forming a msg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMLhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMLubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hD**Parameters** ``struct sk_buff *first`` first sk_buff of the msgh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMPhjubj)}(hhh]j)}(h2``struct sk_buff *first`` first sk_buff of the msgh](j)}(h``struct sk_buff *first``h]j)}(hj-h]hstruct sk_buff *first}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMRhj'ubj)}(hhh]jX)}(hfirst sk_buff of the msgh]hfirst sk_buff of the msg}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMRhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_morph (C function) c.skb_morphhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hEstruct sk_buff * skb_morph (struct sk_buff *dst, struct sk_buff *src)h]h)}(hCstruct sk_buff *skb_morph(struct sk_buff *dst, struct sk_buff *src)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMeubh)}(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_morphasbuh1hhjhhhjhMeubj)}(h h]h }(hjǜhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMeubj;)}(hj>h]h*}(hj՜hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMeubj)}(h skb_morphh]j%)}(hjĜh]h skb_morph}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMeubj)}(h*(struct sk_buff *dst, struct sk_buff *src)h](j)}(hstruct sk_buff *dsth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]jœ c.skb_morphasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdsth]hdst}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *srch](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jœ c.skb_morphasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hsrch]hsrc}(hjȝhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMeubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMeubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMehj|hhubjS)}(hhh]jX)}(hmorph one skb into anotherh]hmorph one skb into another}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMehjhhubah}(h]h ]h"]h$]h&]uh1jRhj|hhhjhMeubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *dst`` the skb to receive the contents ``struct sk_buff *src`` the skb to supply the contents **Description** This is identical to skb_clone except that the target skb is supplied by the user. The target skb is returned upon exit.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMihjubj)}(hhh](j)}(h8``struct sk_buff *dst`` the skb to receive the contents h](j)}(h``struct sk_buff *dst``h]j)}(hj3h]hstruct sk_buff *dst}(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.chMfhj-ubj)}(hhh]jX)}(hthe skb to receive the contentsh]hthe skb to receive the contents}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMfhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMfhj*ubj)}(h7``struct sk_buff *src`` the skb to supply the contents h](j)}(h``struct sk_buff *src``h]j)}(hjlh]hstruct sk_buff *src}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMghjfubj)}(hhh]jX)}(hthe skb to supply the contentsh]hthe skb to supply the contents}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMghj*ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMihjubj )}(hyThis is identical to skb_clone except that the target skb is supplied by the user. The target skb is returned upon exit.h](jX)}(hRThis is identical to skb_clone except that the target skb is supplied by the user.h]hRThis is identical to skb_clone except that the target skb is supplied by the user.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhhjubjX)}(h%The target skb is returned upon exit.h]h%The target skb is returned upon exit.}(hjОhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkhjubeh}(h]h ]h"]h$]h&]uh1j hjϞhMhhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_ubufs (C function)c.skb_copy_ubufshNtauh1hhj[hhhNhNubh)}(hhh](h)}(h8int skb_copy_ubufs (struct sk_buff *skb, gfp_t gfp_mask)h]h)}(h7int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_copy_ubufsh]j%)}(hskb_copy_ubufsh]hskb_copy_ubufs}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h%(struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]j')}jj(sbc.skb_copy_ubufsasbuh1hhj>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)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j|c.skb_copy_ubufsasbuh1hhjubj)}(h h]h }(hj՟hhhNhNubah}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h*copy userspace skb frags buffers to kernelh]h*copy userspace skb frags buffers to kernel}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%jxj%jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` the skb to modify ``gfp_t gfp_mask`` allocation priority **Description** This must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``. Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.h](jX)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj1hhhNhNubah}(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`` the skb to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjNh]hstruct sk_buff *skb}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjHubj)}(hhh]jX)}(hthe skb to modifyh]hthe skb to modify}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjEubj)}(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.chMhjubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjEubeh}(h]h ]h"]h$]h&]uh1jhj)ubjX)}(h**Description**h]j)}(hj h]h Description}(hjĠhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj)ubj )}(hX5This must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``. Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.h](jX)}(hThis must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages.h]hThis must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages.}(hjܠhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjؠubjX)}(hOIf this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](h@If this function is called from an interrupt gfp_mask() must be }(hjhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(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.chMhjؠubjX)}(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.}(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&]uh1j hjhMhj)ubeh}(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}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhjNhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]j')}j skb_clonesb c.skb_cloneasbuh1hhj=hhhjNhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhjNhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=hhhjNhMubj)}(h skb_cloneh]j%)}(hj~h]h skb_clone}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj=hhhjNhMubj)}(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 reftargetj0modnameN classnameNjj!)}j$]j| c.skb_cloneasbuh1hhj'ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj%)}(hgfp_maskh]hgfp_mask}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj=hhhjNhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9hhhjNhMubah}(h]j4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNhMhj6hhubjS)}(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&]uh1jRhj6hhhjNhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to clone ``gfp_t gfp_mask`` allocation priority **Description** Duplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](jX)}(h**Parameters**h]j)}(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 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)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj9h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj )}(hXWDuplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](jX)}(hXDuplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned.h](h Duplicate an }(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 refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjSubh. 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 }(hjShhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh& otherwise the new buffer is returned.}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjzhM hjOubjX)}(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.chMhjOubeh}(h]h ]h"]h$]h&]uh1j hjzhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy (C function) c.skb_copyhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hEstruct sk_buff * skb_copy (const struct sk_buff *skb, gfp_t gfp_mask)h]h)}(hCstruct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t gfp_mask)h](h)}(hjh]hstruct}(hjޣhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjڣhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjڣhhhjhMTubh)}(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_copysb c.skb_copyasbuh1hhjڣhhhjhMTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjڣhhhjhMTubj;)}(hj>h]h*}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjڣhhhjhMTubj)}(hskb_copyh]j%)}(hjh]hskb_copy}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjڣhhhjhMTubj)}(h+(const struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.skb_copyasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hskbh]hskb}(hjʤhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.skb_copyasbuh1hhjߤ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=uh1jhjPubeh}(h]h ]h"]h$]h&]j<j=uh1jhjڣhhhjhMTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj֣hhhjhMTubah}(h]jѣah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMThjӣhhubjS)}(hhh]jX)}(h!create private copy of an sk_buffh]h!create private copy of an sk_buff}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMThj9hhubah}(h]h ]h"]h$]h&]uh1jRhjӣhhhjhMTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff *skb`` buffer to copy ``gfp_t gfp_mask`` allocation priority **Description** Make a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. As by-product this function converts non-linear :c:type:`sk_buff` to linear one, so that :c:type:`sk_buff` becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.h](jX)}(h**Parameters**h]j)}(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.chMXhjXubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hj}h]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMUhjwubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjtubj)}(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.chMVhjubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjϥhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj˥hMVhj̥ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˥hMVhjtubeh}(h]h ]h"]h$]h&]uh1jhjXubjX)}(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.chMXhjXubj )}(hXfMake a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. As by-product this function converts non-linear :c:type:`sk_buff` to linear one, so that :c:type:`sk_buff` becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.h](jX)}(hXMake a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](hMake a copy of both an }(hj hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMWhj ubh} 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 }(hj hhhNhNubj)}(h``NULL``h]hNULL}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj2hMWhjubjX)}(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 }(hjOhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjYh]hsk_buff}(hj[hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM\hjOubh to linear one, so that }(hjOhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj}h]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjvhM\hjOubh 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.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjvhM\hjubeh}(h]h ]h"]h$]h&]uh1j hj2hMWhjXubeh}(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}(hjʦhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjƦhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjئhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjƦhhhjצhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j__pskb_copy_fclonesbc.__pskb_copy_fcloneasbuh1hhjƦ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)}(h__pskb_copy_fcloneh]j%)}(hjh]h__pskb_copy_fclone}(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, int headroom, gfp_t gfp_mask, bool fclone)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$]jc.__pskb_copy_fcloneasbuh1hhj@ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(h int headroomh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj§hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hheadroomh]hheadroom}(hjЧhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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$]jc.__pskb_copy_fcloneasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(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<ubj)}(h bool fcloneh](j)}(hjTh]hbool}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj%)}(hfcloneh]hfclone}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjƦhhhjצhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj¦hhhjצhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjצhMhjhhubjS)}(hhh]jX)}(h,create copy of an sk_buff with private head.h]h,create copy of an sk_buff with private head.}(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&]uh1jRhjhhhjצhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to copy ``int headroom`` headroom of new skb ``gfp_t gfp_mask`` allocation priority ``bool fclone`` if true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be cloned **Description** Make a copy of both an :c:type:`sk_buff` and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of :c:type:`sk_buff` and needs private copy of the header to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy 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 copyh]hbuffer to copy}(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 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.chMhjubj)}(hhh]jX)}(hheadroom of new skbh]hheadroom of new skb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hj)h]hgfp_t gfp_mask}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj#ubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjubj)}(h``bool fclone`` if true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be cloned h](j)}(h``bool fclone``h]j)}(hjbh]h bool fclone}(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)}(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}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hXcMake a copy of both an :c:type:`sk_buff` and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of :c:type:`sk_buff` and needs private copy of the header to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h]jX)}(hXcMake a copy of both an :c:type:`sk_buff` and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of :c:type:`sk_buff` and needs private copy of the header to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](hMake a copy of both an }(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 and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of }(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_buffuh1hhjߩhMhjubh8 and needs private copy of the header 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&]uh1jWhjߩhMhjubah}(h]h ]h"]h$]h&]uh1j hjߩhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpskb_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}(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)}(hpskb_expand_headh]j%)}(hpskb_expand_headh]hpskb_expand_head}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjShMubj)}(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&]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')}jjhsbc.pskb_expand_headasbuh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj;)}(hj>h]h*}(hjΪhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~ubj%)}(hskbh]hskb}(hj۪hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(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=uh1jhjzubj)}(h int ntailh](j)}(hinth]hint}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj%)}(hntailh]hntail}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]jc.pskb_expand_headasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj%)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubeh}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjShMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhjShMubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShMhj:hhubjS)}(hhh]jX)}(h&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(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 refexplicitrefwarnjj!)}j$]jc.pskb_expand_headasbjsk_buffuh1hhjXhKhjubeh}(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})}(hXS**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``int nhead`` room to add at head ``int ntail`` room to add at tail ``gfp_t gfp_mask`` allocation priority **Description** Expands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed. All the pointers pointing into skb header may change and must be reloaded after call to this function. **Note** If you skb_push() the start of the buffer after reallocating the header, call skb_postpush_data_move() first to move the metadata out of the way before writing to :c:type:`sk_buff->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.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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(h"``int nhead`` room to add at head h](j)}(h ``int nhead``h]j)}(hjUh]h int nhead}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjOubj)}(hhh]jX)}(hroom to add at headh]hroom to add at head}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubj)}(h"``int ntail`` room to add at tail h](j)}(h ``int ntail``h]j)}(hjh]h int ntail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hroom to add at tailh]hroom to add at tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjǬh]hgfp_t gfp_mask}(hjɬhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjŬubah}(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&]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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hXExpands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed. All the pointers pointing into skb header may change and must be reloaded after call to this function. h](jX)}(hX-Expands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed.h](h'Expands (or creates identical copy, if }(hjhhhNhNubj)}(h **nhead**h]hnhead}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **ntail**h]hntail}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are zero) header of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjHhhhNhNubah}(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&]uh1jhjZubah}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjyhMhjubhv 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_buffuh1hhjyhMhjubh is not changed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjyhMhjubjX)}(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.}(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&]uh1j hjyhMhjubjX)}(h**Note**h]j)}(hjh]hNote}(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)}(hhh]j)}(hIf you skb_push() the start of the buffer after reallocating the header, call skb_postpush_data_move() first to move the metadata out of the way before writing to :c:type:`sk_buff->data `.h](j)}(h@If you skb_push() the start of the buffer after reallocating theh]h@If you skb_push() the start of the buffer after reallocating the}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hheader, call skb_postpush_data_move() first to move the metadata out of the way before writing to :c:type:`sk_buff->data `.h](hbheader, call skb_postpush_data_move() first to move the metadata out of the way before writing to }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhj hMhjubh.}(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&]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}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjohhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMr ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjhMr 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_headasbuh1hhjohhhjhMr ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjhMr ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjohhhjhMr 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=uh1jhjohhhjhMr 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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.skb_expand_headasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj7hhhNhNubah}(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)}(hunsigned int headroomh](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%)}(hheadroomh]hheadroom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjohhhjhMr ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhjhMr ubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMr hjhhhubjS)}(hhh]jX)}(h&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(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 refexplicitrefwarnjj!)}j$]jc.skb_expand_headasbjsk_buffuh1hhjXhKhjubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMr hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjhMr ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXo**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``unsigned int headroom`` needed headroom **Description** Unlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures. It expect increased headroom and generates warning otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMv 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.chMs hjubj)}(hhh]jX)}(hbuffer to reallocateh]hbuffer to reallocate}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMs hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMs hjubj)}(h*``unsigned int headroom`` needed headroom 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMt hjWubj)}(hhh]jX)}(hneeded headroomh]hneeded headroom}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMt hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMt hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMv hjubj )}(hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures. It expect increased headroom and generates warning otherwise.h](jX)}(hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures.h]hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMu hjubjX)}(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.chMy hjubeh}(h]h ]h"]h$]h&]uh1j hjhMu hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_expand (C function)c.skb_copy_expandhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hnstruct sk_buff * skb_copy_expand (const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask)h]h)}(hlstruct sk_buff *skb_copy_expand(const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jskb_copy_expandsbc.skb_copy_expandasbuh1hhjhhhjhM ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM ubj)}(hskb_copy_expandh]j%)}(hj3h]hskb_copy_expand}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(hM(const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j1c.skb_copy_expandasbuh1hhjlubj)}(h h]h }(hjDZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjձhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubj)}(hint newheadroomh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h newheadroomh]h newheadroom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubj)}(hint newtailroomh](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj%)}(h newtailroomh]h newtailroom}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j1c.skb_copy_expandasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj%)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hcopy and expand sk_buffh]hcopy and expand sk_buff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjֲjxjֲjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff *skb`` buffer to copy ``int newheadroom`` new free bytes at head ``int newtailroom`` new free bytes at tail ``gfp_t gfp_mask`` allocation priority **Description** Make a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space. This is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. You must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj޲ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjڲubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h+``int newheadroom`` new free bytes at head h](j)}(h``int newheadroom``h]j)}(hj8h]hint newheadroom}(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)}(hnew free bytes at headh]hnew free bytes at head}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhM hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM hjubj)}(h+``int newtailroom`` new free bytes at tail h](j)}(h``int newtailroom``h]j)}(hjqh]hint newtailroom}(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)}(hnew free bytes at tailh]hnew free bytes at tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjóhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjڲubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjڲubj )}(hXMake a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space. This is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. You must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](jX)}(hcMake a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space.h](hMake a copy of both an }(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.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 }(hj1hhhNhNubj)}(h``NULL``h]hNULL}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hj1hhhNhNubeh}(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 }(hjRhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubhI as the allocation priority if this function is called from an interrupt.}(hjRhhhNhNubeh}(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&]uh1j hj&hM hjڲubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_pad (C function) c.__skb_padhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h@int __skb_pad (struct sk_buff *skb, int pad, bool free_on_error)h]h)}(h?int __skb_pad(struct sk_buff *skb, int pad, bool free_on_error)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(h __skb_padh]j%)}(h __skb_padh]h __skb_pad}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h2(struct sk_buff *skb, int pad, bool free_on_error)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(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')}jjsb c.__skb_padasbuh1hhjҴubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjҴubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjҴubj%)}(hskbh]hskb}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjҴubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjδubj)}(hint padh](j)}(hinth]hint}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj%)}(hpadh]hpad}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjδubj)}(hbool free_on_errorh](j)}(hjTh]hbool}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj%)}(h free_on_errorh]h free_on_error}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjδubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hzero pad the tail of an skbh]hzero pad the tail of an skb}(hjµhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjڵjxjڵjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to pad ``int pad`` space to pad ``bool free_on_error`` free buffer on error **Description** Ensure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire. May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj޵ubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(h buffer to padh]h buffer to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``int pad`` space to pad h](j)}(h ``int pad``h]j)}(hj<h]hint pad}(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 hj6ubj)}(hhh]jX)}(h space to padh]h space to pad}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhM hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM hjubj)}(h,``bool free_on_error`` free buffer on error h](j)}(h``bool free_on_error``h]j)}(hjuh]hbool free_on_error}(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)}(hfree buffer on errorh]hfree buffer on error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj޵ubj )}(hXEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire. May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](jX)}(hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.h]hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.}(hjʶhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjƶubjX)}(h`May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](hFMay return error in out of memory cases. The skb is freed on error if }(hjٶhhhNhNubj)}(h**free_on_error**h]h free_on_error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjٶubh is true.}(hjٶhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjƶubeh}(h]h ]h"]h$]h&]uh1j hjضhM hj޵ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpskb_put (C function) c.pskb_puthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hDvoid * pskb_put (struct sk_buff *skb, struct sk_buff *tail, int len)h]h)}(hBvoid *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]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}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(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}(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')}jjPsb c.pskb_putasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hskbh]hskb}(hj÷hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(hstruct sk_buff *tailh](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 c.pskb_putasbuh1hhjط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%)}(htailh]htail}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjطubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(hint lenh](j)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj%)}(hlenh]hlen}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubeh}(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}(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&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` start of the buffer to use ``struct sk_buff *tail`` tail fragment of the buffer to use ``int len`` amount of data to add **Description** This function extends the used data area of the potentially fragmented buffer. **tail** must be the last fragment of **skb** -- or **skb** itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h](jX)}(h**Parameters**h]j)}(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)}(h3``struct sk_buff *skb`` start of the buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjӸh]hstruct sk_buff *skb}(hjոhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѸubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj͸ubj)}(hhh]jX)}(hstart of the buffer to useh]hstart of the buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj͸ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjʸubj)}(h<``struct sk_buff *tail`` tail fragment of the buffer to use h](j)}(h``struct sk_buff *tail``h]j)}(hj h]hstruct sk_buff *tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(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 hjʸubj)}(h"``int len`` amount of data to add h](j)}(h ``int len``h]j)}(hjEh]hint len}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj?ubj)}(hhh]jX)}(hamount of data to addh]hamount of data to add}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhM hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM hjʸ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.chM hjubj )}(hXThis function extends the used data area of the potentially fragmented buffer. **tail** must be the last fragment of **skb** -- or **skb** itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]jX)}(hXThis function extends the used data area of the potentially fragmented buffer. **tail** must be the last fragment of **skb** -- or **skb** itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h](hOThis function extends the used data area of the potentially fragmented buffer. }(hjhhhNhNubj)}(h**tail**h]htail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must be the last fragment of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh -- or }(hjhhhNhNubj)}(h**skb**h]hskb}(hjƹhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubah}(h]h ]h"]h$]h&]uh1j hj޹hM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_put (C function) c.skb_puthNtauh1hhj[hhhNhNubh)}(hhh](h)}(h6void * skb_put (struct sk_buff *skb, unsigned int len)h]h)}(h4void *skb_put(struct sk_buff *skb, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/ ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM/ ubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM/ ubj)}(hskb_puth]j%)}(hskb_puth]hskb_put}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(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}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}jj5sb c.skb_putasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjϺhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjݺhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(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=uh1jhjGubeh}(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 data to a bufferh]hadd data to a buffer}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/ hj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM/ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhj[hNhNubj})}(hX;**Parameters** ``struct sk_buff *skb`` buffer to use ``unsigned int len`` amount of data to add **Description** This function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h](jX)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM3 hj?ubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjdh]hstruct sk_buff *skb}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0 hj^ubj)}(hhh]jX)}(h buffer to useh]h buffer to use}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhM0 hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM0 hj[ubj)}(h+``unsigned int len`` amount of data to add h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1 hjubj)}(hhh]jX)}(hamount of data to addh]hamount of data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM1 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1 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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM3 hj?ubj )}(hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]jX)}(hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM2 hjubah}(h]h ]h"]h$]h&]uh1j hjhM2 hj?ubeh}(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}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMD ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#hhhj5hMD ubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#hhhj5hMD ubj)}(hskb_pushh]j%)}(hskb_pushh]hskb_push}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj#hhhj5hMD ubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjWsb c.skb_pushasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hskbh]hskb}(hjʼhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj߼ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj߼ubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj߼ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubeh}(h]h ]h"]h$]h&]j<j=uh1jhj#hhhj5hMD ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj5hMD ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5hMD hjhhubjS)}(hhh]jX)}(h!add data to the start of a bufferh]h!add data to the start of a buffer}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMD hjBhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj5hMD ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]jxj]jyjzj{uh1hhhhj[hNhNubj})}(hXS**Parameters** ``struct sk_buff *skb`` buffer to use ``unsigned int len`` amount of data to add **Description** This function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.h](jX)}(h**Parameters**h]j)}(hjgh]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMH hjaubj)}(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.chME hjubj)}(hhh]jX)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhME hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhME hj}ubj)}(h+``unsigned int len`` amount of data to add h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMF hjubj)}(hhh]jX)}(hamount of data to addh]hamount of data to add}(hjؽhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjԽhMF hjսubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjԽhMF hj}ubeh}(h]h ]h"]h$]h&]uh1jhjaubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMH hjaubj )}(hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.h]jX)}(hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.h]hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMG hjubah}(h]h ]h"]h$]h&]uh1j hj"hMG hjaubeh}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMW ubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhjWhMW ubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEhhhjWhMW ubj)}(hskb_pullh]j%)}(hskb_pullh]hskb_pull}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjWhMW ubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjysb c.skb_pullasbuh1hhjubj)}(h h]h }(hjѾhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj߾hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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 }(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=uh1jhjEhhhjWhMW ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjWhMW ubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhMW hj>hhubjS)}(hhh]jX)}(h&remove data from the start of a bufferh]h&remove data from the start of a buffer}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMW hjdhhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhjWhMW ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXj**Parameters** ``struct sk_buff *skb`` buffer to use ``unsigned int len`` amount of data to remove **Description** This function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.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.chMX hjubj)}(hhh]jX)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMX hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMX hjubj)}(h.``unsigned int len`` amount of data to remove h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]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)}(hamount of data to removeh]hamount of data to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMY hjubah}(h]h ]h"]h$]h&]uh1jhjۿubeh}(h]h ]h"]h$]h&]uh1jhjhMY hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM[ hjubj )}(hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.h]jX)}(hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.h]hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMZ hj2ubah}(h]h ]h"]h$]h&]uh1j hjDhMZ hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pull_data (C function)c.skb_pull_datahNtauh1hhj[hhhNhNubh)}(hhh](h)}(h6void * skb_pull_data (struct sk_buff *skb, size_t len)h]h)}(h4void *skb_pull_data(struct sk_buff *skb, size_t len)h](j)}(hvoidh]hvoid}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMg ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjyhMg ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjghhhjyhMg 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=uh1jhjghhhjyhMg ubj)}(h!(struct sk_buff *skb, size_t 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_pull_dataasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t lenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,modnameN classnameNjj!)}j$]jc.skb_pull_dataasbuh1hhj#ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj%)}(hlenh]hlen}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjghhhjyhMg ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjchhhjyhMg ubah}(h]j^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyhMg 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.chMg hj}hhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhjyhMg ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to use ``size_t len`` amount of data to remove **Description** This function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMk 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.chMi hjubj)}(hhh]jX)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMi hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMi hjubj)}(h(``size_t len`` amount of data to remove 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.chMj hjubj)}(hhh]jX)}(hamount of data to removeh]hamount of data to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMj hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMj hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMl hjubj )}(hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.h]jX)}(hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.h]hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMk hjKubah}(h]h ]h"]h$]h&]uh1j hj]hMk hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_trim (C function) c.skb_trimhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h5void skb_trim (struct sk_buff *skb, unsigned int len)h]h)}(h4void skb_trim(struct sk_buff *skb, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hskb_trimh]j%)}(hskb_trimh]hskb_trim}(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}(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_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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj)}(hinth]hint}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj%)}(hlenh]hlen}(hjkhhhNhNubah}(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=jDuh1hjEjFhj|hhhjhM ubah}(h]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjyhhubjS)}(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.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to alter ``unsigned int len`` new length **Description** Cut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.h](jX)}(h**Parameters**h]j)}(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)}(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 alterh]hbuffer to alter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h ``unsigned int len`` new length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj ubj)}(hhh]jX)}(h new lengthh]h new length}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hM hj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjJh]h Description}(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.chM hjubj )}(hCut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.h]jX)}(hCut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.h]hCut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj`ubah}(h]h ]h"]h$]h&]uh1j hjrhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__pskb_pull_tail (C function)c.__pskb_pull_tailhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h8void * __pskb_pull_tail (struct sk_buff *skb, int delta)h]h)}(h6void *__pskb_pull_tail(struct sk_buff *skb, int delta)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM 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=uh1jhjhhhjhM ubj)}(h (struct sk_buff *skb, int delta)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__pskb_pull_tailasbuh1hhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int deltah](j)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(hdeltah]hdelta}(hjqhhhNhNubah}(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)}(hadvance tail of skb headerh]hadvance tail of skb header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubLj})}(hX_**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``int delta`` number of bytes to advance tail **Description** The function makes a sense only on a fragmented :c:type:`sk_buff`, it expands header moving its tail forward and copying necessary data from fragmented part. :c:type:`sk_buff` MUST have reference count of 1. Returns ``NULL`` (and :c:type:`sk_buff` does not change) if pull failed or value of new tail of skb in the case of success. All the pointers pointing into skb header may change and must be reloaded after call to this function.h](jX)}(h**Parameters**h]j)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h.``int delta`` number of bytes to advance tail h](j)}(h ``int delta``h]j)}(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&]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)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj )}(hXThe function makes a sense only on a fragmented :c:type:`sk_buff`, it expands header moving its tail forward and copying necessary data from fragmented part. :c:type:`sk_buff` MUST have reference count of 1. Returns ``NULL`` (and :c:type:`sk_buff` does not change) if pull failed or value of new tail of skb in the case of success. All the pointers pointing into skb header may change and must be reloaded after call to this function.h](jX)}(hThe function makes a sense only on a fragmented :c:type:`sk_buff`, it expands header moving its tail forward and copying necessary data from fragmented part.h](h0The function makes a sense only on a fragmented }(hjjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjth]hsk_buff}(hjvhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjjubh\, it expands header moving its tail forward and copying necessary data from fragmented part.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjfubjX)}(h1:c:type:`sk_buff` MUST have reference count of 1.h](h)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubh MUST have reference count of 1.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjfubjX)}(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 }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh (and }(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.chM hjubhT does not change) if pull failed or value of new tail of skb in the case of success.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjfubjX)}(hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.h]hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjfubeh}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?hhhjQhM ubj)}(h skb_copy_bitsh]j%)}(h skb_copy_bitsh]h skb_copy_bits}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?hhhjQhM ubj)}(h:(const struct sk_buff *skb, int offset, void *to, int len)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjfsbc.skb_copy_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%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(h int offseth](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(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=uh1jhjxubj)}(hvoid *toh](j)}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>ubj%)}(htoh]hto}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(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=uh1jhjxubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?hhhjQhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhjQhM ubah}(h]j6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhM hj8hhubjS)}(hhh]jX)}(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.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj8hhhjQhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff *skb`` source skb ``int offset`` offset in source ``void *to`` destination buffer ``int len`` number of bytes to copy **Description** Copy the specified number of bytes from the source skb to the destination buffer. CAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM 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.chM hjubj)}(hhh]jX)}(h source skbh]h source skb}(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 offset`` offset in source h](j)}(h``int offset``h]j)}(hjDh]h int offset}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj>ubj)}(hhh]jX)}(hoffset in sourceh]hoffset in source}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhM hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM hjubj)}(h ``void *to`` destination buffer h](j)}(h ``void *to``h]j)}(hj}h]hvoid *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjwubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj )}(hCopy the specified number of bytes from the source skb to the destination buffer. CAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h](jX)}(hQCopy the specified number of bytes from the source skb to the destination buffer.h]hQCopy the specified number of bytes from the source skb to the destination buffer.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]j)}(hxCAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h](j)}(h CAUTION ! :h]h CAUTION ! :}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM 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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMF ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhjhMF ubj)}(hskb_store_bitsh]j%)}(hskb_store_bitsh]hskb_store_bits}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvhhhjhMF ubj)}(h<(struct sk_buff *skb, int offset, const void *from, 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_store_bitsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int offseth](j)}(hinth]hint}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj%)}(hoffseth]hoffset}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst void *fromh](h)}(hjh]hconst}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj)}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjvhhhjhMF ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrhhhjhMF ubah}(h]jmah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMF hjohhubjS)}(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.chMF hjhhubah}(h]h ]h"]h$]h&]uh1jRhjohhhjhMF ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXu**Parameters** ``struct sk_buff *skb`` destination buffer ``int offset`` offset in destination ``const void *from`` source buffer ``int len`` number of bytes to copy **Description** Copy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h](jX)}(h**Parameters**h]j)}(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.chMJ hjubj)}(hhh](j)}(h+``struct sk_buff *skb`` destination buffer 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMG hj<ubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMG hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMG hj9ubj)}(h%``int offset`` offset in destination h](j)}(h``int offset``h]j)}(hj{h]h int offset}(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.chMH hjuubj)}(hhh]jX)}(hoffset in destinationh]hoffset in destination}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMH hjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMH hj9ubj)}(h#``const void *from`` source buffer h](j)}(h``const void *from``h]j)}(hjh]hconst void *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.chMI hjubj)}(hhh]jX)}(h source bufferh]h source buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMI hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMI hj9ubj)}(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.chMJ hjubj)}(hhh]jX)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMJ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJ hj9ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj(h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chML hjubj )}(hCopy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h]jX)}(hCopy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h]hCopy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMK hj>ubah}(h]h ]h"]h$]h&]uh1j hjPhMK hjubeh}(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}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhhjhMubj)}(h skb_zerocopyh]j%)}(h skb_zerocopyh]h skb_zerocopy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjshhhjhMubj)}(h=(struct sk_buff *to, struct sk_buff *from, int len, int hlen)h](j)}(hstruct sk_buff *toh](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_zerocopyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htoh]hto}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *fromh](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$]jc.skb_zerocopyasbuh1hhj"ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"ubj%)}(hfromh]hfrom}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint hlenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hhlenh]hhlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjshhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjohhhjhMubah}(h]jjah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjlhhubjS)}(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&]uh1jRhjlhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj)jxj)jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *to`` destination buffer ``struct sk_buff *from`` source buffer ``int len`` number of bytes to copy from source buffer ``int hlen`` size of linear headroom in destination buffer **Description** Copies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer. The `hlen` as calculated by skb_zerocopy_headlen() specifies the headroom in the `to` buffer. Return value: 0: everything is OK -ENOMEM: couldn't orphan frags of **from** due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometryh](jX)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj-ubj)}(hhh](j)}(h*``struct sk_buff *to`` destination buffer h](j)}(h``struct sk_buff *to``h]j)}(hjRh]hstruct sk_buff *to}(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)}(hdestination bufferh]hdestination buffer}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjIubj)}(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&]uh1jhjhMhjIubj)}(h7``int len`` number of bytes to copy from source buffer 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.chMhjubj)}(hhh]jX)}(h*number of bytes to copy from source bufferh]h*number of bytes to copy from source buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjIubj)}(h;``int hlen`` size of linear headroom in destination buffer h](j)}(h ``int hlen``h]j)}(hjh]hint hlen}(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-size of linear headroom in destination bufferh]h-size of linear headroom in destination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjIubeh}(h]h ]h"]h$]h&]uh1jhj-ubjX)}(h**Description**h]j)}(hj8h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj-ubj )}(hXgCopies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer. The `hlen` as calculated by skb_zerocopy_headlen() specifies the headroom in the `to` buffer. Return value: 0: everything is OK -ENOMEM: couldn't orphan frags of **from** due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometryh](jX)}(hfCopies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer.h](h Copies up to }(hjRhhhNhNubhtitle_reference)}(h`len`h]hlen}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jZhjRubh bytes from }(hjRhhhNhNubj[)}(h`from`h]hfrom}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jZhjRubh to }(hjRhhhNhNubj[)}(h`to`h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jZhjRubh: by creating references to the frags in the source buffer.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjNubjX)}(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&]uh1jZhjubhG as calculated by skb_zerocopy_headlen() specifies the headroom in the }(hjhhhNhNubj[)}(h`to`h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jZhjubh buffer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjNubjX)}(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.chMhjNubeh}(h]h ]h"]h$]h&]uh1j hjhMhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dequeue (C function) c.skb_dequeuehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h8struct sk_buff * skb_dequeue (struct sk_buff_head *list)h]h)}(h6struct sk_buff *skb_dequeue(struct sk_buff_head *list)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMTubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMTubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j')}j skb_dequeuesb c.skb_dequeueasbuh1hhjhhhj hMTubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMTubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj hMTubj)}(h skb_dequeueh]j%)}(hjPh]h skb_dequeue}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMTubj)}(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$]jN c.skb_dequeueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hMTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMTubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMThjhhubjS)}(hhh]jX)}(h!remove from the head of the queueh]h!remove from the head of the queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMThj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the head of the list. 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)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMXhj*ubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hjOh]hstruct sk_buff_head *list}(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.chMUhjIubj)}(hhh]jX)}(hlist to dequeue fromh]hlist to dequeue from}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMUhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMUhjFubah}(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.chMWhj*ubj )}(hRemove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or ``NULL`` if the list is empty.h]jX)}(hRemove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or ``NULL`` if the list is empty.h](hRemove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if the list is empty.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMVhjubah}(h]h ]h"]h$]h&]uh1j hjhMVhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_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.chMiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMiubh)}(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')}jskb_dequeue_tailsbc.skb_dequeue_tailasbuh1hhjhhhjhMiubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMiubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMiubj)}(hskb_dequeue_tailh]j%)}(hj(h]hskb_dequeue_tail}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMiubj)}(h(struct sk_buff_head *list)h]j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(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_dequeue_tailasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(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!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.chMihjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMiubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(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.chMmhjubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hj'h]hstruct sk_buff_head *list}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMjhj!ubj)}(hhh]jX)}(hlist to dequeue fromh]hlist to dequeue from}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hMjhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMjhjubah}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMlhjubj )}(hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h]jX)}(hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h](hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or }(hj|hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(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.chMkhjxubah}(h]h ]h"]h$]h&]uh1j hjhMkhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_queue_purge_reason (C function)c.skb_queue_purge_reasonhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hTvoid skb_queue_purge_reason (struct sk_buff_head *list, enum skb_drop_reason reason)h]h)}(hSvoid skb_queue_purge_reason(struct sk_buff_head *list, enum skb_drop_reason reason)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM}ubj)}(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=uh1jhjhhhjhM}ubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.skb_queue_purge_reasonasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlisth]hlist}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(henum skb_drop_reason reasonh](h)}(hhh]henum}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh)}(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_reasonasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj%)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(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 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.chM}hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM}ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX\**Parameters** ``struct sk_buff_head *list`` list to empty ``enum skb_drop_reason reason`` drop reason **Description** Delete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(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_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&]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)}(h list to emptyh]h list to empty}(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,``enum skb_drop_reason reason`` drop reason h](j)}(h``enum skb_drop_reason reason``h]j)}(hj`h]henum skb_drop_reason reason}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjZubj)}(hhh]jX)}(h drop reasonh]h drop reason}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.h]jX)}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.h](hDelete all buffers on an }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh 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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj)}(hskb_queue_headh]j%)}(hskb_queue_headh]hskb_queue_head}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j')}jj0sbc.skb_queue_headasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_queue_headasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnewskh]hnewsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhj[hNhNubj})}(hXa**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(hj_h]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjYubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hj~h]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjxubj)}(hhh]jX)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hjh]hstruct sk_buff *newsk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to queueh]hbuffer to queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubeh}(h]h ]h"]h$]h&]uh1jhjYubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjYubj )}(hQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jX)}(hQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely.h](huQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking }(hj hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubh functions safely.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj3hMhjubjX)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hj3hMhjYubeh}(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}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjhMubj)}(hskb_queue_tailh]j%)}(hskb_queue_tailh]hskb_queue_tail}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjohhhjhMubj)}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_queue_tailasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlisth]hlist}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *newskh](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$]jc.skb_queue_tailasbuh1hhjubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnewskh]hnewsk}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjohhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhjhMubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhhubjS)}(hhh]jX)}(hqueue a buffer at the list tailh]hqueue a buffer at the list tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX`**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hjh]hstruct sk_buff *newsk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to queueh]hbuffer to queue}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjXh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hQueue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jX)}(hQueue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. h](htQueue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking }(hjrhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj|h]hsk_buff}(hj~hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjrubh functions safely.}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjnubjX)}(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.chMhjnubeh}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_unlink (C function) c.skb_unlinkhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h@void skb_unlink (struct sk_buff *skb, struct sk_buff_head *list)h]h)}(h?void skb_unlink(struct sk_buff *skb, struct sk_buff_head *list)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_unlinkh]j%)}(h skb_unlinkh]h skb_unlink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h0(struct sk_buff *skb, struct sk_buff_head *list)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(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')}jjsb c.skb_unlinkasbuh1hhjubj)}(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)}(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$]jP c.skb_unlinkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hremove a buffer from a listh]hremove a buffer from a list}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhj[hNhNubj})}(hX***Parameters** ``struct sk_buff *skb`` buffer to remove ``struct sk_buff_head *list`` list to use **Description** Remove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked calls You must know what list the SKB is on.h](jX)}(h**Parameters**h]j)}(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)}(hjJh]hstruct sk_buff *skb}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjDubj)}(hhh]jX)}(hbuffer to removeh]hbuffer to remove}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubj)}(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.chMhj}ubj)}(hhh]jX)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubeh}(h]h ]h"]h$]h&]uh1jhj%ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj%ubj )}(hRemove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked calls You must know what list the SKB is on.h](jX)}(hyRemove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked callsh]hyRemove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked calls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h&You must know what list the SKB is on.h]h&You must know what list the SKB is on.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhj%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 }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj*hMubj)}(h skb_appendh]j%)}(h skb_appendh]h skb_append}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj*hMubj)}(hG(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)h](j)}(hstruct sk_buff *oldh](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j')}jj?sb c.skb_appendasbuh1hhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(holdh]hold}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.skb_appendasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnewskh]hnewsk}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]j c.skb_appendasbuh1hhj7ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubeh}(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)}(happend a bufferh]happend a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj*hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *old`` buffer to insert after ``struct sk_buff *newsk`` buffer to insert ``struct sk_buff_head *list`` list to use **Description** Place a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(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)}(hj6h]hstruct sk_buff *newsk}(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)}(hbuffer to inserth]hbuffer to insert}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjubj)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjoh]hstruct sk_buff_head *list}(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.chM hjiubj)}(hhh]jX)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj )}(hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.h]jX)}(hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.h]hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubah}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_split (C function) c.skb_splithNtauh1hhj[hhhNhNubh)}(hhh](h)}(hIvoid skb_split (struct sk_buff *skb, struct sk_buff *skb1, const u32 len)h]h)}(hHvoid skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM[ubj)}(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=uh1jhjhhhjhM[ubj)}(h:(struct sk_buff *skb, struct sk_buff *skb1, const u32 len)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')}jjsb c.skb_splitasbuh1hhj2ubj)}(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)}(hstruct sk_buff *skb1h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jp c.skb_splitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskb1h]hskb1}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(h const u32 lenh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu32h]hu32}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]jp c.skb_splitasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjbhhhNhNubah}(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)}(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.chM[hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM[ubeh}(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.chM_hjubj)}(hhh](j)}(h,``struct sk_buff *skb`` the buffer to split h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM\hjubj)}(hhh]jX)}(hthe buffer to splith]hthe buffer to split}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubj)}(h?``struct sk_buff *skb1`` the buffer to receive the second part h](j)}(h``struct sk_buff *skb1``h]j)}(hjh]hstruct sk_buff *skb1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM]hjubj)}(hhh]jX)}(h%the buffer to receive the second parth]h%the buffer to receive the second part}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubj)}(h$``const u32 len`` new length for skbh](j)}(h``const u32 len``h]j)}(hj?h]h const u32 len}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM_hj9ubj)}(hhh]jX)}(hnew length for skbh]hnew length for skb}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM^hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM_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_prepare_seq_read (C function)c.skb_prepare_seq_readhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hmvoid skb_prepare_seq_read (struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st)h]h)}(hlvoid skb_prepare_seq_read(struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_prepare_seq_readh]j%)}(hskb_prepare_seq_readh]hskb_prepare_seq_read}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hS(struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_prepare_seq_readasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int fromh](j)}(hunsignedh]hunsigned}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int toh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htoh]hto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct skb_seq_state *sth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_seq_stateh]h skb_seq_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.skb_prepare_seq_readasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsth]hst}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h%Prepare a sequential read of skb datah]h%Prepare a sequential read of skb data}(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&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXY**Parameters** ``struct sk_buff *skb`` the buffer to read ``unsigned int from`` lower offset of data to be read ``unsigned int to`` upper offset of data to be read ``struct skb_seq_state *st`` state variable **Description** Initializes the specified state variable. Must be called before invoking skb_seq_read() for the first time.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h+``struct sk_buff *skb`` the buffer to read h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hthe buffer to readh]hthe buffer to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``unsigned int from`` lower offset of data to be read h](j)}(h``unsigned int from``h]j)}(hjh]hunsigned int from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hlower offset of data to be readh]hlower offset of data to be read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``unsigned int to`` upper offset of data to be read h](j)}(h``unsigned int to``h]j)}(hjh]hunsigned int to}(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)}(hupper offset of data to be readh]hupper offset of data to be read}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(h,``struct skb_seq_state *st`` state variable h](j)}(h``struct skb_seq_state *st``h]j)}(hjWh]hstruct skb_seq_state *st}(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)}(hstate variableh]hstate variable}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hkInitializes the specified state variable. Must be called before invoking skb_seq_read() for the first time.h]hkInitializes the specified state variable. Must be called before invoking skb_seq_read() for the first time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_seq_read (C function)c.skb_seq_readhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h\unsigned int skb_seq_read (unsigned int consumed, const u8 **data, struct skb_seq_state *st)h]h)}(h[unsigned int skb_seq_read(unsigned int consumed, const u8 **data, struct skb_seq_state *st)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_seq_readh]j%)}(h skb_seq_readh]h skb_seq_read}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hB(unsigned int consumed, const u8 **data, struct skb_seq_state *st)h](j)}(hunsigned int consumedh](j)}(hunsignedh]hunsigned}(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%)}(hconsumedh]hconsumed}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj(ubj)}(hconst u8 **datah](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_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;)}(hj>h]h*}(hjhhhNhNubah}(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=uh1jhj(ubj)}(hstruct skb_seq_state *sth](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 skb_seq_stateh]h skb_seq_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.skb_seq_readasbuh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsth]hst}(hjWhhhNhNubah}(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)}(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.chMhj~hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``unsigned int consumed`` number of bytes consumed by the caller so far ``const u8 **data`` destination pointer for data to be returned ``struct skb_seq_state *st`` state variable **Description** Reads a block of skb data at **consumed** relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to **data** and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached. The caller is not required to consume all of the data returned, i.e. **consumed** is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block. Note 1: The size of each block of data returned can be arbitrary, this limitation is the cost for zerocopy sequential reads of potentially non linear data. Note 2: Fragment lists within fragments are not implemented at the moment, state->root_skb could be replaced with a stack for this purpose.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(hH``unsigned int consumed`` number of bytes consumed by the caller so far h](j)}(h``unsigned int consumed``h]j)}(hjh]hunsigned int consumed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h-number of bytes consumed by the caller so farh]h-number of bytes consumed by the caller so far}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``const u8 **data`` destination pointer for data to be returned h](j)}(h``const u8 **data``h]j)}(hjh]hconst u8 **data}(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 pointer for data to be returnedh]h+destination pointer for data to be returned}(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)}(hj4h]hstruct skb_seq_state *st}(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.chMhj.ubj)}(hhh]jX)}(hstate variableh]hstate variable}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjoh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hXReads a block of skb data at **consumed** relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to **data** and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached.h](hReads a block of skb data at }(hjhhhNhNubj)}(h **consumed**h]hconsumed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhi relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhj and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hThe caller is not required to consume all of the data returned, i.e. **consumed** is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block.h](hEThe caller is not required to consume all of the data returned, i.e. }(hjhhhNhNubj)}(h **consumed**h]hconsumed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM!hjubj)}(hhh](j)}(hNote 1: The size of each block of data returned can be arbitrary, this limitation is the cost for zerocopy sequential reads of potentially non linear data. h](j)}(hANote 1: The size of each block of data returned can be arbitrary,h]hANote 1: The size of each block of data returned can be arbitrary,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM(hjubj)}(hhh]jX)}(hYthis limitation is the cost for zerocopy sequential reads of potentially non linear data.h]hYthis limitation is the cost for zerocopy sequential reads of potentially non linear data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(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.chM+hj 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.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM+hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(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_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}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_hhhjqhMubj)}(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=uh1jhj_hhhjqhMubj)}(h(struct skb_seq_state *st)h]j)}(hstruct skb_seq_state *sth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_seq_stateh]h skb_seq_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_abort_seq_readasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsth]hst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj_hhhjqhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[hhhjqhMubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjqhMhjXhhubjS)}(hhh]jX)}(h#Abort a sequential read of skb datah]h#Abort a sequential read of skb data}(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&]uh1jRhjXhhhjqhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{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)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj?ubj)}(hhh]j)}(h,``struct skb_seq_state *st`` state variable h](j)}(h``struct skb_seq_state *st``h]j)}(hjdh]hstruct skb_seq_state *st}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj^ubj)}(hhh]jX)}(hstate variableh]hstate variable}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj?ubjX)}(hDMust be called if skb_seq_read() was not called until it returned 0.h]hDMust be called if skb_seq_read() was not called until it returned 0.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_seq_read (C function)c.skb_copy_seq_readhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hOint skb_copy_seq_read (struct skb_seq_state *st, int offset, void *to, int len)h]h)}(hNint skb_copy_seq_read(struct skb_seq_state *st, int offset, void *to, int len)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_copy_seq_readh]j%)}(hskb_copy_seq_readh]hskb_copy_seq_read}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h9(struct skb_seq_state *st, int offset, void *to, int len)h](j)}(hstruct skb_seq_state *sth](h)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(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 reftargetjAmodnameN classnameNjj!)}j$]j')}jjsbc.skb_copy_seq_readasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsth]hst}(hjzhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htoh]hto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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=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%copy from a skb_seq_state to a bufferh]h%copy from a skb_seq_state to a buffer}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{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)}(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)}(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.chMhjubj)}(hhh]jX)}(hsource skb_seq_stateh]hsource skb_seq_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhjubj)}(hhh]jX)}(hoffset in sourceh]hoffset in source}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``void *to`` destination buffer h](j)}(h ``void *to``h]j)}(hjh]hvoid *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hj<h]hint len}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj6ubj)}(hhh]jX)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjubeh}(h]h ]h"]h$]h&]uh1jhjlubjX)}(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.chMhjlubjX)}(hXCopy **len** bytes from **offset** bytes into the source **st** to the destination buffer **to**. `offset` should increase (or be unchanged) with each subsequent call to this function. If offset needs to decrease from the previous use `st` should be reset first.h](hCopy }(hjhhhNhNubj)}(h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes from }(hjhhhNhNubj)}(h **offset**h]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes into the source }(hjhhhNhNubj)}(h**st**h]hst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to the destination buffer }(hjhhhNhNubj)}(h**to**h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj[)}(h`offset`h]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jZhjubh 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jZhjubh should be reset first.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjlubjX)}(h **Return**h]j)}(hj h]hReturn}(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.chMhjlubjX)}(h/0 on success or -EINVAL if the copy ended earlyh]h/0 on success or -EINVAL if the copy ended early}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjlubeh}(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}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKhhhj]hMubj)}(hinth]hint}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhj]hMubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKhhhj]hMubj)}(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=uh1jhjKhhhj]hMubj)}(hS(struct sk_buff *skb, unsigned int from, unsigned int to, struct ts_config *config)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_find_textasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int fromh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hfromh]hfrom}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int toh](j)}(hunsignedh]hunsigned}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(htoh]hto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct ts_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h ts_configh]h ts_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_find_textasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjKhhhj]hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhj]hMubah}(h]jBah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hMhjDhhubjS)}(hhh]jX)}(hFind a text pattern in skb datah]hFind a text pattern in skb data}(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&]uh1jRhjDhhhj]hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{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)}(hj_h]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjYubj)}(hhh](j)}(h.``struct sk_buff *skb`` the buffer to look in 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.chMhjxubj)}(hhh]jX)}(hthe buffer to look inh]hthe buffer to look in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(h$``unsigned int from`` search offset h](j)}(h``unsigned int from``h]j)}(hjh]hunsigned int from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h search offseth]h search offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(h!``unsigned int to`` search limit h](j)}(h``unsigned int to``h]j)}(hjh]hunsigned int to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h search limith]h search limit}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(h6``struct ts_config *config`` textsearch configuration h](j)}(h``struct ts_config *config``h]j)}(hj)h]hstruct ts_config *config}(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)}(htextsearch configurationh]htextsearch configuration}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjuubeh}(h]h ]h"]h$]h&]uh1jhjYubjX)}(h**Description**h]j)}(hjdh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjYubjX)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pull_rcsum (C function)c.skb_pull_rcsumhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=void * skb_pull_rcsum (struct sk_buff *skb, unsigned int len)h]h)}(h;void *skb_pull_rcsum(struct sk_buff *skb, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hskb_pull_rcsumh]j%)}(hskb_pull_rcsumh]hskb_pull_rcsum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_pull_rcsumasbuh1hhjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h$pull skb and update receive checksumh]h$pull skb and update receive checksum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to update ``unsigned int len`` length of data pulled **Description** This function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(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)}(hbuffer to updateh]hbuffer to update}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``unsigned int len`` length of data pulled h](j)}(h``unsigned int len``h]j)}(hjAh]hunsigned int len}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj;ubj)}(hhh]jX)}(hlength of data pulledh]hlength of data pulled}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj|h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hXThis function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]jX)}(hXThis function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]hXThis function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_segment (C function) c.skb_segmenthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hSstruct sk_buff * skb_segment (struct sk_buff *head_skb, netdev_features_t features)h]h)}(hQstruct sk_buff *skb_segment(struct sk_buff *head_skb, netdev_features_t features)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMvubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j skb_segmentsb c.skb_segmentasbuh1hhjhhhjhMvubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMvubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMvubj)}(h skb_segmenth]j%)}(hjh]h skb_segment}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMvubj)}(h6(struct sk_buff *head_skb, netdev_features_t features)h](j)}(hstruct sk_buff *head_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 c.skb_segmentasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hhead_skbh]hhead_skb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubj)}(hnetdev_features_t featuresh](h)}(hhh]j%)}(hnetdev_features_th]hnetdev_features_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.skb_segmentasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hfeaturesh]hfeatures}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMvubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMvubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMvhjhhubjS)}(hhh]jX)}(h%Perform protocol segmentation on skb.h]h%Perform protocol segmentation on skb.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMvhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMvubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhj[hNhNubj})}(hX_**Parameters** ``struct sk_buff *head_skb`` buffer to segment ``netdev_features_t features`` features for the output path (see dev->features) **Description** This function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).h](jX)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMzhj*ubj)}(hhh](j)}(h/``struct sk_buff *head_skb`` buffer to segment h](j)}(h``struct sk_buff *head_skb``h]j)}(hjOh]hstruct sk_buff *head_skb}(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.chMwhjIubj)}(hhh]jX)}(hbuffer to segmenth]hbuffer to segment}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMwhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMwhjFubj)}(hP``netdev_features_t features`` features for the output path (see dev->features) h](j)}(h``netdev_features_t features``h]j)}(hjh]hnetdev_features_t features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMxhjubj)}(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&]uh1jWhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjFubeh}(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.chMzhj*ubj )}(hThis function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).h]jX)}(hThis function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).h]hThis function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMyhjubah}(h]h ]h"]h$]h&]uh1j hjhMyhj*ubeh}(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}(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_to_sgvech]j%)}(h skb_to_sgvech]h skb_to_sgvec}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMubj)}(hB(struct sk_buff *skb, struct scatterlist *sg, int offset, int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}jj5sbc.skb_to_sgvecasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(hstruct scatterlist *sgh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h scatterlisth]h scatterlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_to_sgvecasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsgh]hsg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(h int offseth](j)}(hinth]hint}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj%)}(hoffseth]hoffset}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(hint lenh](j)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhjhhubjS)}(hhh]jX)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` Socket buffer containing the buffers to be mapped ``struct scatterlist *sg`` The scatter-gather list to map into ``int offset`` The offset into the buffer's contents to start mapping ``int len`` Length of buffer space to be mapped **Description** Fill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(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.chMhjubj)}(hhh]jX)}(h1Socket buffer containing the buffers to be mappedh]h1Socket buffer containing the buffers to be mapped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``struct scatterlist *sg`` The scatter-gather list to map into h](j)}(h``struct scatterlist *sg``h]j)}(hj&h]hstruct scatterlist *sg}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jX)}(h#The scatter-gather list to map intoh]h#The scatter-gather list to map into}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubj)}(hF``int offset`` The offset into the buffer's contents to start mapping h](j)}(h``int offset``h]j)}(hj_h]h int offset}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjYubj)}(hhh]jX)}(h6The offset into the buffer's contents to start mappingh]h8The offset into the buffer’s contents to start mapping}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjubj)}(h0``int len`` Length of buffer space to be mapped h](j)}(h ``int len``h]j)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h#Length of buffer space to be mappedh]h#Length of buffer space to be mapped}(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.chMhjubj )}(hFill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.h]jX)}(hFill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.h]hFill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.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_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&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj0hMubj)}(h skb_cow_datah]j%)}(h skb_cow_datah]h skb_cow_data}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj0hMubj)}(h=(struct sk_buff *skb, int tailbits, struct sk_buff **trailer)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjEsbc.skb_cow_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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubj)}(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=uh1jhjWubj)}(hstruct sk_buff **trailerh](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_cow_dataasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htrailerh]htrailer}(hjjhhhNhNubah}(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)}(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&]uh1jRhjhhhj0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` The socket buffer to check. ``int tailbits`` Amount of trailing space to be added ``struct sk_buff **trailer`` Returned pointer to the skb where the **tailbits** space begins **Description** Make sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead. If **tailbits** is given, make sure that there is space to write **tailbits** bytes of data beyond current end of socket buffer. **trailer** will be set to point to the skb in which this space begins. The number of scatterlist elements required to completely map the COW'd and extended socket buffer will be returned.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h4``struct sk_buff *skb`` The socket buffer to check. h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hThe socket buffer to check.h]hThe socket buffer to check.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``int tailbits`` Amount of trailing space to be added h](j)}(h``int tailbits``h]j)}(hjh]h int tailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(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}(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 **trailer`` Returned pointer to the skb where the **tailbits** space begins h](j)}(h``struct sk_buff **trailer``h]j)}(hjGh]hstruct sk_buff **trailer}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjAubj)}(hhh]jX)}(h?Returned pointer to the skb where the **tailbits** space beginsh](h&Returned pointer to the skb where the }(hj`hhhNhNubj)}(h **tailbits**h]htailbits}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh space begins}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hXMake sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead. If **tailbits** is given, make sure that there is space to write **tailbits** bytes of data beyond current end of socket buffer. **trailer** will be set to point to the skb in which this space begins. The number of scatterlist elements required to completely map the COW'd and extended socket buffer will be returned.h](jX)}(hMake sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead.h]hMake sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hIf **tailbits** is given, make sure that there is space to write **tailbits** bytes of data beyond current end of socket buffer. **trailer** will be set to point to the skb in which this space begins.h](hIf }(hjhhhNhNubj)}(h **tailbits**h]htailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh2 is given, make sure that there is space to write }(hjhhhNhNubj)}(h **tailbits**h]htailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5 bytes of data beyond current end of socket buffer. }(hjhhhNhNubj)}(h **trailer**h]htrailer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh< will be set to point to the skb in which this space begins.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(htThe number of scatterlist elements required to completely map the COW'd and extended socket buffer will be returned.h]hvThe number of scatterlist elements required to completely map the COW’d and extended socket buffer will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_clone_sk (C function)c.skb_clone_skhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3struct sk_buff * skb_clone_sk (struct sk_buff *skb)h]h)}(h1struct sk_buff *skb_clone_sk(struct sk_buff *skb)h](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMsubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhjDhMsubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]j')}j skb_clone_sksbc.skb_clone_skasbuh1hhj3hhhjDhMsubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhjDhMsubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3hhhjDhMsubj)}(h skb_clone_skh]j%)}(hjth]h skb_clone_sk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhjDhMsubj)}(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$]jrc.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=uh1jhj3hhhjDhMsubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/hhhjDhMsubah}(h]j*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhMshj,hhubjS)}(hhh]jX)}(h1create clone of skb, and take reference to socketh]h1create clone of skb, and take reference to socket}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMshj/hhubah}(h]h ]h"]h$]h&]uh1jRhj,hhhjDhMsubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{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)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMwhjNubj)}(hhh]j)}(h)``struct sk_buff *skb`` the skb to clone h](j)}(h``struct sk_buff *skb``h]j)}(hjsh]hstruct sk_buff *skb}(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.chMthjmubj)}(hhh]jX)}(hthe skb to cloneh]hthe skb to clone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMthjjubah}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMvhjNubjX)}(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.chMuhjNubjX)}(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.chMyhjNubeh}(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.chMkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMkubj)}(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=uh1jhjhhhjhMkubj)}(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 }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j')}jj$sbc.skb_partial_csum_setasbuh1hhj: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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubj)}(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$]jxc.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=uh1jhj6ubj)}(hu16 offh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jxc.skb_partial_csum_setasbuh1hhjubj)}(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=uh1jhj6ubeh}(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)}(h0set up and verify partial csum values for packeth]h0set up and verify partial csum values for packet}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkhjNhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{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)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMohjmubj)}(hhh](j)}(h'``struct sk_buff *skb`` the skb to set h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMlhjubj)}(hhh]jX)}(hthe skb to seth]hthe skb to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(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.chMmhjubj)}(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&]uh1jWhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(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.chMnhjubj)}(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&]uh1jWhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubeh}(h]h ]h"]h$]h&]uh1jhjmubjX)}(h**Description**h]j)}(hj?h]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMphjmubjX)}(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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMohjmubjX)}(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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMrhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_checksum_setup (C function)c.skb_checksum_setuphNtauh1hhj[hhhNhNubh)}(hhh](h)}(h>int skb_checksum_setup (struct sk_buff *skb, bool recalculate)h]h)}(h=int skb_checksum_setup(struct sk_buff *skb, bool recalculate)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMVubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMVubj)}(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=uh1jhjhhhjhMVubj)}(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}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool recalculateh](j)}(hjTh]hbool}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj%)}(h recalculateh]h recalculate}(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=jDuh1hjEjFhjhhhjhMVubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMVhjhhubjS)}(hhh]jX)}(hset up partial checksum offseth]hset up partial checksum offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMVhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMVubeh}(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.chMZhjubj)}(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.chMWhjubj)}(hhh]jX)}(hthe skb to set uph]hthe skb to set up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubj)}(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.chMYhjubj)}(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.chMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubeh}(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}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjhhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j')}jskb_checksum_trimmedsbc.skb_checksum_trimmedasbuh1hhjWhhhjhhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjhhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWhhhjhhMubj)}(hskb_checksum_trimmedh]j%)}(hjh]hskb_checksum_trimmed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjhhMubj)}(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}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int transport_lenh](j)}(hunsignedh]hunsigned}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(hinth]hint}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj%)}(h transport_lenh]h transport_len}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h(__sum16 (*skb_chkf)(struct sk_buff *skb)h](h)}(hhh]j%)}(h__sum16h]h__sum16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_checksum_trimmedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(h(h]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskb_chkfh]hskb_chkf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(h)h]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]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%)}(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_checksum_trimmedasbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(hjh]h)}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(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)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjPhhhjhhMubeh}(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.chMhjubj)}(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.chMhjubj)}(hhh]jX)}(hthe skb to checkh]hthe skb to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhj ubj)}(hhh]jX)}(h)the data length beyond the network headerh]h)the data length beyond the network header}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubj)}(hE``__sum16(*skb_chkf)(struct sk_buff *skb)`` checksum function to use h](j)}(h+``__sum16(*skb_chkf)(struct sk_buff *skb)``h]j)}(hjJh]h'__sum16(*skb_chkf)(struct sk_buff *skb)}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjDubj)}(hhh]jX)}(hchecksum function to useh]hchecksum function to use}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(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.chMhjubjX)}(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.chMhjubjX)}(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.chMhjubeh}(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 }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDmodnameN classnameNjj!)}j$]j')}jj sbc.skb_try_coalesceasbuh1hhj ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(htoh]hto}(hj}hhhNhNubah}(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&]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_try_coalesceasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint *delta_truesizeh](j)}(hinth]hint}(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%)}(hdelta_truesizeh]hdelta_truesize}(hjphhhNhNubah}(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)}(htry to merge skb to prior oneh]htry to merge skb to prior one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *to`` prior buffer ``struct sk_buff *from`` buffer to add ``bool *fragstolen`` pointer to boolean ``int *delta_truesize`` how much more was allocated than was requestedh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h$``struct sk_buff *to`` prior buffer h](j)}(h``struct sk_buff *to``h]j)}(hjh]hstruct sk_buff *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h prior bufferh]h prior buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``struct sk_buff *from`` buffer to add h](j)}(h``struct sk_buff *from``h]j)}(hj h]hstruct sk_buff *from}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jX)}(h buffer to addh]h buffer to add}(hj- hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj) hMhj* ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj) hMhjubj)}(h(``bool *fragstolen`` pointer to boolean h](j)}(h``bool *fragstolen``h]j)}(hjM h]hbool *fragstolen}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjG ubj)}(hhh]jX)}(hpointer to booleanh]hpointer to boolean}(hjf hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjb hMhjc ubah}(h]h ]h"]h$]h&]uh1jhjG ubeh}(h]h ]h"]h$]h&]uh1jhjb hMhjubj)}(hF``int *delta_truesize`` how much more was allocated than was requestedh](j)}(h``int *delta_truesize``h]j)}(hj h]hint *delta_truesize}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jX)}(h.how much more was allocated than was requestedh]h.how much more was allocated than was requested}(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&]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](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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hM;ubj)}(hskb_scrub_packeth]j%)}(hskb_scrub_packeth]hskb_scrub_packet}(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 *skb, bool xnet)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$hj8 ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj= modnameN classnameNjj!)}j$]j')}jj sbc.skb_scrub_packetasbuh1hhj 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%)}(hskbh]hskb}(hjv hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h bool xneth](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%)}(hxneth]hxnet}(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 scrub an skbh]h scrub an skb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;hj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hM;ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM?hj ubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to clean h](j)}(h``struct sk_buff *skb``h]j)}(hj h]hstruct sk_buff *skb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM=hj ubj)}(hhh]jX)}(hbuffer to cleanh]hbuffer to clean}(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'``bool xnet`` packet is crossing netns h](j)}(h ``bool xnet``h]j)}(hjN h]h bool xnet}(hjP hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM>hjH ubj)}(hhh]jX)}(hpacket is crossing netnsh]hpacket is crossing netns}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjc hM>hjd ubah}(h]h ]h"]h$]h&]uh1jhjH ubeh}(h]h ]h"]h$]h&]uh1jhjc hM>hj ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM@hj ubjX)}(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 (}(hj hhhNhNubj)}(h**xnet**h]hxnet}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh] == true). We have to clear all information in the skb that could impact namespace isolation.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM?hj ubeh}(h]h ] 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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM(ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hM(ubj)}(h skb_eth_poph]j%)}(h skb_eth_poph]h skb_eth_pop}(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 *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$hj8 ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj= modnameN classnameNjj!)}j$]j')}jj sb c.skb_eth_popasbuh1hhj 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%)}(hskbh]hskb}(hjv 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)}(h0Drop the Ethernet header at the head of a packeth]h0Drop the 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.chM(hj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hM(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM,hj ubj)}(hhh]j)}(h0``struct sk_buff *skb`` Socket buffer to modify h](j)}(h``struct sk_buff *skb``h]j)}(hj h]hstruct sk_buff *skb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM*hj ubj)}(hhh]jX)}(hSocket buffer to modifyh]hSocket buffer to modify}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM,hj ubjX)}(h$Drop the Ethernet header of **skb**.h](hDrop the Ethernet header of }(hj2 hhhNhNubj)}(h**skb**h]hskb}(hj: hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2 ubh.}(hj2 hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM+hj ubjX)}(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.}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-hj ubjX)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjb hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0hj ubeh}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMBubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMBubj)}(h skb_eth_pushh]j%)}(h skb_eth_pushh]h skb_eth_push}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMBubj)}(hI(struct sk_buff *skb, const unsigned char *dst, const unsigned char *src)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_eth_pushasbuh1hhj 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)}(hconst unsigned char *dsth](h)}(hjh]hconst}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj)}(hunsignedh]hunsigned}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj)}(hcharh]hchar}(hjwhhhNhNubah}(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%)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(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*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=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)}(h1Add a new Ethernet header at the head of a packeth]h1Add a new Ethernet header at the head of a packet}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMBhj@hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMBubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[jxj[jyjzj{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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMFhj_ubj)}(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.chMDhj~ubj)}(hhh]jX)}(hSocket buffer to modifyh]hSocket buffer to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMDhj{ubj)}(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.chMEhjubj)}(hhh]jX)}(h)Destination MAC address of the new headerh]h)Destination MAC address of the new header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhj{ubj)}(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.chMFhjubj)}(hhh]jX)}(h$Source MAC address of the new headerh]h$Source MAC address of the new header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMFhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMFhj{ubeh}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMHhj_ubjX)}(h+Prepend **skb** with a new Ethernet header.h](hPrepend }(hjGhhhNhNubj)}(h**skb**h]hskb}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh with a new Ethernet header.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMGhj_ubjX)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMIhj_ubjX)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMKhj_ubeh}(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.chMxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMxubj)}(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=uh1jhjhhhjhMxubj)}(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*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h__be32 mpls_lseh](h)}(hhh]j%)}(h__be32h]h__be32}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]jc.skb_mpls_pushasbuh1hhjQubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(hmpls_lseh]hmpls_lse}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(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 }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hetherneth]hethernet}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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)}(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}(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&]uh1jRhjhhhjhMxubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer ``__be32 mpls_lse`` MPLS label stack entry to push ``__be16 mpls_proto`` ethertype of the new MPLS header (expects 0x8847 or 0x8848) ``int mac_len`` length of the MAC header ``bool ethernet`` flag to indicate if the resulting packet after skb_mpls_push is ethernet **Description** Expects skb->data at mac header. Returns 0 on success, -errno otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM|hj{ubj)}(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.chM{hjubj)}(hhh]jX)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjubj)}(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.chM|hjubj)}(hhh]jX)}(hMPLS label stack entry to pushh]hMPLS label stack entry to push}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM|hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM|hjubj)}(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.chM}hj ubj)}(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)}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hM}hj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hM}hjubj)}(h)``int mac_len`` length of the MAC header h](j)}(h``int mac_len``h]j)}(hjKh]h int mac_len}(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)}(hlength of the MAC headerh]hlength of the MAC header}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hM~hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hM~hjubj)}(h[``bool ethernet`` flag to indicate if the resulting packet after skb_mpls_push is ethernet h](j)}(h``bool ethernet``h]j)}(hjh]h bool ethernet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj~ubj)}(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.chMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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_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}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j')}jj7sbc.skb_mpls_popasbuh1hhjMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(h__be16 next_protoh](h)}(hhh]j%)}(h__be16h]h__be16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_mpls_popasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h next_protoh]h next_proto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(h int mac_lenh](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmac_lenh]hmac_len}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(h bool etherneth](j)}(hjTh]hbool}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj%)}(hetherneth]hethernet}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubeh}(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)}(hpop the outermost MPLS headerh]hpop the outermost MPLS header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj"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)}(hj8h]h int mac_len}(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.chMhj2ubj)}(hhh]jX)}(hlength of the MAC headerh]hlength of the MAC header}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubj)}(h=``bool ethernet`` flag to indicate if the packet is ethernet h](j)}(h``bool ethernet``h]j)}(hjqh]h bool ethernet}(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.chMhjkubj)}(hhh]jX)}(h*flag to indicate if the packet is etherneth]h*flag to indicate if the packet is ethernet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h skb_mpls_update_lse (C function)c.skb_mpls_update_lsehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h>int skb_mpls_update_lse (struct sk_buff *skb, __be32 mpls_lse)h]h)}(h=int skb_mpls_update_lse(struct sk_buff *skb, __be32 mpls_lse)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]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&]uh1hhj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j')}jj#sbc.skb_mpls_update_lseasbuh1hhj9ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(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$]jwc.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=uh1jhj5ubeh}(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)}(hj*h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj$ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjIh]hstruct sk_buff *skb}(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)}(hbufferh]hbuffer}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj@ubj)}(h<``__be32 mpls_lse`` new MPLS label stack entry to update to h](j)}(h``__be32 mpls_lse``h]j)}(hjh]h__be32 mpls_lse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj|ubj)}(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&]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: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&]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 hhhjhMubj)}(hskb_mpls_dec_ttlh]j%)}(hskb_mpls_dec_ttlh]hskb_mpls_dec_ttl}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h(struct sk_buff *skb)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_mpls_dec_ttlasbuh1hhjJubj)}(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=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.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.chMhj ubj)}(hhh]jX)}(hbufferh]hbuffer}(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&]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.}(hjchhhNhNubah}(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.}(hjrhhhNhNubah}(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 }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h header_lenh]h header_len}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned long data_lenh](j)}(hunsignedh]hunsigned}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(hdata_lenh]hdata_len}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(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}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]jc.alloc_skb_with_fragsasbuh1hhj0ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj%)}(hgfp_maskh]hgfp_mask}(hjchhhNhNubah}(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=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hallocate skb with page fragsh]hallocate skb with page frags}(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})}(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.chM"hjubj)}(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.chM hjubj)}(hhh]jX)}(hsize of linear parth]hsize of linear part}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h2``unsigned long data_len`` needed length in frags h](j)}(h``unsigned long data_len``h]j)}(hjh]hunsigned long data_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)}(hneeded length in fragsh]hneeded length in frags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjubj)}(h&``int order`` max page order desired. h](j)}(h ``int order``h]j)}(hj@h]h int order}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM"hj:ubj)}(hhh]jX)}(hmax page order desired.h]hmax page order desired.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhM"hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhM"hjubj)}(h.``int *errcode`` pointer to error code if any h](j)}(h``int *errcode``h]j)}(hjyh]h int *errcode}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM#hjsubj)}(hhh]jX)}(hpointer to error code if anyh]hpointer to error code if any}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(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.chM$hjubj)}(hhh]jX)}(hallocation maskh]hallocation mask}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM&hjubjX)}(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.chM%hjubeh}(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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM>ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj@hM>ubj)}(h skb_condenseh]j%)}(h skb_condenseh]h skb_condense}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj@hM>ubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjUsbc.skb_condenseasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hskbh]hskb}(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@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)}(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.chM>hjhhubah}(h]h ]h"]h$]h&]uh1jRhj'hhhj@hM>ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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.chMBhjubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj3h]hstruct 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.chM?hj-ubj)}(hhh]jX)}(hbufferh]hbuffer}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhM?hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM?hj*ubah}(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.chMAhjubjX)}(hCan be used to save memory before skb is added to a busy queue. If packet has bytes in frags and enough tail room in skb->head, pull all of them, so that we can free the frags right now and adjust truesize.h]hCan be used to save memory before skb is added to a busy queue. If packet has bytes in frags and enough tail room in skb->head, pull all of them, so that we can free the frags right now and adjust truesize.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM@hjubjX)}(h **Notes**h]j)}(hjh]hNotes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMEhjubj )}(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.chMEhjubah}(h]h ]h"]h$]h&]uh1j hjhMEhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_ext_set (C function)c.__skb_ext_sethNtauh1hhj[hhhNhNubh)}(hhh](h)}(hSvoid * __skb_ext_set (struct sk_buff *skb, enum skb_ext_id id, struct skb_ext *ext)h]h)}(hQvoid *__skb_ext_set(struct sk_buff *skb, enum skb_ext_id id, struct skb_ext *ext)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(h __skb_ext_seth]j%)}(h __skb_ext_seth]h __skb_ext_set}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h>(struct sk_buff *skb, enum skb_ext_id id, struct skb_ext *ext)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}(hjL hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjI ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjN modnameN classnameNjj!)}j$]j')}jj sbc.__skb_ext_setasbuh1hhj* 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%)}(hskbh]hskb}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj* ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj& ubj)}(henum skb_ext_id idh](h)}(hhh]henum}(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_ext_idh]h skb_ext_id}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jh c.__skb_ext_setasbuh1hhj 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& ubj)}(hstruct skb_ext *exth](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%)}(hskb_exth]hskb_ext}(hj!!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#!modnameN classnameNjj!)}j$]jh c.__skb_ext_setasbuh1hhj 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%)}(hexth]hext}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h2attach the specified extension storage to this skbh]h2attach the specified extension storage to this skb}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer ``enum skb_ext_id id`` extension id ``struct skb_ext *ext`` extension storage previously allocated via __skb_ext_alloc() **Description** Existing extensions, if any, are cleared. Returns the pointer to the extension.h](jX)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj!ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj!h]hstruct sk_buff *skb}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj!ubj)}(hhh]jX)}(hbufferh]hbuffer}(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$``enum skb_ext_id id`` extension id h](j)}(h``enum skb_ext_id id``h]j)}(hj!h]henum skb_ext_id id}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj!ubj)}(hhh]jX)}(h extension idh]h extension 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)}(hU``struct skb_ext *ext`` extension storage previously allocated via __skb_ext_alloc() h](j)}(h``struct skb_ext *ext``h]j)}(hj7"h]hstruct skb_ext *ext}(hj9"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5"ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj1"ubj)}(hhh]jX)}(hh]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"hhhj"hMubj)}(h skb_ext_addh]j%)}(h skb_ext_addh]h skb_ext_add}(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, enum skb_ext_id id)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 reftargetj0#modnameN classnameNjj!)}j$]j')}jj"sb c.skb_ext_addasbuh1hhj #ubj)}(h h]h }(hjN#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj #ubj;)}(hj>h]h*}(hj\#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj #ubj%)}(hskbh]hskb}(hji#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj #ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubj)}(henum skb_ext_id idh](h)}(hhh]henum}(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_ext_idh]h skb_ext_id}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#modnameN classnameNjj!)}j$]jJ# c.skb_ext_addasbuh1hhj~#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=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)}(h1allocate space for given extension, COW if neededh]h1allocate space for given extension, COW if needed}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj#hhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj"hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer ``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)}(hj$h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj$ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj7$h]hstruct sk_buff *skb}(hj9$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5$ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj1$ubj)}(hhh]jX)}(hbufferh]hbuffer}(hjP$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjL$hMhjM$ubah}(h]h ]h"]h$]h&]uh1jhj1$ubeh}(h]h ]h"]h$]h&]uh1jhjL$hMhj.$ubj)}(h7``enum skb_ext_id id`` extension to allocate space for h](j)}(h``enum skb_ext_id id``h]j)}(hjp$h]henum skb_ext_id id}(hjr$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn$ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjj$ubj)}(hhh]jX)}(hextension to allocate space forh]hextension to allocate space for}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhj.$ubeh}(h]h ]h"]h$]h&]uh1jhj$ubjX)}(h**Description**h]j)}(hj$h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj$ubjX)}(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.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj$ubjX)}(hIf the skb was cloned, COW applies and the returned memory can be modified without changing the extension space of clones buffers.h]hIf the skb was cloned, COW applies and the returned memory can be modified without changing the extension space of clones buffers.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj$ubjX)}(h?Returns pointer to the extension or NULL on allocation failure.h]h?Returns pointer to the extension or NULL on allocation failure.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_splice_from_iter (C function)c.skb_splice_from_iterhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hZssize_t skb_splice_from_iter (struct sk_buff *skb, struct iov_iter *iter, ssize_t maxsize)h]h)}(hYssize_t skb_splice_from_iter(struct sk_buff *skb, struct iov_iter *iter, ssize_t maxsize)h](h)}(hhh]j%)}(hssize_th]hssize_t}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%modnameN classnameNjj!)}j$]j')}jskb_splice_from_itersbc.skb_splice_from_iterasbuh1hhj %hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMoubj)}(h h]h }(hj3%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj %hhhj2%hMoubj)}(hskb_splice_from_iterh]j%)}(hj/%h]hskb_splice_from_iter}(hjE%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjA%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj %hhhj2%hMoubj)}(h=(struct sk_buff *skb, struct iov_iter *iter, ssize_t maxsize)h](j)}(hstruct sk_buff *skbh](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%)}(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_splice_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%)}(hskbh]hskb}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjX%ubj)}(hstruct iov_iter *iterh](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_splice_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%)}(hiterh]hiter}(hj'&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjX%ubj)}(hssize_t maxsizeh](h)}(hhh]j%)}(hssize_th]hssize_t}(hjC&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjE&modnameN classnameNjj!)}j$]j-%c.skb_splice_from_iterasbuh1hhj<&ubj)}(h h]h }(hja&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<&ubj%)}(hmaxsizeh]hmaxsize}(hjo&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjX%ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj %hhhj2%hMoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%hhhj2%hMoubah}(h]j%ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj2%hMohj%hhubjS)}(hhh]jX)}(h Splice (or copy) pages to skbuffh]h Splice (or copy) pages to skbuff}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMohj&hhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhj2%hMoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhj[hNhNubj})}(hX5**Parameters** ``struct sk_buff *skb`` The buffer to add pages to ``struct iov_iter *iter`` Iterator representing the pages to be added ``ssize_t maxsize`` Maximum amount of pages to be added **Description** This is a common helper function for supporting MSG_SPLICE_PAGES. It extracts pages from an iterator and adds them to the socket buffer if possible, copying them to fragments if not possible (such as if they're slab pages). Returns the amount of data spliced/copied or -EMSGSIZE if there's insufficient space in the buffer to transfer anything.h](jX)}(h**Parameters**h]j)}(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.chMshj&ubj)}(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.chMphj&ubj)}(hhh]jX)}(hThe buffer to add pages toh]hThe buffer to add pages to}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hMphj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMphj&ubj)}(hF``struct iov_iter *iter`` Iterator representing the pages to be added h](j)}(h``struct iov_iter *iter``h]j)}(hj'h]hstruct iov_iter *iter}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMqhj 'ubj)}(hhh]jX)}(h+Iterator representing the pages to be addedh]h+Iterator representing the pages to be added}(hj,'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj('hMqhj)'ubah}(h]h ]h"]h$]h&]uh1jhj 'ubeh}(h]h ]h"]h$]h&]uh1jhj('hMqhj&ubj)}(h8``ssize_t maxsize`` Maximum amount of pages to be added h](j)}(h``ssize_t maxsize``h]j)}(hjL'h]hssize_t maxsize}(hjN'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ'ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMrhjF'ubj)}(hhh]jX)}(h#Maximum amount of pages to be addedh]h#Maximum amount of pages to be added}(hje'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhja'hMrhjb'ubah}(h]h ]h"]h$]h&]uh1jhjF'ubeh}(h]h ]h"]h$]h&]uh1jhja'hMrhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&ubjX)}(h**Description**h]j)}(hj'h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMthj&ubjX)}(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.chMshj&ubjX)}(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.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMxhj&ubeh}(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}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj'hKubj)}(h sk_ns_capableh]j%)}(h sk_ns_capableh]h sk_ns_capable}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj'hKubj)}(h@(const struct sock *sk, struct user_namespace *user_ns, 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}(hj2(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}(hjP(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjM(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjR(modnameN classnameNjj!)}j$]j')}jj'sbc.sk_ns_capableasbuh1hhj(ubj)}(h h]h }(hjp(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)}(hstruct user_namespace *user_nsh](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%)}(huser_namespaceh]huser_namespace}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(modnameN classnameNjj!)}j$]jl(c.sk_ns_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%)}(huser_nsh]huser_ns}(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}(hj0)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj(ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj'hhhj'hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj'hhhj'hKubah}(h]j'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'hKhj'hhubjS)}(hhh]jX)}(hGeneral socket capability testh]hGeneral socket capability test}(hjZ)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjW)hhubah}(h]h ]h"]h$]h&]uh1jRhj'hhhj'hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjr)jxjr)jyjzj{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)}(hj|)h]h Parameters}(hj~)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz)ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjv)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)}(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&]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+The user namespace of the capability to useh]h+The user namespace of the 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)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&]uh1jhjv)ubjX)}(h**Description**h]j)}(hjH*h]h Description}(hjJ*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF*ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjv)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 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 }(hj^*hhhNhNubj)}(h**cap**h]hcap}(hjf*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^*ubh in the user namespace }(hj^*hhhNhNubj)}(h **user_ns**h]huser_ns}(hjx*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^*ubh.}(hj^*hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjv)ubeh}(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}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhhj*hKubj)}(h sk_capableh]j%)}(h sk_capableh]h sk_capable}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj*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')}jj*sb c.sk_capableasbuh1hhj*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%)}(hskh]hsk}(hja+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubj)}(hint caph](j)}(hinth]hint}(hjz+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjv+ubj%)}(hcaph]hcap}(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*hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj*hhhj*hKubah}(h]j*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*hKhj*hhubjS)}(hhh]jX)}(hSocket global capability testh]hSocket global capability test}(hj+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&]uh1jRhj*hhhj*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 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)}(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 global capability to use h](j)}(h ``int cap``h]j)}(hj:,h]hint cap}(hj<,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8,ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj4,ubj)}(hhh]jX)}(hThe global capability to useh]hThe global capability to use}(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&]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** 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.chKhj+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}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,hhhj,hKubj)}(hsk_net_capableh]j%)}(hsk_net_capableh]hsk_net_capable}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhj,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 }(hj0-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubh)}(hhh]j%)}(hsockh]hsock}(hjA-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjC-modnameN classnameNjj!)}j$]j')}jj,sbc.sk_net_capableasbuh1hhj-ubj)}(h h]h }(hja-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj;)}(hj>h]h*}(hjo-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}(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,hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,hhhj,hKubah}(h]j,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,hKhj,hhubjS)}(hhh]jX)}(h(Network namespace socket capability testh]h(Network namespace socket capability test}(hj-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&]uh1jRhj,hhhj,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}(hj5.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1.hKhj2.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj1.hKhj.ubj)}(h"``int cap`` The capability to use h](j)}(h ``int cap``h]j)}(hjU.h]hint cap}(hjW.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS.ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjO.ubj)}(hhh]jX)}(hThe capability to useh]hThe capability to use}(hjn.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjj.hKhjk.ubah}(h]h ]h"]h$]h&]uh1jhjO.ubeh}(h]h ]h"]h$]h&]uh1jhjj.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}(hj.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}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM'ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj.hM'ubj)}(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=uh1jhj.hhhj.hM'ubj)}(h(struct sock *sk)h]j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj$/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj /ubj)}(h h]h }(hj1/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj /ubh)}(hhh]j%)}(hsockh]hsock}(hjB/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjD/modnameN classnameNjj!)}j$]j')}jj /sbc.sk_set_memallocasbuh1hhj /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%)}(hskh]hsk}(hj}/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj /ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubah}(h]h ]h"]h$]h&]j<j=uh1jhj.hhhj.hM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhj.hM'ubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hM'hj.hhubjS)}(hhh]jX)}(hsets ``SOCK_MEMALLOC``h](hsets }(hj/hhhNhNubj)}(h``SOCK_MEMALLOC``h]h SOCK_MEMALLOC}(hj/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&]uh1jRhj.hhhj.hM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/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}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM+hj/ubj)}(hhh]j)}(h(``struct sock *sk`` socket 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(hj/ubj)}(hhh]jX)}(hsocket to set it onh]hsocket to set it on}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj 0hM(hj 0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj 0hM(hj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubjX)}(h**Description**h]j)}(hj10h]h Description}(hj30hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/0ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM*hj/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 }(hjG0hhhNhNubj)}(h``SOCK_MEMALLOC``h]h SOCK_MEMALLOC}(hjO0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG0ubh on a socket for access to emergency reserves. It’s the responsibility of the admin to adjust min_free_kbytes to meet the requirements}(hjG0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM)hj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_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}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhj0hMubh)}(hhh]j%)}(hsockh]hsock}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]j')}jsk_allocsb c.sk_allocasbuh1hhj0hhhj0hMubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhj0hMubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0hhhj0hMubj)}(hsk_alloch]j%)}(hj0h]hsk_alloc}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0hhhj0hMubj)}(hK(struct net *net, int family, gfp_t priority, struct proto *prot, int kern)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(hneth]hnet}(hj 1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"1modnameN classnameNjj!)}j$]j0 c.sk_allocasbuh1hhj0ubj)}(h h]h }(hj>1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hjL1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hneth]hnet}(hjY1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(h int familyh](j)}(hinth]hint}(hjr1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn1ubj%)}(hfamilyh]hfamily}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(hgfp_t priorityh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j0 c.sk_allocasbuh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj%)}(hpriorityh]hpriority}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(hstruct proto *proth](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(hprotoh]hproto}(hj 2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j0 c.sk_allocasbuh1hhj1ubj)}(h h]h }(hj+2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hj92hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hproth]hprot}(hjF2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(hint kernh](j)}(hinth]hint}(hj_2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[2ubj)}(h h]h }(hjm2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[2ubj%)}(hkernh]hkern}(hj{2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[2ubeh}(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]j{0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hMhj}0hhubjS)}(hhh]jX)}(h%All socket objects are allocated hereh]h%All socket objects are allocated here}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj2hhubah}(h]h ]h"]h$]h&]uh1jRhj}0hhhj0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj2jxj2jyjzj{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)}(hj2h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj2ubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hj2h]hstruct net *net}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj2ubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj2ubj)}(h``int family`` protocol family h](j)}(h``int family``h]j)}(hj3h]h int family}(hj!3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj3ubj)}(hhh]jX)}(hprotocol familyh]hprotocol family}(hj83hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj43hMhj53ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj43hMhj2ubj)}(hH``gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) h](j)}(h``gfp_t priority``h]j)}(hjX3h]hgfp_t priority}(hjZ3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV3ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhjR3ubj)}(hhh]jX)}(h4for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc)h](hfor allocation (}(hjq3hhhNhNubj)}(h``GFP_KERNEL``h]h GFP_KERNEL}(hjy3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq3ubh, }(hjq3hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq3ubh, etc)}(hjq3hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjm3hMhjn3ubah}(h]h ]h"]h$]h&]uh1jhjR3ubeh}(h]h ]h"]h$]h&]uh1jhjm3hMhj2ubj)}(hK``struct proto *prot`` struct proto associated with this new sock instance h](j)}(h``struct proto *prot``h]j)}(hj3h]hstruct proto *prot}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj3ubj)}(hhh]jX)}(h3struct proto associated with this new sock instanceh]h3struct proto associated with this new sock instance}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj2ubj)}(h+``int kern`` is this to be a kernel socket?h](j)}(h ``int kern``h]j)}(hj3h]hint kern}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj3ubj)}(hhh]jX)}(his this to be a kernel socket?h]his this to be a kernel socket?}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_clone (C function) c.sk_clonehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hOstruct sock * sk_clone (const struct sock *sk, const gfp_t priority, bool lock)h]h)}(hMstruct sock *sk_clone(const struct sock *sk, const gfp_t priority, bool lock)h](h)}(hjh]hstruct}(hjH4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjD4hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj)}(h h]h }(hjV4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjD4hhhjU4hM ubh)}(hhh]j%)}(hsockh]hsock}(hjg4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjd4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetji4modnameN classnameNjj!)}j$]j')}jsk_clonesb c.sk_cloneasbuh1hhjD4hhhjU4hM ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjD4hhhjU4hM ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjD4hhhjU4hM ubj)}(hsk_cloneh]j%)}(hj4h]hsk_clone}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjD4hhhjU4hM ubj)}(h8(const struct sock *sk, const gfp_t priority, bool lock)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(hsockh]hsock}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j4 c.sk_cloneasbuh1hhj4ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hj'5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hskh]hsk}(hj45hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(hconst gfp_t priorityh](h)}(hjh]hconst}(hjM5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjI5ubj)}(h h]h }(hjZ5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjI5ubh)}(hhh]j%)}(hgfp_th]hgfp_t}(hjk5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjm5modnameN classnameNjj!)}j$]j4 c.sk_cloneasbuh1hhjI5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjI5ubj%)}(hpriorityh]hpriority}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjI5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(h bool lockh](j)}(hjTh]hbool}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj%)}(hlockh]hlock}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjD4hhhjU4hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@4hhhjU4hM ubah}(h]j;4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjU4hM hj=4hhubjS)}(hhh]jX)}(hclone a socketh]hclone a socket}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj5hhubah}(h]h ]h"]h$]h&]uh1jRhj=4hhhjU4hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj 6jxj 6jyjzj{uh1hhhhj[hNhNubj})}(hXQ**Parameters** ``const struct sock *sk`` the socket to clone ``const gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) ``bool lock`` if true, lock the cloned sk **Description** If **lock** is true, the clone is locked by bh_lock_sock(), and caller must unlock socket even in error path by bh_unlock_sock().h](jX)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj6ubj)}(hhh](j)}(h.``const struct sock *sk`` the socket to clone h](j)}(h``const struct sock *sk``h]j)}(hj66h]hconst struct sock *sk}(hj86hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj46ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj06ubj)}(hhh]jX)}(hthe socket to cloneh]hthe socket to clone}(hjO6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjK6hM hjL6ubah}(h]h ]h"]h$]h&]uh1jhj06ubeh}(h]h ]h"]h$]h&]uh1jhjK6hM hj-6ubj)}(hN``const gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) h](j)}(h``const gfp_t priority``h]j)}(hjo6h]hconst gfp_t priority}(hjq6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm6ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hji6ubj)}(hhh]jX)}(h4for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc)h](hfor allocation (}(hj6hhhNhNubj)}(h``GFP_KERNEL``h]h GFP_KERNEL}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh, }(hj6hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh, etc)}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj6hM hj6ubah}(h]h ]h"]h$]h&]uh1jhji6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM hj-6ubj)}(h*``bool lock`` if true, lock the cloned sk h](j)}(h ``bool lock``h]j)}(hj6h]h bool lock}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj6ubj)}(hhh]jX)}(hif true, lock the cloned skh]hif true, lock the cloned sk}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hM hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM hj-6ubeh}(h]h ]h"]h$]h&]uh1jhj6ubjX)}(h**Description**h]j)}(hj7h]h Description}(hj 7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj6ubjX)}(hIf **lock** is true, the clone is locked by bh_lock_sock(), and caller must unlock socket even in error path by bh_unlock_sock().h](hIf }(hj7hhhNhNubj)}(h**lock**h]hlock}(hj%7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubhv is true, the clone is locked by bh_lock_sock(), and caller must unlock socket even in error path by bh_unlock_sock().}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_page_frag_refill (C function)c.skb_page_frag_refillhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hObool skb_page_frag_refill (unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h]h)}(hNbool skb_page_frag_refill(unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h](j)}(hjTh]hbool}(hj^7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZ7hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM1 ubj)}(h h]h }(hjl7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZ7hhhjk7hM1 ubj)}(hskb_page_frag_refillh]j%)}(hskb_page_frag_refillh]hskb_page_frag_refill}(hj~7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjz7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZ7hhhjk7hM1 ubj)}(h5(unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h](j)}(hunsigned int szh](j)}(hunsignedh]hunsigned}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(hinth]hint}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj%)}(hszh]hsz}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(hstruct page_frag *pfragh](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(h page_fragh]h page_frag}(hj 8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj 8modnameN classnameNjj!)}j$]j')}jj7sbc.skb_page_frag_refillasbuh1hhj7ubj)}(h h]h }(hj)8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hj78hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hpfragh]hpfrag}(hjD8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(h gfp_t gfph](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj`8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjb8modnameN classnameNjj!)}j$]j%8c.skb_page_frag_refillasbuh1hhjY8ubj)}(h h]h }(hj~8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjY8ubj%)}(hgfph]hgfp}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjY8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjZ7hhhjk7hM1 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjV7hhhjk7hM1 ubah}(h]jQ7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjk7hM1 hjS7hhubjS)}(hhh]jX)}(h+check that a page_frag contains enough roomh]h+check that a page_frag contains enough room}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM1 hj8hhubah}(h]h ]h"]h$]h&]uh1jRhjS7hhhjk7hM1 ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8jxj8jyjzj{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)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM5 hj8ubj)}(hhh](j)}(h@``unsigned int sz`` minimum size of the fragment we want to get h](j)}(h``unsigned int sz``h]j)}(hj8h]hunsigned int sz}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM2 hj8ubj)}(hhh]jX)}(h+minimum size of the fragment we want to geth]h+minimum size of the fragment we want to get}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj 9hM2 hj 9ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj 9hM2 hj8ubj)}(h1``struct page_frag *pfrag`` pointer to page_frag h](j)}(h``struct page_frag *pfrag``h]j)}(hj09h]hstruct page_frag *pfrag}(hj29hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.9ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM3 hj*9ubj)}(hhh]jX)}(hpointer to page_fragh]hpointer to page_frag}(hjI9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjE9hM3 hjF9ubah}(h]h ]h"]h$]h&]uh1jhj*9ubeh}(h]h ]h"]h$]h&]uh1jhjE9hM3 hj8ubj)}(h-``gfp_t gfp`` priority for memory allocation h](j)}(h ``gfp_t gfp``h]j)}(hji9h]h gfp_t gfp}(hjk9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg9ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM4 hjc9ubj)}(hhh]jX)}(hpriority for memory allocationh]hpriority for memory allocation}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~9hM4 hj9ubah}(h]h ]h"]h$]h&]uh1jhjc9ubeh}(h]h ]h"]h$]h&]uh1jhj~9hM4 hj8ubeh}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Note**h]j)}(hj9h]hNote}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM6 hj8ubjX)}(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, }(hj9hhhNhNubj)}(h**sz**h]hsz}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh& MUST be less or equal than PAGE_SIZE.}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM6 hj8ubeh}(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}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhO/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 hj9hhhj :hM ubj)}(h sk_wait_datah]j%)}(h sk_wait_datah]h sk_wait_data}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhj :hM ubj)}(h9(struct sock *sk, long *timeo, const struct sk_buff *skb)h](j)}(hstruct sock *skh](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%)}(hsockh]hsock}(hjV:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjS:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjX:modnameN classnameNjj!)}j$]j')}jj:sbc.sk_wait_dataasbuh1hhj4:ubj)}(h h]h }(hjv:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4:ubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4:ubj%)}(hskh]hsk}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0:ubj)}(h long *timeoh](j)}(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%)}(htimeoh]htimeo}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0: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$]jr:c.sk_wait_dataasbuh1hhj: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%)}(hskbh]hskb}(hj^;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0:ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj9hhhj :hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9hhhj :hM ubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj :hM hj9hhubjS)}(hhh]jX)}(h+wait for data to arrive at sk_receive_queueh]h+wait for data to arrive at sk_receive_queue}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj;hhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhj :hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sock *sk`` sock to wait on ``long *timeo`` for how long ``const struct sk_buff *skb`` last skb seen on sk_receive_queue **Description** Now socket state including sk->sk_err is changed only under lock, hence we may omit checks after joining wait queue. We check receive queue before schedule() only as optimization; it is very likely that release_sock() added new data.h](jX)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj;ubj)}(hhh](j)}(h$``struct sock *sk`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hj;h]hstruct sock *sk}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj;ubj)}(hhh]jX)}(hsock to wait onh]hsock to wait on}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hM hj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hM hj;ubj)}(h``long *timeo`` for how long h](j)}(h``long *timeo``h]j)}(hj<h]h long *timeo}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj;ubj)}(hhh]jX)}(h for how longh]h for how long}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hM hj<ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj<hM hj;ubj)}(h@``const struct sk_buff *skb`` last skb seen on sk_receive_queue h](j)}(h``const struct sk_buff *skb``h]j)}(hj;<h]hconst struct sk_buff *skb}(hj=<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9<ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj5<ubj)}(hhh]jX)}(h!last skb seen on sk_receive_queueh]h!last skb seen on sk_receive_queue}(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 hj;ubeh}(h]h ]h"]h$]h&]uh1jhj;ubjX)}(h**Description**h]j)}(hjv<h]h Description}(hjx<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt<ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj;ubjX)}(hNow socket state including sk->sk_err is changed only under lock, hence we may omit checks after joining wait queue. We check receive queue before schedule() only as optimization; it is very likely that release_sock() added new data.h]hNow socket state including sk->sk_err is changed only under lock, hence we may omit checks after joining wait queue. We check receive queue before schedule() only as optimization; it is very likely that release_sock() added new data.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](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}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMC ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhj<hMC ubj)}(h__sk_mem_scheduleh]j%)}(h__sk_mem_scheduleh]h__sk_mem_schedule}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhj<hMC ubj)}(h%(struct sock *sk, int size, int kind)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hhh]j%)}(hsockh]hsock}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]j')}jj<sbc.__sk_mem_scheduleasbuh1hhj<ubj)}(h h]h }(hj6=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj;)}(hj>h]h*}(hjD=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj%)}(hskh]hsk}(hjQ=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(hint sizeh](j)}(hinth]hint}(hjj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf=ubj)}(h h]h }(hjx=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjf=ubj%)}(hsizeh]hsize}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(hint kindh](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%)}(hkindh]hkind}(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<hMC ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhj<hMC ubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<hMC hj<hhubjS)}(hhh]jX)}(h.increase sk_forward_alloc and memory_allocatedh]h.increase sk_forward_alloc and memory_allocated}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMC hj=hhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhj<hMC ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj=jxj=jyjzj{uh1hhhhj[hNhNubj})}(hXZ**Parameters** ``struct sock *sk`` socket ``int size`` memory size to allocate ``int kind`` allocation type **Description** If kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.h](jX)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj >hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMG hj>ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj&>h]hstruct sock *sk}(hj(>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$>ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMD hj >ubj)}(hhh]jX)}(hsocketh]hsocket}(hj?>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;>hMD hj<>ubah}(h]h ]h"]h$]h&]uh1jhj >ubeh}(h]h ]h"]h$]h&]uh1jhj;>hMD hj>ubj)}(h%``int size`` memory size to allocate h](j)}(h ``int size``h]j)}(hj_>h]hint size}(hja>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.chME hjY>ubj)}(hhh]jX)}(hmemory size to allocateh]hmemory size to allocate}(hjx>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjt>hME hju>ubah}(h]h ]h"]h$]h&]uh1jhjY>ubeh}(h]h ]h"]h$]h&]uh1jhjt>hME hj>ubj)}(h``int kind`` allocation type h](j)}(h ``int kind``h]j)}(hj>h]hint kind}(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)}(hallocation typeh]hallocation type}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMF hj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMF hj>ubeh}(h]h ]h"]h$]h&]uh1jhj>ubjX)}(h**Description**h]j)}(hj>h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMH hj>ubj )}(hIf kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.h]jX)}(hIf kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.h]hIf kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMG hj>ubah}(h]h ]h"]h$]h&]uh1j hj>hMG hj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__sk_mem_reclaim (C function)c.__sk_mem_reclaimhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3void __sk_mem_reclaim (struct sock *sk, int amount)h]h)}(h2void __sk_mem_reclaim(struct sock *sk, int amount)h](j)}(hvoidh]hvoid}(hj"?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMo ubj)}(h h]h }(hj1?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?hhhj0?hMo ubj)}(h__sk_mem_reclaimh]j%)}(h__sk_mem_reclaimh]h__sk_mem_reclaim}(hjC?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj??ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?hhhj0?hMo ubj)}(h(struct sock *sk, int amount)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj_?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[?ubj)}(h h]h }(hjl?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[?ubh)}(hhh]j%)}(hsockh]hsock}(hj}?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjz?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?modnameN classnameNjj!)}j$]j')}jjE?sbc.__sk_mem_reclaimasbuh1hhj[?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)}(h int amounth](j)}(hinth]hint}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj%)}(hamounth]hamount}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjW?ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?hhhj0?hMo ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?hhhj0?hMo ubah}(h]j?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0?hMo hj?hhubjS)}(hhh]jX)}(h-reclaim sk_forward_alloc and memory_allocatedh]h-reclaim sk_forward_alloc and memory_allocated}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMo hj@hhubah}(h]h ]h"]h$]h&]uh1jRhj?hhhj0?hMo ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/@jxj/@jyjzj{uh1hhhhj[hNhNubj})}(hu**Parameters** ``struct sock *sk`` socket ``int amount`` number of bytes (rounded down to a PAGE_SIZE multiple)h](jX)}(h**Parameters**h]j)}(hj9@h]h Parameters}(hj;@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7@ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMs hj3@ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjX@h]hstruct sock *sk}(hjZ@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV@ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMp hjR@ubj)}(hhh]jX)}(hsocketh]hsocket}(hjq@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjm@hMp hjn@ubah}(h]h ]h"]h$]h&]uh1jhjR@ubeh}(h]h ]h"]h$]h&]uh1jhjm@hMp hjO@ubj)}(hE``int amount`` number of bytes (rounded down to a PAGE_SIZE multiple)h](j)}(h``int amount``h]j)}(hj@h]h int amount}(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.chMr 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.chMq hj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMr hjO@ubeh}(h]h ]h"]h$]h&]uh1jhj3@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$__skb_try_recv_datagram (C function)c.__skb_try_recv_datagramhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hstruct sk_buff * __skb_try_recv_datagram (struct sock *sk, struct sk_buff_head *queue, unsigned int flags, int *off, int *err, struct sk_buff **last)h]h)}(hstruct sk_buff *__skb_try_recv_datagram(struct sock *sk, struct sk_buff_head *queue, unsigned int flags, int *off, int *err, struct sk_buff **last)h](h)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhj@hKubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj AhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj AmodnameN classnameNjj!)}j$]j')}j__skb_try_recv_datagramsbc.__skb_try_recv_datagramasbuh1hhj@hhhj@hKubj)}(h h]h }(hj+AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhj@hKubj;)}(hj>h]h*}(hj9AhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@hhhj@hKubj)}(h__skb_try_recv_datagramh]j%)}(hj(Ah]h__skb_try_recv_datagram}(hjJAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhj@hKubj)}(hl(struct sock *sk, struct sk_buff_head *queue, unsigned int flags, int *off, int *err, struct sk_buff **last)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hjeAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaAubj)}(h h]h }(hjrAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaAubh)}(hhh]j%)}(hsockh]hsock}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j&Ac.__skb_try_recv_datagramasbuh1hhjaAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaAubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaAubj%)}(hskh]hsk}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]Aubj)}(hstruct sk_buff_head *queueh](h)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(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&Ac.__skb_try_recv_datagramasbuh1hhjAubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hqueueh]hqueue}(hj,BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]Aubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjEBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjABubj)}(h h]h }(hjSBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjABubj)}(hinth]hint}(hjaBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjABubj)}(h h]h }(hjoBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjABubj%)}(hflagsh]hflags}(hj}BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjABubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]Aubj)}(hint *offh](j)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hoffh]hoff}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]Aubj)}(hint *errh](j)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(herrh]herr}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]Aubj)}(hstruct sk_buff **lasth](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hj'ChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj8ChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5Cubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:CmodnameN classnameNjj!)}j$]j&Ac.__skb_try_recv_datagramasbuh1hhjCubj)}(h h]h }(hjVChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjdChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj;)}(hj>h]h*}(hjqChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hlasth]hlast}(hj~ChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]Aubeh}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhj@hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhj@hKubah}(h]j@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@hKhj@hhubjS)}(hhh]jX)}(hReceive a datagram skbuffh]hReceive a datagram skbuff}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjChhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhj@hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{uh1hhhhj[hNhNubj})}(hX{**Parameters** ``struct sock *sk`` socket ``struct sk_buff_head *queue`` socket queue from which to receive ``unsigned int flags`` MSG\_ flags ``int *off`` an offset in bytes to peek skb from. Returns an offset within an skb where data actually starts ``int *err`` error code returned ``struct sk_buff **last`` set to last peeked message to inform the wait function what to look for when peeking **Description** Get a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant. This function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with **err** set to -EAGAIN if no data was available or to some other value if an error was detected. * It does not lock socket since today. This function is * free of race conditions. This measure should/can improve * significantly datagram socket latencies at high loads, * when data copying to user space takes lots of time. * (BTW I've just killed the last cli() in IP/IPv6/core/netlink/packet * 8) Great win.) * --ANK (980729) The order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don't change them without having the standard around please.h](jX)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjCubj)}(hhh](j)}(h``struct sock *sk`` 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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjCubj)}(hhh]jX)}(hsocketh]hsocket}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChKhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChKhjCubj)}(hB``struct sk_buff_head *queue`` socket queue from which to receive h](j)}(h``struct sk_buff_head *queue``h]j)}(hj"Dh]hstruct sk_buff_head *queue}(hj$DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Dubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjDubj)}(hhh]jX)}(h"socket queue from which to receiveh]h"socket queue from which to receive}(hj;DhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7DhKhj8Dubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj7DhKhjCubj)}(h#``unsigned int flags`` MSG\_ flags h](j)}(h``unsigned int flags``h]j)}(hj[Dh]hunsigned int flags}(hj]DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYDubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjUDubj)}(hhh]jX)}(h MSG\_ flagsh]h MSG_ flags}(hjtDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjpDhKhjqDubah}(h]h ]h"]h$]h&]uh1jhjUDubeh}(h]h ]h"]h$]h&]uh1jhjpDhKhjCubj)}(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)}(hjDh]hint *off}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjDubj)}(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}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhKhjCubj)}(h!``int *err`` error code returned h](j)}(h ``int *err``h]j)}(hjDh]hint *err}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjDubj)}(hhh]jX)}(herror code returnedh]herror code returned}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhKhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhKhjCubj)}(ho``struct sk_buff **last`` set to last peeked message to inform the wait function what to look for when peeking h](j)}(h``struct sk_buff **last``h]j)}(hjEh]hstruct sk_buff **last}(hj EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjEubj)}(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 EhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhKhjCubeh}(h]h ]h"]h$]h&]uh1jhjCubjX)}(h**Description**h]j)}(hjCEh]h Description}(hjEEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAEubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjCubj )}(hXcGet a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant. This function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with **err** set to -EAGAIN if no data was available or to some other value if an error was detected. * It does not lock socket since today. This function is * free of race conditions. This measure should/can improve * significantly datagram socket latencies at high loads, * when data copying to user space takes lots of time. * (BTW I've just killed the last cli() in IP/IPv6/core/netlink/packet * 8) Great win.) * --ANK (980729) The order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don't change them without having the standard around please.h](jX)}(hX?Get a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant.h]hX?Get a datagram skbuff, understands the peeking, nonblocking wakeups and possible races. This replaces identical code in packet, raw and udp, as well as the IPX AX.25 and Appletalk. It also finally fixes the long standing peek and read race for datagram sockets. If you alter this routine remember it must be re-entrant.}(hj]EhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjYEubjX)}(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 }(hjlEhhhNhNubj)}(h**err**h]herr}(hjtEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlEubhY set to -EAGAIN if no data was available or to some other value if an error was detected.}(hjlEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjYEubh bullet_list)}(hhh](h list_item)}(h5It does not lock socket since today. This function ish]jX)}(hjEh]h5It does not lock socket since today. This function is}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjEubah}(h]h ]h"]h$]h&]uh1jEhjEubjE)}(h8free of race conditions. This measure should/can improveh]jX)}(hjEh]h8free of race conditions. This measure should/can improve}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjEubah}(h]h ]h"]h$]h&]uh1jEhjEubjE)}(h6significantly datagram socket latencies at high loads,h]jX)}(hjEh]h6significantly datagram socket latencies at high loads,}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjEubah}(h]h ]h"]h$]h&]uh1jEhjEubjE)}(h3when data copying to user space takes lots of time.h]jX)}(hjEh]h3when data copying to user space takes lots of time.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjEubah}(h]h ]h"]h$]h&]uh1jEhjEubjE)}(hC(BTW I've just killed the last cli() in IP/IPv6/core/netlink/packeth]jX)}(hjEh]hE(BTW I’ve just killed the last cli() in IP/IPv6/core/netlink/packet}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjEubah}(h]h ]h"]h$]h&]uh1jEhjEubjE)}(h8) Great win.)h]henumerated_list)}(hhh]jE)}(h Great win.)h]jX)}(hjFh]h Great win.)}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjFubah}(h]h ]h"]h$]h&]uh1jEhjFubah}(h]h ]h"]h$]h&]enumtypearabicprefixhsuffixjstartKuh1jFhj Fubah}(h]h ]h"]h$]h&]uh1jEhjEubjE)}(h--ANK (980729) h]jX)}(h--ANK (980729)h]h--ANK (980729)}(hjBFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj>Fubah}(h]h ]h"]h$]h&]uh1jEhjEubeh}(h]h ]h"]h$]h&]bulletj>uh1jEhjEhKhjYEubjX)}(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^FhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjYEubeh}(h]h ]h"]h$]h&]uh1j hjkEhKhjCubeh}(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}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjFhMbubj)}(hskb_kill_datagramh]j%)}(hskb_kill_datagramh]hskb_kill_datagram}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjFhhhjFhMbubj)}(h:(struct sock *sk, struct sk_buff *skb, unsigned int flags)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hsockh]hsock}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j')}jjFsbc.skb_kill_datagramasbuh1hhjFubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hskh]hsk}(hj)GhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjBGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>Gubj)}(h h]h }(hjOGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>Gubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj`GhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]Gubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbGmodnameN classnameNjj!)}j$]j Gc.skb_kill_datagramasbuh1hhj>Gubj)}(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%)}(hskbh]hskb}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>Gubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(hinth]hint}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj%)}(hflagsh]hflags}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubeh}(h]h ]h"]h$]h&]j<j=uh1jhjFhhhjFhMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjFhhhjFhMbubah}(h]jFah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjFhMbhjFhhubjS)}(hhh]jX)}(hFree a datagram skbuff forciblyh]hFree a datagram skbuff forcibly}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbhjHhhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhjFhMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,Hjxj,Hjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sock *sk`` socket ``struct sk_buff *skb`` datagram skbuff ``unsigned int flags`` MSG\_ flags **Description** This function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram. If the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed. This function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context. It returns 0 if the packet was removed by us.h](jX)}(h**Parameters**h]j)}(hj6Hh]h Parameters}(hj8HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Hubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMfhj0Hubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjUHh]hstruct sock *sk}(hjWHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSHubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMchjOHubj)}(hhh]jX)}(hsocketh]hsocket}(hjnHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjHhMchjkHubah}(h]h ]h"]h$]h&]uh1jhjOHubeh}(h]h ]h"]h$]h&]uh1jhjjHhMchjLHubj)}(h(``struct sk_buff *skb`` datagram skbuff h](j)}(h``struct sk_buff *skb``h]j)}(hjHh]hstruct sk_buff *skb}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMdhjHubj)}(hhh]jX)}(hdatagram skbuffh]hdatagram skbuff}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMdhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMdhjLHubj)}(h#``unsigned int flags`` MSG\_ flags h](j)}(h``unsigned int flags``h]j)}(hjHh]hunsigned int flags}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMehjHubj)}(hhh]jX)}(h MSG\_ flagsh]h MSG_ flags}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMehjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMehjLHubeh}(h]h ]h"]h$]h&]uh1jhj0HubjX)}(h**Description**h]j)}(hjIh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMghj0Hubj )}(hXThis function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram. If the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed. This function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context. It returns 0 if the packet was removed by us.h](jX)}(hThis function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram.h]hThis function frees a datagram skbuff that was received by skb_recv_datagram. The flags argument must match the one used for skb_recv_datagram.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMfhjIubjX)}(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+IhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMjhjIubjX)}(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:IhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMnhjIubjX)}(h-It returns 0 if the packet was removed by us.h]h-It returns 0 if the packet was removed by us.}(hjIIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMrhjIubeh}(h]h ]h"]h$]h&]uh1j hj*IhMfhj0Hubeh}(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~IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzIhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzIhhhjIhMubj)}(h!skb_copy_and_crc32c_datagram_iterh]j%)}(h!skb_copy_and_crc32c_datagram_iterh]h!skb_copy_and_crc32c_datagram_iter}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzIhhhjIhMubj)}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j')}jjIsb#c.skb_copy_and_crc32c_datagram_iterasbuh1hhjIubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hj"JhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hskbh]hskb}(hj/JhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(h int offseth](j)}(hinth]hint}(hjHJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDJubj)}(h h]h }(hjVJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDJubj%)}(hoffseth]hoffset}(hjdJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(hstruct iov_iter *toh](h)}(hjh]hstruct}(hj}JhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyJubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]jJ#c.skb_copy_and_crc32c_datagram_iterasbuh1hhjyJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyJubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyJubj%)}(htoh]hto}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(hint lenh](j)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hlenh]hlen}(hj KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(h u32 *crcph](h)}(hhh]j%)}(hu32h]hu32}(hj%KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"Kubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'KmodnameN classnameNjj!)}j$]jJ#c.skb_copy_and_crc32c_datagram_iterasbuh1hhjKubj)}(h h]h }(hjCKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjQKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hcrcph]hcrcp}(hj^KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubeh}(h]h ]h"]h$]h&]j<j=uh1jhjzIhhhjIhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvIhhhjIhMubah}(h]jqIah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjIhMhjsIhhubjS)}(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.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjKhhubah}(h]h ]h"]h$]h&]uh1jRhjsIhhhjIhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{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)}(hjKh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjKubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjKh]hconst struct sk_buff *skb}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjKubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjKubj)}(h:``int offset`` offset in the buffer to start copying from h](j)}(h``int offset``h]j)}(hjLh]h int offset}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjKubj)}(hhh]jX)}(h*offset in the buffer to start copying fromh]h*offset in the buffer to start copying from}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjKubj)}(h2``struct iov_iter *to`` iovec iterator to copy to h](j)}(h``struct iov_iter *to``h]j)}(hj;Lh]hstruct iov_iter *to}(hj=LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Lubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj5Lubj)}(hhh]jX)}(hiovec iterator to copy toh]hiovec iterator to copy to}(hjTLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPLhMhjQLubah}(h]h ]h"]h$]h&]uh1jhj5Lubeh}(h]h ]h"]h$]h&]uh1jhjPLhMhjKubj)}(h8``int len`` amount of data to copy from buffer to iovec h](j)}(h ``int len``h]j)}(hjtLh]hint len}(hjvLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrLubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjnLubj)}(hhh]jX)}(h+amount of data to copy from buffer to iovech]h+amount of data to copy from buffer to iovec}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjnLubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjKubj)}(h0``u32 *crcp`` pointer to CRC32C value to update h](j)}(h ``u32 *crcp``h]j)}(hjLh]h u32 *crcp}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjLubj)}(hhh]jX)}(h!pointer to CRC32C value to updateh]h!pointer to CRC32C value to update}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjKubeh}(h]h ]h"]h$]h&]uh1jhjKubjX)}(h **Return**h]j)}(hjLh]hReturn}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjKubjX)}(h70 on success, -EFAULT if there was a fault during copy.h]h70 on success, -EFAULT if there was a fault during copy.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjKubeh}(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-MhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)MhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM ubj)}(h h]h }(hjh]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfMubj%)}(hskbh]hskb}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbMubj)}(h int offseth](j)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj%)}(hoffseth]hoffset}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbMubj)}(hstruct iov_iter *toh](h)}(hjh]hstruct}(hj,NhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(Nubj)}(h h]h }(hj9NhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(Nubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hjJNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLNmodnameN classnameNjj!)}j$]jMc.skb_copy_datagram_iterasbuh1hhj(Nubj)}(h h]h }(hjhNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(Nubj;)}(hj>h]h*}(hjvNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj(Nubj%)}(htoh]hto}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(Nubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbMubj)}(hint lenh](j)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj%)}(hlenh]hlen}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbMubeh}(h]h ]h"]h$]h&]j<j=uh1jhj)Mhhhj;MhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%Mhhhj;MhM ubah}(h]j Mah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;MhM hj"MhhubjS)}(hhh]jX)}(h%Copy a datagram to an iovec iterator.h]h%Copy a datagram to an iovec iterator.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjNhhubah}(h]h ]h"]h$]h&]uh1jRhj"Mhhhj;MhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{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)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjNubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hj#Oh]hconst struct sk_buff *skb}(hj%OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Oubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjOubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjh]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaPubj%)}(hskbh]hskb}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]Pubj)}(h int offseth](j)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj%)}(hoffseth]hoffset}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]Pubj)}(hstruct iov_iter *fromh](h)}(hjh]hstruct}(hj QhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hj*QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'Qubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,QmodnameN classnameNjj!)}j$]jPc.skb_copy_datagram_from_iterasbuh1hhjQubj)}(h h]h }(hjHQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjVQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hfromh]hfrom}(hjcQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]Pubj)}(hint lenh](j)}(hinth]hint}(hj|QhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxQubj%)}(hlenh]hlen}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]Pubeh}(h]h ]h"]h$]h&]j<j=uh1jhj$Phhhj6PhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj Phhhj6PhMubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj6PhMhjPhhubjS)}(hhh]jX)}(h!Copy a datagram from an iov_iter.h]h!Copy a datagram from an iov_iter.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjQhhubah}(h]h ]h"]h$]h&]uh1jRhjPhhhj6PhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to copy ``int offset`` offset in the buffer to start copying to ``struct iov_iter *from`` the copy source ``int len`` amount of data to copy to buffer from iovec **Description** Returns 0 or -EFAULT.h](jX)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM!hjQubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hjRh]hstruct sk_buff *skb}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjQubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjQubj)}(h8``int offset`` offset in the buffer to start copying to h](j)}(h``int offset``h]j)}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Rubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj6Rubj)}(hhh]jX)}(h(offset in the buffer to start copying toh]h(offset in the buffer to start copying to}(hjURhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQRhMhjRRubah}(h]h ]h"]h$]h&]uh1jhj6Rubeh}(h]h ]h"]h$]h&]uh1jhjQRhMhjQubj)}(h*``struct iov_iter *from`` the copy source h](j)}(h``struct iov_iter *from``h]j)}(hjuRh]hstruct iov_iter *from}(hjwRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsRubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjoRubj)}(hhh]jX)}(hthe copy sourceh]hthe copy source}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhM hjRubah}(h]h ]h"]h$]h&]uh1jhjoRubeh}(h]h ]h"]h$]h&]uh1jhjRhM hjQubj)}(h8``int len`` amount of data to copy to buffer from iovec h](j)}(h ``int len``h]j)}(hjRh]hint len}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM!hjRubj)}(hhh]jX)}(h+amount of data to copy to buffer from iovech]h+amount of data to copy to buffer from iovec}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhM!hjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhM!hjQubeh}(h]h ]h"]h$]h&]uh1jhjQubjX)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM#hjQubj )}(hReturns 0 or -EFAULT.h]jX)}(hjSh]hReturns 0 or -EFAULT.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM"hjRubah}(h]h ]h"]h$]h&]uh1j hjShM"hjQubeh}(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}(hj7ShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ShhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj)}(h h]h }(hjFShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ShhhjEShMubj)}(hzerocopy_sg_from_iterh]j%)}(hzerocopy_sg_from_iterh]hzerocopy_sg_from_iter}(hjXShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3ShhhjEShMubj)}(h,(struct sk_buff *skb, struct iov_iter *from)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjtShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpSubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j')}jjZSsbc.zerocopy_sg_from_iterasbuh1hhjpSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpSubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpSubj%)}(hskbh]hskb}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlSubj)}(hstruct iov_iter *fromh](h)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]jSc.zerocopy_sg_from_iterasbuh1hhjSubj)}(h h]h }(hj"ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hj0ThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hfromh]hfrom}(hj=ThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlSubeh}(h]h ]h"]h$]h&]j<j=uh1jhj3ShhhjEShMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/ShhhjEShMubah}(h]j*Sah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEShMhj,ShhubjS)}(hhh]jX)}(h*Build a zerocopy datagram from an iov_iterh]h*Build a zerocopy datagram from an iov_iter}(hjgThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjdThhubah}(h]h ]h"]h$]h&]uh1jRhj,ShhhjEShMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to copy ``struct iov_iter *from`` the source to copy from **Description** The function will first copy up to headlen, and then pin the userspace pages and build frags through them. Returns 0, -EFAULT or -EMSGSIZE.h](jX)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjTubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hjTh]hstruct sk_buff *skb}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjTubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjTubj)}(h2``struct iov_iter *from`` the source to copy from h](j)}(h``struct iov_iter *from``h]j)}(hjTh]hstruct iov_iter *from}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjTubj)}(hhh]jX)}(hthe source to copy fromh]hthe source to copy from}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThM hjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThM hjTubeh}(h]h ]h"]h$]h&]uh1jhjTubjX)}(h**Description**h]j)}(hjUh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjTubj )}(hThe function will first copy up to headlen, and then pin the userspace pages and build frags through them. Returns 0, -EFAULT or -EMSGSIZE.h](jX)}(hjThe function will first copy up to headlen, and then pin the userspace pages and build frags through them.h]hjThe function will first copy up to headlen, and then pin the userspace pages and build frags through them.}(hj6UhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hj2UubjX)}(h Returns 0, -EFAULT or -EMSGSIZE.h]h Returns 0, -EFAULT or -EMSGSIZE.}(hjEUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hj2Uubeh}(h]h ]h"]h$]h&]uh1j hjDUhM hjTubeh}(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}(hjzUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvUhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMlubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvUhhhjUhMlubj)}(hskb_copy_and_csum_datagram_msgh]j%)}(hskb_copy_and_csum_datagram_msgh]hskb_copy_and_csum_datagram_msg}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvUhhhjUhMlubj)}(h3(struct sk_buff *skb, int hlen, struct msghdr *msg)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j')}jjUsb c.skb_copy_and_csum_datagram_msgasbuh1hhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hskbh]hskb}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(hint hlenh](j)}(hinth]hint}(hj)VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%Vubj)}(h h]h }(hj7VhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%Vubj%)}(hhlenh]hhlen}(hjEVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%Vubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hj^VhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZVubj)}(h h]h }(hjkVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZVubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hj|VhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~VmodnameN classnameNjj!)}j$]jU c.skb_copy_and_csum_datagram_msgasbuh1hhjZVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZVubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZVubj%)}(hmsgh]hmsg}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubeh}(h]h ]h"]h$]h&]j<j=uh1jhjvUhhhjUhMlubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrUhhhjUhMlubah}(h]jmUah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjUhMlhjoUhhubjS)}(hhh]jX)}(h$Copy and checksum skb to user iovec.h]h$Copy and checksum skb to user iovec.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMlhjVhhubah}(h]h ]h"]h$]h&]uh1jRhjoUhhhjUhMlubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVjxjVjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` skbuff ``int hlen`` hardware length ``struct msghdr *msg`` destination **Description** Caller _must_ check that skb will fit to this iovec. **Return** 0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.h](jX)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMphjVubj)}(hhh](j)}(h``struct sk_buff *skb`` skbuff h](j)}(h``struct sk_buff *skb``h]j)}(hj Wh]hstruct sk_buff *skb}(hj"WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMmhjWubj)}(hhh]jX)}(hskbuffh]hskbuff}(hj9WhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5WhMmhj6Wubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhj5WhMmhjWubj)}(h``int hlen`` hardware length h](j)}(h ``int hlen``h]j)}(hjYWh]hint hlen}(hj[WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWWubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMnhjSWubj)}(hhh]jX)}(hhardware lengthh]hhardware length}(hjrWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnWhMnhjoWubah}(h]h ]h"]h$]h&]uh1jhjSWubeh}(h]h ]h"]h$]h&]uh1jhjnWhMnhjWubj)}(h#``struct msghdr *msg`` destination h](j)}(h``struct msghdr *msg``h]j)}(hjWh]hstruct msghdr *msg}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMohjWubj)}(hhh]jX)}(h destinationh]h destination}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMohjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMohjWubeh}(h]h ]h"]h$]h&]uh1jhjVubjX)}(h**Description**h]j)}(hjWh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMqhjVubj )}(h5Caller _must_ check that skb will fit to this iovec. h]jX)}(h4Caller _must_ check that skb will fit to this iovec.h]h4Caller _must_ check that skb will fit to this iovec.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMphjWubah}(h]h ]h"]h$]h&]uh1j hjWhMphjVubjX)}(h **Return**h]j)}(hjWh]hReturn}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMrhjVubjX)}(hK0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.h]hK0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMshjVubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h datagram_poll_queue (C function)c.datagram_poll_queuehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hw__poll_t datagram_poll_queue (struct file *file, struct socket *sock, poll_table *wait, struct sk_buff_head *rcv_queue)h]h)}(hv__poll_t datagram_poll_queue(struct file *file, struct socket *sock, poll_table *wait, struct sk_buff_head *rcv_queue)h](h)}(hhh]j%)}(h__poll_th]h__poll_t}(hjFXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHXmodnameN classnameNjj!)}j$]j')}jdatagram_poll_queuesbc.datagram_poll_queueasbuh1hhj?XhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj)}(h h]h }(hjhXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?XhhhjgXhMubj)}(hdatagram_poll_queueh]j%)}(hjdXh]hdatagram_poll_queue}(hjzXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?XhhhjgXhMubj)}(hZ(struct file *file, struct socket *sock, poll_table *wait, struct sk_buff_head *rcv_queue)h](j)}(hstruct file *fileh](h)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hhh]j%)}(hfileh]hfile}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]jbXc.datagram_poll_queueasbuh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hfileh]hfile}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hsocketh]hsocket}(hj#YhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Yubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%YmodnameN classnameNjj!)}j$]jbXc.datagram_poll_queueasbuh1hhjYubj)}(h h]h }(hjAYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjOYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hsockh]hsock}(hj\YhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(hpoll_table *waith](h)}(hhh]j%)}(h poll_tableh]h poll_table}(hjxYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzYmodnameN classnameNjj!)}j$]jbXc.datagram_poll_queueasbuh1hhjqYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqYubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqYubj%)}(hwaith]hwait}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(hstruct sk_buff_head *rcv_queueh](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]jbXc.datagram_poll_queueasbuh1hhjYubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(h rcv_queueh]h rcv_queue}(hj!ZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?XhhhjgXhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;XhhhjgXhMubah}(h]j6Xah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjgXhMhj8XhhubjS)}(hhh]jX)}(h6same as datagram_poll, but on a specific receive queueh]h6same as datagram_poll, but on a specific receive queue}(hjKZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjHZhhubah}(h]h ]h"]h$]h&]uh1jRhj8XhhhjgXhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcZjxjcZjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct file *file`` file struct ``struct socket *sock`` socket ``poll_table *wait`` poll table ``struct sk_buff_head *rcv_queue`` receive queue to poll **Description** Performs polling on the given receive queue, handling shutdown, error, and connection state. This is useful for protocols that deliver userspace-bound packets through a custom queue instead of sk->sk_receive_queue. **Return** poll bitmask indicating the socket's current stateh](jX)}(h**Parameters**h]j)}(hjmZh]h Parameters}(hjoZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkZubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjgZubj)}(hhh](j)}(h"``struct file *file`` file struct h](j)}(h``struct file *file``h]j)}(hjZh]hstruct file *file}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjZubj)}(hhh]jX)}(h file structh]h file struct}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjZubj)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjZh]hstruct socket *sock}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjZubj)}(hhh]jX)}(hsocketh]hsocket}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjZubj)}(h ``poll_table *wait`` poll table h](j)}(h``poll_table *wait``h]j)}(hjZh]hpoll_table *wait}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjZubj)}(hhh]jX)}(h poll tableh]h poll table}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjZubj)}(h9``struct sk_buff_head *rcv_queue`` receive queue to poll h](j)}(h"``struct sk_buff_head *rcv_queue``h]j)}(hj7[h]hstruct sk_buff_head *rcv_queue}(hj9[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5[ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj1[ubj)}(hhh]jX)}(hreceive queue to pollh]hreceive queue to poll}(hjP[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjL[hMhjM[ubah}(h]h ]h"]h$]h&]uh1jhj1[ubeh}(h]h ]h"]h$]h&]uh1jhjL[hMhjZubeh}(h]h ]h"]h$]h&]uh1jhjgZubjX)}(h**Description**h]j)}(hjr[h]h Description}(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.chMhjgZubj )}(hPerforms polling on the given receive queue, handling shutdown, error, and connection state. This is useful for protocols that deliver userspace-bound packets through a custom queue instead of sk->sk_receive_queue. h]jX)}(hPerforms polling on the given receive queue, handling shutdown, error, and connection state. This is useful for protocols that deliver userspace-bound packets through a custom queue instead of sk->sk_receive_queue.h]hPerforms polling on the given receive queue, handling shutdown, error, and connection state. This is useful for protocols that deliver userspace-bound packets through a custom queue instead of sk->sk_receive_queue.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj[ubah}(h]h ]h"]h$]h&]uh1j hj[hMhjgZubjX)}(h **Return**h]j)}(hj[h]hReturn}(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.chMhjgZubjX)}(h2poll bitmask indicating the socket's current stateh]h4poll bitmask indicating the socket’s current state}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjgZubeh}(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}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]j')}j datagram_pollsbc.datagram_pollasbuh1hhj[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 datagram_pollh]j%)}(hj \h]h datagram_poll}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[hhhj \hMubj)}(h:(struct file *file, struct socket *sock, poll_table *wait)h](j)}(hstruct file *fileh](h)}(hjh]hstruct}(hj:\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6\ubj)}(h h]h }(hjG\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6\ubh)}(hhh]j%)}(hfileh]hfile}(hjX\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZ\modnameN classnameNjj!)}j$]j\c.datagram_pollasbuh1hhj6\ubj)}(h h]h }(hjv\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6\ubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6\ubj%)}(hfileh]hfile}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2\ubj)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubh)}(hhh]j%)}(hsocketh]hsocket}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\modnameN classnameNjj!)}j$]j\c.datagram_pollasbuh1hhj\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=uh1jhj2\ubj)}(hpoll_table *waith](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.datagram_pollasbuh1hhj]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%)}(hwaith]hwait}(hjV]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2\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)}(hgeneric datagram pollh]hgeneric datagram poll}(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})}(hX0**Parameters** ``struct file *file`` file struct ``struct socket *sock`` socket ``poll_table *wait`` poll table **Description** Datagram poll: Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive. **Note** when you *don't* use this routine for this protocol, and you use a different write policy from sock_writeable() then please supply your own write_space callback. **Return** poll bitmask indicating the socket's current stateh](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"``struct file *file`` file struct 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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj]ubj)}(hhh]jX)}(h file structh]h file 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``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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.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 ``poll_table *wait`` poll table h](j)}(h``poll_table *wait``h]j)}(hj3^h]hpoll_table *wait}(hj5^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1^ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj-^ubj)}(hhh]jX)}(h poll tableh]h poll table}(hjL^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjH^hMhjI^ubah}(h]h ]h"]h$]h&]uh1jhj-^ubeh}(h]h ]h"]h$]h&]uh1jhjH^hMhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]ubjX)}(h**Description**h]j)}(hjn^h]h Description}(hjp^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl^ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj]ubj )}(hDatagram poll: Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive. h]jX)}(hDatagram poll: Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive.h]hDatagram poll: Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj^ubah}(h]h ]h"]h$]h&]uh1j hj^hMhj]ubjX)}(h**Note**h]j)}(hj^h]hNote}(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)}(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 }(hj^hhhNhNubj)}(h*don't*h]hdon’t}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh$ use this routine for this protocol,}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj^ubj)}(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.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhj]ubjX)}(h **Return**h]j)}(hj_h]hReturn}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj]ubjX)}(h2poll bitmask indicating the socket's current stateh]h4poll bitmask indicating the socket’s current state}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj]ubeh}(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}(hjH_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjD_hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK6ubj)}(h h]h }(hjW_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjD_hhhjV_hK6ubj)}(hsk_stream_wait_connecth]j%)}(hsk_stream_wait_connecth]hsk_stream_wait_connect}(hji_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hje_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjD_hhhjV_hK6ubj)}(h (struct sock *sk, long *timeo_p)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')}jjk_sbc.sk_stream_wait_connectasbuh1hhj_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 long *timeo_ph](j)}(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%)}(htimeo_ph]htimeo_p}(hj `hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}_ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjD_hhhjV_hK6ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@_hhhjV_hK6ubah}(h]j;_ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjV_hK6hj=_hhubjS)}(hhh]jX)}(h1Wait for a socket to get into the connected stateh]h1Wait for a socket to get into the connected state}(hjJ`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK6hjG`hhubah}(h]h ]h"]h$]h&]uh1jRhj=_hhhjV_hK6ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjb`jxjb`jyjzj{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)}(hjl`h]h Parameters}(hjn`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj`ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK:hjf`ubj)}(hhh](j)}(h$``struct sock *sk`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hj`h]hstruct sock *sk}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK7hj`ubj)}(hhh]jX)}(hsock to wait onh]hsock to wait on}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hK7hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hK7hj`ubj)}(h'``long *timeo_p`` for how long to wait h](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.chK8hj`ubj)}(hhh]jX)}(hfor how long to waith]hfor how long to wait}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hK8hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hK8hj`ubeh}(h]h ]h"]h$]h&]uh1jhjf`ubjX)}(h**Description**h]j)}(hj`h]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK:hjf`ubjX)}(h&Must be called with the socket locked.h]h&Must be called with the socket locked.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK9hjf`ubeh}(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}(hjDahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ahhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKvubj)}(h h]h }(hjSahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ahhhjRahKvubj)}(hsk_stream_wait_memoryh]j%)}(hsk_stream_wait_memoryh]hsk_stream_wait_memory}(hjeahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@ahhhjRahKvubj)}(h (struct sock *sk, long *timeo_p)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}aubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}aubh)}(hhh]j%)}(hsockh]hsock}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jjgasbc.sk_stream_wait_memoryasbuh1hhj}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%)}(hskh]hsk}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}aubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyaubj)}(h long *timeo_ph](j)}(hlongh]hlong}(hjahhhNhNubah}(h]h ]ja3h"]h$]h&]uh1jhjaubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(htimeo_ph]htimeo_p}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyaubeh}(h]h ]h"]h$]h&]j<j=uh1jhj@ahhhjRahKvubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjh]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlcubj%)}(hskh]hsk}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhcubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]jcc.sk_filter_trim_capasbuh1hhjcubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hj,dhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hskbh]hskb}(hj9dhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhcubj)}(hunsigned int caph](j)}(hunsignedh]hunsigned}(hjRdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNdubj)}(h h]h }(hj`dhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNdubj)}(hinth]hint}(hjndhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNdubj)}(h h]h }(hj|dhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNdubj%)}(hcaph]hcap}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhcubj)}(henum skb_drop_reason *reasonh](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_reasonh]hskb_drop_reason}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]jcc.sk_filter_trim_capasbuh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hreasonh]hreason}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhcubeh}(h]h ]h"]h$]h&]j<j=uh1jhj/chhhjAchKyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+chhhjAchKyubah}(h]j&cah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAchKyhj(chhubjS)}(hhh]jX)}(h$run a packet through a socket filterh]h$run a packet through a socket filter}(hj$ehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKyhj!ehhubah}(h]h ]h"]h$]h&]uh1jRhj(chhhjAchKyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdata 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)}(hjFeh]h Parameters}(hjHehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDeubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK}hj@eubj)}(hhh](j)}(h;``struct sock *sk`` sock associated with :c:type:`sk_buff` h](j)}(h``struct sock *sk``h]j)}(hjeeh]hstruct sock *sk}(hjgehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjceubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKzhj_eubj)}(hhh]jX)}(h&sock associated with :c:type:`sk_buff`h](hsock associated with }(hj~ehhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjeh]hsk_buff}(hjehhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjzehKzhj~eubeh}(h]h ]h"]h$]h&]uh1jWhjzehKzhj{eubah}(h]h ]h"]h$]h&]uh1jhj_eubeh}(h]h ]h"]h$]h&]uh1jhjzehKzhj\eubj)}(h)``struct sk_buff *skb`` buffer to filter h](j)}(h``struct sk_buff *skb``h]j)}(hjeh]hstruct sk_buff *skb}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK{hjeubj)}(hhh]jX)}(hbuffer to filterh]hbuffer to filter}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehK{hjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehK{hj\eubj)}(hM``unsigned int cap`` limit on how short the eBPF program may trim the packet h](j)}(h``unsigned int cap``h]j)}(hjeh]hunsigned int cap}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK|hjeubj)}(hhh]jX)}(h7limit on how short the eBPF program may trim the packeth]h7limit on how short the eBPF program may trim the packet}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj fhK|hj fubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhj fhK|hj\eubj)}(hV``enum skb_drop_reason *reason`` record drop reason on errors (negative return value) h](j)}(h ``enum skb_drop_reason *reason``h]j)}(hj/fh]henum skb_drop_reason *reason}(hj1fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-fubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK}hj)fubj)}(hhh]jX)}(h4record drop reason on errors (negative return value)h]h4record drop reason on errors (negative return value)}(hjHfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDfhK}hjEfubah}(h]h ]h"]h$]h&]uh1jhj)fubeh}(h]h ]h"]h$]h&]uh1jhjDfhK}hj\eubeh}(h]h ]h"]h$]h&]uh1jhj@eubjX)}(h**Description**h]j)}(hjjfh]h Description}(hjlfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhfubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKhj@eubjX)}(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.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK~hj@eubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj chhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbpf_prog_create (C function)c.bpf_prog_createhNtauh1hhj chhhNhNubh)}(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}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMbubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjfhMbubj)}(hbpf_prog_createh]j%)}(hbpf_prog_createh]hbpf_prog_create}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfhhhjfhMbubj)}(h6(struct bpf_prog **pfp, struct sock_fprog_kern *fprog)h](j)}(hstruct bpf_prog **pfph](h)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(hbpf_progh]hbpf_prog}(hj ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj gmodnameN classnameNjj!)}j$]j')}jjfsbc.bpf_prog_createasbuh1hhjfubj)}(h h]h }(hj*ghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hj8ghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj;)}(hj>h]h*}(hjEghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hpfph]hpfp}(hjRghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(hstruct sock_fprog_kern *fprogh](h)}(hjh]hstruct}(hjkghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjggubj)}(h h]h }(hjxghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjggubh)}(hhh]j%)}(hsock_fprog_kernh]hsock_fprog_kern}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]j&gc.bpf_prog_createasbuh1hhjggubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjggubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjggubj%)}(hfprogh]hfprog}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjggubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubeh}(h]h ]h"]h$]h&]j<j=uh1jhjfhhhjfhMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfhhhjfhMbubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhMbhjfhhubjS)}(hhh]jX)}(hcreate an unattached filterh]hcreate an unattached filter}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMbhjghhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjfhMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{uh1hhhhj chNhNubj})}(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)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj hubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMfhjhubj)}(hhh](j)}(h@``struct bpf_prog **pfp`` the unattached filter that is created h](j)}(h``struct bpf_prog **pfp``h]j)}(hj-hh]hstruct bpf_prog **pfp}(hj/hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+hubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMchj'hubj)}(hhh]jX)}(h%the unattached filter that is createdh]h%the unattached filter that is created}(hjFhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhhMchjChubah}(h]h ]h"]h$]h&]uh1jhj'hubeh}(h]h ]h"]h$]h&]uh1jhjBhhMchj$hubj)}(h5``struct sock_fprog_kern *fprog`` the filter program h](j)}(h!``struct sock_fprog_kern *fprog``h]j)}(hjfhh]hstruct sock_fprog_kern *fprog}(hjhhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdhubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMdhj`hubj)}(hhh]jX)}(hthe filter programh]hthe filter program}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hhMdhj|hubah}(h]h ]h"]h$]h&]uh1jhj`hubeh}(h]h ]h"]h$]h&]uh1jhj{hhMdhj$hubeh}(h]h ]h"]h$]h&]uh1jhjhubjX)}(h**Description**h]j)}(hjhh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMfhjhubjX)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMehjhubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj chhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&bpf_prog_create_from_user (C function)c.bpf_prog_create_from_userhNtauh1hhj chhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhhjhhMubj)}(hbpf_prog_create_from_userh]j%)}(hbpf_prog_create_from_userh]hbpf_prog_create_from_user}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhhjhhMubj)}(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#ihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hj0ihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(hbpf_progh]hbpf_prog}(hjAihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>iubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCimodnameN classnameNjj!)}j$]j')}jj isbc.bpf_prog_create_from_userasbuh1hhjiubj)}(h h]h }(hjaihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjoihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj;)}(hj>h]h*}(hj|ihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hpfph]hpfp}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubj)}(hstruct sock_fprog *fprogh](h)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(h sock_fprogh]h sock_fprog}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j]ic.bpf_prog_create_from_userasbuh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hfprogh]hfprog}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubj)}(hbpf_aux_classic_check_t transh](h)}(hhh]j%)}(hbpf_aux_classic_check_th]hbpf_aux_classic_check_t}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j]ic.bpf_prog_create_from_userasbuh1hhjjubj)}(h h]h }(hj3jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj%)}(htransh]htrans}(hjAjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubj)}(hbool save_origh](j)}(hjTh]hbool}(hjZjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVjubj)}(h h]h }(hjgjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVjubj%)}(h save_origh]h save_orig}(hjujhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubeh}(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)}(h,create an unattached filter from user bufferh]h,create an unattached filter from user buffer}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjhhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjjxjjjyjzj{uh1hhhhj chNhNubj})}(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)}(hjjh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjjubj)}(hhh](j)}(h@``struct bpf_prog **pfp`` the unattached filter that is created h](j)}(h``struct bpf_prog **pfp``h]j)}(hjjh]hstruct bpf_prog **pfp}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjjubj)}(hhh]jX)}(h%the unattached filter that is createdh]h%the unattached filter that is created}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjjubj)}(h0``struct sock_fprog *fprog`` the filter program h](j)}(h``struct sock_fprog *fprog``h]j)}(hjkh]hstruct sock_fprog *fprog}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjkubj)}(hhh]jX)}(hthe filter programh]hthe filter program}(hj2khhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.khMhj/kubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhj.khMhjjubj)}(hO``bpf_aux_classic_check_t trans`` post-classic verifier transformation handler h](j)}(h!``bpf_aux_classic_check_t trans``h]j)}(hjRkh]hbpf_aux_classic_check_t trans}(hjTkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPkubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjLkubj)}(hhh]jX)}(h,post-classic verifier transformation handlerh]h,post-classic verifier transformation handler}(hjkkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjgkhMhjhkubah}(h]h ]h"]h$]h&]uh1jhjLkubeh}(h]h ]h"]h$]h&]uh1jhjgkhMhjjubj)}(h,``bool save_orig`` save classic BPF program h](j)}(h``bool save_orig``h]j)}(hjkh]hbool save_orig}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjkubj)}(hhh]jX)}(hsave classic BPF programh]hsave classic BPF program}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjjubeh}(h]h ]h"]h$]h&]uh1jhjjubjX)}(h**Description**h]j)}(hjkh]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjjubjX)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj chhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_attach_filter (C function)c.sk_attach_filterhNtauh1hhj chhhNhNubh)}(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}(hj lhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhjlhM ubj)}(hsk_attach_filterh]j%)}(hsk_attach_filterh]hsk_attach_filter}(hj,lhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(lubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlhhhjlhM ubj)}(h+(struct sock_fprog *fprog, struct sock *sk)h](j)}(hstruct sock_fprog *fprogh](h)}(hjh]hstruct}(hjHlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDlubj)}(h h]h }(hjUlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDlubh)}(hhh]j%)}(h sock_fprogh]h sock_fprog}(hjflhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjclubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhlmodnameN classnameNjj!)}j$]j')}jj.lsbc.sk_attach_filterasbuh1hhjDlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDlubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDlubj%)}(hfprogh]hfprog}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@lubj)}(hstruct sock *skh](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hhh]j%)}(hsockh]hsock}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]jlc.sk_attach_filterasbuh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hskh]hsk}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@lubeh}(h]h ]h"]h$]h&]j<j=uh1jhjlhhhjlhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjlhM ubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhM hjlhhubjS)}(hhh]jX)}(hattach a socket filterh]hattach a socket filter}(hj;mhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hj8mhhubah}(h]h ]h"]h$]h&]uh1jRhjlhhhjlhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSmjxjSmjyjzj{uh1hhhhj chNhNubj})}(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)}(hj]mh]h Parameters}(hj_mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[mubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjWmubj)}(hhh](j)}(h0``struct sock_fprog *fprog`` the filter program h](j)}(h``struct sock_fprog *fprog``h]j)}(hj|mh]hstruct sock_fprog *fprog}(hj~mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzmubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjvmubj)}(hhh]jX)}(hthe filter programh]hthe filter program}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhM hjmubah}(h]h ]h"]h$]h&]uh1jhjvmubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjsmubj)}(h&``struct sock *sk`` the socket to use h](j)}(h``struct sock *sk``h]j)}(hjmh]hstruct sock *sk}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjmubj)}(hhh]jX)}(hthe socket to useh]hthe socket to use}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhM hjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjsmubeh}(h]h ]h"]h$]h&]uh1jhjWmubjX)}(h**Description**h]j)}(hjmh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjWmubjX)}(hAttach 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]hAttach 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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjWmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj chhhNhNubeh}(h] socket-filterah ]h"] socket filterah$]h&]uh1hhhhhhhhK'ubh)}(hhh](h)}(hGeneric Network Statisticsh]hGeneric Network Statistics}(hj'nhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$nhhhhhK-ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_stats_basic (C struct)c.gnet_stats_basichNtauh1hhj$nhhhNhNubh)}(hhh](h)}(hgnet_stats_basich]h)}(hstruct gnet_stats_basich](h)}(hjh]hstruct}(hjNnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJnhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKubj)}(h h]h }(hj\nhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJnhhhj[nhKubj)}(hgnet_stats_basich]j%)}(hjHnh]hgnet_stats_basic}(hjnnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJnhhhj[nhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjFnhhhj[nhKubah}(h]jAnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[nhKhjCnhhubjS)}(hhh]jX)}(h!byte/packet throughput statisticsh]h!byte/packet throughput statistics}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjnhhubah}(h]h ]h"]h$]h&]uh1jRhjCnhhhj[nhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjnjxjnjyjzj{uh1hhhhj$nhNhNubj})}(h**Definition**:: struct gnet_stats_basic { __u64 bytes; __u32 packets; }; **Members** ``bytes`` number of seen bytes ``packets`` number of seen packetsh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh:}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjnubjU)}(h@struct gnet_stats_basic { __u64 bytes; __u32 packets; };h]h@struct gnet_stats_basic { __u64 bytes; __u32 packets; };}hjnsbah}(h]h ]h"]h$]h&]j<j=uh1jTh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjnubjX)}(h **Members**h]j)}(hjnh]hMembers}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK!hjnubj)}(hhh](j)}(h``bytes`` number of seen bytes h](j)}(h ``bytes``h]j)}(hjnh]hbytes}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjnubj)}(hhh]jX)}(hnumber of seen bytesh]hnumber of seen bytes}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohKhjoubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjohKhjnubj)}(h"``packets`` number of seen packetsh](j)}(h ``packets``h]j)}(hj6oh]hpackets}(hj8ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4oubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhj0oubj)}(hhh]jX)}(hnumber of seen packetsh]hnumber of seen packets}(hjOohhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjLoubah}(h]h ]h"]h$]h&]uh1jhj0oubeh}(h]h ]h"]h$]h&]uh1jhjKohKhjnubeh}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_stats_rate_est (C struct)c.gnet_stats_rate_esthNtauh1hhj$nhhhNhNubh)}(hhh](h)}(hgnet_stats_rate_esth]h)}(hstruct gnet_stats_rate_esth](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjohhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjohKubj)}(hgnet_stats_rate_esth]j%)}(hjoh]hgnet_stats_rate_est}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjohhhjohKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjohhhjohKubah}(h]joah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjohKhjohhubjS)}(hhh]jX)}(hrate estimatorh]hrate estimator}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK hjohhubah}(h]h ]h"]h$]h&]uh1jRhjohhhjohKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhj$nhNhNubj})}(h**Definition**:: struct gnet_stats_rate_est { __u32 bps; __u32 pps; }; **Members** ``bps`` current byte rate ``pps`` current packet rateh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh:}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK$hjoubjU)}(h=struct gnet_stats_rate_est { __u32 bps; __u32 pps; };h]h=struct gnet_stats_rate_est { __u32 bps; __u32 pps; };}hjpsbah}(h]h ]h"]h$]h&]j<j=uh1jTh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK&hjoubjX)}(h **Members**h]j)}(hj ph]hMembers}(hj"phhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK+hjoubj)}(hhh](j)}(h``bps`` current byte rate h](j)}(h``bps``h]j)}(hj?ph]hbps}(hjAphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=pubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK"hj9pubj)}(hhh]jX)}(hcurrent byte rateh]hcurrent byte rate}(hjXphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjTphK"hjUpubah}(h]h ]h"]h$]h&]uh1jhj9pubeh}(h]h ]h"]h$]h&]uh1jhjTphK"hj6pubj)}(h``pps`` current packet rateh](j)}(h``pps``h]j)}(hjxph]hpps}(hjzphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvpubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK"hjrpubj)}(hhh]jX)}(hcurrent packet rateh]hcurrent packet rate}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK#hjpubah}(h]h ]h"]h$]h&]uh1jhjrpubeh}(h]h ]h"]h$]h&]uh1jhjphK"hj6pubeh}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h gnet_stats_rate_est64 (C struct)c.gnet_stats_rate_est64hNtauh1hhj$nhhhNhNubh)}(hhh](h)}(hgnet_stats_rate_est64h]h)}(hstruct gnet_stats_rate_est64h](h)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjphhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK)ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhjphK)ubj)}(hgnet_stats_rate_est64h]j%)}(hjph]hgnet_stats_rate_est64}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjphhhjphK)ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjphK)ubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphK)hjphhubjS)}(hhh]jX)}(hrate estimatorh]hrate estimator}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK*hjqhhubah}(h]h ]h"]h$]h&]uh1jRhjphhhjphK)ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj,qjxj,qjyjzj{uh1hhhhj$nhNhNubj})}(h**Definition**:: struct gnet_stats_rate_est64 { __u64 bps; __u64 pps; }; **Members** ``bps`` current byte rate ``pps`` current packet rateh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj8qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4qubh:}(hj4qhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK.hj0qubjU)}(h?struct gnet_stats_rate_est64 { __u64 bps; __u64 pps; };h]h?struct gnet_stats_rate_est64 { __u64 bps; __u64 pps; };}hjQqsbah}(h]h ]h"]h$]h&]j<j=uh1jTh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK0hj0qubjX)}(h **Members**h]j)}(hjbqh]hMembers}(hjdqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`qubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK5hj0qubj)}(hhh](j)}(h``bps`` current byte rate h](j)}(h``bps``h]j)}(hjqh]hbps}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK,hj{qubj)}(hhh]jX)}(hcurrent byte rateh]hcurrent byte rate}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhK,hjqubah}(h]h ]h"]h$]h&]uh1jhj{qubeh}(h]h ]h"]h$]h&]uh1jhjqhK,hjxqubj)}(h``pps`` current packet rateh](j)}(h``pps``h]j)}(hjqh]hpps}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK,hjqubj)}(hhh]jX)}(hcurrent packet rateh]hcurrent packet rate}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK-hjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhK,hjxqubeh}(h]h ]h"]h$]h&]uh1jhj0qubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_stats_queue (C struct)c.gnet_stats_queuehNtauh1hhj$nhhhNhNubh)}(hhh](h)}(hgnet_stats_queueh]h)}(hstruct gnet_stats_queueh](h)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK3ubj)}(h h]h }(hj"rhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhj!rhK3ubj)}(hgnet_stats_queueh]j%)}(hjrh]hgnet_stats_queue}(hj4rhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0rubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrhhhj!rhK3ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj rhhhj!rhK3ubah}(h]jrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!rhK3hj rhhubjS)}(hhh]jX)}(hqueuing statisticsh]hqueuing statistics}(hjVrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK4hjSrhhubah}(h]h ]h"]h$]h&]uh1jRhj rhhhj!rhK3ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjnrjxjnrjyjzj{uh1hhhhj$nhNhNubj})}(hXc**Definition**:: struct gnet_stats_queue { __u32 qlen; __u32 backlog; __u32 drops; __u32 requeues; __u32 overlimits; }; **Members** ``qlen`` queue length ``backlog`` backlog size of queue ``drops`` number of dropped packets ``requeues`` number of requeues ``overlimits`` number of enqueues over the limith](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjzrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvrubh:}(hjvrhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK8hjrrubjU)}(hzstruct gnet_stats_queue { __u32 qlen; __u32 backlog; __u32 drops; __u32 requeues; __u32 overlimits; };h]hzstruct gnet_stats_queue { __u32 qlen; __u32 backlog; __u32 drops; __u32 requeues; __u32 overlimits; };}hjrsbah}(h]h ]h"]h$]h&]j<j=uh1jTh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK:hjrrubjX)}(h **Members**h]j)}(hjrh]hMembers}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKBhjrrubj)}(hhh](j)}(h``qlen`` queue length h](j)}(h``qlen``h]j)}(hjrh]hqlen}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK6hjrubj)}(hhh]jX)}(h queue lengthh]h queue length}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhK6hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhK6hjrubj)}(h"``backlog`` backlog size of queue h](j)}(h ``backlog``h]j)}(hjrh]hbacklog}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK7hjrubj)}(hhh]jX)}(hbacklog size of queueh]hbacklog size of queue}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshK7hjsubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjshK7hjrubj)}(h$``drops`` number of dropped packets h](j)}(h ``drops``h]j)}(hj5sh]hdrops}(hj7shhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3subah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK8hj/subj)}(hhh]jX)}(hnumber of dropped packetsh]hnumber of dropped packets}(hjNshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJshK8hjKsubah}(h]h ]h"]h$]h&]uh1jhj/subeh}(h]h ]h"]h$]h&]uh1jhjJshK8hjrubj)}(h ``requeues`` number of requeues h](j)}(h ``requeues``h]j)}(hjnsh]hrequeues}(hjpshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlsubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK9hjhsubj)}(hhh]jX)}(hnumber of requeuesh]hnumber of requeues}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshK9hjsubah}(h]h ]h"]h$]h&]uh1jhjhsubeh}(h]h ]h"]h$]h&]uh1jhjshK9hjrubj)}(h0``overlimits`` number of enqueues over the limith](j)}(h``overlimits``h]j)}(hjsh]h overlimits}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK9hjsubj)}(hhh]jX)}(h!number of enqueues over the limith]h!number of enqueues over the limit}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK:hjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshK9hjrubeh}(h]h ]h"]h$]h&]uh1jhjrrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_estimator (C struct)c.gnet_estimatorhNtauh1hhj$nhhhNhNubh)}(hhh](h)}(hgnet_estimatorh]h)}(hstruct gnet_estimatorh](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjshhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK@ubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhhjthK@ubj)}(hgnet_estimatorh]j%)}(hjsh]hgnet_estimator}(hj!thhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjshhhjthK@ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjshhhjthK@ubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjthK@hjshhubjS)}(hhh]jX)}(hrate estimator configurationh]hrate estimator configuration}(hjCthhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKDhj@thhubah}(h]h ]h"]h$]h&]uh1jRhjshhhjthK@ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj[tjxj[tjyjzj{uh1hhhhj$nhNhNubj})}(h**Definition**:: struct gnet_estimator { signed char interval; unsigned char ewma_log; }; **Members** ``interval`` sampling period ``ewma_log`` the log of measurement window weighth](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjgthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjctubh:}(hjcthhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKHhj_tubjU)}(hVstruct gnet_estimator { signed char interval; unsigned char ewma_log; };h]hVstruct gnet_estimator { signed char interval; unsigned char ewma_log; };}hjtsbah}(h]h ]h"]h$]h&]j<j=uh1jTh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKJhj_tubjX)}(h **Members**h]j)}(hjth]hMembers}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKOhj_tubj)}(hhh](j)}(h``interval`` sampling period h](j)}(h ``interval``h]j)}(hjth]hinterval}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKFhjtubj)}(hhh]jX)}(hsampling periodh]hsampling period}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthKFhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthKFhjtubj)}(h1``ewma_log`` the log of measurement window weighth](j)}(h ``ewma_log``h]j)}(hjth]hewma_log}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKFhjtubj)}(hhh]jX)}(h$the log of measurement window weighth]h$the log of measurement window weight}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKGhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthKFhjtubeh}(h]h ]h"]h$]h&]uh1jhj_tubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)gnet_stats_start_copy_compat (C function)c.gnet_stats_start_copy_compathNtauh1hhj$nhhhNhNubh)}(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}(hjCuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?uhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK(ubj)}(h h]h }(hjRuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?uhhhjQuhK(ubj)}(hgnet_stats_start_copy_compath]j%)}(hgnet_stats_start_copy_compath]hgnet_stats_start_copy_compat}(hjduhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`uubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?uhhhjQuhK(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}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|uubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|uubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]j')}jjfusbc.gnet_stats_start_copy_compatasbuh1hhj|uubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|uubj;)}(hj>h]h*}(hjuhhhNhNubah}(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=uh1jhjxuubj)}(hint typeh](j)}(hinth]hint}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj%)}(htypeh]htype}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxuubj)}(hint tc_stats_typeh](j)}(hinth]hint}(hj'vhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#vubj)}(h h]h }(hj5vhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#vubj%)}(h tc_stats_typeh]h tc_stats_type}(hjCvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#vubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxuubj)}(hint xstats_typeh](j)}(hinth]hint}(hj\vhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXvubj)}(h h]h }(hjjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXvubj%)}(h xstats_typeh]h xstats_type}(hjxvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxuubj)}(hspinlock_t *lockh](h)}(hhh]j%)}(h spinlock_th]h spinlock_t}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]juc.gnet_stats_start_copy_compatasbuh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hlockh]hlock}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxuubj)}(hstruct gnet_dump *dh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]juc.gnet_stats_start_copy_compatasbuh1hhjvubj)}(h h]h }(hj"whhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hj0whhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hdh]hd}(hj=whhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxuubj)}(h int padattrh](j)}(hinth]hint}(hjVwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRwubj)}(h h]h }(hjdwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRwubj%)}(hpadattrh]hpadattr}(hjrwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxuubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?uhhhjQuhK(ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;uhhhjQuhK(ubah}(h]j6uah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQuhK(hj8uhhubjS)}(hhh]jX)}(h-start dumping procedure in compatibility modeh]h-start dumping procedure in compatibility mode}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK(hjwhhubah}(h]h ]h"]h$]h&]uh1jRhj8uhhhjQuhK(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{uh1hhhhj$nhNhNubj})}(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)}(hjwh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK,hjwubj)}(hhh](j)}(hB``struct sk_buff *skb`` socket buffer to put statistics TLVs into h](j)}(h``struct sk_buff *skb``h]j)}(hjwh]hstruct sk_buff *skb}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK)hjwubj)}(hhh]jX)}(h)socket buffer to put statistics TLVs intoh]h)socket buffer to put statistics TLVs into}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhK)hjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhK)hjwubj)}(h2``int type`` TLV type for top level statistic TLV h](j)}(h ``int type``h]j)}(hjxh]hint type}(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.chK*hjxubj)}(hhh]jX)}(h$TLV type for top level statistic TLVh]h$TLV type for top level statistic TLV}(hj/xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+xhK*hj,xubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhj+xhK*hjwubj)}(hN``int tc_stats_type`` TLV type for backward compatibility struct tc_stats TLV h](j)}(h``int tc_stats_type``h]j)}(hjOxh]hint tc_stats_type}(hjQxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMxubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK+hjIxubj)}(hhh]jX)}(h7TLV type for backward compatibility struct tc_stats TLVh]h7TLV type for backward compatibility struct tc_stats TLV}(hjhxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdxhK+hjexubah}(h]h ]h"]h$]h&]uh1jhjIxubeh}(h]h ]h"]h$]h&]uh1jhjdxhK+hjwubj)}(hC``int xstats_type`` TLV type for backward compatibility xstats TLV h](j)}(h``int xstats_type``h]j)}(hjxh]hint xstats_type}(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.chK,hjxubj)}(hhh]jX)}(h.TLV type for backward compatibility xstats TLVh]h.TLV type for backward compatibility xstats TLV}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhK,hjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhK,hjwubj)}(h%``spinlock_t *lock`` statistics lock h](j)}(h``spinlock_t *lock``h]j)}(hjxh]hspinlock_t *lock}(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.chK-hjxubj)}(hhh]jX)}(hstatistics lockh]hstatistics lock}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhK-hjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhK-hjwubj)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjxh]hstruct gnet_dump *d}(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.chK.hjxubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhK.hjyubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjyhK.hjwubj)}(h"``int padattr`` padding attribute h](j)}(h``int padattr``h]j)}(hj3yh]h int padattr}(hj5yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1yubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK/hj-yubj)}(hhh]jX)}(hpadding attributeh]hpadding attribute}(hjLyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHyhK/hjIyubah}(h]h ]h"]h$]h&]uh1jhj-yubeh}(h]h ]h"]h$]h&]uh1jhjHyhK/hjwubeh}(h]h ]h"]h$]h&]uh1jhjwubjX)}(h**Description**h]j)}(hjnyh]h Description}(hjpyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlyubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK1hjwubjX)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK0hjwubjX)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK4hjwubjX)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK7hjwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_start_copy (C function)c.gnet_stats_start_copyhNtauh1hhj$nhhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK`ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjyhK`ubj)}(hgnet_stats_start_copyh]j%)}(hgnet_stats_start_copyh]hgnet_stats_start_copy}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjyhK`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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj zubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj zubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj,zhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)zubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.zmodnameN classnameNjj!)}j$]j')}jjysbc.gnet_stats_start_copyasbuh1hhj zubj)}(h h]h }(hjLzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj zubj;)}(hj>h]h*}(hjZzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj zubj%)}(hskbh]hskb}(hjgzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj zubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(hint typeh](j)}(hinth]hint}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|zubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|zubj%)}(htypeh]htype}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|zubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(hspinlock_t *lockh](h)}(hhh]j%)}(h spinlock_th]h spinlock_t}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]jHzc.gnet_stats_start_copyasbuh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj;)}(hj>h]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzubj%)}(hlockh]hlock}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(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$]jHzc.gnet_stats_start_copyasbuh1hhj{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%)}(hj?wh]hd}(hja{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(h int padattrh](j)}(hinth]hint}(hjy{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hju{ubj%)}(hpadattrh]hpadattr}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hju{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubeh}(h]h ]h"]h$]h&]j<j=uh1jhjyhhhjyhK`ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjyhK`ubah}(h]jyah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyhK`hjyhhubjS)}(hhh]jX)}(h-start dumping procedure in compatibility modeh]h-start dumping procedure in compatibility mode}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK`hj{hhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjyhK`ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{jxj{jyjzj{uh1hhhhj$nhNhNubj})}(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)}(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.chKdhj{ubj)}(hhh](j)}(hB``struct sk_buff *skb`` socket buffer to put statistics TLVs into h](j)}(h``struct sk_buff *skb``h]j)}(hj|h]hstruct sk_buff *skb}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKahj{ubj)}(hhh]jX)}(h)socket buffer to put statistics TLVs intoh]h)socket buffer to put statistics TLVs into}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hKahj|ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj|hKahj{ubj)}(h2``int type`` TLV type for top level statistic TLV h](j)}(h ``int type``h]j)}(hj9|h]hint type}(hj;|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKbhj3|ubj)}(hhh]jX)}(h$TLV type for top level statistic TLVh]h$TLV type for top level statistic TLV}(hjR|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjN|hKbhjO|ubah}(h]h ]h"]h$]h&]uh1jhj3|ubeh}(h]h ]h"]h$]h&]uh1jhjN|hKbhj{ubj)}(h%``spinlock_t *lock`` statistics lock h](j)}(h``spinlock_t *lock``h]j)}(hjr|h]hspinlock_t *lock}(hjt|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKchjl|ubj)}(hhh]jX)}(hstatistics lockh]hstatistics lock}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hKchj|ubah}(h]h ]h"]h$]h&]uh1jhjl|ubeh}(h]h ]h"]h$]h&]uh1jhj|hKchj{ubj)}(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.chKdhj|ubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(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"``int padattr`` padding attribute h](j)}(h``int padattr``h]j)}(hj|h]h int padattr}(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.chKehj|ubj)}(hhh]jX)}(hpadding attributeh]hpadding attribute}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hKehj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hKehj{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.chKghj{ubjX)}(hInitializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.h]hInitializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.}(hj5}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKfhj{ubjX)}(hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.h]hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.}(hjD}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKjhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_basic (C function)c.gnet_stats_copy_basichNtauh1hhj$nhhhNhNubh)}(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}(hjs}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo}hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo}hhhj}hKubj)}(hgnet_stats_copy_basich]j%)}(hgnet_stats_copy_basich]hgnet_stats_copy_basic}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjo}hhhj}hKubj)}(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}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_basicasbuh1hhj}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?wh]hd}(hj ~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubj)}(h*struct gnet_stats_basic_sync __percpu *cpuh](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_basic_synch]hgnet_stats_basic_sync}(hj?~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjA~modnameN classnameNjj!)}j$]j}c.gnet_stats_copy_basicasbuh1hhj~ubj)}(h h]h }(hj]~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubh__percpu}(hj~hhhNhNubj)}(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%)}(hcpuh]hcpu}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubj)}(hstruct gnet_stats_basic_sync *bh](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_basic_synch]hgnet_stats_basic_sync}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j}c.gnet_stats_copy_basicasbuh1hhj~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%)}(hbh]hb}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubj)}(h bool runningh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hrunningh]hrunning}(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=uh1jhjo}hhhj}hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjk}hhhj}hKubah}(h]jf}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}hKhjh}hhubjS)}(hhh]jX)}(h(copy basic statistics into statistic TLVh]h(copy basic statistics into statistic TLV}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjUhhubah}(h]h ]h"]h$]h&]uh1jRhjh}hhhj}hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjpjxjpjyjzj{uh1hhhhj$nhNhNubj})}(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}(hj|hhhNhNubah}(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.chKhjtubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjh]hstruct gnet_dump *d}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hF``struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu h](j)}(h.``struct gnet_stats_basic_sync __percpu *cpu``h]j)}(hjh]h*struct gnet_stats_basic_sync __percpu *cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjubj)}(hhh]jX)}(hcopy statistic per cpuh]hcopy statistic per cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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.chKhjubj)}(hhh]jX)}(hbasic statisticsh]hbasic statistics}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hKhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(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)}(hjDh]h bool running}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj>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}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh" represents a running qdisc, thus }(hj]hhhNhNubj)}(h**b**h]hb}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubhC’s internal values might change during basic reads. Only used if }(hj]hhhNhNubj)}(h**cpu**h]hcpu}(hjhhhNhNubah}(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.chKhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhKhjubeh}(h]h ]h"]h$]h&]uh1jhjtubjX)}(h **Context**h]j)}(hjh]hContext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjtubjX)}(h-task; must not be run from IRQ or BH contextsh]h-task; must not be run from IRQ or BH contexts}(hj̀hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjtubjX)}(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.chKhjtubjX)}(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().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjtubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%gnet_stats_copy_basic_hw (C function)c.gnet_stats_copy_basic_hwhNtauh1hhj$nhhhNhNubh)}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj?hMubj)}(hgnet_stats_copy_basic_hwh]j%)}(hgnet_stats_copy_basic_hwh]hgnet_stats_copy_basic_hw}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj?hMubj)}(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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjTsbc.gnet_stats_copy_basic_hwasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hj?wh]hd}(hjǁhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(h*struct gnet_stats_basic_sync __percpu *cpuh](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%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.gnet_stats_copy_basic_hwasbuh1hhjہubj)}(h h]h }(hjhhhNhNubah}(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%)}(hcpuh]hcpu}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjہubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(hstruct gnet_stats_basic_sync *bh](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%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.gnet_stats_copy_basic_hwasbuh1hhj]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]hb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(h bool runningh](j)}(hjTh]hbool}(hjЂhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhĵubj)}(h h]h }(hj݂hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hĵubj%)}(hrunningh]hrunning}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hĵubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubeh}(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 basic hw statistics into statistic TLVh]h+copy basic hw statistics into statistic TLV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj?hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-jxj-jyjzj{uh1hhhhj$nhNhNubj})}(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)}(hj7h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj1ubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjVh]hstruct gnet_dump *d}(hjXhhhNhNubah}(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.chMhjPubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjMubj)}(hF``struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu h](j)}(h.``struct gnet_stats_basic_sync __percpu *cpu``h]j)}(hjh]h*struct gnet_stats_basic_sync __percpu *cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubj)}(hhh]jX)}(hcopy statistic per cpuh]hcopy statistic per cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj݃hMhjރubah}(h]h ]h"]h$]h&]uh1jhjƒubeh}(h]h ]h"]h$]h&]uh1jhj݃hMhjMubj)}(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)}(hjh]h bool running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubj)}(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 }(hjhhhNhNubj)}(h**b**h]hb}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" represents a running qdisc, thus }(hjhhhNhNubj)}(h**b**h]hb}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC’s internal values might change during basic reads. Only used if }(hjhhhNhNubj)}(h**cpu**h]hcpu}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is NULL}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubeh}(h]h ]h"]h$]h&]uh1jhj1ubjX)}(h **Context**h]j)}(hjsh]hContext}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj1ubjX)}(h-task; must not be run from IRQ or BH contextsh]h-task; must not be run from IRQ or BH contexts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj1ubjX)}(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:50: ./net/core/gen_stats.chMhj1ubjX)}(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().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj1ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%gnet_stats_copy_rate_est (C function)c.gnet_stats_copy_rate_esthNtauh1hhj$nhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM)ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM)ubj)}(hgnet_stats_copy_rate_esth]j%)}(hgnet_stats_copy_rate_esth]hgnet_stats_copy_rate_est}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM)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 }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]j')}jjsbc.gnet_stats_copy_rate_estasbuh1hhj'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%)}(hj?wh]hd}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jec.gnet_stats_copy_rate_estasbuh1hhjubj)}(h h]h }(hj؅hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh__rcu}(hjhhhNhNubj)}(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%)}(hrate_esth]hrate_est}(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)}(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)hj9hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM)ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{uh1hhhhj$nhNhNubj})}(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-hjXubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hj}h]hstruct gnet_dump *d}(hjhhhNhNubah}(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.chM*hjwubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM*hjtubj)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjh]h*struct net_rate_estimator __rcu **rate_est}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM+hjubj)}(hhh]jX)}(hrate estimatorh]hrate estimator}(hjφhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjˆhM+hj̆ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjˆhM+hjtubeh}(h]h ]h"]h$]h&]uh1jhjXubjX)}(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:50: ./net/core/gen_stats.chM-hjXubjX)}(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().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM,hjXubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM/hjXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_queue (C function)c.gnet_stats_copy_queuehNtauh1hhj$nhhhNhNubh)}(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}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMuubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjShMuubj)}(hgnet_stats_copy_queueh]j%)}(hgnet_stats_copy_queueh]hgnet_stats_copy_queue}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjShMuubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjhsbc.gnet_stats_copy_queueasbuh1hhj~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?wh]hd}(hjۇhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(h'struct gnet_stats_queue __percpu *cpu_qh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hgnet_stats_queueh]hgnet_stats_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.gnet_stats_copy_queueasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh__percpu}(hjhhhNhNubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hcpu_qh]hcpu_q}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(hstruct gnet_stats_queue *qh](h)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(hhh]j%)}(hgnet_stats_queueh]hgnet_stats_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.gnet_stats_copy_queueasbuh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(hqh]hq}(hj̈hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(h __u32 qlenh](h)}(hhh]j%)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.gnet_stats_copy_queueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hqlenh]hqlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubeh}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjShMuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhjShMuubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShMuhj: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:hhhjShMuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVjxjVjyjzj{uh1hhhhj$nhNhNubj})}(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)}(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:50: ./net/core/gen_stats.chMyhjZubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjh]hstruct gnet_dump *d}(hjhhhNhNubah}(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.chMvhjyubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjvubj)}(hE``struct gnet_stats_queue __percpu *cpu_q`` per cpu queue statistics h](j)}(h+``struct gnet_stats_queue __percpu *cpu_q``h]j)}(hjh]h'struct gnet_stats_queue __percpu *cpu_q}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMwhjubj)}(hhh]jX)}(hper cpu queue statisticsh]hper cpu queue statistics}(hjщhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj͉hMwhjΉubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj͉hMwhjvubj)}(h0``struct gnet_stats_queue *q`` queue statistics h](j)}(h``struct gnet_stats_queue *q``h]j)}(hjh]hstruct gnet_stats_queue *q}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMxhjubj)}(hhh]jX)}(hqueue statisticsh]hqueue statistics}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjvubj)}(h'``__u32 qlen`` queue length statistics h](j)}(h``__u32 qlen``h]j)}(hj*h]h __u32 qlen}(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.chMyhj$ubj)}(hhh]jX)}(hqueue length statisticsh]hqueue length statistics}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMyhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMyhjvubeh}(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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM{hjZubjX)}(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.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMzhjZubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM~hjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h gnet_stats_copy_app (C function)c.gnet_stats_copy_apphNtauh1hhj$nhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMubj)}(h h]h }(hjȊhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjNJhMubj)}(hgnet_stats_copy_apph]j%)}(hgnet_stats_copy_apph]hgnet_stats_copy_app}(hjڊhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj֊ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjNJhMubj)}(h((struct gnet_dump *d, void *st, int len)h](j)}(hstruct gnet_dump *dh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj܊sbc.gnet_stats_copy_appasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj?wh]hd}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hvoid *sth](j)}(hvoidh]hvoid}(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%)}(hsth]hst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(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=uh1jhjhhhjNJhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjNJhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNJhMhjhhubjS)}(hhh]jX)}(h8copy application specific statistics into statistics TLVh]h8copy application specific statistics into statistics TLV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjNJhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj$nhNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj ubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hj0h]hstruct gnet_dump *d}(hj2hhhNhNubah}(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}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj'ubj)}(h2``void *st`` application specific statistics data h](j)}(h ``void *st``h]j)}(hjih]hvoid *st}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjcubj)}(hhh]jX)}(h$application specific statistics datah]h$application specific statistics data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj'ubj)}(h``int len`` length of data h](j)}(h ``int len``h]j)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubj)}(hhh]jX)}(hlength of datah]hlength of data}(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)}(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.chMhj ubjX)}(hAppends the application specific statistics to the top level TLV created by gnet_stats_start_copy() and remembers the data for XSTATS if the dumping handle is in backward compatibility mode.h]hAppends the application specific statistics to the top level TLV created by gnet_stats_start_copy() and remembers the data for XSTATS if the dumping handle is in backward compatibility mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj 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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#gnet_stats_finish_copy (C function)c.gnet_stats_finish_copyhNtauh1hhj$nhhhNhNubh)}(hhh](h)}(h0int gnet_stats_finish_copy (struct gnet_dump *d)h]h)}(h/int gnet_stats_finish_copy(struct gnet_dump *d)h](j)}(hinth]hint}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj?hMubj)}(hgnet_stats_finish_copyh]j%)}(hgnet_stats_finish_copyh]hgnet_stats_finish_copy}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj?hMubj)}(h(struct gnet_dump *d)h]j)}(hstruct gnet_dump *dh](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 gnet_dumph]h gnet_dump}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjTsbc.gnet_stats_finish_copyasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hj?wh]hd}(hjǍhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubah}(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)}(hfinish dumping procedureh]hfinish dumping procedure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj?hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj$nhNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj ubj)}(hhh]j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hj1h]hstruct gnet_dump *d}(hj3hhhNhNubah}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjlh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj 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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_new_estimator (C function)c.gen_new_estimatorhNtauh1hhj$nhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKqubj)}(h h]h }(hjώhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjΎhKqubj)}(hgen_new_estimatorh]j%)}(hgen_new_estimatorh]hgen_new_estimator}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjݎubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjΎhKqubj)}(h(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h](j)}(h$struct gnet_stats_basic_sync *bstatsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.gen_new_estimatorasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbstatsh]hbstats}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h1struct gnet_stats_basic_sync __percpu *cpu_bstatsh](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j7c.gen_new_estimatorasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh__percpu}(hjkhhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjˏhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(h cpu_bstatsh]h cpu_bstats}(hj؏hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h*struct net_rate_estimator __rcu **rate_esth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j7c.gen_new_estimatorasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh__rcu}(hjhhhNhNubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrate_esth]hrate_est}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hspinlock_t *lockh](h)}(hhh]j%)}(h spinlock_th]h spinlock_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j7c.gen_new_estimatorasbuh1hhj|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%)}(hlockh]hlock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool runningh](j)}(hjTh]hbool}(hjՐhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjѐubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjѐubj%)}(hrunningh]hrunning}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjѐubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct nlattr *opth](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnlattrh]hnlattr}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)modnameN classnameNjj!)}j$]j7c.gen_new_estimatorasbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hopth]hopt}(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ΎhKqubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjΎhKqubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjΎhKqhjhhubjS)}(hhh]jX)}(hcreate a new rate estimatorh]hcreate a new rate estimator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKqhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjΎhKqubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj$nhNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKuhjubj)}(hhh](j)}(h:``struct gnet_stats_basic_sync *bstats`` basic statistics h](j)}(h(``struct gnet_stats_basic_sync *bstats``h]j)}(hjˑh]h$struct gnet_stats_basic_sync *bstats}(hj͑hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɑubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKrhjőubj)}(hhh]jX)}(hbasic statisticsh]hbasic statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKrhjubah}(h]h ]h"]h$]h&]uh1jhjőubeh}(h]h ]h"]h$]h&]uh1jhjhKrhj‘ubj)}(hE``struct gnet_stats_basic_sync __percpu *cpu_bstats`` bstats per cpu h](j)}(h5``struct gnet_stats_basic_sync __percpu *cpu_bstats``h]j)}(hjh]h1struct gnet_stats_basic_sync __percpu *cpu_bstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKshjubj)}(hhh]jX)}(hbstats per cpuh]hbstats per cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKshj‘ubj)}(hI``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hj=h]h*struct net_rate_estimator __rcu **rate_est}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKthj7ubj)}(hhh]jX)}(hrate estimator statisticsh]hrate estimator statistics}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhKthjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhKthj‘ubj)}(h:``spinlock_t *lock`` lock for statistics and control path h](j)}(h``spinlock_t *lock``h]j)}(hjvh]hspinlock_t *lock}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKuhjpubj)}(hhh]jX)}(h$lock for statistics and control pathh]h$lock for statistics and control path}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKuhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhKuhj‘ubj)}(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)}(hjh]h bool running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKxhjubj)}(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 }(hjȒhhhNhNubj)}(h **bstats**h]hbstats}(hjВhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȒubh" represents a running qdisc, thus }(hjȒhhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȒubhB’ internal values might change during basic reads. Only used if }(hjȒhhhNhNubj)}(h**bstats_cpu**h]h bstats_cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȒubh is NULL}(hjȒhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKvhjŒubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjĒhKxhj‘ubj)}(h8``struct nlattr *opt`` rate estimator configuration TLV h](j)}(h``struct nlattr *opt``h]j)}(hjh]hstruct nlattr *opt}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKyhjubj)}(hhh]jX)}(h rate estimator configuration TLVh]h rate estimator configuration TLV}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hKyhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hKyhj‘ubeh}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chK{hjubjX)}(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 }(hjphhhNhNubh)}(h:c:type:`bstats`h]j)}(hjzh]hbstats}(hj|hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjbstatsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKzhjpubh as source and }(hjphhhNhNubh)}(h:c:type:`rate_est`h]j)}(hjh]hrate_est}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjrate_estuh1hhjhKzhjpubh 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 }(hjphhhNhNubh)}(h:c:type:`bstats`h]j)}(hjh]hbstats}(hjÓhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjbstatsuh1hhjhKzhjpubh* and the estimated rate will be stored in }(hjphhhNhNubh)}(h:c:type:`rate_est`h]j)}(hjh]hrate_est}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjrate_estuh1hhjhKzhjpubh5 with the statistics lock grabbed during this period.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKzhjubjX)}(h.Returns 0 on success or a negative error code.h]h.Returns 0 on success or a negative error code.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_kill_estimator (C function)c.gen_kill_estimatorhNtauh1hhj$nhhhNhNubh)}(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}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6hhhjHhKubj)}(hgen_kill_estimatorh]j%)}(hgen_kill_estimatorh]hgen_kill_estimator}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6hhhjHhKubj)}(h,(struct net_rate_estimator __rcu **rate_est)h]j)}(h*struct net_rate_estimator __rcu **rate_esth](h)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj]sbc.gen_kill_estimatorasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh__rcu}(hjshhhNhNubj)}(h h]h }(hjǔhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjՔhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hrate_esth]hrate_est}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubah}(h]h ]h"]h$]h&]j<j=uh1jhj6hhhjHhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2hhhjHhKubah}(h]j-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjHhKhj/hhubjS)}(hhh]jX)}(hremove a rate estimatorh]hremove a rate estimator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhj/hhhjHhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1jxj1jyjzj{uh1hhhhj$nhNhNubj})}(h}**Parameters** ``struct net_rate_estimator __rcu **rate_est`` rate estimator **Description** Removes the rate estimator.h](jX)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj5ubj)}(hhh]j)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjZh]h*struct net_rate_estimator __rcu **rate_est}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjTubj)}(hhh]jX)}(hrate estimatorh]hrate estimator}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohKhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohKhjQubah}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj5ubjX)}(hRemoves the rate estimator.h]hRemoves the rate estimator.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gen_replace_estimator (C function)c.gen_replace_estimatorhNtauh1hhj$nhhhNhNubh)}(hhh](h)}(hint gen_replace_estimator (struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h]h)}(hint gen_replace_estimator(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h](j)}(hinth]hint}(hjڕhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj֕hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֕hhhjhKubj)}(hgen_replace_estimatorh]j%)}(hgen_replace_estimatorh]hgen_replace_estimator}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj֕hhhjhKubj)}(h(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h](j)}(h$struct gnet_stats_basic_sync *bstatsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jjsbc.gen_replace_estimatorasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbstatsh]hbstats}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h1struct gnet_stats_basic_sync __percpu *cpu_bstatsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jQc.gen_replace_estimatorasbuh1hhjubj)}(h h]h }(hjŖhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh__percpu}(hjhhhNhNubj)}(h h]h }(hjזhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h cpu_bstatsh]h cpu_bstats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h*struct net_rate_estimator __rcu **rate_esth](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+modnameN classnameNjj!)}j$]jQc.gen_replace_estimatorasbuh1hhjubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh__rcu}(hjhhhNhNubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrate_esth]hrate_est}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hspinlock_t *lockh](h)}(hhh]j%)}(h spinlock_th]h spinlock_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jQc.gen_replace_estimatorasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjɗhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlockh]hlock}(hj֗hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool runningh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hrunningh]hrunning}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct nlattr *opth](h)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnlattrh]hnlattr}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]jQc.gen_replace_estimatorasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hopth]hopt}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj֕hhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjҕhhhjhKubah}(h]j͕ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjϕhhubjS)}(hhh]jX)}(h$replace rate estimator configurationh]h$replace rate estimator configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjϕhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj$nhNhNubj})}(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)}(hjƘh]h Parameters}(hjȘhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĘubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh](j)}(h:``struct gnet_stats_basic_sync *bstats`` basic statistics h](j)}(h(``struct gnet_stats_basic_sync *bstats``h]j)}(hjh]h$struct gnet_stats_basic_sync *bstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjߘubj)}(hhh]jX)}(hbasic statisticsh]hbasic statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjߘubeh}(h]h ]h"]h$]h&]uh1jhjhKhjܘubj)}(hE``struct gnet_stats_basic_sync __percpu *cpu_bstats`` bstats per cpu h](j)}(h5``struct gnet_stats_basic_sync __percpu *cpu_bstats``h]j)}(hjh]h1struct gnet_stats_basic_sync __percpu *cpu_bstats}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]jX)}(hbstats per cpuh]hbstats per cpu}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hKhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hKhjܘubj)}(hI``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjWh]h*struct net_rate_estimator __rcu **rate_est}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(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}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhKhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhKhjܘubj)}(h:``spinlock_t *lock`` lock for statistics and control path h](j)}(h``spinlock_t *lock``h]j)}(hjh]hspinlock_t *lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]jX)}(h$lock for statistics and control pathh]h$lock for statistics and control path}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjܘubj)}(h``bool running`` true if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **cpu_bstats** is NULL h](j)}(h``bool running``h]j)}(hjəh]h bool running}(hj˙hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǙubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjÙubj)}(hhh]jX)}(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 }(hjhhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" represents a running qdisc, thus }(hjhhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB’ internal values might change during basic reads. Only used if }(hjhhhNhNubj)}(h**cpu_bstats**h]h cpu_bstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is NULL}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjߙubah}(h]h ]h"]h$]h&]uh1jhjÙubeh}(h]h ]h"]h$]h&]uh1jhjޙhKhjܘubj)}(h8``struct nlattr *opt`` rate estimator configuration TLV h](j)}(h``struct nlattr *opt``h]j)}(hj9h]hstruct nlattr *opt}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj3ubj)}(hhh]jX)}(h rate estimator configuration TLVh]h rate estimator configuration TLV}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhKhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhKhjܘubeh}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubjX)}(hgReplaces the configuration of a rate estimator by calling gen_kill_estimator() and gen_new_estimator().h]hgReplaces the configuration of a rate estimator by calling gen_kill_estimator() and gen_new_estimator().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubjX)}(h.Returns 0 on success or a negative error code.h]h.Returns 0 on success or a negative error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!gen_estimator_active (C function)c.gen_estimator_activehNtauh1hhj$nhhhNhNubh)}(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}(hjȚhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjĚhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj)}(h h]h }(hj֚hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjĚhhhj՚hKubj)}(hgen_estimator_activeh]j%)}(hgen_estimator_activeh]hgen_estimator_active}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjĚhhhj՚hKubj)}(h,(struct net_rate_estimator __rcu **rate_est)h]j)}(h*struct net_rate_estimator __rcu **rate_esth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]j')}jjsbc.gen_estimator_activeasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh__rcu}(hjhhhNhNubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrate_esth]hrate_est}(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)}(h%test if estimator is currently in useh]h%test if estimator is currently in use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj՚hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj$nhNhNubj})}(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)}(hjțh]h Parameters}(hjʛhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƛubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj›ubj)}(hhh]j)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjh]h*struct net_rate_estimator __rcu **rate_est}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]jX)}(hrate estimatorh]hrate estimator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjޛubah}(h]h ]h"]h$]h&]uh1jhj›ubjX)}(h**Description**h]j)}(hj"h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj›ubjX)}(h6Returns true if estimator is active, and false if not.h]h6Returns true if estimator is active, and false if not.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj›ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj$nhhhNhNubeh}(h]generic-network-statisticsah ]h"]generic network statisticsah$]h&]uh1hhhhhhhhK-ubh)}(hhh](h)}(hSUN RPC subsystemh]hSUN RPC subsystem}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhhhhhK9ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xdr_encode_opaque_fixed (C function)c.xdr_encode_opaque_fixedhNtauh1hhjVhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jxdr_encode_opaque_fixedsbc.xdr_encode_opaque_fixedasbuh1hhj|hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK)ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|hhhjhK)ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|hhhjhK)ubj)}(hxdr_encode_opaque_fixedh]j%)}(hjh]hxdr_encode_opaque_fixed}(hjĜhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj|hhhjhK)ubj)}(h1(__be32 *p, const void *ptr, unsigned int nbytes)h](j)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjߜubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.xdr_encode_opaque_fixedasbuh1hhjۜubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjۜubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjۜubj%)}(hjGh]hp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjۜubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjלubj)}(hconst void *ptrh](h)}(hjh]hconst}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj)}(hvoidh]hvoid}(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%)}(hptrh]hptr}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjלubj)}(hunsigned int nbytesh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hnbytesh]hnbytes}(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|hhhjhK)ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxhhhjhK)ubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhK)hjuhhubjS)}(hhh]jX)}(hEncode fixed length opaque datah]hEncode fixed length opaque data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK)hjhhubah}(h]h ]h"]h$]h&]uh1jRhjuhhhjhK)ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjVhNhNubj})}(hX**Parameters** ``__be32 *p`` pointer to current position in XDR buffer. ``const void *ptr`` pointer to data to encode (or NULL) ``unsigned int nbytes`` size of data. **Description** Copy the array of data of length nbytes at ptr to the XDR buffer at position p, then align to the next 32-bit boundary by padding with zero bytes (see RFC1832). **Note** if ptr is NULL, only the padding is performed. Returns the updated current XDR buffer positionh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK-hjubj)}(hhh](j)}(h9``__be32 *p`` pointer to current position in XDR buffer. h](j)}(h ``__be32 *p``h]j)}(hj3h]h __be32 *p}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK*hj-ubj)}(hhh]jX)}(h*pointer to current position in XDR buffer.h]h*pointer to current position in XDR buffer.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhK*hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhK*hj*ubj)}(h8``const void *ptr`` pointer to data to encode (or NULL) h](j)}(h``const void *ptr``h]j)}(hjlh]hconst void *ptr}(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.chK+hjfubj)}(hhh]jX)}(h#pointer to data to encode (or NULL)h]h#pointer to data to encode (or NULL)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK+hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhK+hj*ubj)}(h&``unsigned int nbytes`` size of data. h](j)}(h``unsigned int nbytes``h]j)}(hjh]hunsigned int nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK,hjubj)}(hhh]jX)}(h size of data.h]h size of data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK,hj*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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK.hjubjX)}(hCopy the array of data of length nbytes at ptr to the XDR buffer at position p, then align to the next 32-bit boundary by padding with zero bytes (see RFC1832).h]hCopy the array of data of length nbytes at ptr to the XDR buffer at position p, then align to the next 32-bit boundary by padding with zero bytes (see RFC1832).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK-hjubjX)}(h**Note**h]j)}(hjh]hNote}(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.chK1hjubjX)}(h.if ptr is NULL, only the padding is performed.h]h.if ptr is NULL, only the padding is performed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK1hjubjX)}(h/Returns the updated current XDR buffer positionh]h/Returns the updated current XDR buffer position}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK3hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_encode_opaque (C function)c.xdr_encode_opaquehNtauh1hhjVhhhNhNubh)}(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^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`modnameN classnameNjj!)}j$]j')}jxdr_encode_opaquesbc.xdr_encode_opaqueasbuh1hhjWhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjhKGubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWhhhjhKGubj)}(hxdr_encode_opaqueh]j%)}(hj|h]hxdr_encode_opaque}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjhKGubj)}(h1(__be32 *p, const void *ptr, unsigned int nbytes)h](j)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jzc.xdr_encode_opaqueasbuh1hhjubj)}(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=uh1jhjubj)}(hconst void *ptrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(hvoidh]hvoid}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 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%)}(hptrh]hptr}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int nbytesh](j)}(hunsignedh]hunsigned}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjWhhhjhKGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjShhhjhKGubah}(h]jNah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKGhjPhhubjS)}(hhh]jX)}(h"Encode variable length opaque datah]h"Encode variable length opaque data}(hj͠hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKGhjʠhhubah}(h]h ]h"]h$]h&]uh1jRhjPhhhjhKGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(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)}(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.chKKhjubj)}(hhh](j)}(h9``__be32 *p`` pointer to current position in XDR buffer. h](j)}(h ``__be32 *p``h]j)}(hjh]h __be32 *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKHhjubj)}(hhh]jX)}(h*pointer to current position in XDR buffer.h]h*pointer to current position in XDR buffer.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hKHhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hKHhjubj)}(h8``const void *ptr`` pointer to data to encode (or NULL) h](j)}(h``const void *ptr``h]j)}(hjGh]hconst void *ptr}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKIhjAubj)}(hhh]jX)}(h#pointer to data to encode (or NULL)h]h#pointer to data to encode (or NULL)}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hKIhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hKIhjubj)}(h&``unsigned int nbytes`` size of data. h](j)}(h``unsigned int nbytes``h]j)}(hjh]hunsigned int nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKJhjzubj)}(hhh]jX)}(h size of data.h]h size of data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKJhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhKJhjubeh}(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.chKLhjubjX)}(h/Returns the updated current XDR buffer positionh]h/Returns the updated current XDR buffer position}(hjѡhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xdr_terminate_string (C function)c.xdr_terminate_stringhNtauh1hhjVhhhNhNubh)}(hhh](h)}(hDvoid xdr_terminate_string (const struct xdr_buf *buf, const u32 len)h]h)}(hCvoid xdr_terminate_string(const struct xdr_buf *buf, const u32 len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhK]ubj)}(hxdr_terminate_stringh]j%)}(hxdr_terminate_stringh]hxdr_terminate_string}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhK]ubj)}(h*(const struct xdr_buf *buf, const u32 len)h](j)}(hconst struct xdr_buf *bufh](h)}(hjh]hconst}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j')}jj#sbc.xdr_terminate_stringasbuh1hhj9ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(h const u32 lenh](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%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.xdr_terminate_stringasbuh1hhjƢubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjƢubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjƢubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubeh}(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.'\0'-terminate a string residing in an xdr_bufh]h2‘0’-terminate a string residing in an xdr_buf}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK]hj;hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhK]ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVjxjVjyjzj{uh1hhhhjVhNhNubj})}(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}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKahjZubj)}(hhh](j)}(h>``const struct xdr_buf *buf`` XDR buffer where string resides h](j)}(h``const struct xdr_buf *buf``h]j)}(hjh]hconst struct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK^hjyubj)}(hhh]jX)}(hXDR buffer where string residesh]hXDR buffer where string resides}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK^hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhK^hjvubj)}(h,``const u32 len`` length of string, in bytesh](j)}(h``const u32 len``h]j)}(hjh]h const u32 len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK`hjubj)}(hhh]jX)}(hlength of string, in bytesh]hlength of string, in bytes}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͣhK`hjvubeh}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_to_bvec (C function)c.xdr_buf_to_bvechNtauh1hhjVhhhNhNubh)}(hhh](h)}(hfunsigned int xdr_buf_to_bvec (struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h]h)}(heunsigned int xdr_buf_to_bvec(struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hKubj)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj hKubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hKubj)}(hxdr_buf_to_bvech]j%)}(hxdr_buf_to_bvech]hxdr_buf_to_bvec}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hKubj)}(hI(struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h](j)}(hstruct bio_vec *bvech](h)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(hhh]j%)}(hbio_vech]hbio_vec}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjQsbc.xdr_buf_to_bvecasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hbvech]hbvec}(hjĤhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubj)}(hunsigned int bvec_sizeh](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%)}(h bvec_sizeh]h bvec_size}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj٤ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubj)}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubh)}(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_buf_to_bvecasbuh1hhj*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=uh1jhjcubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hKhjhhubjS)}(hhh]jX)}(h2Copy components of an xdr_buf into a bio_vec arrayh]h2Copy components of an xdr_buf into a bio_vec array}(hjʥhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjǥhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(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)}(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.chKhjubj)}(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.chKhjubj)}(hhh]jX)}(hbio_vec array to populateh]hbio_vec array to populate}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hKhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(h8``unsigned int bvec_size`` element count of **bio_vec** h](j)}(h``unsigned int bvec_size``h]j)}(hjDh]hunsigned int bvec_size}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj>ubj)}(hhh]jX)}(helement count of **bio_vec**h](helement count of }(hj]hhhNhNubj)}(h **bio_vec**h]hbio_vec}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jWhjYhKhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhKhjubj)}(h3``const struct xdr_buf *xdr`` xdr_buf to be copied h](j)}(h``const struct xdr_buf *xdr``h]j)}(hjh]hconst struct xdr_buf *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.chKhjubj)}(hhh]jX)}(hxdr_buf to be copiedh]hxdr_buf to be copied}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjƦh]h Description}(hjȦhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĦubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubjX)}(h3Returns the number of entries consumed in **bvec**.h](h*Returns the number of entries consumed in }(hjܦhhhNhNubj)}(h**bvec**h]hbvec}(hjhhhNhNubah}(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.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_pages (C function)c.xdr_inline_pageshNtauh1hhjVhhhNhNubh)}(hhh](h)}(hzvoid xdr_inline_pages (struct xdr_buf *xdr, unsigned int offset, struct page **pages, unsigned int base, unsigned int len)h]h)}(hyvoid xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, struct page **pages, unsigned int base, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj+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=uh1jhjhhhj+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}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]j')}jj@sbc.xdr_inline_pagesasbuh1hhjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(hunsigned int offseth](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%)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjȧubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(hstruct page **pagesh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hpageh]hpage}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]jc.xdr_inline_pagesasbuh1hhjubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(hunsigned int baseh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjĨhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hbaseh]hbase}(hjҨhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(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=uh1jhjRubeh}(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 receive buffer for a large replyh]h(Prepare receive buffer for a large reply}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjJhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj+hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjejxjejyjzj{uh1hhhhjVhNhNubj})}(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)}(hjoh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjiubj)}(hhh](j)}(h@``struct xdr_buf *xdr`` xdr_buf into which reply will be placed h](j)}(h``struct xdr_buf *xdr``h]j)}(hjh]hstruct xdr_buf *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.chKhjubj)}(hhh]jX)}(h'xdr_buf into which reply will be placedh]h'xdr_buf into which reply will be placed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hP``unsigned int offset`` expected offset where data payload will start, in bytes 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.chKhjubj)}(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&]uh1jWhjܩhKhjݩubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjܩhKhjubj)}(h7``struct page **pages`` vector of struct page pointers h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jX)}(hvector of struct page pointersh]hvector of struct page pointers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hP``unsigned int base`` offset in first page where receive should start, in bytes h](j)}(h``unsigned int base``h]j)}(hj9h]hunsigned int base}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj3ubj)}(hhh]jX)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhKhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhKhjubj)}(hL``unsigned int len`` expected size of the upper layer data payload, in bytesh](j)}(h``unsigned int len``h]j)}(hjrh]hunsigned int len}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjlubj)}(hhh]jX)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_copy_from_pages (C function)c._copy_from_pageshNtauh1hhjVhhhNhNubh)}(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&]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)}(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=uh1jhjȪhhhjڪhMubj)}(h9(char *p, struct page **pages, size_t pgbase, size_t len)h](j)}(hchar *ph](j)}(hcharh]hchar}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj%hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjGh]hp}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct page **pagesh](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hpageh]hpage}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j')}jjsbc._copy_from_pagesasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(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$hjɫubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjΫmodnameN classnameNjj!)}j$]jc._copy_from_pagesasbuh1hhjūubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjūubj%)}(hpgbaseh]hpgbase}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjūubeh}(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$]jc._copy_from_pagesasbuh1hhj ubj)}(h h]h }(hj2hhhNhNubah}(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=uh1jhjȪhhhjڪhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjĪhhhjڪhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjڪhMhjhhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjhhhjڪhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{uh1hhhhjVhNhNubj})}(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}(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.chMhjwubj)}(hhh](j)}(h#``char *p`` pointer to destination h](j)}(h ``char *p``h]j)}(hjh]hchar *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to destinationh]hpointer to destination}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``struct page **pages`` array of pages 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.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&]uh1jhjhMhjubj)}(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&]uh1jhj ubah}(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#hMhjubj)}(h``size_t len`` length h](j)}(h``size_t len``h]j)}(hjGh]h size_t len}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjAubj)}(hhh]jX)}(hlengthh]hlength}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubeh}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjwubjX)}(hoCopies data into an arbitrary memory location from an array of pages The copy is assumed to be non-overlapping.h]hoCopies data into an arbitrary memory location from an array of pages The copy is assumed to be non-overlapping.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_pos (C function)c.xdr_stream_poshNtauh1hhjVhhhNhNubh)}(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}(hjǭhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjíhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyubj)}(h h]h }(hj֭hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjíhhhjխhMyubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjíhhhjխhMyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjíhhhjխhMyubj)}(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=uh1jhjíhhhjխhMyubj)}(h(const struct xdr_stream *xdr)h]j)}(hconst struct xdr_stream *xdrh](h)}(hjh]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]j')}jjsbc.xdr_stream_posasbuh1hhjubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjíhhhjխhMyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjխhMyubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjխhMyhjhhubjS)}(hhh]jX)}(h:Return the current offset from the start of the xdr_streamh]h:Return the current offset from the start of the xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjխhMyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj֮jxj֮jyjzj{uh1hhhhjVhNhNubj})}(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&]uh1jhjޮubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM}hjڮubj)}(hhh]j)}(h=``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](j)}(h ``const struct xdr_stream *xdr``h]j)}(hjh]hconst struct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjڮubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_page_pos (C function)c.xdr_page_poshNtauh1hhjVhhhNhNubh)}(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}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUhhhjghMubj)}(hinth]hint}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUhhhjghMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUhhhjghMubj)}(h xdr_page_posh]j%)}(h xdr_page_posh]h xdr_page_pos}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjUhhhjghMubj)}(h(const struct xdr_stream *xdr)h]j)}(hconst struct xdr_stream *xdrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(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_page_posasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjUhhhjghMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjQhhhjghMubah}(h]jLah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjghMhjNhhubjS)}(hhh]jX)}(h9Return the current offset from the start of the xdr pagesh]h9Return the current offset from the start of the xdr pages}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jRhjNhhhjghMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{uh1hhhhjVhNhNubj})}(hO**Parameters** ``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](jX)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjlubj)}(hhh]j)}(h=``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](j)}(h ``const struct xdr_stream *xdr``h]j)}(hjh]hconst struct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_encode (C function)c.xdr_init_encodehNtauh1hhjVhhhNhNubh)}(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}(hj hhhNhNubah}(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 }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_init_encodeasbuh1hhj$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%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hstruct xdr_buf *bufh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jbc.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%)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jbc.xdr_init_encodeasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjGh]hp}(hjFhhhNhNubah}(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&]uh1hhjZubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]jbc.xdr_init_encodeasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hrqsth]hrqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(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)}(h0Initialize a struct xdr_stream for sending data.h]h0Initialize a struct xdr_stream for sending data.}(hj߲hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjܲhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(hXx**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer in which to encode data ``__be32 *p`` current pointer inside XDR buffer ``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debugging **Note** at the moment the RPC client only passes the length of our scratch buffer in the xdr_buf's header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hj h]hstruct xdr_stream *xdr}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubj)}(hF``struct xdr_buf *buf`` pointer to XDR buffer in which to encode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjYh]hstruct xdr_buf *buf}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjSubj)}(hhh]jX)}(h-pointer to XDR buffer in which to encode datah]h-pointer to XDR buffer in which to encode data}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjubj)}(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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hI``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debugging h](j)}(h``struct rpc_rqst *rqst``h]j)}(hj˳h]hstruct rpc_rqst *rqst}(hjͳhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɳubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjųubj)}(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&]uh1jhjųubeh}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]j)}(hX=at the moment the RPC client only passes the length of our scratch buffer in the xdr_buf's header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.h](j)}(h:at the moment the RPC client only passes the length of ourh]h:at the moment the RPC client only passes the length of our}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hXscratch buffer in the xdr_buf's header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.h]hXscratch buffer in the xdr_buf’s header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_encode_pages (C function)c.xdr_init_encode_pageshNtauh1hhjVhhhNhNubh)}(hhh](h)}(hHvoid xdr_init_encode_pages (struct xdr_stream *xdr, struct xdr_buf *buf)h]h)}(hGvoid xdr_init_encode_pages(struct xdr_stream *xdr, struct xdr_buf *buf)h](j)}(hvoidh]hvoid}(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)}(hxdr_init_encode_pagesh]j%)}(hxdr_init_encode_pagesh]hxdr_init_encode_pages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrhhhjhMubj)}(h-(struct xdr_stream *xdr, struct xdr_buf *buf)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjѴhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjδubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjӴmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_init_encode_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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct xdr_buf *bufh](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%)}(hxdr_bufh]hxdr_buf}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jc.xdr_init_encode_pagesasbuh1hhj!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%)}(hbufh]hbuf}(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=uh1jhjrhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjhMubah}(h]jiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjkhhubjS)}(hhh]jX)}(h0Initialize an xdr_stream for encoding into pagesh]h0Initialize an xdr_stream for encoding into pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjkhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(h**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer into which to encode datah](jX)}(h**Parameters**h]j)}(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)}(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)}(hG``struct xdr_buf *buf`` pointer to XDR buffer into which to encode datah](j)}(h``struct xdr_buf *buf``h]j)}(hj h]hstruct xdr_buf *buf}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h/pointer to XDR buffer into which to encode datah]h/pointer to XDR buffer into which to encode data}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj޵ubeh}(h]h ]h"]h$]h&]uh1jhjµubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __xdr_commit_encode (C function)c.__xdr_commit_encodehNtauh1hhjVhhhNhNubh)}(hhh](h)}(h1void __xdr_commit_encode (struct xdr_stream *xdr)h]h)}(h0void __xdr_commit_encode(struct xdr_stream *xdr)h](j)}(hvoidh]hvoid}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhjhMubj)}(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=uh1jhjvhhhjhMubj)}(h(struct xdr_stream *xdr)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_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=uh1jhjvhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrhhhjhMubah}(h]jmah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjohhubjS)}(hhh]jX)}(h$Ensure all data is written to bufferh]h$Ensure all data is written to buffer}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jRhjohhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRjxjRjyjzj{uh1hhhhjVhNhNubj})}(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)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjVubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjuubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubah}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjVubjX)}(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.chMhjVubjX)}(hNormally the caller doesn't need to call this directly, as the following xdr_reserve_space will do it. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read.h]hNormally the caller doesn’t need to call this directly, as the following xdr_reserve_space will do it. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read.}(hj۷hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_reserve_space (C function)c.xdr_reserve_spacehNtauh1hhjVhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jxdr_reserve_spacesbc.xdr_reserve_spaceasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM'ubj)}(h h]h }(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)}(hxdr_reserve_spaceh]j%)}(hj+h]hxdr_reserve_space}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj.hM'ubj)}(h'(struct xdr_stream *xdr, size_t nbytes)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjeubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubh)}(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_reserve_spaceasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubj)}(h size_t nbytesh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjܸhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjٸubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj޸modnameN classnameNjj!)}j$]j)c.xdr_reserve_spaceasbuh1hhjո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=uh1jhjaubeh}(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 Reserve buffer space for sendingh]h Reserve buffer space for sending}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM'hj/hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj.hM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM+hjNubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjsh]hstruct xdr_stream *xdr}(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.chM(hjmubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjjubj)}(h-``size_t nbytes`` number of bytes to reserve h](j)}(h``size_t nbytes``h]j)}(hjh]h size_t nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM)hjubj)}(hhh]jX)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(hjŹhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM)hj¹ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjjubeh}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM+hjNubjX)}(hChecks that we have enough buffer space to encode 'nbytes' more bytes of data. If so, update the total xdr_buf length, and adjust the length of the current kvec.h]hChecks that we have enough buffer space to encode ‘nbytes’ more bytes of data. If so, update the total xdr_buf length, and adjust the length of the current kvec.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM*hjNubjX)}(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 }(hj hhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhv. The current implementation of this API guarantees that space reserved for a four-byte data item remains valid until }(hj hhhNhNubj)}(h**xdr**h]hxdr}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh? is destroyed, but that might not always be true in the future.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM.hjNubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_reserve_space_vec (C function)c.xdr_reserve_space_vechNtauh1hhjVhhhNhNubh)}(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}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMLubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhjmhMLubj)}(hxdr_reserve_space_vech]j%)}(hxdr_reserve_space_vech]hxdr_reserve_space_vec}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[hhhjmhMLubj)}(h'(struct xdr_stream *xdr, size_t nbytes)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_reserve_space_vecasbuh1hhjubj)}(h h]h }(hjںhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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$]jֺc.xdr_reserve_space_vecasbuh1hhj ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hnbytesh]hnbytes}(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[hhhjmhMLubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjmhMLubah}(h]jRah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhMLhjThhubjS)}(hhh]jX)}(h3Reserves a large amount of buffer space for sendingh]h3Reserves a large amount of buffer space for sending}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMLhjdhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjmhMLubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(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.chMPhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMMhjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(h-``size_t nbytes`` number of bytes to reserve h](j)}(h``size_t nbytes``h]j)}(hjh]h size_t nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߻ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMNhjۻubj)}(hhh]jX)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjۻubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubeh}(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.chMPhjubjX)}(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.}(hj2hhhNhNubah}(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:}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMThjDubj)}(hhh]jX)}(hF``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](j)}(h``0``h]h0}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh : success }(hjZhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh#: not enough space is available in }(hjZhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jWhjVhMThjWubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjVhMThjAubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_encode (C function)c.xdr_truncate_encodehNtauh1hhjVhhhNhNubh)}(hhh](h)}(h=void xdr_truncate_encode (struct xdr_stream *xdr, size_t len)h]h)}(hh]h*}(hjQhhhNhNubah}(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 lenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j?c.xdr_truncate_encodeasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjļhhhjּhMwubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjּhMwubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjּhMwhjhhubjS)}(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.chMwhjͽhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjּhMwubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(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.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.chMxhj ubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(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$``size_t len`` new length of buffer h](j)}(h``size_t len``h]j)}(hjJh]h size_t 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.chMyhjDubj)}(hhh]jX)}(hnew length of bufferh]hnew length of buffer}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMyhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMyhjubeh}(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{hjubjX)}(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.chMzhjubjX)}(hXIf this means moving xdr->p to a different buffer, we assume that the end pointer should be set to the end of the current page, except in the case of the head buffer when we assume the head buffer's current length represents the end of the available buffer.h]hXIf this means moving xdr->p to a different buffer, we assume that the end pointer should be set to the end of the current page, except in the case of the head buffer when we assume the head buffer’s current length represents the end of the available buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM~hjubjX)}(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 }(hjhhhNhNubj)}(h*not*h]hnot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh safe to use on a buffer that already has inlined page cache pages (as in a zero-copy server read reply), except for the simple case of truncating from one position in the tail to another.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_decode (C function)c.xdr_truncate_decodehNtauh1hhjVhhhNhNubh)}(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:hj3ubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(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$]jqc.xdr_truncate_decodeasbuh1hhjubj)}(h h]h }(hjʿhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjؿhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubeh}(h]h ]h"]h$]h&]j<j=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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(hu**Parameters** ``struct xdr_stream *xdr`` pointer to struct xdr_stream ``size_t len`` Number of bytes to removeh](jX)}(h**Parameters**h]j)}(hj$h]h Parameters}(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.chMhjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to struct xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjCh]hstruct xdr_stream *xdr}(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)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj:ubj)}(h(``size_t len`` Number of bytes to removeh](j)}(h``size_t len``h]j)}(hj|h]h size_t len}(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)}(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&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhj:ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_restrict_buflen (C function)c.xdr_restrict_buflenhNtauh1hhjVhhhNhNubh)}(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}(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}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j')}jjsbc.xdr_restrict_buflenasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]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 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=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)}(hdecrease available buffer spaceh]hdecrease available buffer space}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(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)}(hj h]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubj)}(h8``int newbuflen`` new maximum number of bytes available h](j)}(h``int newbuflen``h]j)}(hjEh]h int newbuflen}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj?ubj)}(hhh]jX)}(h%new maximum number of bytes availableh]h%new maximum number of bytes available}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_write_pages (C function)c.xdr_write_pageshNtauh1hhjVhhhNhNubh)}(hhh](h)}(hgvoid xdr_write_pages (struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h]h)}(hfvoid xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_write_pagesh]j%)}(hxdr_write_pagesh]hxdr_write_pages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hR(struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]j')}jjsbc.xdr_write_pagesasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjNhhhNhNubah}(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)}(hstruct page **pagesh](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j<c.xdr_write_pagesasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(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 }(hjhhhNhNubah}(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}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h5Insert a list of pages into an XDR buffer for sendingh]h5Insert a list of pages into an XDR buffer for sending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``struct page **pages`` array of pages to insert ``unsigned int base`` starting offset of first data byte in **pages** ``unsigned int len`` number of data bytes in **pages** to insert **Description** After the **pages** are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``struct page **pages`` array of pages to insert h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(harray of pages to inserth]harray of pages to insert}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(hF``unsigned int base`` starting offset of first data byte in **pages** h](j)}(h``unsigned int base``h]j)}(hjWh]hunsigned int base}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjQubj)}(hhh]jX)}(h/starting offset of first data byte in **pages**h](h&starting offset of first data byte in }(hjphhhNhNubj)}(h **pages**h]hpages}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jWhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(hA``unsigned int len`` number of data bytes in **pages** to insert h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h+number of data bytes in **pages** to inserth](hnumber of data bytes in }(hjhhhNhNubj)}(h **pages**h]hpages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to insert}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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.chMhjubjX)}(hAfter the **pages** are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.h](h After the }(hjhhhNhNubj)}(h **pages**h]hpages}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_decode (C function)c.xdr_init_decodehNtauh1hhjVhhhNhNubh)}(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}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMuubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhjPhMuubj)}(hxdr_init_decodeh]j%)}(hxdr_init_decodeh]hxdr_init_decode}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhjPhMuubj)}(hO(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjesbc.xdr_init_decodeasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(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$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.xdr_init_decodeasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbufh]hbuf}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]jc.xdr_init_decodeasbuh1hhj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]ubj%)}(hjGh]hp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(hstruct rpc_rqst *rqsth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.xdr_init_decodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrqsth]hrqst}(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>hhhjPhMuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:hhhjPhMuubah}(h]j5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjPhMuhj7hhubjS)}(hhh]jX)}(h+Initialize an xdr_stream for decoding data.h]h+Initialize an xdr_stream for decoding data.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMuhj3hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhjPhMuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhjRubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjwh]hstruct xdr_stream *xdr}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMvhjqubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjnubj)}(hH``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjh]hstruct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMwhjubj)}(hhh]jX)}(h/pointer to XDR buffer from which to decode datah]h/pointer to XDR buffer from which to decode data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjnubj)}(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.chMxhjubj)}(hhh]jX)}(h!current pointer inside XDR bufferh]h!current pointer inside XDR buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjnubj)}(hH``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debuggingh](j)}(h``struct rpc_rqst *rqst``h]j)}(hj"h]hstruct rpc_rqst *rqst}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMzhjubj)}(hhh]jX)}(h.pointer to controlling rpc_rqst, for debuggingh]h.pointer to controlling rpc_rqst, for debugging}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMzhjnubeh}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_decode_pages (C function)c.xdr_init_decode_pageshNtauh1hhjVhhhNhNubh)}(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}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhhhjhMubj)}(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=uh1jhjxhhhjhMubj)}(hT(struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_init_decode_pagesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct xdr_buf *bufh](h)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]jc.xdr_init_decode_pagesasbuh1hhj'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%)}(hbufh]hbuf}(hjhhhNhNubah}(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&]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$]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}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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)}(h0Initialize an xdr_stream for decoding into pagesh]h0Initialize an xdr_stream for decoding into pages}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjqhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data ``struct page **pages`` list of pages to decode into ``unsigned int len`` length in bytes of buffer in pagesh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hH``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data h](j)}(h``struct xdr_buf *buf``h]j)}(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 hMhjubj)}(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&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj'ubj)}(hhh]jX)}(hlist of pages to decode intoh]hlist of pages to decode into}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjubj)}(h7``unsigned int len`` length in bytes of buffer in pagesh](j)}(h``unsigned int len``h]j)}(hjfh]hunsigned int len}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj`ubj)}(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.chMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_finish_decode (C function)c.xdr_finish_decodehNtauh1hhjVhhhNhNubh)}(hhh](h)}(h/void xdr_finish_decode (struct xdr_stream *xdr)h]h)}(h.void xdr_finish_decode(struct xdr_stream *xdr)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_finish_decodeh]j%)}(hxdr_finish_decodeh]hxdr_finish_decode}(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}(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_finish_decodeasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjVhhhNhNubah}(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,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.chMhj}hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(hI**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]j)}(h7``struct xdr_stream *xdr`` pointer to xdr_stream structh](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_decode (C function)c.xdr_inline_decodehNtauh1hhjVhhhNhNubh)}(hhh](h)}(hB__be32 * xdr_inline_decode (struct xdr_stream *xdr, size_t nbytes)h]h)}(h@__be32 *xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes)h](h)}(hhh]j%)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jxdr_inline_decodesbc.xdr_inline_decodeasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj?hMubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj?hMubj)}(hxdr_inline_decodeh]j%)}(hj<h]hxdr_inline_decode}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj?hMubj)}(h'(struct xdr_stream *xdr, size_t nbytes)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(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_inline_decodeasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(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$]j:c.xdr_inline_decodeasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj?hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj?hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj?hMhjhhubjS)}(hhh]jX)}(hRetrieve XDR data to decodeh]hRetrieve XDR data to decode}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj@hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj?hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[jxj[jyjzj{uh1hhhhjVhNhNubj})}(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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj_ubj)}(hhh](j)}(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&]uh1jhjhMhj{ubj)}(h4``size_t nbytes`` number of bytes of data to decode h](j)}(h``size_t nbytes``h]j)}(hjh]h size_t nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h!number of bytes of data to decodeh]h!number of bytes of data to decode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj_ubjX)}(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.chMhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_read_pages (C function)c.xdr_read_pageshNtauh1hhjVhhhNhNubh)}(hhh](h)}(hFunsigned int xdr_read_pages (struct xdr_stream *xdr, unsigned int len)h]h)}(hEunsigned int xdr_read_pages(struct xdr_stream *xdr, unsigned int len)h](j)}(hunsignedh]hunsigned}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhjKhMubj)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhjKhMubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhjKhMubj)}(hxdr_read_pagesh]j%)}(hxdr_read_pagesh]hxdr_read_pages}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhjKhMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj|sbc.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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj2hhhNhNubah}(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=uh1jhj9hhhjKhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhjKhMubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhMhj2hhubjSG)}(hhh]jX)}(h5align page-based XDR data to current pointer positionh]h5align page-based XDR data to current pointer position}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjghhubah}(h]h ]h"]h$]h&]uh1jRhj2hhhjKhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(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.chMhjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhjubj)}(hhh]jX)}(hnumber of bytes of page datah]hnumber of bytes of page data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjX)}(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 + }(hj5hhhNhNubj)}(h**len**h]hlen}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh 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.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjX)}(hBReturns the number of XDR encoded bytes now contained in the pagesh]hBReturns the number of XDR encoded bytes now contained in the pages}(hjVhhhNhNubah}(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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_set_pagelen (C function)c.xdr_set_pagelenhNtauh1hhjVhhhNhNubh)}(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.chM2ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM2ubj)}(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=uh1jhjhhhjhM2ubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_set_pagelenasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(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=uh1jhjhhhjhM2ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhjhM2ubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM2hjzhhubjS)}(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.chM2hjhhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjhM2ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``unsigned int len`` new length of the XDR page data **Description** Either grows or shrinks the length of the xdr pages by setting pagelen to **len** bytes. When shrinking, any extra data is moved into buf->tail, whereas when growing any data beyond the current pointer is moved into the tail. Returns True if the operation was successful, and False otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM6hjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(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.chM3hjubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(h5``unsigned int len`` new length of the XDR page data h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM4hj ubj)}(hhh]jX)}(hnew length of the XDR page datah]hnew length of the XDR page data}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hM4hj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hM4hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjKh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM6hjubjX)}(hEither grows or shrinks the length of the xdr pages by setting pagelen to **len** bytes. When shrinking, any extra data is moved into buf->tail, whereas when growing any data beyond the current pointer is moved into the tail.h](hJEither grows or shrinks the length of the xdr pages by setting pagelen to }(hjahhhNhNubj)}(h**len**h]hlen}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh 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.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM5hjubjX)}(hBReturns True if the operation was successful, and False otherwise.h]hBReturns True if the operation was successful, and False otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM9hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_enter_page (C function)c.xdr_enter_pagehNtauh1hhjVhhhNhNubh)}(hhh](h)}(h>void xdr_enter_page (struct xdr_stream *xdr, unsigned int len)h]h)}(h=void xdr_enter_page(struct xdr_stream *xdr, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMPubj)}(hxdr_enter_pageh]j%)}(hxdr_enter_pageh]hxdr_enter_page}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMPubj)}(h*(struct xdr_stream *xdr, unsigned int len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(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 reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_enter_pageasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjGhhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMPubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMPubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMPhjhhubjS)}(hhh]jX)}(hdecode data from the XDR pageh]hdecode data from the XDR page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMPubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(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.chMThjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMQhjubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(h2``unsigned int len`` number of bytes of page data h](j)}(h``unsigned int len``h]j)}(hj<h]hunsigned int len}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMRhj6ubj)}(hhh]jX)}(hnumber of bytes of page datah]hnumber of bytes of page data}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMRhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMRhjubeh}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMThjubjX)}(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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_subsegment (C function)c.xdr_buf_subsegmenthNtauh1hhjVhhhNhNubh)}(hhh](h)}(hoint xdr_buf_subsegment (const struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len)h]h)}(hnint xdr_buf_subsegment(const struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMqubj)}(hxdr_buf_subsegmenth]j%)}(hxdr_buf_subsegmenth]hxdr_buf_subsegment}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMqubj)}(hX(const struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len)h](j)}(hconst struct xdr_buf *bufh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]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%)}(hxdr_bufh]hxdr_buf}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j')}jjsbc.xdr_buf_subsegmentasbuh1hhjubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbufh]hbuf}(hjmhhhNhNubah}(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$]jNc.xdr_buf_subsegmentasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(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}(hjhhhNhNubah}(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}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(hinth]hint}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(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)}(hset subbuf to a portion of bufh]hset subbuf to a portion of buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMqhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMqubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(hX**Parameters** ``const struct xdr_buf *buf`` an xdr buffer ``struct xdr_buf *subbuf`` the result buffer ``unsigned int base`` beginning of range in bytes ``unsigned int len`` length of range in bytes **Description** sets **subbuf** to an xdr buffer representing the portion of **buf** of length **len** starting at offset **base**. **buf** and **subbuf** may be pointers to the same struct xdr_buf. Returns -1 if base or length are out of bounds.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMuhjubj)}(hhh](j)}(h,``const struct xdr_buf *buf`` an xdr buffer h](j)}(h``const struct xdr_buf *buf``h]j)}(hjh]hconst struct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMrhjubj)}(hhh]jX)}(h an xdr bufferh]h an xdr buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubj)}(h-``struct xdr_buf *subbuf`` the result buffer h](j)}(h``struct xdr_buf *subbuf``h]j)}(hj#h]hstruct xdr_buf *subbuf}(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.chMshjubj)}(hhh]jX)}(hthe result bufferh]hthe result buffer}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMshj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMshjubj)}(h2``unsigned int base`` beginning of range in bytes h](j)}(h``unsigned int base``h]j)}(hj\h]hunsigned int base}(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.chMthjVubj)}(hhh]jX)}(hbeginning of range in bytesh]hbeginning of range in bytes}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMthjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMthjubj)}(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.chMuhjubj)}(hhh]jX)}(hlength of range in bytesh]hlength of range in bytes}(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)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMwhjubjX)}(hssets **subbuf** to an xdr buffer representing the portion of **buf** of length **len** starting at offset **base**.h](hsets }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. to an xdr buffer representing the portion of }(hjhhhNhNubj)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh of length }(hjhhhNhNubj)}(h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh starting at offset }(hjhhhNhNubj)}(h**base**h]hbase}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMvhjubjX)}(hB**buf** and **subbuf** may be pointers to the same struct xdr_buf.h](j)}(h**buf**h]hbuf}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh and }(hj=hhhNhNubj)}(h **subbuf**h]hsubbuf}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh, may be pointers to the same struct xdr_buf.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhjubjX)}(h/Returns -1 if base or length are out of bounds.h]h/Returns -1 if base or length are out of bounds.}(hjlhhhNhNubah}(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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_stream_subsegment (C function)c.xdr_stream_subsegmenthNtauh1hhjVhhhNhNubh)}(hhh](h)}(h`bool xdr_stream_subsegment (struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h]h)}(h_bool xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_stream_subsegmenth]j%)}(hxdr_stream_subsegmenth]hxdr_stream_subsegment}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hE(struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_stream_subsegmentasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct xdr_buf *subbufh](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_stream_subsegmentasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hsubbufh]hsubbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int nbytesh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h&set **subbuf** to a portion of **xdr**h](hset }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to a portion of }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhjVhNhNubj})}(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)}(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.chMhjWubj)}(hhh](j)}(h=``struct xdr_stream *xdr`` an xdr_stream set up for decoding h](j)}(h``struct xdr_stream *xdr``h]j)}(hj|h]hstruct xdr_stream *xdr}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjvubj)}(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&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhjsubj)}(h-``struct xdr_buf *subbuf`` the result buffer h](j)}(h``struct xdr_buf *subbuf``h]j)}(hjh]hstruct xdr_buf *subbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hthe result bufferh]hthe result buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjsubj)}(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&]uh1jhjhMhjsubeh}(h]h ]h"]h$]h&]uh1jhjWubjX)}(h**Description**h]j)}(hj;h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjWubjX)}(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 }(hjQhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh to represent a portion of }(hjQhhhNhNubj)}(h**xdr**h]hxdr}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh.. The portion starts at the current offset in }(hjQhhhNhNubj)}(h**xdr**h]hxdr}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh, and extends for a length of }(hjQhhhNhNubj)}(h **nbytes**h]hnbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh. If this is successful, }(hjQhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh> is advanced to the next XDR data item following that portion.}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjWubj)}(hhh]j)}(hReturn values: ``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](j)}(hReturn values:h]hReturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hp``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](j)}(h``true``h]htrue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has been initialized, and }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has been advanced. }(hjhhhNhNubj)}(h ``false``h]hfalse}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: a bounds error has occurred}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xdr_stream_move_subsegment (C function)c.xdr_stream_move_subsegmenthNtauh1hhjVhhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjShhhjehMubj)}(hinth]hint}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhjehMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjShhhjehMubj)}(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=uh1jhjShhhjehMubj)}(hW(struct xdr_stream *xdr, unsigned int offset, unsigned int target, unsigned int length)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_stream_move_subsegmentasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int offseth](j)}(hunsignedh]hunsigned}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffseth]hoffset}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int targeth](j)}(hunsignedh]hunsigned}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj%)}(htargeth]htarget}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lengthh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjShhhjehMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOhhhjehMubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjehMhjLhhubjS)}(hhh]jX)}(h)Move part of a stream to another positionh]h)Move part of a stream to another position}(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&]uh1jRhjLhhhjehMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhjVhNhNubj})}(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)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjBubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` the source xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjgh]hstruct xdr_stream *xdr}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjaubj)}(hhh]jX)}(hthe source xdr_streamh]hthe source xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubj)}(h9``unsigned int offset`` the source offset of the segment h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h the source offset of the segmenth]h the source offset of the segment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubj)}(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&]uh1jhjhMhj^ubj)}(h4``unsigned int length`` the number of bytes to move h](j)}(h``unsigned int length``h]j)}(hjh]hunsigned int length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj ubj)}(hhh]jX)}(hthe number of bytes to moveh]hthe number of bytes to move}(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&]uh1jhjBubjX)}(h**Description**h]j)}(hjMh]h Description}(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.chMhjBubjX)}(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 }(hjchhhNhNubj)}(h **length**h]hlength}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh bytes from }(hjchhhNhNubj)}(h **offset**h]hoffset}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh to }(hjchhhNhNubj)}(h **target**h]htarget}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubhb in the xdr_stream, overwriting anything in its space. Returns the number of bytes in the segment.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_zero (C function)c.xdr_stream_zerohNtauh1hhjVhhhNhNubh)}(hhh](h)}(h_unsigned int xdr_stream_zero (struct xdr_stream *xdr, unsigned int offset, unsigned int length)h]h)}(h^unsigned int xdr_stream_zero(struct xdr_stream *xdr, unsigned int offset, unsigned int length)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_stream_zeroh]j%)}(hxdr_stream_zeroh]hxdr_stream_zero}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hB(struct xdr_stream *xdr, unsigned int offset, unsigned int length)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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_stream_zeroasbuh1hhjubj)}(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)}(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 }(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)}(hunsigned int lengthh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h#zero out a portion of an xdr_streamh]h#zero out a portion of an xdr_stream}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjChhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^jxj^jyjzj{uh1hhhhjVhNhNubj})}(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)}(hjhh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjbubj)}(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&]uh1jhjhMhj~ubj)}(h9``unsigned int offset`` the starting point in the stream h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h the starting point in the streamh]h the starting point in the stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj~ubj)}(h3``unsigned int length`` the number of bytes to zeroh](j)}(h``unsigned int length``h]j)}(hjh]hunsigned int length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hthe number of bytes to zeroh]hthe number of bytes to zero}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj~ubeh}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_trim (C function)c.xdr_buf_trimhNtauh1hhjVhhhNhNubh)}(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}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhhhjahMubj)}(h xdr_buf_trimh]j%)}(h xdr_buf_trimh]h xdr_buf_trim}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOhhhjahMubj)}(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')}jjvsbc.xdr_buf_trimasbuh1hhjubj)}(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)}(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=uh1jhjOhhhjahMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjahMubah}(h]jFah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjahMhjHhhubjS)}(hhh]jX)}(h,lop at most "len" bytes off the end of "buf"h]h4lop at most “len” bytes off the end of “buf”}(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&]uh1jRhjHhhhjahMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|jxj|jyjzj{uh1hhhhjVhNhNubj})}(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.chMhjubj)}(hhh](j)}(h*``struct xdr_buf *buf`` buf to be trimmed h](j)}(h``struct xdr_buf *buf``h]j)}(hjh]hstruct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hbuf to be trimmedh]hbuf to be trimmed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``unsigned int len`` number of bytes to reduce "buf" by h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h"number of bytes to reduce "buf" byh]h&number of bytes to reduce “buf” by}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]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)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)xdr_stream_decode_string_dup (C function)c.xdr_stream_decode_string_duphNtauh1hhjVhhhNhNubh)}(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}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}jxdr_stream_decode_string_dupsbc.xdr_stream_decode_string_dupasbuh1hhjZhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhjhMubj)}(hxdr_stream_decode_string_duph]j%)}(hjh]hxdr_stream_decode_string_dup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhjhMubj)}(hD(struct xdr_stream *xdr, char **str, size_t maxlen, gfp_t gfp_flags)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j}c.xdr_stream_decode_string_dupasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h char **strh](j)}(hcharh]hchar}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstrh]hstr}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t maxlenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]j}c.xdr_stream_decode_string_dupasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj%)}(hmaxlenh]hmaxlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(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$]j}c.xdr_stream_decode_string_dupasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h gfp_flagsh]h gfp_flags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjZhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVhhhjhMubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjShhubjS)}(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.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhjShhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhjVhNhNubj})}(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)}(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)}(h1``struct xdr_stream *xdr`` pointer to 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 xdr_streamh]hpointer to xdr_stream}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjHubj)}(h3``char **str`` location to store pointer to 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.chMhjubj)}(hhh]jX)}(h#location to store pointer to stringh]h#location to store pointer to string}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjHubj)}(h3``size_t maxlen`` maximum acceptable string length h](j)}(h``size_t maxlen``h]j)}(hjh]h size_t maxlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h maximum acceptable string lengthh]h maximum acceptable string length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjHubj)}(h$``gfp_t gfp_flags`` GFP mask to use h](j)}(h``gfp_t gfp_flags``h]j)}(hjh]hgfp_t gfp_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hGFP mask to useh]hGFP mask to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjHubeh}(h]h ]h"]h$]h&]uh1jhj,ubjX)}(h**Description**h]j)}(hj7h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj,ubj)}(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:}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjPubj)}(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 }(hjfhhhNhNubj)}(h***ptr**h]h*ptr}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh }(hjfhhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh on XDR buffer overflow }(hjfhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh( if the size of the string would exceed }(hjfhhhNhNubj)}(h **maxlen**h]hmaxlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh }hjfsbj)}(h ``-ENOMEM``h]h-ENOMEM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh on memory allocation failure}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjcubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjMubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xdr_stream_decode_opaque_auth (C function)c.xdr_stream_decode_opaque_authhNtauh1hhjVhhhNhNubh)}(hhh](h)}(hpssize_t xdr_stream_decode_opaque_auth (struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h]h)}(hossize_t xdr_stream_decode_opaque_auth(struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h](h)}(hhh]j%)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jxdr_stream_decode_opaque_authsbc.xdr_stream_decode_opaque_authasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj%hMubj)}(hxdr_stream_decode_opaque_authh]j%)}(hj"h]hxdr_stream_decode_opaque_auth}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj%hMubj)}(hJ(struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]j c.xdr_stream_decode_opaque_authasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(h u32 *flavorh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.xdr_stream_decode_opaque_authasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hflavorh]hflavor}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(h void **bodyh](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*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbodyh]hbody}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(hunsigned int *body_lenh](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;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hbody_lenh]hbody_len}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubeh}(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(Decode struct opaque_auth (RFC5531 S8.2)h]h(Decode struct opaque_auth (RFC5531 S8.2)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj%hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``u32 *flavor`` location to store decoded flavor ``void **body`` location to store decode body ``unsigned int *body_len`` location to store length of decoded body **Description** Return values: On success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjubj)}(h1``u32 *flavor`` location to store decoded flavor h](j)}(h``u32 *flavor``h]j)}(hjPh]h u32 *flavor}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjJubj)}(hhh]jX)}(h location to store decoded flavorh]h location to store decoded flavor}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjubj)}(h.``void **body`` location to store decode body h](j)}(h``void **body``h]j)}(hjh]h void **body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hlocation to store decode bodyh]hlocation to store decode body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hD``unsigned int *body_len`` location to store length of decoded body h](j)}(h``unsigned int *body_len``h]j)}(hjh]hunsigned int *body_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h(location to store length of decoded bodyh]h(location to store length of decoded body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]j)}(hReturn values: On success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](j)}(hReturn values:h]hReturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hOn success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](h8On success, returns the number of buffer bytes consumed }(hj,hhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh on XDR buffer overflow }(hj,hhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh9 if the decoded size of the body field exceeds 400 octets}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj)ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xdr_stream_encode_opaque_auth (C function)c.xdr_stream_encode_opaque_authhNtauh1hhjVhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jxdr_stream_encode_opaque_authsbc.xdr_stream_encode_opaque_authasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_stream_encode_opaque_authh]j%)}(hjh]hxdr_stream_encode_opaque_auth}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hG(struct xdr_stream *xdr, u32 flavor, void *body, unsigned int body_len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.xdr_stream_encode_opaque_authasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(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 u32 flavorh](h)}(hhh]j%)}(hu32h]hu32}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]jc.xdr_stream_encode_opaque_authasbuh1hhjOubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj%)}(hflavorh]hflavor}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h void *bodyh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbodyh]hbody}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int body_lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hbody_lenh]hbody_len}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h(Encode struct opaque_auth (RFC5531 S8.2)h]h(Encode struct opaque_auth (RFC5531 S8.2)}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj<hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjWjxjWjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjah]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj[ubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjzubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjwubj)}(h)``u32 flavor`` verifier flavor to encode h](j)}(h``u32 flavor``h]j)}(hjh]h u32 flavor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hverifier flavor to encodeh]hverifier flavor to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjwubj)}(h)``void *body`` content of body to encode h](j)}(h``void *body``h]j)}(hjh]h void *body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hcontent of body to encodeh]hcontent of body to encode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjwubj)}(h3``unsigned int body_len`` length of body to encode h](j)}(h``unsigned int body_len``h]j)}(hj+h]hunsigned int body_len}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj%ubj)}(hhh]jX)}(hlength of body to encodeh]hlength of body to encode}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjwubeh}(h]h ]h"]h$]h&]uh1jhj[ubjX)}(h**Description**h]j)}(hjfh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj[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:}(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 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 }(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 }(hjhhhNhNubj)}(h**body**h]hbody}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh exceeds 400 octets}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj|ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reg_xprt_class (C function)c.svc_reg_xprt_classhNtauh1hhjVhhhNhNubh)}(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}(hj hhhNhNubah}(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}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKNubj)}(h(struct svc_xprt_class *xcl)h]j)}(hstruct svc_xprt_class *xclh](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hsvc_xprt_classh]hsvc_xprt_class}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j')}jj/sbc.svc_reg_xprt_classasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hxclh]hxcl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubah}(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{uh1hhhhjVhNhNubj})}(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)}(hj h]hstruct svc_xprt_class *xcl}(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.chKOhjubj)}(hhh]jX)}(h$New transport class to be registeredh]h$New transport class to be registered}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hKOhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hKOhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjHh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(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.chKPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_unreg_xprt_class (C function)c.svc_unreg_xprt_classhNtauh1hhjVhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKhubj)}(hsvc_unreg_xprt_classh]j%)}(hsvc_unreg_xprt_classh]hsvc_unreg_xprt_class}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKhubj)}(h(struct svc_xprt_class *xcl)h]j)}(hstruct svc_xprt_class *xclh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_xprt_classh]hsvc_xprt_class}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.svc_unreg_xprt_classasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxclh]hxcl}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKhubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhhjhhubjS)}(hhh]jX)}(h,Unregister a server-side RPC transport classh]h,Unregister a server-side RPC transport class}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhhjJhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjejxjejyjzj{uh1hhhhjVhNhNubj})}(hS**Parameters** ``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](jX)}(h**Parameters**h]j)}(hjoh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKlhjiubj)}(hhh]j)}(hA``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](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.chKnhjubj)}(hhh]jX)}(h"Transport class to be unregisteredh]h"Transport class to be unregistered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKnhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_deferred_close (C function)c.svc_xprt_deferred_closehNtauh1hhjVhhhNhNubh)}(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}(hj hhhNhNubah}(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}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jj sbc.svc_xprt_deferred_closeasbuh1hhj!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%)}(hxprth]hxprt}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(hClose a transporth]hClose a transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(h**Parameters** ``struct svc_xprt *xprt`` transport instance **Description** Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubj)}(hhh]j)}(h-``struct svc_xprt *xprt`` transport instance h](j)}(h``struct svc_xprt *xprt``h]j)}(hjh]hstruct svc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubj)}(hhh]jX)}(htransport instanceh]htransport instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj$h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubjX)}(h^Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.h]h^Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_received (C function)c.svc_xprt_receivedhNtauh1hhjVhhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjwhKubj)}(hsvc_xprt_receivedh]j%)}(hsvc_xprt_receivedh]hsvc_xprt_received}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhjwhKubj)}(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_receivedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjehhhjwhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjahhhjwhKubah}(h]j\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwhKhj^hhubjS)}(hhh]jX)}(hstart next receiver threadh]hstart next receiver thread}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj&hhubah}(h]h ]h"]h$]h&]uh1jRhj^hhhjwhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjAjxjAjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjKh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjEubj)}(hhh]j)}(h0``struct svc_xprt *xprt`` controlling transport h](j)}(h``struct svc_xprt *xprt``h]j)}(hjjh]hstruct svc_xprt *xprt}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjdubj)}(hhh]jX)}(hcontrolling transporth]hcontrolling transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhKhjaubah}(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&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjEubjX)}(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.chKhjEubjX)}(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.chKhjEubjX)}(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.chKhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_create_from_sa (C function)c.svc_xprt_create_from_sahNtauh1hhjVhhhNhNubh)}(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&]uh1jhj hhhU/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 hj hhhjhM"ubj)}(hsvc_xprt_create_from_sah]j%)}(hsvc_xprt_create_from_sah]hsvc_xprt_create_from_sa}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM"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}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]j')}jj4sbc.svc_xprt_create_from_saasbuh1hhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hservh]hserv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(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=uh1jhjFubj)}(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$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]jc.svc_xprt_create_from_saasbuh1hhjubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(hstruct sockaddr *saph](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.svc_xprt_create_from_saasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsaph]hsap}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(h int flagsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(hconst struct cred *credh](h)}(hjh]hconst}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(hcredh]hcred}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]jc.svc_xprt_create_from_saasbuh1hhj.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%)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(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)}(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{uh1hhhhjVhNhNubj})}(hX**Parameters** ``struct svc_serv *serv`` target RPC service ``const char *xprt_name`` transport class name ``struct net *net`` network namespace ``struct sockaddr *sap`` socket address pointer ``int flags`` SVC_SOCK flags ``const struct cred *cred`` credential to bind to this transport **Description** Return local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM&hjubj)}(hhh](j)}(h-``struct svc_serv *serv`` target RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hj!h]hstruct svc_serv *serv}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM#hjubj)}(hhh]jX)}(htarget RPC serviceh]htarget RPC service}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hM#hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM#hjubj)}(h/``const char *xprt_name`` transport class name h](j)}(h``const char *xprt_name``h]j)}(hjZh]hconst char *xprt_name}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM$hjTubj)}(hhh]jX)}(htransport class nameh]htransport class name}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohM$hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM$hjubj)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM%hjubj)}(hhh]jX)}(hnetwork namespaceh]hnetwork namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjubj)}(h0``struct sockaddr *sap`` socket address pointer h](j)}(h``struct sockaddr *sap``h]j)}(hjh]hstruct sockaddr *sap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM&hjubj)}(hhh]jX)}(hsocket address pointerh]hsocket address pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubj)}(h``int flags`` SVC_SOCK flags h](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM'hjubj)}(hhh]jX)}(hSVC_SOCK flagsh]hSVC_SOCK flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjubj)}(hA``const struct cred *cred`` credential to bind to this transport h](j)}(h``const struct cred *cred``h]j)}(hj>h]hconst struct cred *cred}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM(hj8ubj)}(hhh]jX)}(h$credential to bind to this transporth]h$credential to bind to this transport}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM(hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM(hjubeh}(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&]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 }(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.chM)hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_create (C function)c.svc_xprt_createhNtauh1hhjVhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_createasbuh1hhj 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%)}(hservh]hserv}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *xprt_nameh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(h xprt_nameh]h xprt_name}(hjhhhNhNubah}(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$]jGc.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%)}(hneth]hnet}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst int familyh](h)}(hjh]hconst}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(hinth]hint}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj%)}(hfamilyh]hfamily}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned short porth](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hporth]hport}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int flagsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflagsh]hflags}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst struct cred *credh](h)}(hjh]hconst}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(hcredh]hcred}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]jGc.svc_xprt_createasbuh1hhj9ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(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{uh1hhhhjVhNhNubj})}(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)}(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.chMPhjubj)}(hhh](j)}(h-``struct svc_serv *serv`` target RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hj(h]hstruct svc_serv *serv}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMMhj"ubj)}(hhh]jX)}(htarget RPC serviceh]htarget RPC service}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMMhjubj)}(h/``const char *xprt_name`` transport class name h](j)}(h``const char *xprt_name``h]j)}(hjah]hconst char *xprt_name}(hjchhhNhNubah}(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}(1hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMNhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMNhjubj)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMOhjubj)}(hhh]jX)}(hnetwork namespaceh]hnetwork namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(h,``const int family`` network address family h](j)}(h``const int family``h]j)}(hjh]hconst int family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMPhjubj)}(hhh]jX)}(hnetwork address familyh]hnetwork address family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(h,``const unsigned short port`` listener port h](j)}(h``const unsigned short port``h]j)}(hj h]hconst unsigned short port}(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.chMQhjubj)}(hhh]jX)}(h listener porth]h listener port}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMQhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMQhjubj)}(h``int flags`` SVC_SOCK flags h](j)}(h ``int flags``h]j)}(hjEh]h int flags}(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.chMRhj?ubj)}(hhh]jX)}(hSVC_SOCK flagsh]hSVC_SOCK flags}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMRhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMRhjubj)}(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}(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.chMShjxubj)}(hhh]jX)}(h$credential to bind to this transporth]h$credential to bind to this transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMUhjubjX)}(hDReturn local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](h%Return local xprt port on success or }(hjhhhNhNubj)}(h``-EPROTONOSUPPORT``h]h-EPROTONOSUPPORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on failure}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMThjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_print_addr (C function)c.svc_print_addrhNtauh1hhjVhhhNhNubh)}(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&]uh1jhj hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(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)}(hsvc_print_addrh]j%)}(hsvc_print_addrh]hsvc_print_addr}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h/(struct svc_rqst *rqstp, char *buf, size_t len)h](j)}(hstruct svc_rqst *rqstph](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(hsvc_rqsth]hsvc_rqst}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]j')}jj@sbc.svc_print_addrasbuh1hhjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hrqstph]hrqstp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubj)}(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=uh1jhjRubj)}(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.svc_print_addrasbuh1hhj 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=uh1jhjRubeh}(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!Format rq_addr field for printingh]h!Format rq_addr field for printing}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjdhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(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)}(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)}(hG``struct svc_rqst *rqstp`` svc_rqst struct containing address to print h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjh]hstruct svc_rqst *rqstp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(h+svc_rqst struct containing address to printh]h+svc_rqst struct containing address to print}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``char *buf`` target buffer for formatted address h](j)}(h ``char *buf``h]j)}(hjh]h char *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(h#target buffer for formatted addressh]h#target buffer for formatted address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h&``size_t len`` length of target bufferh](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(hlength of target bufferh]hlength of target buffer}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj0ubah}(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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_enqueue (C function)c.svc_xprt_enqueuehNtauh1hhjVhhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhjhMubj)}(hsvc_xprt_enqueueh]j%)}(hsvc_xprt_enqueueh]hsvc_xprt_enqueue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjphhhjhMubj)}(h(struct svc_xprt *xprt)h]j)}(hstruct svc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_enqueueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjphhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjhMubah}(h]jgah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjihhubjS)}(hhh]jX)}(h(Queue a transport on an idle nfsd threadh]h(Queue a transport on an idle nfsd thread}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj1hhubah}(h]h ]h"]h$]h&]uh1jRhjihhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLjxjLjyjzj{uh1hhhhjVhNhNubj})}(hG**Parameters** ``struct svc_xprt *xprt`` transport with data pendingh](jX)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjPubj)}(hhh]j)}(h5``struct svc_xprt *xprt`` transport with data pendingh](j)}(h``struct svc_xprt *xprt``h]j)}(hjuh]hstruct svc_xprt *xprt}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjoubj)}(hhh]jX)}(htransport with data pendingh]htransport with data pending}(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&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reserve (C function) c.svc_reservehNtauh1hhjVhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_rqsth]hsvc_rqst}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,modnameN classnameNjj!)}j$]j')}jjsb c.svc_reserveasbuh1hhjubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrqstph]hrqstp}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int spaceh](j)}(hinth]hint}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj%)}(hspaceh]hspace}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(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{uh1hhhhjVhNhNubj})}(hXF**Parameters** ``struct svc_rqst *rqstp`` The request in question ``int space`` new max space to reserve **Description** Each request reserves some space on the output queue of the transport to make sure the reply fits. This function reduces that reserved space to be the amount of space used already, plus **space**.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh](j)}(h3``struct svc_rqst *rqstp`` The request in question h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjh]hstruct svc_rqst *rqstp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(hThe request in questionh]hThe request in question}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``int space`` new max space to reserve h](j)}(h ``int space``h]j)}(hj>h]h int space}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj8ubj)}(hhh]jX)}(hnew max space to reserveh]hnew max space to reserve}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubeh}(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&]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 }(hjhhhNhNubj)}(h **space**h]hspace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_wake_up (C function) c.svc_wake_uphNtauh1hhjVhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j')}jjsb c.svc_wake_upasbuh1hhj 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%)}(hservh]hserv}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMAhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(hX|**Parameters** ``struct svc_serv *serv`` RPC service **Description** Some svc_serv's will have occasional work to do, even when a xprt is not waiting to be serviced. This function is there to "kick" a task in one of those services so that it can wake up and do that work. Note that we only bother with pool 0 as we don't need to wake up more than one thread for this purpose.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMEhjubj)}(hhh]j)}(h&``struct svc_serv *serv`` RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hjh]hstruct svc_serv *serv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMBhjubj)}(hhh]jX)}(h RPC serviceh]h RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMDhjubjX)}(hX2Some svc_serv's will have occasional work to do, even when a xprt is not waiting to be serviced. This function is there to "kick" a task in one of those services so that it can wake up and do that work. Note that we only bother with pool 0 as we don't need to wake up more than one thread for this purpose.h]hX:Some svc_serv’s will have occasional work to do, even when a xprt is not waiting to be serviced. This function is there to “kick” a task in one of those services so that it can wake up and do that work. Note that we only bother with pool 0 as we don’t need to wake up more than one thread for this purpose.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMChjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_recv (C function) c.svc_recvhNtauh1hhjVhhhNhNubh)}(hhh](h)}(h&void svc_recv (struct svc_rqst *rqstp)h]h)}(h%void svc_recv(struct svc_rqst *rqstp)h](j)}(hvoidh]hvoid}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhU/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 hjMhhhj_hMDubj)}(hsvc_recvh]j%)}(hsvc_recvh]hsvc_recv}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhj_hMDubj)}(h(struct svc_rqst *rqstp)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')}jjtsb c.svc_recvasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrqstph]hrqstp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjMhhhj_hMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIhhhj_hMDubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj_hMDhjFhhubjS)}(hhh]jX)}(h5Receive and process the next request on any transporth]h5Receive and process the next request on any transport}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMDhj hhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhj_hMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj) jxj) jyjzj{uh1hhhhjVhNhNubj})}(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)}(hj3 h]h Parameters}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1 ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMHhj- ubj)}(hhh]j)}(h6``struct svc_rqst *rqstp`` an idle RPC service thread h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjR h]hstruct svc_rqst *rqstp}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMEhjL ubj)}(hhh]jX)}(han idle RPC service threadh]han idle RPC service thread}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjg hMEhjh ubah}(h]h ]h"]h$]h&]uh1jhjL ubeh}(h]h ]h"]h$]h&]uh1jhjg hMEhjI 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&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMGhj- ubjX)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMFhj- ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_close (C function)c.svc_xprt_closehNtauh1hhjVhhhNhNubh)}(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}(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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj)}(hsvc_xprt_closeh]j%)}(hsvc_xprt_closeh]hsvc_xprt_close}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(h(struct svc_xprt *xprt)h]j)}(hstruct svc_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%)}(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')}jj sbc.svc_xprt_closeasbuh1hhj ubj)}(h h]h }(hjM hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj[ hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hxprth]hxprt}(hjh hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhj hhubjS)}(hhh]jX)}(hClose a 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.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjVhNhNubj})}(hC**Parameters** ``struct svc_xprt *xprt`` transport to disconnecth](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:62: ./net/sunrpc/svc_xprt.chM!hj ubj)}(hhh]j)}(h1``struct svc_xprt *xprt`` transport to disconnecth](j)}(h``struct svc_xprt *xprt``h]j)}(hj h]hstruct svc_xprt *xprt}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM#hj ubj)}(hhh]jX)}(htransport to disconnecth]htransport to disconnect}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM#hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_xprt_destroy_all (C function)c.svc_xprt_destroy_allhNtauh1hhjVhhhNhNubh)}(hhh](h)}(hSvoid svc_xprt_destroy_all (struct svc_serv *serv, struct net *net, bool unregister)h]h)}(hRvoid svc_xprt_destroy_all(struct svc_serv *serv, struct net *net, bool unregister)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.chM[ubj)}(h h]h }(hj< hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj) hhhj; hM[ubj)}(hsvc_xprt_destroy_allh]j%)}(hsvc_xprt_destroy_allh]hsvc_xprt_destroy_all}(hjN hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJ ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj) hhhj; hM[ubj)}(h9(struct svc_serv *serv, struct net *net, bool unregister)h](j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hjj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjf ubj)}(h h]h }(hjw hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjf ubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjP sbc.svc_xprt_destroy_allasbuh1hhjf 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%)}(hservh]hserv}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjb ubj)}(hstruct net *neth](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hneth]hnet}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j c.svc_xprt_destroy_allasbuh1hhj 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%)}(hneth]hnet}(hj3 hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjb ubj)}(hbool unregisterh](j)}(hjTh]hbool}(hjL hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjH ubj)}(h h]h }(hjY hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH ubj%)}(h unregisterh]h unregister}(hjg hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjb 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+Destroy transports associated with **serv**h](h#Destroy transports associated with }(hj hhhNhNubj)}(h**serv**h]hserv}(hj hhhNhNubah}(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.chM[hj hhubah}(h]h ]h"]h$]h&]uh1jRhj" hhhj; hM[ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjVhNhNubj})}(hX**Parameters** ``struct svc_serv *serv`` RPC service to be shut down ``struct net *net`` target network namespace ``bool unregister`` true if it is OK to unregister the destroyed xprts **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)}(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:62: ./net/sunrpc/svc_xprt.chM_hj ubj)}(hhh](j)}(h6``struct svc_serv *serv`` RPC service to be shut down h](j)}(h``struct svc_serv *serv``h]j)}(hj h]hstruct svc_serv *serv}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM\hj ubj)}(hhh]jX)}(hRPC service to be shut downh]hRPC service to be shut down}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM\hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM\hj ubj)}(h-``struct net *net`` target 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]hj ubj)}(hhh]jX)}(htarget network namespaceh]htarget network namespace}(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)}(hG``bool unregister`` true if it is OK to unregister the destroyed xprts h](j)}(h``bool unregister``h]j)}(hjR h]hbool unregister}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM^hjL ubj)}(hhh]jX)}(h2true if it is OK to unregister the destroyed xprtsh]h2true if it is OK to unregister the destroyed xprts}(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&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM`hj ubjX)}(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).}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM_hj ubjX)}(hXSo we shut down sockets the same way we would on a running server, by setting XPT_CLOSE, enqueuing, and letting a thread pick it up to do the close. In the case there are no such other threads, threads running, svc_clean_up_xprts() does a simple version of a server's main event loop, and in the case where there are other threads, we may need to wait a little while and then check again to see if they're done.h]hXSo we shut down sockets the same way we would on a running server, by setting XPT_CLOSE, enqueuing, and letting a thread pick it up to do the close. In the case there are no such other threads, threads running, svc_clean_up_xprts() does a simple version of a server’s main event loop, and in the case where there are other threads, we may need to wait a little while and then check again to see if they’re done.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMbhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_listener (C function)c.svc_find_listenerhNtauh1hhjVhhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubh)}(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')}jsvc_find_listenersbc.svc_find_listenerasbuh1hhj hhhj hMubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj hhhj hMubj)}(hsvc_find_listenerh]j%)}(hjh]hsvc_find_listener}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(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}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]jc.svc_find_listenerasbuh1hhjWubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj%)}(hservh]hserv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(hstruct net *neth](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%)}(hneth]hnet}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]jc.svc_find_listenerasbuh1hhj$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%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.svc_find_listenerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsah]hsa}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubeh}(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)}(hfind an RPC transport instanceh]hfind an RPC transport instance}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj1hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLjxjLjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjPubj)}(hhh](j)}(h8``struct svc_serv *serv`` pointer to svc_serv to search h](j)}(h``struct svc_serv *serv``h]j)}(hjuh]hstruct svc_serv *serv}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjoubj)}(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&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubj)}(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&]uh1jhjubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubj)}(h&``struct net *net`` owner net pointer 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.chMhjubj)}(hhh]jX)}(howner net pointerh]howner net pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubj)}(h:``const struct sockaddr *sa`` sockaddr containing address h](j)}(h``const struct sockaddr *sa``h]j)}(hj h]hconst struct sockaddr *sa}(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)}(hsockaddr containing addressh]hsockaddr containing address}(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&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjPubjX)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_xprt (C function)c.svc_find_xprthNtauh1hhjVhhhNhNubh)}(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.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(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_xprtasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(h svc_find_xprth]j%)}(hjh]h svc_find_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(ho(struct svc_serv *serv, const char *xcl_name, struct net *net, const sa_family_t af, const unsigned short port)h](j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]jc.svc_find_xprtasbuh1hhjubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *xcl_nameh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hcharh]hchar}(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}(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$]jc.svc_find_xprtasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj1hhhNhNubah}(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 sa_family_t afh](h)}(hjh]hconst}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(h sa_family_th]h sa_family_t}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]jc.svc_find_xprtasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj%)}(hafh]haf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned short porth](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hporth]hport}(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)}(hfind an RPC transport instanceh]hfind an RPC transport instance}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjYh]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM!hjSubj)}(hhh](j)}(h8``struct svc_serv *serv`` pointer to svc_serv to search h](j)}(h``struct svc_serv *serv``h]j)}(hjxh]hstruct svc_serv *serv}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjrubj)}(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&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubj)}(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&]uh1jhjubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubj)}(h&``struct net *net`` owner net pointer 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.chM hjubj)}(hhh]jX)}(howner net pointerh]howner net pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjoubj)}(hE``const sa_family_t af`` Address family of transport's local address h](j)}(h``const sa_family_t af``h]j)}(hj#h]hconst sa_family_t af}(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)}(h+Address family of transport's local addressh]h-Address family of transport’s local address}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hM!hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM!hjoubj)}(h9``const unsigned short port`` transport's IP port number h](j)}(h``const unsigned short port``h]j)}(hj\h]hconst unsigned short port}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM"hjVubj)}(hhh]jX)}(htransport's IP port numberh]htransport’s IP port number}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhM"hjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhM"hjoubeh}(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&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM$hjSubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM#hjSubjX)}(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.chM'hjSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_names (C function)c.svc_xprt_nameshNtauh1hhjVhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMXubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMXubj)}(hsvc_xprt_namesh]j%)}(hsvc_xprt_namesh]hsvc_xprt_names}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMXubj)}(h4(struct svc_serv *serv, char *buf, const int buflen)h](j)}(hstruct svc_serv *servh](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%)}(hsvc_servh]hsvc_serv}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_namesasbuh1hhj$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%)}(hservh]hserv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h char *bufh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hconst int buflenh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(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%)}(hbuflenh]hbuflen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(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)}(h.format a buffer with a list of transport namesh]h.format a buffer with a list of transport names}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMXhj:hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMXubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhjVhNhNubj})}(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)}(hj_h]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM\hjYubj)}(hhh](j)}(h4``struct svc_serv *serv`` pointer to an RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hj~h]hstruct svc_serv *serv}(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.chMYhjxubj)}(hhh]jX)}(hpointer to an RPC serviceh]hpointer to an RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjuubj)}(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.chMZhjubj)}(hhh]jX)}(h#pointer to a buffer to be filled inh]h#pointer to a buffer to be filled in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjuubj)}(h6``const int buflen`` length of buffer to be filled in h](j)}(h``const int buflen``h]j)}(hjh]hconst int buflen}(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)}(h length of buffer to be filled inh]h length of buffer to be filled in}(hj hhhNhNubah}(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&]uh1jhjYubjX)}(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:62: ./net/sunrpc/svc_xprt.chM]hjYubjX)}(hdFills in **buf** with a string containing a list of transport names, each name terminated with '\n'.h](h Fills in }(hjAhhhNhNubj)}(h**buf**h]hbuf}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubhX with a string containing a list of transport names, each name terminated with ‘n’.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM\hjYubjX)}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM_hjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_register_transport (C function)c.xprt_register_transporthNtauh1hhjVhhhNhNubh)}(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$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhK[ubj)}(h(struct xprt_class *transport)h]j)}(hstruct xprt_class *transporth](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_classh]h xprt_class}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xprt_register_transportasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(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=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}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK[hjNhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhK[ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhjVhNhNubj})}(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)}(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.chK_hjmubj)}(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}(hjhhhNhNubah}(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&]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.chK^hjmubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK]hjmubjX)}(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.chK`hjmubjX)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKahjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&xprt_unregister_transport (C function)c.xprt_unregister_transporthNtauh1hhjVhhhNhNubh)}(hhh](h)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(h transporth]h transport}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubah}(h]h ]h"]h$]h&]j<j=uh1jhj5hhhjGhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1hhhjGhKubah}(h]j,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjGhKhj.hhubjS)}(hhh]jX)}(h%unregister a transport implementationh]h%unregister a transport implementation}(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.hhhjGhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(h**Parameters** ``struct xprt_class *transport`` transport to unregister **Return** 0: transport successfully unregistered -ENOENT: transport never registeredh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubj)}(hhh]j)}(h9``struct xprt_class *transport`` transport to unregister h](j)}(h ``struct xprt_class *transport``h]j)}(hj:h]hstruct xprt_class *transport}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhj4ubj)}(hhh]jX)}(htransport to unregisterh]htransport to unregister}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhKhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhKhj1ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hjuh]hReturn}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubjX)}(hX0: transport successfully unregistered -ENOENT: transport never registeredh]hX0: transport successfully unregistered -ENOENT: transport never registered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&xprt_find_transport_ident (C function)c.xprt_find_transport_identhNtauh1hhjVhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hxprt_find_transport_identh]j%)}(hxprt_find_transport_identh]hxprt_find_transport_ident}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h(const char *netid)h]j)}(hconst char *netidh](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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnetidh]hnetid}(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+convert a netid into a transport identifierh]h+convert a netid into a transport identifier}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjbhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhjVhNhNubj})}(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)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubjX)}(hM> 0: transport identifier -ENOENT: transport module not availableh]hM> 0: transport identifier -ENOENT: transport module not available}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_reserve_xprt (C function)c.xprt_reserve_xprthNtauh1hhjVhhhNhNubh)}(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}(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 }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhj4hMubj)}(hxprt_reserve_xprth]j%)}(hxprt_reserve_xprth]hxprt_reserve_xprt}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"hhhj4hMubj)}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j)}(hstruct rpc_xprt *xprth](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%)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjIsbc.xprt_reserve_xprtasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(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$]jc.xprt_reserve_xprtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htaskh]htask}(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"hhhj4hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj4hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4hMhjhhubjS)}(hhh]jX)}(h$serialize write access to transportsh]h$serialize write access to transports}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjShhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj4hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjnjxjnjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjrubj)}(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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hJ``struct rpc_task *task`` task that is requesting 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.chMhjubj)}(hhh]jX)}(h/task that is requesting access to the transporth]h/task that is requesting access to 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&]uh1jhjrubjX)}(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.chMhjrubjX)}(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.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_release_xprt (C function)c.xprt_release_xprthNtauh1hhjVhhhNhNubh)}(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}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhj^hMubj)}(hxprt_release_xprth]j%)}(hxprt_release_xprth]hxprt_release_xprt}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhj^hMubj)}(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')}jjssbc.xprt_release_xprtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.xprt_release_xprtasbuh1hhjubj)}(h h]h }(hj; hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjI hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htaskh]htask}(hjV hhhNhNubah}(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'allow other requests to use a transporth]h'allow other requests to use a transport}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj} hhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhj^hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjVhNhNubj})}(h**Parameters** ``struct rpc_xprt *xprt`` transport with other tasks potentially waiting ``struct rpc_task *task`` task that is releasing access to the transport **Description** Note that "task" can be NULL. No congestion control is provided.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj ubj)}(hhh](j)}(hI``struct rpc_xprt *xprt`` transport with other tasks potentially waiting h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj h]hstruct rpc_xprt *xprt}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj ubj)}(hhh]jX)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hj h]hstruct rpc_task *task}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj ubj)}(hhh]jX)}(h.task that is releasing access to the transporth]h.task that is releasing access to the transport}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hj5!h]h Description}(hj7!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3!ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj ubjX)}(hANote that "task" can be NULL. No congestion control is provided.h]hENote that “task” can be NULL. No congestion control is provided.}(hjK!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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_xprt_cong (C function)c.xprt_release_xprt_conghNtauh1hhjVhhhNhNubh)}(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}(hjz!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv!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 hjv!hhhj!hMubj)}(hxprt_release_xprt_congh]j%)}(hxprt_release_xprt_congh]hxprt_release_xprt_cong}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjv!hhhj!hMubj)}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]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_release_xprt_congasbuh1hhj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!ubj%)}(hxprth]hxprt}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hj)"hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%"ubj)}(h h]h }(hj6"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%"ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjG"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjD"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjI"modnameN classnameNjj!)}j$]j!c.xprt_release_xprt_congasbuh1hhj%"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%)}(htaskh]htask}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjv!hhhj!hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjr!hhhj!hMubah}(h]jm!ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hMhjo!hhubjS)}(hhh]jX)}(h'allow other requests to use a transporth]h'allow other requests to use a transport}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj"hhubah}(h]h ]h"]h$]h&]uh1jRhjo!hhhj!hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"jxj"jyjzj{uh1hhhhjVhNhNubj})}(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)}(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)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj"ubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hj$#h]hstruct rpc_task *task}(hj&#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"#ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj#ubj)}(hhh]jX)}(h.task that is releasing access to the transporth]h.task that is releasing access to the transport}(hj=#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9#hMhj:#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj9#hMhj"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: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.}(hju#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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xprt_request_get_cong (C function)c.xprt_request_get_conghNtauh1hhjVhhhNhNubh)}(hhh](h)}(hHbool xprt_request_get_cong (struct rpc_xprt *xprt, struct rpc_rqst *req)h]h)}(hGbool xprt_request_get_cong(struct rpc_xprt *xprt, struct rpc_rqst *req)h](j)}(hjTh]hbool}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#hhhj#hMubj)}(hxprt_request_get_congh]j%)}(hxprt_request_get_congh]hxprt_request_get_cong}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj#hhhj#hMubj)}(h-(struct rpc_xprt *xprt, struct rpc_rqst *req)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]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_request_get_congasbuh1hhj#ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj;)}(hj>h]h*}(hj,$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubj%)}(hxprth]hxprt}(hj9$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubj)}(hstruct rpc_rqst *reqh](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%)}(hrpc_rqsth]hrpc_rqst}(hjp$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjr$modnameN classnameNjj!)}j$]j$c.xprt_request_get_congasbuh1hhjN$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%)}(hreqh]hreq}(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#hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj#hMubah}(h]j#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#hMhj#hhubjS)}(hhh]jX)}(h"Request congestion control creditsh]h"Request congestion control credits}(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{uh1hhhhjVhNhNubj})}(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)}(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_xprt *xprt`` pointer to transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj%h]hstruct rpc_xprt *xprt}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj%ubj)}(hhh]jX)}(hpointer to transporth]hpointer to transport}(hj-%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)%hMhj*%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj)%hMhj %ubj)}(h0``struct rpc_rqst *req`` pointer to RPC request h](j)}(h``struct rpc_rqst *req``h]j)}(hjM%h]hstruct rpc_rqst *req}(hjO%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK%ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjG%ubj)}(hhh]jX)}(hpointer to RPC requesth]hpointer to RPC request}(hjf%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjb%hMhjc%ubah}(h]h ]h"]h$]h&]uh1jhjG%ubeh}(h]h ]h"]h$]h&]uh1jhjb%hMhj %ubeh}(h]h ]h"]h$]h&]uh1jhj$ubjX)}(h**Description**h]j)}(hj%h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj$ubjX)}(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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_rqst_cong (C function)c.xprt_release_rqst_conghNtauh1hhjVhhhNhNubh)}(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%hhhj%hMubj)}(hxprt_release_rqst_congh]j%)}(hxprt_release_rqst_congh]hxprt_release_rqst_cong}(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%sbc.xprt_release_rqst_congasbuh1hhj&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%)}(htaskh]htask}(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)}(h%housekeeping when request is completeh]h%housekeeping when request is complete}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj&hhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhj%hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhjVhNhNubj})}(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}(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)}(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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_adjust_cwnd (C function)c.xprt_adjust_cwndhNtauh1hhjVhhhNhNubh)}(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}(hjN'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ'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 hjJ'hhhj\'hM#ubj)}(hxprt_adjust_cwndh]j%)}(hxprt_adjust_cwndh]hxprt_adjust_cwnd}(hjo'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjk'ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJ'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')}jjq'sbc.xprt_adjust_cwndasbuh1hhj'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'ubj)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj (hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(modnameN classnameNjj!)}j$]j'c.xprt_adjust_cwndasbuh1hhj'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%)}(htaskh]htask}(hjT(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(h int resulth](j)}(hinth]hint}(hjm(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji(ubj)}(h h]h }(hj{(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji(ubj%)}(hresulth]hresult}(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=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)}(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&]uh1jRhjC'hhhj\'hM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhjVhNhNubj})}(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)}(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.chM'hj(ubj)}(hhh](j)}(h*``struct rpc_xprt *xprt`` pointer to xprt 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.chM$hj(ubj)}(hhh]jX)}(hpointer to xprth]hpointer to xprt}(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)}(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}(hjF)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjB)hM%hjC)ubah}(h]h ]h"]h$]h&]uh1jhj')ubeh}(h]h ]h"]h$]h&]uh1jhjB)hM%hj(ubj)}(h4``int result`` result code of completed RPC request h](j)}(h``int result``h]j)}(hjf)h]h int result}(hjh)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd)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&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&]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]jE)}(hhh](jE)}(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&]uh1jEhj)ubjE)}(h-a full number of requests are outstanding andh]jX)}(hj)h]h-a full number of requests are outstanding 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&]uh1jEhj)ubjE)}(h3the congestion window hasn't been updated recently.h]jX)}(hj)h]h5the congestion window hasn’t been updated recently.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM/hj)ubah}(h]h ]h"]h$]h&]uh1jEhj)ubeh}(h]h ]h"]h$]h&]j]F-uh1jEhj)hM-hj)ubah}(h]h ]h"]h$]h&]uh1j hj)hM-hj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_wake_pending_tasks (C function)c.xprt_wake_pending_taskshNtauh1hhjVhhhNhNubh)}(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}(hjB*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>*hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKubj)}(h h]h }(hjQ*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>*hhhjP*hMKubj)}(hxprt_wake_pending_tasksh]j%)}(hxprt_wake_pending_tasksh]hxprt_wake_pending_tasks}(hjc*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>*hhhjP*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')}jje*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}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjw*ubj)}(h int statush](j)}(hinth]hint}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj%)}(hstatush]hstatus}(hj +hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjw*ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj>*hhhjP*hMKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:*hhhjP*hMKubah}(h]j5*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjP*hMKhj7*hhubjS)}(hhh]jX)}(h-wake all tasks on a transport's pending queueh]h/wake all tasks on a transport’s pending queue}(hj7+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKhj4+hhubah}(h]h ]h"]h$]h&]uh1jRhj7*hhhjP*hMKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjO+jxjO+jyjzj{uh1hhhhjVhNhNubj})}(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)}(hjY+h]h Parameters}(hj[+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW+ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMOhjS+ubj)}(hhh](j)}(h7``struct rpc_xprt *xprt`` transport with waiting tasks h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjx+h]hstruct rpc_xprt *xprt}(hjz+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv+ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMLhjr+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&]uh1jhjr+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMLhjo+ubj)}(hA``int status`` result code to plant in each task before waking ith](j)}(h``int status``h]j)}(hj+h]h int status}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMNhj+ubj)}(hhh]jX)}(h2result code to plant in each task before waking ith]h2result code to plant in each task before waking it}(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+hMNhjo+ubeh}(h]h ]h"]h$]h&]uh1jhjS+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xprt_wait_for_buffer_space (C function)c.xprt_wait_for_buffer_spacehNtauh1hhjVhhhNhNubh)}(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}(hj ,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMZubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,hhhj,hMZubj)}(hxprt_wait_for_buffer_spaceh]j%)}(hxprt_wait_for_buffer_spaceh]hxprt_wait_for_buffer_space}(hj,,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhj,hMZubj)}(h(struct rpc_xprt *xprt)h]j)}(hstruct rpc_xprt *xprth](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%)}(hrpc_xprth]hrpc_xprt}(hjf,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjc,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjh,modnameN classnameNjj!)}j$]j')}jj.,sbc.xprt_wait_for_buffer_spaceasbuh1hhjD,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%)}(hxprth]hxprt}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjD,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@,ubah}(h]h ]h"]h$]h&]j<j=uh1jhj,hhhj,hMZubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,hhhj,hMZubah}(h]j+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,hMZhj,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,hhhj,hMZubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,jxj,jyjzj{uh1hhhhjVhNhNubj})}(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)}(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.chM^hj,ubj)}(hhh]j)}(h$``struct rpc_xprt *xprt`` transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj -h]hstruct rpc_xprt *xprt}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj -ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM[hj-ubj)}(hhh]jX)}(h transporth]h transport}(hj%-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!-hM[hj"-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj!-hM[hj-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.chM]hj,ubjX)}(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.}(hj]-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM\hj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_write_space (C function)c.xprt_write_spacehNtauh1hhjVhhhNhNubh)}(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}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMtubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj-hMtubj)}(hxprt_write_spaceh]j%)}(hxprt_write_spaceh]hxprt_write_space}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj-hMtubj)}(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')}jj-sbc.xprt_write_spaceasbuh1hhj-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=uh1jhj-hhhj-hMtubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-hhhj-hMtubah}(h]j-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-hMthj-hhubjS)}(hhh]jX)}(h7wake the task waiting for transport output buffer spaceh]h7wake the task waiting for transport output buffer space}(hjK.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMthjH.hhubah}(h]h ]h"]h$]h&]uh1jRhj-hhhj-hMtubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjc.jxjc.jyjzj{uh1hhhhjVhNhNubj})}(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)}(hjm.h]h Parameters}(hjo.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk.ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMxhjg.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.chMuhj.ubj)}(hhh]jX)}(htransport with waiting tasksh]htransport with waiting tasks}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMuhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMuhj.ubah}(h]h ]h"]h$]h&]uh1jhjg.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.chMwhjg.ubjX)}(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.chMvhjg.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xprt_disconnect_done (C function)c.xprt_disconnect_donehNtauh1hhjVhhhNhNubh)}(hhh](h)}(h1void xprt_disconnect_done (struct rpc_xprt *xprt)h]h)}(h0void xprt_disconnect_done(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.chMubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/hhhj/hMubj)}(hxprt_disconnect_doneh]j%)}(hxprt_disconnect_doneh]hxprt_disconnect_done}(hj-/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/hhhj/hMubj)}(h(struct rpc_xprt *xprt)h]j)}(hstruct rpc_xprt *xprth](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%)}(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')}jj//sbc.xprt_disconnect_doneasbuh1hhjE/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%)}(hxprth]hxprt}(hj/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/hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/hhhj/hMubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj/hMhj/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/hhhj/hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhjVhNhNubj})}(hL**Parameters** ``struct rpc_xprt *xprt`` transport to flag for disconnecth](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_xprt *xprt`` transport to flag for disconnecth](j)}(h``struct rpc_xprt *xprt``h]j)}(hj 0h]hstruct rpc_xprt *xprt}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 0ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj0ubj)}(hhh]jX)}(h transport to flag for disconnecth]h transport to flag for disconnect}(hj&0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj#0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj"0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xprt_force_disconnect (C function)c.xprt_force_disconnecthNtauh1hhjVhhhNhNubh)}(hhh](h)}(h2void xprt_force_disconnect (struct rpc_xprt *xprt)h]h)}(h1void xprt_force_disconnect(struct rpc_xprt *xprt)h](j)}(hvoidh]hvoid}(hjg0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc0hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjv0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjc0hhhju0hMubj)}(hxprt_force_disconnecth]j%)}(hxprt_force_disconnecth]hxprt_force_disconnect}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjc0hhhju0hMubj)}(h(struct rpc_xprt *xprt)h]j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]j')}jj0sbc.xprt_force_disconnectasbuh1hhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hxprth]hxprt}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubah}(h]h ]h"]h$]h&]j<j=uh1jhjc0hhhju0hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj_0hhhju0hMubah}(h]jZ0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhju0hMhj\0hhubjS)}(hhh]jX)}(hforce a transport to disconnecth]hforce a transport to disconnect}(hj'1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj$1hhubah}(h]h ]h"]h$]h&]uh1jRhj\0hhhju0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?1jxj?1jyjzj{uh1hhhhjVhNhNubj})}(hC**Parameters** ``struct rpc_xprt *xprt`` transport to disconnecth](jX)}(h**Parameters**h]j)}(hjI1h]h Parameters}(hjK1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG1ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjC1ubj)}(hhh]j)}(h1``struct rpc_xprt *xprt`` transport to disconnecth](j)}(h``struct rpc_xprt *xprt``h]j)}(hjh1h]hstruct rpc_xprt *xprt}(hjj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf1ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjb1ubj)}(hhh]jX)}(htransport to disconnecth]htransport to disconnect}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj~1ubah}(h]h ]h"]h$]h&]uh1jhjb1ubeh}(h]h ]h"]h$]h&]uh1jhj}1hMhj_1ubah}(h]h ]h"]h$]h&]uh1jhjC1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xprt_reconnect_delay (C function)c.xprt_reconnect_delayhNtauh1hhjVhhhNhNubh)}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhj1hMubj)}(hlongh]hlong}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhj1hMubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhj1hMubj)}(hxprt_reconnect_delayh]j%)}(hxprt_reconnect_delayh]hxprt_reconnect_delay}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhj1hMubj)}(h(const struct rpc_xprt *xprt)h]j)}(hconst struct rpc_xprt *xprth](h)}(hjh]hconst}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hj(2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hjh]hstruct}(hj62hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hjC2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjT2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQ2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjV2modnameN classnameNjj!)}j$]j')}jj2sbc.xprt_reconnect_delayasbuh1hhj2ubj)}(h h]h }(hjt2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hxprth]hxprt}(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)}(h,compute the wait before scheduling a connecth]h,compute the wait before scheduling a connect}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj2hhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhj1hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj2jxj2jyjzj{uh1hhhhjVhNhNubj})}(hD**Parameters** ``const struct rpc_xprt *xprt`` transport instanceh](jX)}(h**Parameters**h]j)}(hj2h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj2ubj)}(hhh]j)}(h2``const struct rpc_xprt *xprt`` transport instanceh](j)}(h``const struct rpc_xprt *xprt``h]j)}(hj2h]hconst struct rpc_xprt *xprt}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj2ubj)}(hhh]jX)}(htransport instanceh]htransport instance}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj3ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_reconnect_backoff (C function)c.xprt_reconnect_backoffhNtauh1hhjVhhhNhNubh)}(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}(hjT3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP3hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjc3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP3hhhjb3hMubj)}(hxprt_reconnect_backoffh]j%)}(hxprt_reconnect_backoffh]hxprt_reconnect_backoff}(hju3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjq3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjP3hhhjb3hMubj)}(h.(struct rpc_xprt *xprt, unsigned long init_to)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j')}jjw3sbc.xprt_reconnect_backoffasbuh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hxprth]hxprt}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubj)}(hunsigned long init_toh](j)}(hunsignedh]hunsigned}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(hlongh]hlong}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj)}(h h]h }(hj-4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj%)}(hinit_toh]hinit_to}(hj;4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjP3hhhjb3hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjL3hhhjb3hMubah}(h]jG3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjb3hMhjI3hhubjS)}(hhh]jX)}(h$compute the new re-establish timeouth]h$compute the new re-establish timeout}(hje4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjb4hhubah}(h]h ]h"]h$]h&]uh1jRhjI3hhhjb3hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}4jxj}4jyjzj{uh1hhhhjVhNhNubj})}(hw**Parameters** ``struct rpc_xprt *xprt`` transport instance ``unsigned long init_to`` initial reestablish timeouth](jX)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4ubj)}(hhh](j)}(h-``struct rpc_xprt *xprt`` transport instance h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj4h]hstruct rpc_xprt *xprt}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4ubj)}(hhh]jX)}(htransport instanceh]htransport instance}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj4ubj)}(h5``unsigned long init_to`` initial reestablish timeouth](j)}(h``unsigned long init_to``h]j)}(hj4h]hunsigned long init_to}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4ubj)}(hhh]jX)}(hinitial reestablish timeouth]hinitial reestablish timeout}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_lookup_rqst (C function)c.xprt_lookup_rqsthNtauh1hhjVhhhNhNubh)}(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}(hj95hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj55hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM$ubj)}(h h]h }(hjG5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj55hhhjF5hM$ubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hjX5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZ5modnameN classnameNjj!)}j$]j')}jxprt_lookup_rqstsbc.xprt_lookup_rqstasbuh1hhj55hhhjF5hM$ubj)}(h h]h }(hjy5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj55hhhjF5hM$ubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj55hhhjF5hM$ubj)}(hxprt_lookup_rqsth]j%)}(hjv5h]hxprt_lookup_rqst}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj55hhhjF5hM$ubj)}(h#(struct rpc_xprt *xprt, __be32 xid)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]jt5c.xprt_lookup_rqstasbuh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hxprth]hxprt}(hj 6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(h __be32 xidh](h)}(hhh]j%)}(h__be32h]h__be32}(hj&6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(6modnameN classnameNjj!)}j$]jt5c.xprt_lookup_rqstasbuh1hhj6ubj)}(h h]h }(hjD6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj%)}(hxidh]hxid}(hjR6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj55hhhjF5hM$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj15hhhjF5hM$ubah}(h]j,5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjF5hM$hj.5hhubjS)}(hhh]jX)}(h+find an RPC request corresponding to an XIDh]h+find an RPC request corresponding to an XID}(hj|6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM$hjy6hhubah}(h]h ]h"]h$]h&]uh1jRhj.5hhhjF5hM$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{uh1hhhhjVhNhNubj})}(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)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hj6ubj)}(hhh](j)}(hR``struct rpc_xprt *xprt`` transport on which the original request was transmitted h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj6h]hstruct rpc_xprt *xprt}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM%hj6ubj)}(hhh]jX)}(h7transport on which the original request was transmittedh]h7transport on which the original request was transmitted}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hM%hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM%hj6ubj)}(h)``__be32 xid`` RPC XID of incoming reply h](j)}(h``__be32 xid``h]j)}(hj6h]h __be32 xid}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM&hj6ubj)}(hhh]jX)}(hRPC XID of incoming replyh]hRPC XID of incoming reply}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj 7hM&hj 7ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj 7hM&hj6ubeh}(h]h ]h"]h$]h&]uh1jhj6ubjX)}(h**Description**h]j)}(hj17h]h Description}(hj37hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/7ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hj6ubjX)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hjG7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_pin_rqst (C function)c.xprt_pin_rqsthNtauh1hhjVhhhNhNubh)}(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}(hjv7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjr7hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjr7hhhj7hMDubj)}(h xprt_pin_rqsth]j%)}(h xprt_pin_rqsth]h xprt_pin_rqst}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjr7hhhj7hMDubj)}(h(struct rpc_rqst *req)h]j)}(hstruct rpc_rqst *reqh](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jj7sbc.xprt_pin_rqstasbuh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hreqh]hreq}(hj 8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubah}(h]h ]h"]h$]h&]j<j=uh1jhjr7hhhj7hMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjn7hhhj7hMDubah}(h]ji7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hMDhjk7hhubjS)}(hhh]jX)}(h+Pin a request on the transport receive listh]h+Pin a request on the transport receive list}(hj68hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDhj38hhubah}(h]h ]h"]h$]h&]uh1jRhjk7hhhj7hMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjN8jxjN8jyjzj{uh1hhhhjVhNhNubj})}(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)}(hjX8h]h Parameters}(hjZ8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV8ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMHhjR8ubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hjw8h]hstruct rpc_rqst *req}(hjy8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju8ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMEhjq8ubj)}(hhh]jX)}(hRequest to pinh]hRequest to pin}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMEhj8ubah}(h]h ]h"]h$]h&]uh1jhjq8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMEhjn8ubah}(h]h ]h"]h$]h&]uh1jhjR8ubjX)}(h**Description**h]j)}(hj8h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMGhjR8ubjX)}(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.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMFhjR8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_unpin_rqst (C function)c.xprt_unpin_rqsthNtauh1hhjVhhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhj9hMQubj)}(hxprt_unpin_rqsth]j%)}(hxprt_unpin_rqsth]hxprt_unpin_rqst}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhj9hMQubj)}(h(struct rpc_rqst *req)h]j)}(hstruct rpc_rqst *reqh](h)}(hjh]hstruct}(hj49hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj09ubj)}(h h]h }(hjA9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj09ubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hjR9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjT9modnameN classnameNjj!)}j$]j')}jj9sbc.xprt_unpin_rqstasbuh1hhj09ubj)}(h h]h }(hjr9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj09ubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj09ubj%)}(hreqh]hreq}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj09ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,9ubah}(h]h ]h"]h$]h&]j<j=uh1jhj8hhhj9hMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8hhhj9hMQubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hMQhj8hhubjS)}(hhh]jX)}(h-Unpin a request on the transport receive listh]h-Unpin a request on the transport receive list}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQhj9hhubah}(h]h ]h"]h$]h&]uh1jRhj8hhhj9hMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhjVhNhNubj})}(hv**Parameters** ``struct rpc_rqst *req`` Request to pin **Description** Caller should be holding xprt->queue_lock.h](jX)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMUhj9ubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hj9h]hstruct rpc_rqst *req}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMRhj9ubj)}(hhh]jX)}(hRequest to pinh]hRequest to pin}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj :hMRhj:ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj :hMRhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubjX)}(h**Description**h]j)}(hj3:h]h Description}(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.chMThj9ubjX)}(h*Caller should be holding xprt->queue_lock.h]h*Caller should be holding xprt->queue_lock.}(hjI:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMShj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_update_rtt (C function)c.xprt_update_rtthNtauh1hhjVhhhNhNubh)}(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}(hjx:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt: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 hjt:hhhj:hMubj)}(hxprt_update_rtth]j%)}(hxprt_update_rtth]hxprt_update_rtt}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjt: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:sbc.xprt_update_rttasbuh1hhj: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=uh1jhjt:hhhj:hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjp:hhhj:hMubah}(h]jk:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj:hMhjm:hhubjS)}(hhh]jX)}(hUpdate RPC RTT statisticsh]hUpdate RPC RTT statistics}(hj8;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj5;hhubah}(h]h ]h"]h$]h&]uh1jRhjm:hhhj:hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjP;jxjP;jyjzj{uh1hhhhjVhNhNubj})}(h**Parameters** ``struct rpc_task *task`` RPC request that recently completed **Description** Caller holds xprt->queue_lock.h](jX)}(h**Parameters**h]j)}(hjZ;h]h Parameters}(hj\;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX;ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjT;ubj)}(hhh]j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hjy;h]hstruct rpc_task *task}(hj{;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw;ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjs;ubj)}(hhh]jX)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjs;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjp;ubah}(h]h ]h"]h$]h&]uh1jhjT;ubjX)}(h**Description**h]j)}(hj;h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjT;ubjX)}(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.chMhjT;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_complete_rqst (C function)c.xprt_complete_rqsthNtauh1hhjVhhhNhNubh)}(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}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhj<hMubj)}(hxprt_complete_rqsth]j%)}(hxprt_complete_rqsth]hxprt_complete_rqst}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhj<hMubj)}(h#(struct rpc_task *task, int copied)h](j)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hj6<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2<ubj)}(h h]h }(hjC<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2<ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjT<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQ<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjV<modnameN classnameNjj!)}j$]j')}jj<sbc.xprt_complete_rqstasbuh1hhj2<ubj)}(h h]h }(hjt<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2<ubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2<ubj%)}(htaskh]htask}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.<ubj)}(h int copiedh](j)}(hinth]hint}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj%)}(hcopiedh]hcopied}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.<ubeh}(h]h ]h"]h$]h&]j<j=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(called when reply processing is completeh]h(called when reply processing is complete}(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{uh1hhhhjVhNhNubj})}(h**Parameters** ``struct rpc_task *task`` RPC request that recently completed ``int copied`` actual number of bytes received from the transport **Description** Caller holds xprt->queue_lock.h](jX)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj =ubj)}(hhh](j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hj/=h]hstruct rpc_task *task}(hj1=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}(hjH=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjD=hMhjE=ubah}(h]h ]h"]h$]h&]uh1jhj)=ubeh}(h]h ]h"]h$]h&]uh1jhjD=hMhj&=ubj)}(hB``int copied`` actual number of bytes received from the transport h](j)}(h``int copied``h]j)}(hjh=h]h int copied}(hjj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf=ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjb=ubj)}(hhh]jX)}(h2actual number of bytes received from the transporth]h2actual number of bytes received from the transport}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}=hMhj~=ubah}(h]h ]h"]h$]h&]uh1jhjb=ubeh}(h]h ]h"]h$]h&]uh1jhj}=hMhj&=ubeh}(h]h ]h"]h$]h&]uh1jhj =ubjX)}(h**Description**h]j)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj =ubjX)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,xprt_wait_for_reply_request_def (C function)!c.xprt_wait_for_reply_request_defhNtauh1hhjVhhhNhNubh)}(hhh](h)}(hhhhNhNubah}(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 }(hj2>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!>ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjC>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjE>modnameN classnameNjj!)}j$]j')}jj >sb!c.xprt_wait_for_reply_request_defasbuh1hhj!>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%)}(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)}(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=hhhj=hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhjVhNhNubj})}(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)}(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)}(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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,xprt_wait_for_reply_request_rtt (C function)!c.xprt_wait_for_reply_request_rtthNtauh1hhjVhhhNhNubh)}(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=uh1jhje?hhhjw?hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhja?hhhjw?hMubah}(h]j\?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjw?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^?hhhjw?hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjA@jxjA@jyjzj{uh1hhhhjVhNhNubj})}(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)}(hjK@h]h Parameters}(hjM@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI@ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjE@ubj)}(hhh]j)}(h.``struct rpc_task *task`` pointer to rpc_task h](j)}(h``struct rpc_task *task``h]j)}(hjj@h]hstruct rpc_task *task}(hjl@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh@ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjd@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&]uh1jhjd@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhja@ubah}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjE@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.chMhjE@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_get (C function) c.xprt_gethNtauh1hhjVhhhNhNubh)}(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}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMoubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhj@hMoubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj AhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj AmodnameN classnameNjj!)}j$]j')}jxprt_getsb c.xprt_getasbuh1hhj@hhhj@hMoubj)}(h h]h }(hj*AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhj@hMoubj;)}(hj>h]h*}(hj8AhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@hhhj@hMoubj)}(hxprt_geth]j%)}(hj'Ah]hxprt_get}(hjIAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhj@hMoubj)}(h(struct rpc_xprt *xprt)h]j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjdAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj`Aubj)}(h h]h }(hjqAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`Aubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j%A c.xprt_getasbuh1hhj`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%)}(hxprth]hxprt}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`Aubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\Aubah}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhj@hMoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhj@hMoubah}(h]j@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@hMohj@hhubjS)}(hhh]jX)}(h'return a reference to an RPC transport.h]h'return a reference to an RPC transport.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMohjAhhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhj@hMoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjAjxjAjyjzj{uh1hhhhjVhNhNubj})}(hD**Parameters** ``struct rpc_xprt *xprt`` pointer to the transporth](jX)}(h**Parameters**h]j)}(hjBh]h Parameters}(hj BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMshjBubj)}(hhh]j)}(h2``struct rpc_xprt *xprt`` pointer to the transporth](j)}(h``struct rpc_xprt *xprt``h]j)}(hj&Bh]hstruct rpc_xprt *xprt}(hj(BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Bubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMuhj Bubj)}(hhh]jX)}(hpointer to the transporth]hpointer to the transport}(hj?BhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMphjh]h*}(hj ChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hxprth]hxprt}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubah}(h]h ]h"]h$]h&]j<j=uh1jhj|BhhhjBhM|ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxBhhhjBhM|ubah}(h]jsBah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjBhM|hjuBhhubjS)}(hhh]jX)}(h(release a reference to an RPC transport.h]h(release a reference to an RPC transport.}(hj@ChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM|hj=Chhubah}(h]h ]h"]h$]h&]uh1jRhjuBhhhjBhM|ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXCjxjXCjyjzj{uh1hhhhjVhNhNubj})}(hD**Parameters** ``struct rpc_xprt *xprt`` pointer to the transporth](jX)}(h**Parameters**h]j)}(hjbCh]h Parameters}(hjdChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Cubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj\Cubj)}(hhh]j)}(h2``struct rpc_xprt *xprt`` pointer to the transporth](j)}(h``struct rpc_xprt *xprt``h]j)}(hjCh]hstruct rpc_xprt *xprt}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj{Cubj)}(hhh]jX)}(hpointer to the transporth]hpointer to the transport}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM}hjCubah}(h]h ]h"]h$]h&]uh1jhj{Cubeh}(h]h ]h"]h$]h&]uh1jhjChMhjxCubah}(h]h ]h"]h$]h&]uh1jhj\Cubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up (C function) c.rpc_wake_uphNtauh1hhjVhhhNhNubh)}(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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhjChMubj)}(h rpc_wake_uph]j%)}(h rpc_wake_uph]h rpc_wake_up}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjChhhjChMubj)}(h(struct rpc_wait_queue *queue)h]j)}(hstruct rpc_wait_queue *queueh](h)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hj%DhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(hrpc_wait_queueh]hrpc_wait_queue}(hj6DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3Dubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8DmodnameN classnameNjj!)}j$]j')}jjCsb c.rpc_wake_upasbuh1hhjDubj)}(h h]h }(hjVDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjdDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hqueueh]hqueue}(hjqDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubah}(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)}(hwake up all rpc_tasksh]hwake up all rpc_tasks}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjDhhubah}(h]h ]h"]h$]h&]uh1jRhjChhhjChMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjDjxjDjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjDubj)}(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)}(hjDh]hstruct rpc_wait_queue *queue}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjDubj)}(hhh]jX)}(h.rpc_wait_queue on which the tasks are sleepingh]h.rpc_wait_queue on which the tasks are sleeping}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhjDubjX)}(h**Description**h]j)}(hjEh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjDubjX)}(hGrabs queue->lockh]hGrabs queue->lock}(hj-EhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up_status (C function)c.rpc_wake_up_statushNtauh1hhjVhhhNhNubh)}(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\EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXEhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMubj)}(h h]h }(hjkEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXEhhhjjEhMubj)}(hrpc_wake_up_statush]j%)}(hrpc_wake_up_statush]hrpc_wake_up_status}(hj}EhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyEubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXEhhhjjEhMubj)}(h*(struct rpc_wait_queue *queue, int status)h](j)}(hstruct rpc_wait_queue *queueh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hrpc_wait_queueh]hrpc_wait_queue}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jjEsbc.rpc_wake_up_statusasbuh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hqueueh]hqueue}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(h int statush](j)}(hinth]hint}(hj FhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj%)}(hstatush]hstatus}(hj'FhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubeh}(h]h ]h"]h$]h&]j<j=uh1jhjXEhhhjjEhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjTEhhhjjEhMubah}(h]jOEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjEhMhjQEhhubjS)}(hhh]jX)}(h1wake up all rpc_tasks and set their status value.h]h1wake up all rpc_tasks and set their status value.}(hjQFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjNFhhubah}(h]h ]h"]h$]h&]uh1jRhjQEhhhjjEhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjiFjxjiFjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjsFh]h Parameters}(hjuFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqFubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjmFubj)}(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)}(hjFh]hstruct rpc_wait_queue *queue}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjFubj)}(hhh]jX)}(h.rpc_wait_queue on which the tasks are sleepingh]h.rpc_wait_queue on which the tasks are sleeping}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjFubj)}(h#``int status`` status value to set h](j)}(h``int status``h]j)}(hjFh]h int status}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjFubj)}(hhh]jX)}(hstatus value to seth]hstatus value to set}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjFubeh}(h]h ]h"]h$]h&]uh1jhjmFubjX)}(h**Description**h]j)}(hjGh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjmFubjX)}(hGrabs queue->lockh]hGrabs queue->lock}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjmFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_alloc_iostats (C function)c.rpc_alloc_iostatshNtauh1hhjVhhhNhNubh)}(hhh](h)}(h>struct rpc_iostats * rpc_alloc_iostats (struct rpc_clnt *clnt)h]h)}(hh]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGGhhhjXGhKxubj)}(hrpc_alloc_iostatsh]j%)}(hjGh]hrpc_alloc_iostats}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGGhhhjXGhKxubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]jGc.rpc_alloc_iostatsasbuh1hhjGubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hclnth]hclnt}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubah}(h]h ]h"]h$]h&]j<j=uh1jhjGGhhhjXGhKxubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjCGhhhjXGhKxubah}(h]j>Gah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjXGhKxhj@GhhubjS)}(hhh]jX)}(h!allocate an rpc_iostats structureh]h!allocate an rpc_iostats structure}(hjFHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKxhjCHhhubah}(h]h ]h"]h$]h&]uh1jRhj@GhhhjXGhKxubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^Hjxj^Hjyjzj{uh1hhhhjVhNhNubj})}(hJ**Parameters** ``struct rpc_clnt *clnt`` RPC program, version, and xprth](jX)}(h**Parameters**h]j)}(hjhHh]h Parameters}(hjjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfHubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chK|hjbHubj)}(hhh]j)}(h8``struct rpc_clnt *clnt`` RPC program, version, and xprth](j)}(h``struct rpc_clnt *clnt``h]j)}(hjHh]hstruct rpc_clnt *clnt}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chK~hjHubj)}(hhh]jX)}(hRPC program, version, and xprth]hRPC program, version, and xprt}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKyhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhK~hj~Hubah}(h]h ]h"]h$]h&]uh1jhjbHubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_free_iostats (C function)c.rpc_free_iostatshNtauh1hhjVhhhNhNubh)}(hhh](h)}(h1void rpc_free_iostats (struct rpc_iostats *stats)h]h)}(h0void rpc_free_iostats(struct rpc_iostats *stats)h](j)}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhhjHhKubj)}(hrpc_free_iostatsh]j%)}(hrpc_free_iostatsh]hrpc_free_iostats}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjHhKubj)}(h(struct rpc_iostats *stats)h]j)}(hstruct rpc_iostats *statsh](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hj+IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(h rpc_iostatsh]h rpc_iostats}(hjImodnameN classnameNjj!)}j$]j')}jjIsbc.rpc_free_iostatsasbuh1hhjIubj)}(h h]h }(hj\IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hjjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hstatsh]hstats}(hjwIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubah}(h]h ]h"]h$]h&]j<j=uh1jhjHhhhjHhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjHhhhjHhKubah}(h]jHah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjHhKhjHhhubjS)}(hhh]jX)}(h release an rpc_iostats structureh]h release an rpc_iostats structure}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjIhhubah}(h]h ]h"]h$]h&]uh1jRhjHhhhjHhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhjVhNhNubj})}(hL**Parameters** ``struct rpc_iostats *stats`` doomed rpc_iostats structureh](jX)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjIubj)}(hhh]j)}(h:``struct rpc_iostats *stats`` doomed rpc_iostats structureh](j)}(h``struct rpc_iostats *stats``h]j)}(hjIh]hstruct rpc_iostats *stats}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjIubj)}(hhh]jX)}(hdoomed rpc_iostats structureh]hdoomed rpc_iostats structure}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhKhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&rpc_count_iostats_metrics (C function)c.rpc_count_iostats_metricshNtauh1hhjVhhhNhNubh)}(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}(hjh]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuJubj%)}(htaskh]htask}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqJubj)}(hstruct rpc_iostats *op_metricsh](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(h rpc_iostatsh]h rpc_iostats}(hj$KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!Kubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&KmodnameN classnameNjj!)}j$]jJc.rpc_count_iostats_metricsasbuh1hhjKubj)}(h h]h }(hjBKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjPKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(h op_metricsh]h op_metrics}(hj]KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqJubeh}(h]h ]h"]h$]h&]j<j=uh1jhj8JhhhjJJhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4JhhhjJJhKubah}(h]j/Jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJJhKhj1JhhubjS)}(hhh]jX)}(htally up per-task statsh]htally up per-task stats}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjKhhubah}(h]h ]h"]h$]h&]uh1jRhj1JhhhjJJhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjKh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjKubj)}(hhh](j)}(h3``const struct rpc_task *task`` completed rpc_task h](j)}(h``const struct rpc_task *task``h]j)}(hjKh]hconst struct rpc_task *task}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjKubj)}(hhh]jX)}(hcompleted rpc_taskh]hcompleted rpc_task}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhKhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhKhjKubj)}(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)}(hjLh]hstruct rpc_iostats *op_metrics}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjKubj)}(hhh]jX)}(h>stat structure for OP that will accumulate stats from **task**h](h6stat structure for OP that will accumulate stats from }(hjLhhhNhNubj)}(h**task**h]htask}(hj"LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjLubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjLhKhjKubeh}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_count_iostats (C function)c.rpc_count_iostatshNtauh1hhjVhhhNhNubh)}(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}(hjiLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeLhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj)}(h h]h }(hjxLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeLhhhjwLhKubj)}(hrpc_count_iostatsh]j%)}(hrpc_count_iostatsh]hrpc_count_iostats}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjeLhhhjwLhKubj)}(h8(const struct rpc_task *task, struct rpc_iostats *stats)h](j)}(hconst struct rpc_task *taskh](h)}(hjh]hconst}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j')}jjLsbc.rpc_count_iostatsasbuh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hj MhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(htaskh]htask}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(hstruct rpc_iostats *statsh](h)}(hjh]hstruct}(hj3MhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/Mubj)}(h h]h }(hj@MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/Mubh)}(hhh]j%)}(h rpc_iostatsh]h rpc_iostats}(hjQMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSMmodnameN classnameNjj!)}j$]jLc.rpc_count_iostatsasbuh1hhj/Mubj)}(h h]h }(hjoMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/Mubj;)}(hj>h]h*}(hj}MhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/Mubj%)}(hstatsh]hstats}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/Mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubeh}(h]h ]h"]h$]h&]j<j=uh1jhjeLhhhjwLhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjaLhhhjwLhKubah}(h]j\Lah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwLhKhj^LhhubjS)}(hhh]jX)}(htally up per-task statsh]htally up per-task stats}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjMhhubah}(h]h ]h"]h$]h&]uh1jRhj^LhhhjwLhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjMubj)}(hhh](j)}(h3``const struct rpc_task *task`` completed rpc_task h](j)}(h``const struct rpc_task *task``h]j)}(hjMh]hconst struct rpc_task *task}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjMubj)}(hhh]jX)}(hcompleted rpc_taskh]hcompleted rpc_task}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj NhKhj Nubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhj NhKhjMubj)}(h7``struct rpc_iostats *stats`` array of stat structures h](j)}(h``struct rpc_iostats *stats``h]j)}(hj.Nh]hstruct rpc_iostats *stats}(hj0NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Nubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj(Nubj)}(hhh]jX)}(harray of stat structuresh]harray of stat structures}(hjGNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjCNhKhjDNubah}(h]h ]h"]h$]h&]uh1jhj(Nubeh}(h]h ]h"]h$]h&]uh1jhjCNhKhjMubeh}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hjiNh]h Description}(hjkNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjMubjX)}(hUses the statidx from **task**h](hUses the statidx from }(hjNhhhNhNubj)}(h**task**h]htask}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_queue_upcall (C function)c.rpc_queue_upcallhNtauh1hhjVhhhNhNubh)}(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}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhjNhK}ubj)}(hrpc_queue_upcallh]j%)}(hrpc_queue_upcallh]hrpc_queue_upcall}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhjNhK}ubj)}(h1(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)h](j)}(hstruct rpc_pipe *pipeh](h)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(hrpc_pipeh]hrpc_pipe}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]j')}jjNsbc.rpc_queue_upcallasbuh1hhjNubj)}(h h]h }(hj7OhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjEOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hpipeh]hpipe}(hjROhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(hstruct rpc_pipe_msg *msgh](h)}(hjh]hstruct}(hjkOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgOubj)}(h h]h }(hjxOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgOubh)}(hhh]j%)}(h rpc_pipe_msgh]h rpc_pipe_msg}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]j3Oc.rpc_queue_upcallasbuh1hhjgOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgOubj;)}(hj>h]h*}(hjOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgOubj%)}(hmsgh]hmsg}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubeh}(h]h ]h"]h$]h&]j<j=uh1jhjNhhhjNhK}ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjNhhhjNhK}ubah}(h]jNah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNhK}hjNhhubjS)}(hhh]jX)}(h$queue an upcall message to userspaceh]h$queue an upcall message to userspace}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}hjOhhubah}(h]h ]h"]h$]h&]uh1jRhjNhhhjNhK}ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjPjxjPjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjPh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Pubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjPubj)}(hhh](j)}(hF``struct rpc_pipe *pipe`` upcall pipe on which to queue given message h](j)}(h``struct rpc_pipe *pipe``h]j)}(hj-Ph]hstruct rpc_pipe *pipe}(hj/PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Pubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK~hj'Pubj)}(hhh]jX)}(h+upcall pipe on which to queue given messageh]h+upcall pipe on which to queue given message}(hjFPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBPhK~hjCPubah}(h]h ]h"]h$]h&]uh1jhj'Pubeh}(h]h ]h"]h$]h&]uh1jhjBPhK~hj$Pubj)}(h.``struct rpc_pipe_msg *msg`` message to queue h](j)}(h``struct rpc_pipe_msg *msg``h]j)}(hjfPh]hstruct rpc_pipe_msg *msg}(hjhPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdPubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhj`Pubj)}(hhh]jX)}(hmessage to queueh]hmessage to queue}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{PhKhj|Pubah}(h]h ]h"]h$]h&]uh1jhj`Pubeh}(h]h ]h"]h$]h&]uh1jhj{PhKhj$Pubeh}(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&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjPubjX)}(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 }(hjPhhhNhNubj)}(h **inode**h]hinode}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh 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 }(hjPhhhNhNubj)}(h**msg**h]hmsg}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh (other than }(hjPhhhNhNubj)}(h **msg->list**h]h msg->list}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh) appropriately.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_mkpipe_dentry (C function)c.rpc_mkpipe_dentryhNtauh1hhjVhhhNhNubh)}(hhh](h)}(heint rpc_mkpipe_dentry (struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h]h)}(hdint rpc_mkpipe_dentry(struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMiubj)}(h h]h }(hj+QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhj*QhMiubj)}(hrpc_mkpipe_dentryh]j%)}(hrpc_mkpipe_dentryh]hrpc_mkpipe_dentry}(hj=QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9Qubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhj*QhMiubj)}(hO(struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h](j)}(hstruct dentry *parenth](h)}(hjh]hstruct}(hjYQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUQubj)}(h h]h }(hjfQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUQubh)}(hhh]j%)}(hdentryh]hdentry}(hjwQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjyQmodnameN classnameNjj!)}j$]j')}jj?Qsbc.rpc_mkpipe_dentryasbuh1hhjUQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUQubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUQubj%)}(hparenth]hparent}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQQubj)}(hconst char *nameh](h)}(hjh]hconst}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(hcharh]hchar}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hnameh]hname}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQQubj)}(h void *privateh](j)}(hvoidh]hvoid}(hj(RhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$Rubj)}(h h]h }(hj6RhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$Rubj;)}(hj>h]h*}(hjDRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$Rubj%)}(hprivateh]hprivate}(hjQRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$Rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQQubj)}(hstruct rpc_pipe *pipeh](h)}(hjh]hstruct}(hjjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfRubj)}(h h]h }(hjwRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfRubh)}(hhh]j%)}(hrpc_pipeh]hrpc_pipe}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]jQc.rpc_mkpipe_dentryasbuh1hhjfRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfRubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfRubj%)}(hpipeh]hpipe}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQQubeh}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhj*QhMiubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjQhhhj*QhMiubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*QhMihjQhhubjS)}(hhh]jX)}(huserspace communicationh]huserspace communication}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMihjRhhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhj*QhMiubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhjVhNhNubj})}(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 Sh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Subah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMmhjSubj)}(hhh](j)}(hF``struct dentry *parent`` dentry of directory to create new "pipe" in h](j)}(h``struct dentry *parent``h]j)}(hj,Sh]hstruct dentry *parent}(hj.ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Subah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMkhj&Subj)}(hhh]jX)}(h+dentry of directory to create new "pipe" inh]h/dentry of directory to create new “pipe” in}(hjEShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAShMkhjBSubah}(h]h ]h"]h$]h&]uh1jhj&Subeh}(h]h ]h"]h$]h&]uh1jhjAShMkhj#Subj)}(h"``const char *name`` name of pipe h](j)}(h``const char *name``h]j)}(hjeSh]hconst char *name}(hjgShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcSubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMlhj_Subj)}(hhh]jX)}(h name of pipeh]h name of pipe}(hj~ShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzShMlhj{Subah}(h]h ]h"]h$]h&]uh1jhj_Subeh}(h]h ]h"]h$]h&]uh1jhjzShMlhj#Subj)}(hP``void *private`` private data to associate with the pipe, for the caller's use h](j)}(h``void *private``h]j)}(hjSh]h void *private}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMmhjSubj)}(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}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMmhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMmhj#Subj)}(hI``struct rpc_pipe *pipe`` :c:type:`rpc_pipe` containing input parameters h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjSh]hstruct rpc_pipe *pipe}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMnhjSubj)}(hhh]jX)}(h.:c:type:`rpc_pipe` containing input parametersh](h)}(h:c:type:`rpc_pipe`h]j)}(hjSh]hrpc_pipe}(hjShhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjrpc_pipeuh1hhjShMnhjSubh containing input parameters}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjShMnhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMnhj#Subeh}(h]h ]h"]h$]h&]uh1jhjSubjX)}(h**Description**h]j)}(hj1Th]h Description}(hj3ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Tubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMphjSubjX)}(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 }(hjGThhhNhNubj)}(h**ops->upcall**h]h ops->upcall}(hjOThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGTubhW, which will be called with the file pointer, message, and userspace buffer to copy to.}(hjGThhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMohjSubjX)}(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 }(hjhThhhNhNubj)}(h**msg->downcall**h]h msg->downcall}(hjpThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhTubh.}(hjhThhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMthjSubjX)}(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 }(hjThhhNhNubj)}(h **private**h]hprivate}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubhy argument passed here will be available to all these methods from the file pointer, via RPC_I(file_inode(file))->private.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMwhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_unlink (C function) c.rpc_unlinkhNtauh1hhjVhhhNhNubh)}(hhh](h)}(h'void rpc_unlink (struct rpc_pipe *pipe)h]h)}(h&void rpc_unlink(struct rpc_pipe *pipe)h](j)}(hvoidh]hvoid}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjThMubj)}(h rpc_unlinkh]j%)}(h rpc_unlinkh]h rpc_unlink}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjThMubj)}(h(struct rpc_pipe *pipe)h]j)}(hstruct rpc_pipe *pipeh](h)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(hrpc_pipeh]hrpc_pipe}(hj%UhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"Uubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'UmodnameN classnameNjj!)}j$]j')}jjTsb c.rpc_unlinkasbuh1hhjUubj)}(h h]h }(hjEUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hjSUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hpipeh]hpipe}(hj`UhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubah}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjThMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjThMubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThMhjThhubjS)}(hhh]jX)}(h remove a pipeh]h remove a pipe}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjUhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjThMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhjVhNhNubj})}(h**Parameters** ``struct rpc_pipe *pipe`` the pipe to be removed **Description** After this call, lookups will no longer find the pipe, and any attempts to read or write using preexisting opens of the pipe will return -EPIPE.h](jX)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjUubj)}(hhh]j)}(h1``struct rpc_pipe *pipe`` the pipe to be removed h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjUh]hstruct rpc_pipe *pipe}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjUubj)}(hhh]jX)}(hthe pipe to be removedh]hthe pipe to be removed}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubjX)}(h**Description**h]j)}(hjVh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjUubjX)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#rpc_init_pipe_dir_head (C function)c.rpc_init_pipe_dir_headhNtauh1hhjVhhhNhNubh)}(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}(hjKVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGVhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hjZVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGVhhhjYVhMubj)}(hrpc_init_pipe_dir_headh]j%)}(hrpc_init_pipe_dir_headh]hrpc_init_pipe_dir_head}(hjlVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhVubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGVhhhjYVhMubj)}(h(struct rpc_pipe_dir_head *pdh)h]j)}(hstruct rpc_pipe_dir_head *pdhh](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]j')}jjnVsbc.rpc_init_pipe_dir_headasbuh1hhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hpdhh]hpdh}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubah}(h]h ]h"]h$]h&]j<j=uh1jhjGVhhhjYVhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjCVhhhjYVhMubah}(h]j>Vah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYVhMhj@VhhubjS)}(hhh]jX)}(h%initialise a struct rpc_pipe_dir_headh]h%initialise a struct rpc_pipe_dir_head}(hj WhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjWhhubah}(h]h ]h"]h$]h&]uh1jRhj@VhhhjYVhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj#Wjxj#Wjyjzj{uh1hhhhjVhNhNubj})}(hW**Parameters** ``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_headh](jX)}(h**Parameters**h]j)}(hj-Wh]h Parameters}(hj/WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Wubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj'Wubj)}(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)}(hjLWh]hstruct rpc_pipe_dir_head *pdh}(hjNWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJWubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjFWubj)}(hhh]jX)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjeWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjbWubah}(h]h ]h"]h$]h&]uh1jhjFWubeh}(h]h ]h"]h$]h&]uh1jhjaWhMhjCWubah}(h]h ]h"]h$]h&]uh1jhj'Wubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%rpc_init_pipe_dir_object (C function)c.rpc_init_pipe_dir_objecthNtauh1hhjVhhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjWhMubj)}(hrpc_init_pipe_dir_objecth]j%)}(hrpc_init_pipe_dir_objecth]hrpc_init_pipe_dir_object}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjWhMubj)}(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}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]j')}jjWsbc.rpc_init_pipe_dir_objectasbuh1hhjWubj)}(h h]h }(hj!XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj;)}(hj>h]h*}(hj/XhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj%)}(hpdoh]hpdo}(hjh]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQXubj%)}(hpdo_opsh]hpdo_ops}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubj)}(hvoid *pdo_datah](j)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hpdo_datah]hpdo_data}(hj YhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubeh}(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'initialise a struct rpc_pipe_dir_objecth]h'initialise a struct rpc_pipe_dir_object}(hj3YhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj0Yhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjWhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKYjxjKYjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjUYh]h Parameters}(hjWYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSYubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjOYubj)}(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)}(hjtYh]hstruct rpc_pipe_dir_object *pdo}(hjvYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrYubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjnYubj)}(hhh]jX)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjnYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjkYubj)}(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)}(hjYh]h-const struct rpc_pipe_dir_object_ops *pdo_ops}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjYubj)}(hhh]jX)}(h/pointer to const struct rpc_pipe_dir_object_opsh]h/pointer to const struct rpc_pipe_dir_object_ops}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjkYubj)}(h1``void *pdo_data`` pointer to caller-defined datah](j)}(h``void *pdo_data``h]j)}(hjYh]hvoid *pdo_data}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjYubj)}(hhh]jX)}(hpointer to caller-defined datah]hpointer to caller-defined data}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjkYubeh}(h]h ]h"]h$]h&]uh1jhjOYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$rpc_add_pipe_dir_object (C function)c.rpc_add_pipe_dir_objecthNtauh1hhjVhhhNhNubh)}(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}(hj@ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyZubj%)}(hneth]hnet}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuZubj)}(hstruct rpc_pipe_dir_head *pdhh](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hhh]j%)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hj [hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj [ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]jZc.rpc_add_pipe_dir_objectasbuh1hhjZubj)}(h h]h }(hj+[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hj9[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hpdhh]hpdh}(hjF[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuZubj)}(hstruct rpc_pipe_dir_object *pdoh](h)}(hjh]hstruct}(hj_[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[[ubj)}(h h]h }(hjl[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$hjz[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]jZc.rpc_add_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=uh1jhjuZubeh}(h]h ]h"]h$]h&]j<j=uh1jhjh]h*}(hjv]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&]ubj%)}(hneth]hnet}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"]ubj)}(hstruct rpc_pipe_dir_head *pdhh](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_headh]hrpc_pipe_dir_head}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]jd]c.rpc_remove_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%)}(hpdhh]hpdh}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"]ubj)}(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$]jd]c.rpc_remove_pipe_dir_objectasbuh1hhj^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%)}(hpdoh]hpdo}(hjc^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-remove a rpc_pipe_dir_object from a directoryh]h-remove a rpc_pipe_dir_object from a directory}(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&]uh1jRhj\hhhj\hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^jxj^jyjzj{uh1hhhhjVhNhNubj})}(h**Parameters** ``struct net *net`` pointer to struct net ``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head ``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](jX)}(h**Parameters**h]j)}(hj^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.chM hj^ubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net 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:77: ./net/sunrpc/rpc_pipe.chM hj^ubj)}(hhh]jX)}(hpointer to struct neth]hpointer to struct net}(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)}(hF``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head h](j)}(h!``struct rpc_pipe_dir_head *pdh``h]j)}(hj_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.chM hj_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&]uh1jWhj_hM hj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM hj^ubj)}(hI``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](j)}(h#``struct rpc_pipe_dir_object *pdo``h]j)}(hj@_h]hstruct rpc_pipe_dir_object *pdo}(hjB_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.chM hj:_ubj)}(hhh]jX)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hjY_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjV_ubah}(h]h ]h"]h$]h&]uh1jhj:_ubeh}(h]h ]h"]h$]h&]uh1jhjU_hM hj^ubeh}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(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_objecthNtauh1hhjVhhhNhNubh)}(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}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_hhhj_hMubh)}(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')}j!rpc_find_or_alloc_pipe_dir_objectsb#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhj_hhhj_hMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_hhhj_hMubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_hhhj_hMubj)}(h!rpc_find_or_alloc_pipe_dir_objecth]j%)}(hj_h]h!rpc_find_or_alloc_pipe_dir_object}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj_hhhj_hMubj)}(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}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj`ubj)}(h h]h }(hj!`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubh)}(hhh]j%)}(hneth]hnet}(hj2`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4`modnameN classnameNjj!)}j$]j_#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhj`ubj)}(h h]h }(hjP`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj;)}(hj>h]h*}(hj^`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj%)}(hneth]hnet}(hjk`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj `ubj)}(hstruct rpc_pipe_dir_head *pdhh](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_headh]hrpc_pipe_dir_head}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`modnameN classnameNjj!)}j$]j_#c.rpc_find_or_alloc_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%)}(hpdhh]hpdh}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj `ubj)}(h0int (*match)(struct rpc_pipe_dir_object*, void*)h](j)}(hinth]hint}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj;)}(hjh]h(}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj%)}(hmatchh]hmatch}(hj*ahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubj;)}(hjh]h)}(hj8ahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj;)}(hjh]h(}(hjEahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubh)}(hjh]hstruct}(hjRahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj`ubj)}(h h]h }(hj_ahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjpahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjramodnameN classnameNjj!)}j$]j_#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhj`ubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj;)}(h,h]h,}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj)}(hvoidh]hvoid}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj;)}(hjh]h)}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj `ubj)}(h+struct rpc_pipe_dir_object *(*alloc)(void*)h](h)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj bmodnameN classnameNjj!)}j$]j_#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjaubj)}(h h]h }(hj&bhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hj4bhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj;)}(hjh]h(}(hjAbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj;)}(hj>h]h*}(hjNbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(halloch]halloc}(hj[bhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubj;)}(hjh]h)}(hjibhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj;)}(hjh]h(}(hjvbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj)}(hvoidh]hvoid}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj;)}(hjh]h)}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj `ubj)}(h void *datah](j)}(hvoidh]hvoid}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(hdatah]hdata}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj `ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj_hhhj_hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj_hhhj_hMubah}(h]j_ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj_hMhj_hhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhj_hhhj_hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhjVhNhNubj})}(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)}(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.chM"hjcubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hj;ch]hstruct net *net}(hj=chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9cubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj5cubj)}(hhh]jX)}(hpointer to struct neth]hpointer to struct net}(hjTchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPchMhjQcubah}(h]h ]h"]h$]h&]uh1jhj5cubeh}(h]h ]h"]h$]h&]uh1jhjPchMhj2cubj)}(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)}(hjtch]hstruct rpc_pipe_dir_head *pdh}(hjvchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrcubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjncubj)}(hhh]jX)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchM hjcubah}(h]h ]h"]h$]h&]uh1jhjncubeh}(h]h ]h"]h$]h&]uh1jhjchM hj2cubj)}(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)}(hjch]h2int (*match)(struct rpc_pipe_dir_object *, void *)}(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.chM!hjcubj)}(hhh]jX)}(h(match struct rpc_pipe_dir_object to datah]h(match struct rpc_pipe_dir_object to data}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchM!hjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchM!hj2cubj)}(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)}(hjch]h,struct rpc_pipe_dir_object *(*alloc)(void *)}(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.chM"hjcubj)}(hhh]jX)}(h)allocate a new struct rpc_pipe_dir_objecth]h)allocate a new struct rpc_pipe_dir_object}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchM"hjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchM"hj2cubj)}(h8``void *data`` user defined data for match() and alloc()h](j)}(h``void *data``h]j)}(hjdh]h void *data}(hj!dhhhNhNubah}(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.chM$hjdubj)}(hhh]jX)}(h)user defined data for match() and alloc()h]h)user defined data for match() and alloc()}(hj8dhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM#hj5dubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhj4dhM$hj2cubeh}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpcb_getport_async (C function)c.rpcb_getport_asynchNtauh1hhjVhhhNhNubh)}(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}(hjydhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjudhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjudhhhjdhMubj)}(hrpcb_getport_asynch]j%)}(hrpcb_getport_asynch]hrpcb_getport_async}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjudhhhjdhMubj)}(h(struct rpc_task *task)h]j)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j')}jjdsbc.rpcb_getport_asyncasbuh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(htaskh]htask}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubah}(h]h ]h"]h$]h&]j<j=uh1jhjudhhhjdhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqdhhhjdhMubah}(h]jldah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjdhMhjndhhubjS)}(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}(hj9ehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhj6ehhubah}(h]h ]h"]h$]h&]uh1jRhjndhhhjdhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQejxjQejyjzj{uh1hhhhjVhNhNubj})}(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)}(hj[eh]h Parameters}(hj]ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYeubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjUeubj)}(hhh]j)}(hF``struct rpc_task *task`` task that is waiting for portmapper request h](j)}(h``struct rpc_task *task``h]j)}(hjzeh]hstruct rpc_task *task}(hj|ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxeubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjteubj)}(hhh]jX)}(h+task that is waiting for portmapper requesth]h+task that is waiting for portmapper request}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMhjeubah}(h]h ]h"]h$]h&]uh1jhjteubeh}(h]h ]h"]h$]h&]uh1jhjehMhjqeubah}(h]h ]h"]h$]h&]uh1jhjUeubjX)}(h**Description**h]j)}(hjeh]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjUeubjX)}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjUeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_create (C function) c.rpc_createhNtauh1hhjVhhhNhNubh)}(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}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjehhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjfhMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}j rpc_createsb c.rpc_createasbuh1hhjehhhjfhMubj)}(h h]h }(hj:fhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjfhMubj;)}(hj>h]h*}(hjHfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjehhhjfhMubj)}(h rpc_createh]j%)}(hj7fh]h rpc_create}(hjYfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhjfhMubj)}(h(struct rpc_create_args *args)h]j)}(hstruct rpc_create_args *argsh](h)}(hjh]hstruct}(hjtfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpfubh)}(hhh]j%)}(hrpc_create_argsh]hrpc_create_args}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j5f c.rpc_createasbuh1hhjpfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpfubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpfubj%)}(hargsh]hargs}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlfubah}(h]h ]h"]h$]h&]j<j=uh1jhjehhhjfhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhjfhMubah}(h]jeah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhMhjehhubjS)}(hhh]jX)}(h0create an RPC client and transport with one callh]h0create an RPC client and transport with one call}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjfhhubah}(h]h ]h"]h$]h&]uh1jRhjehhhjfhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj gjxj gjyjzj{uh1hhhhjVhNhNubj})}(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)}(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.chMhjgubj)}(hhh]j)}(hD``struct rpc_create_args *args`` rpc_clnt create argument structure h](j)}(h ``struct rpc_create_args *args``h]j)}(hj6gh]hstruct rpc_create_args *args}(hj8ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4gubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj0gubj)}(hhh]jX)}(h"rpc_clnt create argument structureh]h"rpc_clnt create argument structure}(hjOghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKghMhjLgubah}(h]h ]h"]h$]h&]uh1jhj0gubeh}(h]h ]h"]h$]h&]uh1jhjKghMhj-gubah}(h]h ]h"]h$]h&]uh1jhjgubjX)}(h**Description**h]j)}(hjqgh]h Description}(hjsghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjogubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjgubjX)}(h;Creates and initializes an RPC transport and an RPC client.h]h;Creates and initializes an RPC transport and an RPC client.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjgubjX)}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clone_client (C function)c.rpc_clone_clienthNtauh1hhjVhhhNhNubh)}(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}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjghhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjghMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]j')}jrpc_clone_clientsbc.rpc_clone_clientasbuh1hhjghhhjghMubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjghMubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjghhhjghMubj)}(hrpc_clone_clienth]j%)}(hjhh]hrpc_clone_client}(hj$hhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj hubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjghhhjghMubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hj?hhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;hubj)}(h h]h }(hjLhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj]hhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_hmodnameN classnameNjj!)}j$]jhc.rpc_clone_clientasbuh1hhj;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%)}(hclnth]hclnt}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;hubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7hubah}(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)}(hClone an RPC client structureh]hClone an RPC client structure}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhhhubah}(h]h ]h"]h$]h&]uh1jRhjghhhjghMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhubj)}(hhh]j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjih]hstruct rpc_clnt *clnt}(hjihhhNhNubah}(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)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjihMhjhubah}(h]h ]h"]h$]h&]uh1jhjhubjX)}(h**Description**h]j)}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:iubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhubjX)}(h)Returns a fresh RPC client or an ERR_PTR.h]h)Returns a fresh RPC client or an ERR_PTR.}(hjRihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&rpc_clone_client_set_auth (C function)c.rpc_clone_client_set_authhNtauh1hhjVhhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}ihhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ihhhjihMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j')}jrpc_clone_client_set_authsbc.rpc_clone_client_set_authasbuh1hhj}ihhhjihMubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ihhhjihMubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj}ihhhjihMubj)}(hrpc_clone_client_set_authh]j%)}(hjih]hrpc_clone_client_set_auth}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}ihhhjihMubj)}(h0(struct rpc_clnt *clnt, rpc_authflavor_t flavor)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jic.rpc_clone_client_set_authasbuh1hhjiubj)}(h h]h }(hj7jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjEjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hclnth]hclnt}(hjRjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubj)}(hrpc_authflavor_t flavorh](h)}(hhh]j%)}(hrpc_authflavor_th]hrpc_authflavor_t}(hjnjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpjmodnameN classnameNjj!)}j$]jic.rpc_clone_client_set_authasbuh1hhjgjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgjubj%)}(hflavorh]hflavor}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubeh}(h]h ]h"]h$]h&]j<j=uh1jhj}ihhhjihMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyihhhjihMubah}(h]jtiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjihMhjvihhubjS)}(hhh]jX)}(h.Clone an RPC client structure and set its authh]h.Clone an RPC client structure and set its auth}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjjhhubah}(h]h ]h"]h$]h&]uh1jRhjvihhhjihMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjjxjjjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjjh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjjubj)}(hhh](j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjkh]hstruct rpc_clnt *clnt}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjjubj)}(hhh]jX)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjjubj)}(h;``rpc_authflavor_t flavor`` security flavor for new client h](j)}(h``rpc_authflavor_t flavor``h]j)}(hj>kh]hrpc_authflavor_t flavor}(hj@khhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh]h*}(hjGlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hclnth]hclnt}(hjTlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(hstruct xprt_create *argsh](h)}(hjh]hstruct}(hjmlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjilubj)}(h h]h }(hjzlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjilubh)}(hhh]j%)}(h xprt_createh]h xprt_create}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j5lc.rpc_switch_client_transportasbuh1hhjilubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjilubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjilubj%)}(hargsh]hargs}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjilubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(h!const struct rpc_timeout *timeouth](h)}(hjh]hconst}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hhh]j%)}(h rpc_timeouth]h rpc_timeout}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j5lc.rpc_switch_client_transportasbuh1hhjlubj)}(h h]h }(hj4mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjBmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(htimeouth]htimeout}(hjOmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubeh}(h]h ]h"]h$]h&]j<j=uh1jhjkhhhjkhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhjkhMubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhMhjkhhubjS)}(hhh]jX)}(h#switch the RPC transport on the flyh]h#switch the RPC transport on the fly}(hjymhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjvmhhubah}(h]h ]h"]h$]h&]uh1jRhjkhhhjkhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmjxjmjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjmubj)}(hhh](j)}(h7``struct rpc_clnt *clnt`` pointer to a struct rpc_clnt h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjmh]hstruct rpc_clnt *clnt}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjmubj)}(hhh]jX)}(hpointer to a struct rpc_clnth]hpointer to a struct rpc_clnt}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjmubj)}(hD``struct xprt_create *args`` pointer to the new transport arguments h](j)}(h``struct xprt_create *args``h]j)}(hjmh]hstruct xprt_create *args}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjmubj)}(hhh]jX)}(h&pointer to the new transport argumentsh]h&pointer to the new transport arguments}(hj nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhj nubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjmubj)}(hL``const struct rpc_timeout *timeout`` pointer to the new timeout parameters h](j)}(h%``const struct rpc_timeout *timeout``h]j)}(hj,nh]h!const struct rpc_timeout *timeout}(hj.nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*nubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj&nubj)}(hhh]jX)}(h%pointer to the new timeout parametersh]h%pointer to the new timeout parameters}(hjEnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAnhMhjBnubah}(h]h ]h"]h$]h&]uh1jhj&nubeh}(h]h ]h"]h$]h&]uh1jhjAnhMhjmubeh}(h]h ]h"]h$]h&]uh1jhjmubjX)}(h**Description**h]j)}(hjgnh]h Description}(hjinhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjenubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjmubjX)}(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}nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjmubjX)}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+rpc_clnt_iterate_for_each_xprt (C function) c.rpc_clnt_iterate_for_each_xprthNtauh1hhjVhhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMBubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhjnhMBubj)}(hrpc_clnt_iterate_for_each_xprth]j%)}(hrpc_clnt_iterate_for_each_xprth]hrpc_clnt_iterate_for_each_xprt}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjnhhhjnhMBubj)}(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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}jjnsb c.rpc_clnt_iterate_for_each_xprtasbuh1hhjnubj)}(h h]h }(hj6ohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj;)}(hj>h]h*}(hjDohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(hclnth]hclnt}(hjQohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubj)}(h4int (*fn)(struct rpc_clnt*, struct rpc_xprt*, void*)h](j)}(hinth]hint}(hjjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfoubj)}(h h]h }(hjxohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfoubj;)}(hjh]h(}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfoubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfoubj%)}(hfnh]hfn}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfoubj;)}(hjh]h)}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfoubj;)}(hjh]h(}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfoubh)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfoubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j2o c.rpc_clnt_iterate_for_each_xprtasbuh1hhjfoubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfoubj;)}(hjah]h,}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfoubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfoubh)}(hjh]hstruct}(hj,phhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfoubj)}(h h]h }(hj9phhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfoubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjJphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLpmodnameN classnameNjj!)}j$]j2o c.rpc_clnt_iterate_for_each_xprtasbuh1hhjfoubj;)}(hj>h]h*}(hjhphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfoubj;)}(hjah]h,}(hjuphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfoubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfoubj)}(hvoidh]hvoid}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfoubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfoubj;)}(hjh]h)}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubj)}(h void *datah](j)}(hvoidh]hvoid}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hdatah]hdata}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubeh}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjnhMBubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjnhMBubah}(h]jnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhMBhjnhhubjS)}(hhh]jX)}(h"Apply a function to all transportsh]h"Apply a function to all transports}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMBhjqhhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjnhMBubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.qjxj.qjyjzj{uh1hhhhjVhNhNubj})}(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)}(hj8qh]h Parameters}(hj:qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6qubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhj2qubj)}(hhh](j)}(h,``struct rpc_clnt *clnt`` pointer to client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjWqh]hstruct rpc_clnt *clnt}(hjYqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMChjQqubj)}(hhh]jX)}(hpointer to clienth]hpointer to client}(hjpqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlqhMChjmqubah}(h]h ]h"]h$]h&]uh1jhjQqubeh}(h]h ]h"]h$]h&]uh1jhjlqhMChjNqubj)}(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)}(hjqh]h7int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMDhjqubj)}(hhh]jX)}(hfunction to applyh]hfunction to apply}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMDhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMDhjNqubj)}(h-``void *data`` void pointer to function data h](j)}(h``void *data``h]j)}(hjqh]h void *data}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMEhjqubj)}(hhh]jX)}(hvoid pointer to function datah]hvoid pointer to function data}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMEhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMEhjNqubeh}(h]h ]h"]h$]h&]uh1jhj2qubjX)}(h**Description**h]j)}(hjrh]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMGhj2qubjX)}(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).}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhj2qubjX)}(hHOn error, the iteration stops, and the function returns the error value.h]hHOn error, the iteration stops, and the function returns the error value.}(hj)rhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMIhj2qubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_cancel_tasks (C function)c.rpc_cancel_taskshNtauh1hhjVhhhNhNubh)}(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}(hjXrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTrhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM}ubj)}(h h]h }(hjgrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTrhhhjfrhM}ubj)}(hlongh]hlong}(hjurhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTrhhhjfrhM}ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTrhhhjfrhM}ubj)}(hrpc_cancel_tasksh]j%)}(hrpc_cancel_tasksh]hrpc_cancel_tasks}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjTrhhhjfrhM}ubj)}(hj(struct rpc_clnt *clnt, int error, bool (*fnmatch)(const struct rpc_task*, const void*), const void *data)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrmodnameN classnameNjj!)}j$]j')}jjrsbc.rpc_cancel_tasksasbuh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hjrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hclnth]hclnt}(hj shhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(h int errorh](j)}(hinth]hint}(hj#shhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj)}(h h]h }(hj1shhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj%)}(herrorh]herror}(hj?shhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(h4bool (*fnmatch)(const struct rpc_task*, const void*)h](j)}(hjTh]hbool}(hjXshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTsubj)}(h h]h }(hjeshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTsubj;)}(hjh]h(}(hjsshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTsubj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTsubj%)}(hfnmatchh]hfnmatch}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTsubj;)}(hjh]h)}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTsubj;)}(hjh]h(}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTsubh)}(hjh]hconst}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTsubh)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTsubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]jrc.rpc_cancel_tasksasbuh1hhjTsubj;)}(hj>h]h*}(hj thhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTsubj;)}(hjah]h,}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTsubj)}(h h]h }(hj&thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTsubh)}(hjh]hconst}(hj4thhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTsubj)}(h h]h }(hjAthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTsubj)}(hvoidh]hvoid}(hjOthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTsubj;)}(hj>h]h*}(hj]thhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTsubj;)}(hjh]h)}(hjjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(hconst void *datah](h)}(hjh]hconst}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~tubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~tubj)}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~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%)}(hdatah]hdata}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~tubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubeh}(h]h ]h"]h$]h&]j<j=uh1jhjTrhhhjfrhM}ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPrhhhjfrhM}ubah}(h]jKrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfrhM}hjMrhhubjS)}(hhh]jX)}(h try to cancel a set of RPC tasksh]h try to cancel a set of RPC tasks}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM}hjthhubah}(h]h ]h"]h$]h&]uh1jRhjMrhhhjfrhM}ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{uh1hhhhjVhNhNubj})}(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)}(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.chMhj uubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` Pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj1uh]hstruct rpc_clnt *clnt}(hj3uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/uubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM~hj+uubj)}(hhh]jX)}(hPointer to RPC clienth]hPointer to RPC client}(hjJuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFuhM~hjGuubah}(h]h ]h"]h$]h&]uh1jhj+uubeh}(h]h ]h"]h$]h&]uh1jhjFuhM~hj(uubj)}(h*``int error`` RPC task error value to set h](j)}(h ``int error``h]j)}(hjjuh]h int error}(hjluhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhuubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjduubj)}(hhh]jX)}(hRPC task error value to seth]hRPC task error value to set}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjduubeh}(h]h ]h"]h$]h&]uh1jhjuhMhj(uubj)}(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)}(hjuh]h6bool (*fnmatch)(const struct rpc_task *, const void *)}(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)}(hPointer to selector functionh]hPointer to selector function}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMhj(uubj)}(h``const void *data`` User data h](j)}(h``const void *data``h]j)}(hjuh]hconst void *data}(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 User datah]h User data}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMhj(uubeh}(h]h ]h"]h$]h&]uh1jhj uubjX)}(h**Description**h]j)}(hjvh]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj uubjX)}(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-vhhhNhNubj)}(h **fnmatch**h]hfnmatch}(hj5vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-vubhE to define a set of RPC tasks that are to be cancelled. The argument }(hj-vhhhNhNubj)}(h **error**h]herror}(hjGvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-vubh must be a negative error value.}(hj-vhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj uubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!rpc_bind_new_program (C function)c.rpc_bind_new_programhNtauh1hhjVhhhNhNubh)}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|vhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|vhhhjvhMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jrpc_bind_new_programsbc.rpc_bind_new_programasbuh1hhj|vhhhjvhMubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|vhhhjvhMubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|vhhhjvhMubj)}(hrpc_bind_new_programh]j%)}(hjvh]hrpc_bind_new_program}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj|vhhhjvhMubj)}(hC(struct rpc_clnt *old, const struct rpc_program *program, u32 vers)h](j)}(hstruct rpc_clnt *oldh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]jvc.rpc_bind_new_programasbuh1hhjvubj)}(h h]h }(hj6whhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjDwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(holdh]hold}(hjQwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubj)}(h!const struct rpc_program *programh](h)}(hjh]hconst}(hjjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfwubj)}(h h]h }(hjwwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfwubh)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfwubh)}(hhh]j%)}(h rpc_programh]h rpc_program}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]jvc.rpc_bind_new_programasbuh1hhjfwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfwubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfwubj%)}(hprogramh]hprogram}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubj)}(hu32 versh](h)}(hhh]j%)}(hu32h]hu32}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]jvc.rpc_bind_new_programasbuh1hhjwubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj%)}(hversh]hvers}(hj$xhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubeh}(h]h ]h"]h$]h&]j<j=uh1jhj|vhhhjvhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxvhhhjvhMubah}(h]jsvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhMhjuvhhubjS)}(hhh]jX)}(h,bind a new RPC program to an existing clienth]h,bind a new RPC program to an existing client}(hjNxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjKxhhubah}(h]h ]h"]h$]h&]uh1jRhjuvhhhjvhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjfxjxjfxjyjzj{uh1hhhhjVhNhNubj})}(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)}(hjpxh]h Parameters}(hjrxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnxubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjjxubj)}(hhh](j)}(h(``struct rpc_clnt *old`` old rpc_client h](j)}(h``struct rpc_clnt *old``h]j)}(hjxh]hstruct rpc_clnt *old}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjxubj)}(hhh]jX)}(hold rpc_clienth]hold rpc_client}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjxubj)}(h9``const struct rpc_program *program`` rpc program to set h](j)}(h%``const struct rpc_program *program``h]j)}(hjxh]h!const struct rpc_program *program}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjxubj)}(hhh]jX)}(hrpc program to seth]hrpc program to set}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjxubj)}(h!``u32 vers`` rpc program version h](j)}(h ``u32 vers``h]j)}(hjyh]hu32 vers}(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.chMhjxubj)}(hhh]jX)}(hrpc program versionh]hrpc program version}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjxubeh}(h]h ]h"]h$]h&]uh1jhjjxubjX)}(h**Description**h]j)}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:yubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjjxubjX)}(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.}(hjRyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjjxubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_run_task (C function)c.rpc_run_taskhNtauh1hhjVhhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}yhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}yhhhjyhMubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j')}j rpc_run_tasksbc.rpc_run_taskasbuh1hhj}yhhhjyhMubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}yhhhjyhMubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj}yhhhjyhMubj)}(h rpc_run_taskh]j%)}(hjyh]h rpc_run_task}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}yhhhjyhMubj)}(h.(const struct rpc_task_setup *task_setup_data)h]j)}(h,const struct rpc_task_setup *task_setup_datah](h)}(hjh]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hj#zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hrpc_task_setuph]hrpc_task_setup}(hj4zhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1zubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6zmodnameN classnameNjj!)}j$]jyc.rpc_run_taskasbuh1hhjyubj)}(h h]h }(hjRzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hj`zhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(htask_setup_datah]htask_setup_data}(hjmzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubah}(h]h ]h"]h$]h&]j<j=uh1jhj}yhhhjyhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyyhhhjyhMubah}(h]jtyah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyhMhjvyhhubjS)}(hhh]jX)}(h8Allocate a new RPC task, then run rpc_execute against ith]h8Allocate a new RPC task, then run rpc_execute against it}(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&]uh1jRhjvyhhhjyhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhjVhNhNubj})}(hf**Parameters** ``const struct rpc_task_setup *task_setup_data`` pointer to task initialisation datah](jX)}(h**Parameters**h]j)}(hjzh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjzubj)}(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)}(hjzh]h,const struct rpc_task_setup *task_setup_data}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjzubj)}(hhh]jX)}(h#pointer to task initialisation datah]h#pointer to task initialisation data}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_sync (C function)c.rpc_call_synchNtauh1hhjVhhhNhNubh)}(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}(hj2{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.{hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjA{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.{hhhj@{hMubj)}(h rpc_call_synch]j%)}(h rpc_call_synch]h rpc_call_sync}(hjS{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.{hhhj@{hMubj)}(hA(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjo{hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjk{ubj)}(h h]h }(hj|{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjk{ubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]j')}jjU{sbc.rpc_call_syncasbuh1hhjk{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%)}(hclnth]hclnt}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjk{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjg{ubj)}(hconst struct rpc_message *msgh](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 rpc_messageh]h rpc_message}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j{c.rpc_call_syncasbuh1hhj{ubj)}(h h]h }(hj8|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hjF|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hmsgh]hmsg}(hjS|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjg{ubj)}(h int flagsh](j)}(hinth]hint}(hjl|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh|ubj)}(h h]h }(hjz|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh|ubj%)}(hflagsh]hflags}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh|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)}(hPerform a synchronous RPC callh]hPerform a synchronous RPC call}(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'{hhhj@{hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|jxj|jyjzj{uh1hhhhjVhNhNubj})}(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)}(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)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hj,}h]hconst struct rpc_message *msg}(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 call parametersh]hRPC call parameters}(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``int flags`` RPC call flagsh](j)}(h ``int flags``h]j)}(hje}h]h int flags}(hjg}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj_}ubj)}(hhh]jX)}(hRPC call flagsh]hRPC call flags}(hj~}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj{}ubah}(h]h ]h"]h$]h&]uh1jhj_}ubeh}(h]h ]h"]h$]h&]uh1jhjz}hMhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_async (C function)c.rpc_call_asynchNtauh1hhjVhhhNhNubh)}(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}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhj}hMubj)}(hrpc_call_asynch]j%)}(hrpc_call_asynch]hrpc_call_async}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhj}hMubj)}(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}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}ubj)}(h h]h }(hj ~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j')}jj}sbc.rpc_call_asyncasbuh1hhj}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%)}(hclnth]hclnt}(hjU~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubj)}(hconst struct rpc_message *msgh](h)}(hjh]hconst}(hjn~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjj~ubj)}(h h]h }(hj{~hhhNhNubah}(h]h ]jah"]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 rpc_messageh]h rpc_message}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j6~c.rpc_call_asyncasbuh1hhjj~ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj~ubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjj~ubj%)}(hmsgh]hmsg}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjj~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 }(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=uh1jhj}ubj)}(h!const struct rpc_call_ops *tk_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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubh)}(hhh]j%)}(h rpc_call_opsh]h rpc_call_ops}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j6~c.rpc_call_asyncasbuh1hhj*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%)}(htk_opsh]htk_ops}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubj)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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 Perform an asynchronous RPC callh]h Perform an asynchronous RPC call}(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}hhhj}hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhjVhNhNubj})}(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)}(hj.h]h Parameters}(hj0hhhNhNubah}(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)}(hjMh]hstruct rpc_clnt *clnt}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjGubj)}(hhh]jX)}(hpointer to RPC clienth]hpointer to RPC client}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjDubj)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hjh]hconst struct rpc_message *msg}(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.chMhjubj)}(hhh]jX)}(hRPC call parametersh]hRPC call parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjDubj)}(h``int flags`` RPC call flags h](j)}(h ``int flags``h]j)}(hjh]h int flags}(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.chMhjubj)}(hhh]jX)}(hRPC call flagsh]hRPC call flags}(hj؀hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjԀhMhjՀubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjԀhMhjDubj)}(h3``const struct rpc_call_ops *tk_ops`` RPC call ops h](j)}(h%``const struct rpc_call_ops *tk_ops``h]j)}(hjh]h!const struct rpc_call_ops *tk_ops}(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.chMhjubj)}(hhh]jX)}(h RPC call opsh]h RPC call ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjDubj)}(h``void *data`` user call datah](j)}(h``void *data``h]j)}(hj1h]h void *data}(hj3hhhNhNubah}(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)}(huser call datah]huser call data}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjDubeh}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$rpc_prepare_reply_pages (C function)c.rpc_prepare_reply_pageshNtauh1hhjVhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMGubj)}(hrpc_prepare_reply_pagesh]j%)}(hrpc_prepare_reply_pagesh]hrpc_prepare_reply_pages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMGubj)}(hf(struct rpc_rqst *req, struct page **pages, unsigned int base, unsigned int len, unsigned int hdrsize)h](j)}(hstruct rpc_rqst *reqh](h)}(hjh]hstruct}(hjȁhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjāubj)}(h h]h }(hjՁhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjāubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.rpc_prepare_reply_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%)}(hreqh]hreq}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjāubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct page **pagesh](h)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubh)}(hhh]j%)}(hpageh]hpage}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]jc.rpc_prepare_reply_pagesasbuh1hhj6ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(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}(hjӂhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hbaseh]hbase}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj2hhhNhNubah}(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=uh1jhjubj)}(hunsigned int hdrsizeh](j)}(hunsignedh]hunsigned}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj)}(hinth]hint}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj%)}(hhdrsizeh]hhdrsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMGubah}(h]j~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMGhjhhubjS)}(hhh]jX)}(h2Prepare to receive a reply data payload into pagesh]h2Prepare to receive a reply data payload into pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMGhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjӃjxjӃjyjzj{uh1hhhhjVhNhNubj})}(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)}(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.chMKhj׃ubj)}(hhh](j)}(h0``struct rpc_rqst *req`` RPC request to prepare 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:83: ./net/sunrpc/clnt.chMHhjubj)}(hhh]jX)}(hRPC request to prepareh]hRPC request to prepare}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjubj)}(h7``struct page **pages`` vector of struct page pointers h](j)}(h``struct page **pages``h]j)}(hj5h]hstruct page **pages}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMIhj/ubj)}(hhh]jX)}(hvector of struct page pointersh]hvector of struct page pointers}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMIhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMIhjubj)}(hP``unsigned int base`` offset in first page where receive should start, in bytes h](j)}(h``unsigned int base``h]j)}(hjnh]hunsigned int base}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMJhjhubj)}(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&]uh1jWhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubj)}(hM``unsigned int len`` expected size of the upper layer data payload, 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMKhjubj)}(hhh]jX)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(hP``unsigned int hdrsize`` expected size of upper layer reply header, in XDR wordsh](j)}(h``unsigned int hdrsize``h]j)}(hjh]hunsigned int hdrsize}(hjhhhNhNubah}(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.chMMhjڄubj)}(hhh]jX)}(h7expected size of upper layer reply header, in XDR wordsh]h7expected size of upper layer reply header, in XDR words}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMLhjubah}(h]h ]h"]h$]h&]uh1jhjڄubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubeh}(h]h ]h"]h$]h&]uh1jhj׃ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr (C function)c.rpc_peeraddrhNtauh1hhjVhhhNhNubh)}(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}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?modnameN classnameNjj!)}j$]j')}j rpc_peeraddrsbc.rpc_peeraddrasbuh1hhj6hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMbubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6hhhj^hMbubj)}(h rpc_peeraddrh]j%)}(hj[h]h rpc_peeraddr}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6hhhj^hMbubj)}(h=(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)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$]jYc.rpc_peeraddrasbuh1hhjubj)}(h h]h }(hjȅhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjօhhhNhNubah}(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 sockaddr *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%)}(hsockaddrh]hsockaddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jYc.rpc_peeraddrasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbufh]hbuf}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hsize_t bufsizeh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]jYc.rpc_peeraddrasbuh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(hbufsizeh]hbufsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj6hhhj^hMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2hhhj^hMbubah}(h]j-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj^hMbhj/hhubjS)}(hhh]jX)}(h,extract remote peer address from clnt's xprth]h.extract remote peer address from clnt’s xprt}(hjņhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMbhj†hhubah}(h]h ]h"]h$]h&]uh1jRhj/hhhj^hMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj݆jxj݆jyjzj{uh1hhhhjVhNhNubj})}(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)}(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.chMfhjubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure 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.chMchjubj)}(hhh]jX)}(hRPC client structureh]hRPC client structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hj?h]hstruct sockaddr *buf}(hjAhhhNhNubah}(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.chMdhj9ubj)}(hhh]jX)}(h target bufferh]h target buffer}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMdhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMdhjubj)}(h+``size_t bufsize`` length of target buffer h](j)}(h``size_t bufsize``h]j)}(hjxh]hsize_t bufsize}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMehjrubj)}(hhh]jX)}(hlength of target bufferh]hlength of target buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubeh}(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.chMghjubjX)}(hDReturns the number of bytes that are actually in the stored address.h]hDReturns the number of bytes that are actually in the stored address.}(hjɇhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMfhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr2str (C function)c.rpc_peeraddr2strhNtauh1hhjVhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM|ubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM|ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM|ubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM|ubj)}(hrpc_peeraddr2strh]j%)}(hrpc_peeraddr2strh]hrpc_peeraddr2str}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM|ubj)}(h9(struct rpc_clnt *clnt, enum rpc_display_format_t format)h](j)}(hstruct rpc_clnt *clnth](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_clnth]hrpc_clnt}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j')}jjCsbc.rpc_peeraddr2strasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(h enum rpc_display_format_t formath](h)}(hhh]henum}(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_display_format_th]hrpc_display_format_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.rpc_peeraddr2strasbuh1hhjˈubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjˈubj%)}(hformath]hformat}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjˈubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubeh}(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.return remote peer address in printable formath]h.return remote peer address in printable format}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM|hj@hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM|ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[jxj[jyjzj{uh1hhhhjVhNhNubj})}(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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj_ubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM}hj~ubj)}(hhh]jX)}(hRPC client structureh]hRPC client structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM}hj{ubj)}(h4``enum rpc_display_format_t format`` address format h](j)}(h$``enum rpc_display_format_t format``h]j)}(hjh]h enum rpc_display_format_t format}(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)}(haddress formath]haddress format}(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&]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:83: ./net/sunrpc/clnt.chMhj_ubjX)}(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.}(hjhhhNhNubah}(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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_localaddr (C function)c.rpc_localaddrhNtauh1hhjVhhhNhNubh)}(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}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhjKhMubj)}(h rpc_localaddrh]j%)}(h rpc_localaddrh]h rpc_localaddr}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhjKhMubj)}(h<(struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(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_localaddrasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjƊhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hclnth]hclnt}(hjӊhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(hstruct sockaddr *bufh](h)}(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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.rpc_localaddrasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbufh]hbuf}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(h size_t buflenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]jc.rpc_localaddrasbuh1hhjXubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(hbuflenh]hbuflen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubeh}(h]h ]h"]h$]h&]j<j=uh1jhj9hhhjKhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhjKhMubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhMhj2hhubjS)}(hhh]jX)}(h1discover local endpoint address for an RPC clienth]h1discover local endpoint address for an RPC client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj2hhhjKhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj͋jxj͋jyjzj{uh1hhhhjVhNhNubj})}(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)}(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)}(h/``struct rpc_clnt *clnt`` RPC client structure 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.chMhjubj)}(hhh]jX)}(hRPC client structureh]hRPC client structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hj/h]hstruct sockaddr *buf}(hj1hhhNhNubah}(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 target bufferh]h target buffer}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjubj)}(h2``size_t buflen`` size of target buffer, in bytes h](j)}(h``size_t buflen``h]j)}(hjhh]h size_t buflen}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjbubj)}(hhh]jX)}(hsize of target buffer, in bytesh]hsize of target buffer, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjыubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjыubjX)}(hThis works even if the underlying transport is not currently connected, or if the upper layer never previously provided a source address.h]hThis works even if the underlying transport is not currently connected, or if the upper layer never previously provided a source address.}(hjȌhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjыubjX)}(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.}(hj׌hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjыubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_net_ns (C function) c.rpc_net_nshNtauh1hhjVhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM6ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM6ubh)}(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')}j rpc_net_nssb c.rpc_net_nsasbuh1hhjhhhjhM6ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM6ubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM6ubj)}(h rpc_net_nsh]j%)}(hjCh]h rpc_net_ns}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM6ubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](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_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jA c.rpc_net_nsasbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj;)}(hj>h]h*}(hjʍhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|ubj%)}(hclnth]hclnt}(hj׍hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM6ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM6ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM6hjhhubjS)}(hhh]jX)}(h-Get the network namespace for this RPC clienth]h-Get the network namespace for this RPC client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM6hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM6ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(h?**Parameters** ``struct rpc_clnt *clnt`` RPC client to queryh](jX)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM:hjubj)}(hhh]j)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](j)}(h``struct rpc_clnt *clnt``h]j)}(hjBh]hstruct rpc_clnt *clnt}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM<hj<ubj)}(hhh]jX)}(hRPC client to queryh]hRPC client to query}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM7hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM<hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_payload (C function)c.rpc_max_payloadhNtauh1hhjVhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jrpc_max_payloadsbc.rpc_max_payloadasbuh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMFubj)}(hrpc_max_payloadh]j%)}(hjh]hrpc_max_payload}(hjӎhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjώubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMFubj)}(h(struct rpc_clnt *clnt)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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.rpc_max_payloadasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hclnth]hclnt}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(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)}(h2Get maximum payload size for a transport, in bytesh]h2Get maximum payload size for a transport, in bytes}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhjlhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMFubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(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)}(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.chMJhjubj)}(hhh]j)}(h.``struct rpc_clnt *clnt`` RPC client to query 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.chMGhjubj)}(hhh]jX)}(hRPC client to queryh]hRPC client to query}(hjɏhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjŏhMGhjƏubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŏhMGhjubah}(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.chMIhjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMHhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_bc_payload (C function)c.rpc_max_bc_payloadhNtauh1hhjVhhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j')}jrpc_max_bc_payloadsbc.rpc_max_bc_payloadasbuh1hhj,hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMZubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,hhhjThMZubj)}(hrpc_max_bc_payloadh]j%)}(hjQh]hrpc_max_bc_payload}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhjThMZubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](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_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jOc.rpc_max_bc_payloadasbuh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj;)}(hj>h]h*}(hj̐hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~ubj%)}(hclnth]hclnt}(hjِhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubah}(h]h ]h"]h$]h&]j<j=uh1jhj,hhhjThMZubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj(hhhjThMZubah}(h]j#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThMZhj%hhubjS)}(hhh]jX)}(h.Get maximum backchannel payload size, in bytesh]h.Get maximum backchannel payload size, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMZhjhhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhjThMZubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(h?**Parameters** ``struct rpc_clnt *clnt`` RPC client to queryh](jX)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM^hjubj)}(hhh]j)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](j)}(h``struct rpc_clnt *clnt``h]j)}(hjDh]hstruct rpc_clnt *clnt}(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)}(hRPC client to queryh]hRPC client to query}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM[hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM`hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_force_rebind (C function)c.rpc_force_rebindhNtauh1hhjVhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMxubj)}(hrpc_force_rebindh]j%)}(hrpc_force_rebindh]hrpc_force_rebind}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMxubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjۑhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjבubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjבubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.rpc_force_rebindasbuh1hhjבubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjבubj;)}(hj>h]h*}(hj'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjבubj%)}(hclnth]hclnt}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjבubeh}(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)}(h6force transport to check that remote port is unchangedh]h6force transport to check that remote port is unchanged}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMxhj[hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMxubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjvjxjvjyjzj{uh1hhhhjVhNhNubj})}(h<**Parameters** ``struct rpc_clnt *clnt`` client to rebindh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM|hjzubj)}(hhh]j)}(h*``struct rpc_clnt *clnt`` client to rebindh](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)}(hclient to rebindh]hclient to rebind}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'rpc_clnt_test_and_add_xprt (C function)c.rpc_clnt_test_and_add_xprthNtauh1hhjVhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hrpc_clnt_test_and_add_xprth]j%)}(hrpc_clnt_test_and_add_xprth]hrpc_clnt_test_and_add_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM 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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]j')}jjsbc.rpc_clnt_test_and_add_xprtasbuh1hhj2ubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hstruct rpc_xprt_switch *xpsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(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$]jpc.rpc_clnt_test_and_add_xprtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxpsh]hxps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]jpc.rpc_clnt_test_and_add_xprtasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hvoid *in_max_connecth](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hin_max_connecth]hin_max_connect}(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*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&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(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)}(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)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jX)}(hpointer to struct rpc_clnth]hpointer to struct rpc_clnt}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hM hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM hjubj)}(hC``struct rpc_xprt_switch *xps`` pointer to struct rpc_xprt_switch, h](j)}(h``struct rpc_xprt_switch *xps``h]j)}(hjUh]hstruct rpc_xprt_switch *xps}(hjWhhhNhNubah}(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 hjOubj)}(hhh]jX)}(h"pointer to struct rpc_xprt_switch,h]h"pointer to struct rpc_xprt_switch,}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhM hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM hjubj)}(h2``struct rpc_xprt *xprt`` pointer struct rpc_xprt h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjh]hstruct rpc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jX)}(hpointer struct rpc_xprth]hpointer struct rpc_xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hZ``void *in_max_connect`` pointer to the max_connect value for the passed in xprt transporth](j)}(h``void *in_max_connect``h]j)}(hjǕh]hvoid *in_max_connect}(hjɕhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjŕubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(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}(hjhhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjܕhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubh)}(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_xprthNtauh1hhjVhhhNhNubh)}(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&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj/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}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj/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&]uh1hhjZubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j')}jjDsb"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j"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*}(hjhhhNhNubah}(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=uh1jhjVubj)}(hstruct rpc_xprt *xprth](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%)}(hrpc_xprth]hrpc_xprt}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`modnameN classnameNjj!)}j$]j"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhj<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=uh1jhjVubj)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj̗hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdatah]hdata}(hjٗhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubeh}(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]h}(h]h ]h"]h$]h&]uh1jRhjhhhj/hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjVhNhNubj})}(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)}(hj5h]hstruct rpc_clnt *clnt}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj/ubj)}(hhh]jX)}(h(struct rpc_clnt to get the new transporth]h(struct rpc_clnt to get the new transport}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhM hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhM hj,ubj)}(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)}(hjnh]hstruct rpc_xprt_switch *xps}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjhubj)}(hhh]jX)}(h-the rpc_xprt_switch to hold the new transporth]h-the rpc_xprt_switch to hold the new transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhM hj,ubj)}(h/``struct rpc_xprt *xprt`` the rpc_xprt to test h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjh]hstruct rpc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jX)}(hthe rpc_xprt to testh]hthe rpc_xprt to test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj,ubj)}(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&]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[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&]uh1jhjژubeh}(h]h ]h"]h$]h&]uh1jhjhM hj,ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi: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:}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj5ubj)}(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.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjHubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjGhM hj2ubah}(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}(hjlhhhNhNubah}(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|hjVhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clnt_add_xprt (C function)c.rpc_clnt_add_xprthNtauh1hhjVhhhNhNubh)}(hhh](h)}(hint rpc_clnt_add_xprt (struct rpc_clnt *clnt, struct xprt_create *xprtargs, int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *), void *data)h]h)}(hint rpc_clnt_add_xprt(struct rpc_clnt *clnt, struct xprt_create *xprtargs, int (*setup)(struct rpc_clnt*, struct rpc_xprt_switch*, struct rpc_xprt*, void*), void *data)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hrpc_clnt_add_xprth]j%)}(hrpc_clnt_add_xprth]hrpc_clnt_add_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM 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}(hjؙhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjԙubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjԙubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.rpc_clnt_add_xprtasbuh1hhjԙubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjԙubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjԙubj%)}(hclnth]hclnt}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjԙubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjЙubj)}(hstruct xprt_create *xprtargsh](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(h xprt_createh]h xprt_create}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jc.rpc_clnt_add_xprtasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hxprtargsh]hxprtargs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjЙubj)}(hPint (*setup)(struct rpc_clnt*, struct rpc_xprt_switch*, struct rpc_xprt*, void*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjȚhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hjh]h(}(hj֚hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsetuph]hsetup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h(}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]jc.rpc_clnt_add_xprtasbuh1hhjubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjah]h,}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj)}(h h]h }(hjnhhhNhNubah}(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%)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.rpc_clnt_add_xprtasbuh1hhjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjah]h,}(hjśhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj)}(h h]h }(hjқhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.rpc_clnt_add_xprtasbuh1hhjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjah]h,}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj;)}(hj>h]h*}(hjRhhhNhNubah}(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=uh1jhjЙubj)}(h void *datah](j)}(hvoidh]hvoid}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(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!Add a new transport to a rpc_clnth]h!Add a new transport to a rpc_clnt}(hjʜhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjǜhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjVhNhNubj})}(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 hjubj)}(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&]uh1jhjubeh}(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)}(hjDh]hstruct xprt_create *xprtargs}(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)}(hpointer to struct xprt_createh]hpointer to struct xprt_create}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhM hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM 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 *)}(hjhhhNhNubah}(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 hjwubj)}(hhh]jX)}(h-callback to test and/or set up the connectionh]h-callback to test and/or set up the connection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h.``void *data`` pointer to setup function 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)}(hpointer to setup function datah]hpointer to setup function 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&]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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjVhhhNhNubeh}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hhhhhKWubh)}(hhh](h)}(hDriver Supporth]hDriver Support}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hhhhhKZubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_add_pack (C function)c.dev_add_packhNtauh1hhj>hhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhjvhMQubj)}(h dev_add_packh]j%)}(h dev_add_packh]h dev_add_pack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjdhhhjvhMQubj)}(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}(hjÞhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjŞmodnameN classnameNjj!)}j$]j')}jjsbc.dev_add_packasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(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=uh1jhjdhhhjvhMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`hhhjvhMQubah}(h]j[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhMQhj]hhubjS)}(hhh]jX)}(hadd packet handlerh]hadd packet handler}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQhj%hhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhjvhMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct packet_type *pt`` packet type declaration **Description** Add a protocol handler to the networking stack. The passed :c:type:`packet_type` is linked into kernel lists and may not be freed until it has been removed from the kernel lists. This call does not sleep therefore it can not guarantee all CPU's that are in middle of receiving packets will see the new packet type (until the next received packet).h](jX)}(h**Parameters**h]j)}(hjJh]h Parameters}(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.chMUhjDubj)}(hhh]j)}(h3``struct packet_type *pt`` packet type declaration h](j)}(h``struct packet_type *pt``h]j)}(hjih]hstruct packet_type *pt}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMRhjcubj)}(hhh]jX)}(hpacket type declarationh]hpacket type declaration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMRhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMRhj`ubah}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMThjDubj )}(hX\Add a protocol handler to the networking stack. The passed :c:type:`packet_type` is linked into kernel lists and may not be freed until it has been removed from the kernel lists. This call does not sleep therefore it can not guarantee all CPU's that are in middle of receiving packets will see the new packet type (until the next received packet).h](jX)}(hAdd a protocol handler to the networking stack. The passed :c:type:`packet_type` is linked into kernel lists and may not be freed until it has been removed from the kernel lists.h](h;Add a protocol handler to the networking stack. The passed }(hjhhhNhNubh)}(h:c:type:`packet_type`h]j)}(hjȟh]h packet_type}(hjʟhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjƟubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj packet_typeuh1hhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMShjubhb is linked into kernel lists and may not be freed until it has been removed from the kernel lists.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMShjubjX)}(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.chMWhjubeh}(h]h ]h"]h$]h&]uh1j hjhMShjDubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_remove_pack (C function)c.__dev_remove_packhNtauh1hhj>hhhNhNubh)}(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&]uh1jhj!hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMkubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj3hMkubj)}(h__dev_remove_packh]j%)}(h__dev_remove_packh]h__dev_remove_pack}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj3hMkubj)}(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_remove_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!hhhj3hMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj3hMkubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hMkhjhhubjS)}(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.chMkhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj3hMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct packet_type *pt`` packet type declaration **Description** Remove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. The packet type might still be in use by receivers and must not be freed until after all the CPU's have gone through a quiescent state.h](jX)}(h**Parameters**h]j)}(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.chMohjubj)}(hhh]j)}(h3``struct packet_type *pt`` packet type declaration h](j)}(h``struct packet_type *pt``h]j)}(hj&h]hstruct packet_type *pt}(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.chMlhj ubj)}(hhh]jX)}(hpacket type declarationh]hpacket type declaration}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMlhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMlhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjah]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMnhjubj )}(hXhRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. The packet type might still be in use by receivers and must not be freed until after all the CPU's have gone through a quiescent state.h](jX)}(hRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns.h](hrRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed }(hj{hhhNhNubh)}(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.chMmhj{ubhX is removed from the kernel lists and can be freed or reused once this function returns.}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMmhjwubjX)}(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.chMrhjwubeh}(h]h ]h"]h$]h&]uh1j hjhMmhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_remove_pack (C function)c.dev_remove_packhNtauh1hhj>hhhNhNubh)}(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&]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)}(hdev_remove_packh]j%)}(hdev_remove_packh]hdev_remove_pack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjޡhhhjhMubj)}(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}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?modnameN classnameNjj!)}j$]j')}jjsbc.dev_remove_packasbuh1hhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpth]hpt}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjޡhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjڡhhhjhMubah}(h]jաah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjסhhubjS)}(hhh]jX)}(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&]uh1jRhjסhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct packet_type *pt`` packet type declaration **Description** Remove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. This call sleeps to guarantee that no CPU is looking at the packet type after return.h](jX)}(h**Parameters**h]j)}(hjĢh]h Parameters}(hjƢhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj¢ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h3``struct packet_type *pt`` packet type declaration h](j)}(h``struct packet_type *pt``h]j)}(hjh]hstruct packet_type *pt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjݢubj)}(hhh]jX)}(hpacket type declarationh]hpacket type declaration}(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}(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 )}(hX6Remove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. This call sleeps to guarantee that no CPU is looking at the packet type after return.h](jX)}(hRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns.h](hrRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed }(hj8hhhNhNubh)}(h:c:type:`packet_type`h]j)}(hjBh]h packet_type}(hjDhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj packet_typeuh1hhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj8ubhX is removed from the kernel lists and can be freed or reused once this function returns.}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj_hMhj4ubjX)}(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.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj4ubeh}(h]h ]h"]h$]h&]uh1j hj_hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_iflink (C function)c.dev_get_iflinkhNtauh1hhj>hhhNhNubh)}(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}(hjܣhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjأubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjأubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjأubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjأubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj£sbc.dev_get_iflinkasbuh1hhjأubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjأubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjأubj%)}(hdevh]hdev}(hjPhhhNhNubah}(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!get 'iflink' value of a interfaceh]h%get ‘iflink’ value of a interface}(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&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``const struct net_device *dev`` targeted interface **Description** Indicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h4``const struct net_device *dev`` targeted interface 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&]uh1jWhjФhMhjѤubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjФhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(hrIndicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values.h]jX)}(hrIndicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values.h]hzIndicates the ifindex the interface is linked to. Physical interfaces have the same ‘ifindex’ and ‘iflink’ values.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj ubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dev_fill_metadata_dst (C function)c.dev_fill_metadata_dsthNtauh1hhj>hhhNhNubh)}(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}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjShMubj)}(hdev_fill_metadata_dsth]j%)}(hdev_fill_metadata_dsth]hdev_fill_metadata_dst}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjShMubj)}(h-(struct net_device *dev, struct sk_buff *skb)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjhsbc.dev_fill_metadata_dstasbuh1hhj~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=uh1jhjzubj)}(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_fill_metadata_dstasbuh1hhjubj)}(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=uh1jhjzubeh}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjShMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhjShMubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShMhj:hhubjS)}(hhh]jX)}(h#Retrieve tunnel egress information.h]h#Retrieve tunnel egress information.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjrhhubah}(h]h ]h"]h$]h&]uh1jRhj:hhhjShMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net_device *dev`` targeted interface ``struct sk_buff *skb`` The packet. **Description** For better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.h](jX)}(h**Parameters**h]j)}(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`` 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}(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 *skb`` The packet. h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h The packet.h]h The packet.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.h]jX)}(hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.h]hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj@ubah}(h]h ]h"]h$]h&]uh1j hjRhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_get_by_name (C function)c.__dev_get_by_namehNtauh1hhj>hhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjhMQubh)}(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_nameasbuh1hhjuhhhjhMQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjhMQubj;)}(hj>h]h*}(hjǧhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuhhhjhMQubj)}(h__dev_get_by_nameh]j%)}(hjh]h__dev_get_by_name}(hjاhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjԧubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuhhhjhMQubj)}(h#(struct net *net, const char *name)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$]jc.__dev_get_by_nameasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *nameh](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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjuhhhjhMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjhMQubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMQhjnhhubjS)}(hhh]jX)}(hfind a device by its nameh]hfind a device by its name}(hjѨhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQhjΨhhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjhMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net *net`` the applicable net namespace ``const char *name`` name to find **Description** Find an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks.h](jX)}(h**Parameters**h]j)}(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.chMUhjubj)}(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.chMRhj ubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hMRhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMRhj ubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjKh]hconst char *name}(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.chMShjEubj)}(hhh]jX)}(h name to findh]h name to find}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMShjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMShj ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMUhjubj )}(hXFind an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks.h]jX)}(hXFind an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks.h](hFind an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhb is returned. The reference counters are not incremented so the caller must be careful with locks.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMThjubah}(h]h ]h"]h$]h&]uh1j hjhMThjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h dev_get_by_name_rcu (C function)c.dev_get_by_name_rcuhNtauh1hhj>hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMfubh)}(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_rcuasbuh1hhjhhhjhMfubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMfubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMfubj)}(hdev_get_by_name_rcuh]j%)}(hj$h]hdev_get_by_name_rcu}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMfubj)}(h#(struct net *net, const char *name)h](j)}(hstruct net *neth](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%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j"c.dev_get_by_name_rcuasbuh1hhj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]ubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjͪubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMfubeh}(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}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfhj<hhubah}(h]h ]h"]h$]h&]uh1jRhjܩhhhjhMfubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjWjxjWjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjah]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhj[ubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjzubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMghjwubj)}(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ΫhMhhjwubeh}(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.chMjhj[ubjX)}(hFind an interface by name. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock.h](hsFind an interface by name. If the name is found a pointer to the device is returned. If the name is not found then }(hj hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh is returned. The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMihj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_get_by_name (C function)c.netdev_get_by_namehNtauh1hhj>hhhNhNubh)}(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}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhjXhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j')}jnetdev_get_by_namesbc.netdev_get_by_nameasbuh1hhjGhhhjXhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhjXhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGhhhjXhMubj)}(hnetdev_get_by_nameh]j%)}(hjh]hnetdev_get_by_name}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGhhhjXhMubj)}(hJ(struct net *net, const char *name, netdevice_tracker *tracker, gfp_t gfp)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjŬhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjҬhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(hcharh]hchar}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hnameh]hname}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(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$]jc.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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_get_by_nameasbuh1hhjubj)}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjGhhhjXhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjChhhjXhMubah}(h]j>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjXhMhj@hhubjS)}(hhh]jX)}(hfind a device by its nameh]hfind a device by its name}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj=hhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhjXhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhj>hNhNubj})}(hX#**Parameters** ``struct net *net`` the applicable net namespace ``const char *name`` name to find ``netdevice_tracker *tracker`` tracking object for the acquired reference ``gfp_t gfp`` allocation flags for the tracker **Description** Find an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. ``NULL`` is returned if no matching device is found.h](jX)}(h**Parameters**h]j)}(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.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.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&]uh1jhjhMhjxubj)}(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ϮhMhjxubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjxubj)}(h/``gfp_t gfp`` allocation flags for the tracker h](j)}(h ``gfp_t gfp``h]j)}(hj,h]h gfp_t gfp}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj&ubj)}(hhh]jX)}(h allocation flags for the trackerh]h allocation flags for the tracker}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjxubeh}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hjgh]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj\ubj )}(hXFind an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. ``NULL`` is returned if no matching device is found.h]jX)}(hXFind an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. ``NULL`` is returned if no matching device is found.h](hFind an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, is returned if no matching device is found.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj}ubah}(h]h ]h"]h$]h&]uh1j hjhMhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_get_by_index (C function)c.__dev_get_by_indexhNtauh1hhj>hhhNhNubh)}(hhh](h)}(hEstruct net_device * __dev_get_by_index (struct net *net, int ifindex)h]h)}(hCstruct net_device *__dev_get_by_index(struct net *net, int ifindex)h](h)}(hjh]hstruct}(hjȯhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjįhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(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')}j__dev_get_by_indexsbc.__dev_get_by_indexasbuh1hhjįhhhjկhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjįhhhjկhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjįhhhjկhMubj)}(h__dev_get_by_indexh]j%)}(hjh]h__dev_get_by_index}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjįhhhjկhMubj)}(h(struct net *net, int ifindex)h](j)}(hstruct net *neth](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%)}(hneth]hnet}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]jc.__dev_get_by_indexasbuh1hhj>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%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubj)}(h int ifindexh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(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=uh1jhj:ubeh}(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)}(hfind a device by its ifindexh]hfind a device by its ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjկhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net *net`` the applicable net namespace ``int ifindex`` index of device **Description** Search for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hj9h]hstruct net *net}(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.chMhj3ubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhj0ubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjrh]h int ifindex}(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.chMhjlubj)}(hhh]jX)}(hindex of deviceh]hindex of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhj0ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.h]jX)}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.h](h*Search for an interface by index. Returns }(hjDZhhhNhNubj)}(h``NULL``h]hNULL}(hjϱhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDZubh 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.}(hjDZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjñubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!dev_get_by_index_rcu (C function)c.dev_get_by_index_rcuhNtauh1hhj>hhhNhNubh)}(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&]uh1hhj hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/modnameN classnameNjj!)}j$]j')}jdev_get_by_index_rcusbc.dev_get_by_index_rcuasbuh1hhj hhhjhMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj hhhjhMubj)}(hdev_get_by_index_rcuh]j%)}(hjKh]hdev_get_by_index_rcu}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h(struct net *net, int ifindex)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$]jIc.dev_get_by_index_rcuasbuh1hhjubj)}(h h]h }(hjIJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjҲhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hj߲hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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=uh1jhj hhhjhMubeh}(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&]jvjqjwjVjxjVjyjzj{uh1hhhhj>hNhNubj})}(hXx**Parameters** ``struct net *net`` the applicable net namespace ``int ifindex`` index of device **Description** Search for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.h](jX)}(h**Parameters**h]j)}(hj`h]h Parameters}(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)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjyubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjh]h int ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hindex of deviceh]hindex of device}(hjѳhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjͳhMhjγubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͳhMhjvubeh}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjZubj )}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.h]jX)}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.h](h*Search for an interface by index. Returns }(hj hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj ubah}(h]h ]h"]h$]h&]uh1j hj-hMhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netdev_get_by_index (C function)c.netdev_get_by_indexhNtauh1hhj>hhhNhNubh)}(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}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhhhjahMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]j')}jnetdev_get_by_indexsbc.netdev_get_by_indexasbuh1hhjPhhhjahMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhhhjahMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPhhhjahMubj)}(hnetdev_get_by_indexh]j%)}(hjh]hnetdev_get_by_index}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPhhhjahMubj)}(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 }(hj۴hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjʴubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_get_by_indexasbuh1hhjʴ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%)}(hneth]hnet}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjʴubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjƴubj)}(h int ifindexh](j)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj%)}(hifindexh]hifindex}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjƴubj)}(hnetdevice_tracker *trackerh](h)}(hhh]j%)}(hnetdevice_trackerh]hnetdevice_tracker}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]jc.netdev_get_by_indexasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(htrackerh]htracker}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjƴubj)}(h gfp_t gfph](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj˵hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjȵubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj͵modnameN classnameNjj!)}j$]jc.netdev_get_by_indexasbuh1hhjĵubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjĵubj%)}(hgfph]hgfp}(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=uh1jhjPhhhjahMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhjahMubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjahMhjIhhubjS)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjIhhhjahMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net *net`` the applicable net namespace ``int ifindex`` index of device ``netdevice_tracker *tracker`` tracking object for the acquired reference ``gfp_t gfp`` allocation flags for the tracker **Description** Search for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.h](jX)}(h**Parameters**h]j)}(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)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjbh]hstruct net *net}(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)}(hthe applicable net namespaceh]hthe applicable net namespace}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjYubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjh]h int ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hindex of deviceh]hindex of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjYubj)}(hJ``netdevice_tracker *tracker`` tracking object for the acquired reference h](j)}(h``netdevice_tracker *tracker``h]j)}(hjԶh]hnetdevice_tracker *tracker}(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*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&]uh1jhjζubeh}(h]h ]h"]h$]h&]uh1jhjhMhjYubj)}(h/``gfp_t gfp`` allocation flags for the tracker h](j)}(h ``gfp_t gfp``h]j)}(hj h]h gfp_t gfp}(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 allocation flags for the trackerh]h allocation flags for the tracker}(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)}(hjHh]h Description}(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.chMhj=ubj )}(hSearch for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.h]jX)}(hSearch for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.h]hSearch for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj^ubah}(h]h ]h"]h$]h&]uh1j hjphMhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h dev_getbyhwaddr_rcu (C function)c.dev_getbyhwaddr_rcuhNtauh1hhj>hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jdev_getbyhwaddr_rcusbc.dev_getbyhwaddr_rcuasbuh1hhjhhhjhMubj)}(h h]h }(hj׷hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hdev_getbyhwaddr_rcuh]j%)}(hjԷh]hdev_getbyhwaddr_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]jҷc.dev_getbyhwaddr_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%)}(hneth]hnet}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hunsigned short typeh](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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj%)}(htypeh]htype}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hconst char *hah](h)}(hjh]hconst}(hjҸhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjθubj)}(h h]h }(hj߸hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjθubj)}(hcharh]hchar}(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%)}(hhah]hha}(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%find a device by its hardware addressh]h%find a device by its hardware address}(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&]jvjqjwjXjxjXjyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net *net`` the applicable net namespace ``unsigned short type`` media type of device ``const char *ha`` hardware address **Description** Search for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about lockingh](jX)}(h**Parameters**h]j)}(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.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.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&]uh1jhjhMhjxubj)}(h-``unsigned short type`` media type of device h](j)}(h``unsigned short type``h]j)}(hjh]hunsigned short type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hmedia type of deviceh]hmedia type of device}(hjӹhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjϹhMhjйubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϹhMhjxubj)}(h$``const char *ha`` hardware address h](j)}(h``const char *ha``h]j)}(hjh]hconst char *ha}(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)}(hhardware addressh]hhardware address}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjxubeh}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hj.h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj\ubj )}(hSearch for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about lockingh]jX)}(hSearch for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about lockingh]hSearch for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about locking}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjDubah}(h]h ]h"]h$]h&]uh1j hjVhMhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_getbyhwaddr (C function)c.dev_getbyhwaddrhNtauh1hhj>hhhNhNubh)}(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&]uh1hhjyhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjhMubh)}(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_getbyhwaddrasbuh1hhjyhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjhMubj;)}(hj>h]h*}(hj˺hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyhhhjhMubj)}(hdev_getbyhwaddrh]j%)}(hjh]hdev_getbyhwaddr}(hjܺhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjغubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjhMubj)}(h6(struct net *net, unsigned short type, const char *ha)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.dev_getbyhwaddrasbuh1hhjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned short typeh](j)}(hunsignedh]hunsigned}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(h h]h }(hjuhhhNhNubah}(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%)}(htypeh]htype}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *hah](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjŻhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hcharh]hchar}(hjӻhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hhah]hha}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(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%find a device by its hardware addressh]h%find a device by its hardware address}(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&]uh1jRhjrhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhj>hNhNubj})}(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)}(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)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjgh]hstruct net *net}(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)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubj)}(h-``unsigned short type`` media type of device h](j)}(h``unsigned short type``h]j)}(hjh]hunsigned short type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hmedia type of deviceh]hmedia type of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubj)}(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}(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&]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)}(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.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubjX)}(h **Context**h]j)}(hj;h]hContext}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubjX)}(hrtnl_lock() must be held.h]hrtnl_lock() must be held.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubjX)}(h **Return**h]j)}(hjbh]hReturn}(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.chMhjBubjX)}(h/pointer to the net_device, or NULL if not foundh]h/pointer to the net_device, or NULL if not found}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_valid_name (C function)c.dev_valid_namehNtauh1hhj>hhhNhNubh)}(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&]uh1hhj߽ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj߽ubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj߽ubj)}(h h]h }(hj hhhNhNubah}(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=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(check if name is okay for network deviceh]h(check if name is okay for network device}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``const char *name`` name string **Description** Network device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.h](jX)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjmubj)}(hhh]j)}(h!``const char *name`` name string 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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubjX)}(h**Description**h]j)}(hj;h]h Description}(hjϾhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˾ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjmubj )}(hrNetwork device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.h]jX)}(hrNetwork device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.h]hrNetwork device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_alloc_name (C function)c.dev_alloc_namehNtauh1hhj>hhhNhNubh)}(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:hjUubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjǿubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubeh}(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)}(hallocate a name for a deviceh]hallocate a name for a device}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj6hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj*hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhj>hNhNubj})}(hX9**Parameters** ``struct net_device *dev`` device ``const char *name`` name format string **Description** Passed a format string - eg "lt``d``" it will try and find a suitable id. It scans list of devices to build up a free map, then chooses the first empty slot. The caller must hold the dev_base or rtnl lock while allocating the name and adding the device in order to avoid duplicates. Limited to bits_per_byte * page size devices (ie 32K on most platforms). Returns the number of the unit assigned or a negative errno code.h](jX)}(h**Parameters**h]j)}(hj[h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjUubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjzh]hstruct net_device *dev}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjtubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjqubj)}(h(``const char *name`` name format string 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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjqubeh}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjUubj )}(hXPassed a format string - eg "lt``d``" it will try and find a suitable id. It scans list of devices to build up a free map, then chooses the first empty slot. The caller must hold the dev_base or rtnl lock while allocating the name and adding the device in order to avoid duplicates. Limited to bits_per_byte * page size devices (ie 32K on most platforms). Returns the number of the unit assigned or a negative errno code.h]jX)}(hXPassed a format string - eg "lt``d``" it will try and find a suitable id. It scans list of devices to build up a free map, then chooses the first empty slot. The caller must hold the dev_base or rtnl lock while allocating the name and adding the device in order to avoid duplicates. Limited to bits_per_byte * page size devices (ie 32K on most platforms). Returns the number of the unit assigned or a negative errno code.h]hXPassed a format string - eg “lt``d``” it will try and find a suitable id. It scans list of devices to build up a free map, then chooses the first empty slot. The caller must hold the dev_base or rtnl lock while allocating the name and adding the device in order to avoid duplicates. Limited to bits_per_byte * page size devices (ie 32K on most platforms). Returns the number of the unit assigned or a negative errno code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_features_change (C function)c.netdev_features_changehNtauh1hhj>hhhNhNubh)}(hhh](h)}(h4void netdev_features_change (struct net_device *dev)h]h)}(h3void netdev_features_change(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhjKhMubj)}(hnetdev_features_changeh]j%)}(hnetdev_features_changeh]hnetdev_features_change}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhjKhMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj`sbc.netdev_features_changeasbuh1hhjvubj)}(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=uh1jhjrubah}(h]h ]h"]h$]h&]j<j=uh1jhj9hhhjKhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhjKhMubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhMhj2hhubjS)}(hhh]jX)}(hdevice changes featuresh]hdevice changes features}(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&]uh1jRhj2hhhjKhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct net_device *dev`` device to cause notification **Description** Called to indicate a device has changed features.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(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)}(h8``struct net_device *dev`` device to cause notification 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.chMhj8ubj)}(hhh]jX)}(hdevice to cause notificationh]hdevice to cause notification}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhj5ubah}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(h1Called to indicate a device has changed features.h]jX)}(hjh]h1Called to indicate a device has changed features.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"__netdev_notify_peers (C function)c.__netdev_notify_peershNtauh1hhj>hhhNhNubh)}(hhh](h)}(h3void __netdev_notify_peers (struct net_device *dev)h]h)}(h2void __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.chM7ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM7ubj)}(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=uh1jhjhhhjhM7ubj)}(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_notify_peersasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjPhhhNhNubah}(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=uh1jhjhhhjhM7ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM7ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM7hjhhubjS)}(hhh]jX)}(h]notify network peers about existence of **dev**, to be called when rtnl lock is already held.h](h(notify network peers about existence of }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh., to be called when rtnl lock is already held.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM7hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM7ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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.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.chM9hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubah}(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)}(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}(hj3hhhNhNubah}(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:hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netdev_notify_peers (C function)c.netdev_notify_peershNtauh1hhj>hhhNhNubh)}(hhh](h)}(h1void netdev_notify_peers (struct net_device *dev)h]h)}(h0void netdev_notify_peers(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMJubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhhjzhMJubj)}(hnetdev_notify_peersh]j%)}(hnetdev_notify_peersh]hnetdev_notify_peers}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhhjzhMJubj)}(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_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=uh1jhjhhhhjzhMJubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjdhhhjzhMJubah}(h]j_ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzhMJhjahhubjS)}(hhh]jX)}(h/notify network peers about existence of **dev**h](h(notify network peers about existence of }(hj,hhhNhNubj)}(h**dev**h]hdev}(hj4hhhNhNubah}(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&]uh1jRhjahhhjzhMJubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRjxjRjyjzj{uh1hhhhj>hNhNubj})}(hX`**Parameters** ``struct net_device *dev`` network device **Description** Generate traffic such that interested network peers are aware of **dev**, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.h](jX)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMNhjVubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMKhjuubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjrubah}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMMhjVubjX)}(hXGenerate traffic such that interested network peers are aware of **dev**, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.h](hAGenerate traffic such that interested network peers are aware of }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMLhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(register_netdevice_notifier (C function)c.register_netdevice_notifierhNtauh1hhj>hhhNhNubh)}(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}(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_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=uh1jhj hhhjhMubj)}(h(struct notifier_block *nb)h]j)}(hstruct notifier_block *nbh](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hnotifier_blockh]hnotifier_block}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j')}jj0sbc.register_netdevice_notifierasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hnbh]hnb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubah}(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!register a network notifier blockh]h!register 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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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&]uh1jhj ubah}(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)}(hjIh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.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.}(hj_hhhNhNubah}(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.}(hjnhhhNhNubah}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*unregister_netdevice_notifier (C function)c.unregister_netdevice_notifierhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h=int unregister_netdevice_notifier (struct notifier_block *nb)h]h)}(hh]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnbh]hnb}(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)}(h#unregister a network notifier blockh]h#unregister a network notifier block}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct notifier_block *nb`` notifier **Description** Unregister a notifier previously registered by register_netdevice_notifier(). The notifier is unlinked into the kernel structures and may then be reused. A negative errno code is returned on a failure. After unregistering unregister and down device events are synthesized for all devices on the device list to the removed notifier to remove the need for special case cleanup code.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjyubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(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.chMhjyubjX)}(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.chMhjyubjX)}(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.chMhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,register_netdevice_notifier_net (C function)!c.register_netdevice_notifier_nethNtauh1hhj>hhhNhNubh)}(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 }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj;hMubj)}(hregister_netdevice_notifier_neth]j%)}(hregister_netdevice_notifier_neth]hregister_netdevice_notifier_net}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)hhhj;hMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjPsb!c.register_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 }(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$]j!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}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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+register a per-netns network notifier blockh]h+register a per-netns network notifier block}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj;hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net *net`` network namespace ``struct notifier_block *nb`` notifier **Description** Register a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure. When registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjyubj)}(hhh](j)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hnetwork namespaceh]hnetwork namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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.chMhjyubjX)}(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.chMhjyubjX)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.unregister_netdevice_notifier_net (C function)#c.unregister_netdevice_notifier_nethNtauh1hhj>hhhNhNubh)}(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}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjthM,ubj)}(h!unregister_netdevice_notifier_neth]j%)}(h!unregister_netdevice_notifier_neth]h!unregister_netdevice_notifier_net}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbhhhjthM,ubj)}(h,(struct net *net, struct notifier_block *nb)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb#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%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct notifier_block *nbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnotifier_blockh]hnotifier_block}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j#c.unregister_netdevice_notifier_netasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnbh]hnb}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjbhhhjthM,ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^hhhjthM,ubah}(h]jYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjthM,hj[hhubjS)}(hhh]jX)}(h-unregister a per-netns network notifier blockh]h-unregister 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.chM,hjhhubah}(h]h ]h"]h$]h&]uh1jRhj[hhhjthM,ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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.chM0hjubj)}(hhh](j)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjubj)}(hhh]jX)}(hnetwork namespaceh]hnetwork namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(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/hj ubj)}(hhh]jX)}(hnotifierh]hnotifier}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hM/hj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hM/hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjKh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjubjX)}(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.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjubjX)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM5hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%call_netdevice_notifiers (C function)c.call_netdevice_notifiershNtauh1hhj>hhhNhNubh)}(hhh](h)}(hHint call_netdevice_notifiers (unsigned long val, struct net_device *dev)h]h)}(hGint call_netdevice_notifiers(unsigned long val, struct net_device *dev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hcall_netdevice_notifiersh]j%)}(hcall_netdevice_notifiersh]hcall_netdevice_notifiers}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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=uh1jhjubj)}(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}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]j')}jjsbc.call_netdevice_notifiersasbuh1hhj)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%)}(hdevh]hdev}(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 call all network notifier blocksh]h call all network notifier blocks}(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{uh1hhhhj>hNhNubj})}(hX-**Parameters** ``unsigned long val`` value passed unmodified to notifier function ``struct net_device *dev`` net_device pointer passed unmodified to notifier function **Description** Call all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().h](jX)}(h**Parameters**h]j)}(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)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``struct net_device *dev`` net_device pointer passed unmodified to notifier function 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}(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&]uh1jhjubjX)}(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.chMhjubj )}(hdCall all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().h]jX)}(hdCall all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().h]hdCall all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj{ubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_forward_skb (C function)c.dev_forward_skbhNtauh1hhj>hhhNhNubh)}(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}(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_forward_skbh]j%)}(hdev_forward_skbh]hdev_forward_skb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h-(struct net_device *dev, struct sk_buff *skb)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.dev_forward_skbasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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+c.dev_forward_skbasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(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=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h loopback an skb to another netifh]h loopback an skb to another netif}(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{uh1hhhhj>hNhNubj})}(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)}(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)}(hdestination network deviceh]hdestination network device}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hM hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hM hjubj)}(h*``struct sk_buff *skb`` buffer to forward h](j)}(h``struct sk_buff *skb``h]j)}(hj^h]hstruct sk_buff *skb}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjXubj)}(hhh]jX)}(hbuffer to forwardh]hbuffer to forward}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshM hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(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:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(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)}(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 hjubah}(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.}(hjhhhNhNubah}(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.}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_nit_active_rcu (C function)c.dev_nit_active_rcuhNtauh1hhj>hhhNhNubh)}(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}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#hhhj4hM ubj)}(hdev_nit_active_rcuh]j%)}(hdev_nit_active_rcuh]hdev_nit_active_rcu}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj#hhhj4hM ubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(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.dev_nit_active_rcuasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubah}(h]h ]h"]h$]h&]j<j=uh1jhj#hhhj4hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj4hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4hM hjhhubjS)}(hhh]jX)}(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&]uh1jRhjhhhj4hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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)}(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)}(hjBh]hconst struct 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.chM hj<ubj)}(hhh]jX)}(h0network device to check for the presence of tapsh]h0network device to check for the presence of taps}(hj[hhhNhNubah}(h]h ]h"]h$]h&]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&]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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netif_set_real_num_rx_queues (C function)c.netif_set_real_num_rx_queueshNtauh1hhj>hhhNhNubh)}(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}(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_real_num_rx_queuesh]j%)}(hnetif_set_real_num_rx_queuesh]hnetif_set_real_num_rx_queues}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM 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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_set_real_num_rx_queuesasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int rxqh](j)}(hunsignedh]hunsigned}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj%)}(hrxqh]hrxq}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(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 actual number of RX queues usedh]h#set actual number of RX 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&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hXV**Parameters** ``struct net_device *dev`` Network device ``unsigned int rxq`` Actual number of RX queues **Description** This must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh](j)}(h*``struct net_device *dev`` Network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hNetwork deviceh]hNetwork device}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hM hj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hM hj ubj)}(h0``unsigned int rxq`` Actual number of RX queues h](j)}(h``unsigned int rxq``h]j)}(hjMh]hunsigned int rxq}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjGubj)}(hhh]jX)}(hActual number of RX queuesh]hActual number of RX queues}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhM hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM 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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj )}(hThis must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.h]jX)}(hThis must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.h]hThis must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netif_set_real_num_queues (C function)c.netif_set_real_num_queueshNtauh1hhj>hhhNhNubh)}(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}(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_real_num_queuesh]j%)}(hnetif_set_real_num_queuesh]hnetif_set_real_num_queues}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h<(struct net_device *dev, unsigned int txq, unsigned int rxq)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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')}jjsbc.netif_set_real_num_queuesasbuh1hhjubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(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}(hjhhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hrxqh]hrxq}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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 actual number of RX and TX queues usedh]h*set actual number of RX and TX queues used}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj6hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhj>hNhNubj})}(hX$**Parameters** ``struct net_device *dev`` Network device ``unsigned int txq`` Actual number of TX queues ``unsigned int rxq`` Actual number of RX queues **Description** Set the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h](jX)}(h**Parameters**h]j)}(hj[h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjUubj)}(hhh](j)}(h*``struct net_device *dev`` Network device h](j)}(h``struct net_device *dev``h]j)}(hjzh]hstruct net_device *dev}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjtubj)}(hhh]jX)}(hNetwork deviceh]hNetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhM hjqubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjqubj)}(h0``unsigned int rxq`` Actual number of RX queues h](j)}(h``unsigned int rxq``h]j)}(hjh]hunsigned int rxq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hActual number of RX queuesh]hActual number of RX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjqubeh}(h]h ]h"]h$]h&]uh1jhjUubjX)}(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 hjUubj )}(hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h]jX)}(hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h]hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj=ubah}(h]h ]h"]h$]h&]uh1j hjOhM hjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_set_tso_max_size (C function)c.netif_set_tso_max_sizehNtauh1hhj>hhhNhNubh)}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhjhM 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=uh1jhjrhhhjhM 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 }(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)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj)}(h h]h }(hjOhhhNhNubah}(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=uh1jhjrhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjhM ubah}(h]jiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjkhhubjS)}(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&]uh1jRhjkhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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)}(hnetdev to updateh]hnetdev to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h2``unsigned int size`` max skb->len of a TSO frame h](j)}(h``unsigned int size``h]j)}(hjh]hunsigned int size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hmax skb->len of a TSO frameh]hmax skb->len of a TSO frame}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]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&]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 }(hjRhhhNhNubj)}(h``GSO_LEGACY_MAX_SIZE``h]hGSO_LEGACY_MAX_SIZE}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh.}(hjRhhhNhNubeh}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_set_tso_max_segs (C function)c.netif_set_tso_max_segshNtauh1hhj>hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_set_tso_max_segsasbuh1hhjubj)}(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)}(hunsigned int segsh](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%)}(hsegsh]hsegs}(hjzhhhNhNubah}(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,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{uh1hhhhj>hNhNubj})}(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}(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)}(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)}(hnetdev to updateh]hnetdev to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h1``unsigned int segs`` max number of TCP segments h](j)}(h``unsigned int segs``h]j)}(hjh]hunsigned int segs}(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)}(hmax number of TCP segmentsh]hmax number of TCP segments}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hM hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM hjubeh}(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&]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 }(hjohhhNhNubj)}(h``GSO_MAX_SEGS``h]h GSO_MAX_SEGS}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh.}(hjohhhNhNubeh}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_inherit_tso_max (C function)c.netif_inherit_tso_maxhNtauh1hhj>hhhNhNubh)}(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}(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_inherit_tso_maxasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htoh]hto}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst struct net_device *fromh](h)}(hjh]hconst}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubh)}(hjh]hstruct}(hjzhhhNhNubah}(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'c.netif_inherit_tso_maxasbuh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h3copy all TSO limits from a lower device to an upperh]h3copy all TSO limits from a lower device to an upper}(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{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct net_device *to`` netdev to update ``const struct net_device *from`` netdev from which to copy the limitsh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh](j)}(h+``struct net_device *to`` netdev to update h](j)}(h``struct net_device *to``h]j)}(hj<h]hstruct net_device *to}(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 hj6ubj)}(hhh]jX)}(hnetdev to updateh]hnetdev to update}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhM hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM hj3ubj)}(hF``const struct net_device *from`` netdev from which to copy the limitsh](j)}(h!``const struct net_device *from``h]j)}(hjuh]hconst struct net_device *from}(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.chM hjoubj)}(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&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM hj3ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netif_get_num_default_rss_queues (C function)"c.netif_get_num_default_rss_queueshNtauh1hhj>hhhNhNubh)}(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&]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_get_num_default_rss_queuesh]j%)}(h netif_get_num_default_rss_queuesh]h netif_get_num_default_rss_queues}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(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)}(hdefault number of RSS queuesh]hdefault number of RSS queues}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.c&hM hj3hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjRubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjwh]hvoid}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjqubj)}(hhh]jX)}(h no argumentsh]h no arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhKhjnubah}(h]h ]h"]h$]h&]uh1jhjRubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjRubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_device_detach (C function)c.netif_device_detachhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h1void netif_device_detach (struct net_device *dev)h]h)}(h0void netif_device_detach(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_detachh]j%)}(hnetif_device_detachh]hnetif_device_detach}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(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')}jjsbc.netif_device_detachasbuh1hhj0ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hmark device as 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&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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&]uh1jWhj hM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.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.}(hjIhhhNhNubah}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_device_attach (C function)c.netif_device_attachhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h1void netif_device_attach (struct net_device *dev)h]h)}(h0void netif_device_attach(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjhM 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=uh1jhjthhhjhM 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 }(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=uh1jhjthhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjhM ubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjmhhubjS)}(hhh]jX)}(hmark device as attachedh]hmark device as attached}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj5hhubah}(h]h ]h"]h$]h&]uh1jRhjmhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjPjxjPjyjzj{uh1hhhhj>hNhNubj})}(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)}(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)}(hjyh]hstruct net_device *dev}(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)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhM hjpubah}(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.chM hjTubjX)}(h:Mark device as attached from system and restart if needed.h]h:Mark device as attached from system and restart if needed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjTubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_loopback_xmit (C function)c.dev_loopback_xmithNtauh1hhj>hhhNhNubh)}(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}(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_loopback_xmith]j%)}(hdev_loopback_xmith]hdev_loopback_xmit}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h7(struct net *net, struct sock *sk, struct sk_buff *skb)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(hneth]hnet}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]j')}jjsbc.dev_loopback_xmitasbuh1hhj2ubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(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$]jpc.dev_loopback_xmitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]jpc.dev_loopback_xmitasbuh1hhjubj)}(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=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)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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)}(hD``struct net *net`` network namespace this loopback is happening in 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)}(h/network namespace this loopback is happening inh]h/network namespace this loopback is happening in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``struct sock *sk`` sk needed to be a netfilter okfn h](j)}(h``struct sock *sk``h]j)}(hj!h]hstruct sock *sk}(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 sk needed to be a netfilter okfnh]h sk needed to be a netfilter okfn}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h*``struct sk_buff *skb`` buffer to transmith](j)}(h``struct sk_buff *skb``h]j)}(hjZh]hstruct sk_buff *skb}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjTubj)}(hhh]jX)}(hbuffer to transmith]hbuffer to transmit}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_queue_xmit (C function)c.__dev_queue_xmithNtauh1hhj>hhhNhNubh)}(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.chMbubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMbubj)}(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=uh1jhjhhhjhMbubj)}(h0(struct sk_buff *skb, struct net_device *sb_dev)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__dev_queue_xmitasbuh1hhjubj)}(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)}(hstruct net_device *sb_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+c.__dev_queue_xmitasbuh1hhj_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%)}(hsb_devh]hsb_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMbubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMbhjhhubjS)}(hhh]jX)}(htransmit a bufferh]htransmit a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMbhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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.chMfhjubj)}(hhh](j)}(h+``struct sk_buff *skb`` buffer to transmit 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.chMchjubj)}(hhh]jX)}(hbuffer to transmith]hbuffer to transmit}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMchj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMchjubj)}(hQ``struct net_device *sb_dev`` suboordinate device used for L2 forwarding offload h](j)}(h``struct net_device *sb_dev``h]j)}(hj^h]hstruct net_device *sb_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.chMdhjXubj)}(hhh]jX)}(h2suboordinate device used for L2 forwarding offloadh]h2suboordinate device used for L2 forwarding offload}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMdhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMdhjubeh}(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.chMfhjubjX)}(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.chMehjubjX)}(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.chMihjubjX)}(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.chMlhjubjX)}(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.chMphjubjE)}(hhh](jE)}(h<0 - buffer successfully transmittedh]jX)}(hjh]h<0 - buffer successfully transmitted}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMqhjubah}(h]h ]h"]h$]h&]uh1jEhjubjE)}(h/positive qdisc return code - NET_XMIT_DROP etc.h]jX)}(hjh]h/positive qdisc return code - NET_XMIT_DROP etc.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMrhjubah}(h]h ]h"]h$]h&]uh1jEhjubjE)}(h)negative errno - other errorsh]jX)}(hj)h]h)negative errno - other errors}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMshj'ubah}(h]h ]h"]h$]h&]uh1jEhjubeh}(h]h ]h"]h$]h&]j]Fj>uh1jEhjhMqhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h rps_may_expire_flow (C function)c.rps_may_expire_flowhNtauh1hhj>hhhNhNubh)}(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}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjrhMubj)}(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=uh1jhjahhhjrhMubj)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u16 rxq_indexh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.rps_may_expire_flowasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h rxq_indexh]h rxq_index}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 flow_idh](h)}(hhh]j%)}(hu32h]hu32}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`modnameN classnameNjj!)}j$]jc.rps_may_expire_flowasbuh1hhjWubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj%)}(hflow_idh]hflow_id}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(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=uh1jhjahhhjrhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]hhhjrhMubah}(h]jXah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrhMhjZhhubjS)}(hhh]jX)}(h3check whether an RFS hardware filter may be removedh]h3check whether an RFS hardware filter may be removed}(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&]uh1jRhjZhhhjrhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net_device *dev`` Device on which the filter was set ``u16 rxq_index`` RX queue index ``u32 flow_id`` Flow ID passed to ndo_rx_flow_steer() ``u16 filter_id`` Filter ID returned by ndo_rx_flow_steer() **Description** Drivers that implement ndo_rx_flow_steer() should periodically call this function for each installed filter and remove the filters for which it returns ``true``.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(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)}(h>``struct net_device *dev`` Device on which the filter was set 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.chMhj7ubj)}(hhh]jX)}(h"Device on which the filter was seth]h"Device on which the filter was set}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhj4ubj)}(h!``u16 rxq_index`` RX queue index h](j)}(h``u16 rxq_index``h]j)}(hjvh]h u16 rxq_index}(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)}(hRX queue indexh]hRX queue index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(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()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(h<``u16 filter_id`` Filter ID returned by ndo_rx_flow_steer() h](j)}(h``u16 filter_id``h]j)}(hjh]h u16 filter_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)Filter ID returned by ndo_rx_flow_steer()h]h)Filter ID returned by ndo_rx_flow_steer()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubeh}(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)}(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 }(hj9hhhNhNubj)}(h``true``h]htrue}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh.}(hj9hhhNhNubeh}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netif_rx (C function) c.__netif_rxhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h$int __netif_rx (struct sk_buff *skb)h]h)}(h#int __netif_rx(struct sk_buff *skb)h](j)}(hinth]hint}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhjhMubj)}(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=uh1jhjvhhhjhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.__netif_rxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjvhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrhhhjhMubah}(h]jmah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjohhubjS)}(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.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jRhjohhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRjxjRjyjzj{uh1hhhhj>hNhNubj})}(hX **Parameters** ``struct sk_buff *skb`` buffer to post **Description** This behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).h](jX)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjVubj)}(hhh]j)}(h'``struct sk_buff *skb`` buffer to post 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjuubj)}(hhh]jX)}(hbuffer to posth]hbuffer to post}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubah}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjVubj )}(hThis behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).h]jX)}(hThis behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).h]hThis behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_rx (C function) c.netif_rxhNtauh1hhj>hhhNhNubh)}(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.chM,ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM,ubj)}(hnetif_rxh]j%)}(hnetif_rxh]hnetif_rx}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM,ubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]j')}jj(sb 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=uh1jhjhhhjhM,ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM,ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM,hjhhubjS)}(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.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 post **Description** This function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function. return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)h](jX)}(h**Parameters**h]j)}(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.chM0hjubj)}(hhh]j)}(h'``struct sk_buff *skb`` buffer to post h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjubj)}(hhh]jX)}(hbuffer to posth]hbuffer to post}(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)}(hjAh]h Description}(hjChhhNhNubah}(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 )}(hXQThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function. return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)h](jX)}(hXThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function.h]hXThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjWubjX)}(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)}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM8hjWubeh}(h]h ]h"]h$]h&]uh1j hjihM.hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_is_rx_handler_busy (C function)c.netdev_is_rx_handler_busyhNtauh1hhj>hhhNhNubh)}(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.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(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=uh1jhjhhhjhMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(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.chMhj[hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjvjxjvjyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct net_device *dev`` device to check **Description** Check if a receive handler is already registered for a given device. Return true if there one. The caller must hold the rtnl_mutex.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]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 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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjzubj )}(hCheck if a receive handler is already registered for a given device. Return true if there one. The caller must hold the rtnl_mutex.h](jX)}(h^Check if a receive handler is already registered for a given device. Return true if there one.h]h^Check if a receive handler is already registered for a given device. Return true if there one.}(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&]uh1j hjhMhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_rx_handler_register (C function)c.netdev_rx_handler_registerhNtauh1hhj>hhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhhjFhMubj)}(hnetdev_rx_handler_registerh]j%)}(hnetdev_rx_handler_registerh]hnetdev_rx_handler_register}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4hhhjFhMubj)}(hN(struct net_device *dev, rx_handler_func_t *rx_handler, void *rx_handler_data)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj[sbc.netdev_rx_handler_registerasbuh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(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}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(hvoid *rx_handler_datah](j)}(hvoidh]hvoid}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hrx_handler_datah]hrx_handler_data}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubeh}(h]h ]h"]h$]h&]j<j=uh1jhj4hhhjFhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0hhhjFhMubah}(h]j+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjFhMhj-hhubjS)}(hhh]jX)}(hregister receive handlerh]hregister receive handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj-hhhjFhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net_device *dev`` device to register a handler for ``rx_handler_func_t *rx_handler`` receive handler to register ``void *rx_handler_data`` data pointer that is used by rx handler **Description** Register a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure. The caller must hold the rtnl_mutex. For a general description of rx_handler, see enum rx_handler_result.h](jX)}(h**Parameters**h]j)}(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)}(hj h]hrx_handler_func_t *rx_handler}(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)}(hreceive handler to registerh]hreceive handler to register}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``void *rx_handler_data`` data pointer that is used by rx handler h](j)}(h``void *rx_handler_data``h]j)}(hjBh]hvoid *rx_handler_data}(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)}(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&]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.chMhjubj )}(hRegister a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure. The caller must hold the rtnl_mutex. For a general description of rx_handler, see enum rx_handler_result.h](jX)}(hRegister a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure.h]hRegister a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure.}(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.chMhjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_rx_handler_unregister (C function)c.netdev_rx_handler_unregisterhNtauh1hhj>hhhNhNubh)}(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.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hnetdev_rx_handler_unregisterh]j%)}(hnetdev_rx_handler_unregisterh]hnetdev_rx_handler_unregister}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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_rx_handler_unregisterasbuh1hhj#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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hunregister receive handlerh]hunregister receive handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct net_device *dev`` device to unregister a handler from **Description** Unregister a receive handler from a device. The caller must hold the rtnl_mutex.h](jX)}(h**Parameters**h]j)}(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 unregister a handler from 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 unregister a handler fromh]h#device to unregister a handler from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj&h]h Description}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(hQUnregister a receive handler from a device. The caller must hold the rtnl_mutex.h](jX)}(h+Unregister a receive handler from a device.h]h+Unregister a receive handler from a device.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj<ubjX)}(h$The caller must hold the rtnl_mutex.h]h$The caller must hold the rtnl_mutex.}(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&]uh1j hjNhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_receive_skb_core (C function)c.netif_receive_skb_corehNtauh1hhj>hhhNhNubh)}(hhh](h)}(h0int netif_receive_skb_core (struct sk_buff *skb)h]h)}(h/int netif_receive_skb_core(struct sk_buff *skb)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hnetif_receive_skb_coreh]j%)}(hnetif_receive_skb_coreh]hnetif_receive_skb_core}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_receive_skb_coreasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj|hhhjhMubah}(h]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjyhhubjS)}(hhh]jX)}(h,special purpose version of netif_receive_skbh]h,special purpose version of netif_receive_skb}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjAhhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\jxj\jyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to process **Description** More direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if ``(page_is_)pfmemalloc``. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jX)}(h**Parameters**h]j)}(hjfh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj`ubj)}(hhh]j)}(h*``struct sk_buff *skb`` buffer to process h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hbuffer to processh]hbuffer to process}(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&]uh1jhj`ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj`ubj )}(hXMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if ``(page_is_)pfmemalloc``. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jX)}(hMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if ``(page_is_)pfmemalloc``.h](hMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if }(hjhhhNhNubj)}(h``(page_is_)pfmemalloc``h]h(page_is_)pfmemalloc}(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.chMhjubjX)}(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.chMhjubjX)}(h^Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh]h^Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was dropped}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ]h"]h$]h&]uh1j hjhMhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_receive_skb (C function)c.netif_receive_skbhNtauh1hhj>hhhNhNubh)}(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}(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 }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhjMhMubj)}(hnetif_receive_skbh]j%)}(hnetif_receive_skbh]hnetif_receive_skb}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhjMhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjbsbc.netif_receive_skbasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj%)}(hskbh]hskb}(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#process receive buffer from networkh]h#process receive buffer from network}(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&]uh1jRhj4hhhjMhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to process **Description** netif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jX)}(h**Parameters**h]j)}(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.chMhjubj)}(hhh]j)}(h*``struct sk_buff *skb`` buffer to process h](j)}(h``struct sk_buff *skb``h]j)}(hj@h]hstruct sk_buff *skb}(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.chMhj:ubj)}(hhh]jX)}(hbuffer to processh]hbuffer to process}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(hXlnetif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jX)}(hnetif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers.h]hnetif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(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.chMhjubjX)}(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.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_receive_skb_list (C function)c.netif_receive_skb_listhNtauh1hhj>hhhNhNubh)}(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}(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)}(hnetif_receive_skb_listh]j%)}(hnetif_receive_skb_listh]hnetif_receive_skb_list}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct list_head *head)h]j)}(hstruct list_head *headh](h)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(h list_headh]h list_head}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jj sbc.netif_receive_skb_listasbuh1hhj!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%)}(hheadh]hhead}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hXF**Parameters** ``struct list_head *head`` list of skbs to process. **Description** Since return value of netif_receive_skb() is normally ignored, and wouldn't be meaningful for a list, this function returns void. This function may only be called from softirq context and interrupts should be enabled.h](jX)}(h**Parameters**h]j)}(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)}(h4``struct list_head *head`` list of skbs to process. h](j)}(h``struct list_head *head``h]j)}(hjh]hstruct list_head *head}(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)}(hlist of skbs to process.h]hlist of skbs to process.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj$h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(hSince return value of netif_receive_skb() is normally ignored, and wouldn't be meaningful for a list, this function returns void. This function may only be called from softirq context and interrupts should be enabled.h](jX)}(hSince return value of netif_receive_skb() is normally ignored, and wouldn't be meaningful for a list, this function returns void.h]hSince return value of netif_receive_skb() is normally ignored, and wouldn’t be meaningful for a list, this function returns void.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj:ubjX)}(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.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj:ubeh}(h]h ]h"]h$]h&]uh1j hjLhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__napi_schedule (C function)c.__napi_schedulehNtauh1hhj>hhhNhNubh)}(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&]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)}(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~hhhjhMubj)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj~hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjhMubah}(h]juah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjwhhubjS)}(hhh]jX)}(hschedule for receiveh]hschedule for receive}(hjAhhhNhNubah}(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&]uh1jRhjwhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhj>hNhNubj})}(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)}(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 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.chMhj|ubj)}(hhh]jX)}(hentry to scheduleh]hentry to schedule}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj]ubjX)}(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.}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_schedule_prep (C function)c.napi_schedule_prephNtauh1hhj>hhhNhNubh)}(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}(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)}(hnapi_schedule_preph]j%)}(hnapi_schedule_preph]hnapi_schedule_prep}(hj"hhhNhNubah}(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}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j')}jj$sbc.napi_schedule_prepasbuh1hhj: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%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubah}(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)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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.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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj<h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(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.}(hjRhhhNhNubah}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#__napi_schedule_irqoff (C function)c.__napi_schedule_irqoffhNtauh1hhj>hhhNhNubh)}(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&]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__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=uh1jhj}hhhjhM#ubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj}hhhjhM#ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjhM#ubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM#hjvhhubjS)}(hhh]jX)}(hschedule for receiveh]hschedule for receive}(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&]uh1jRhjvhhhjhM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhj>hNhNubj})}(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)}(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 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.chM$hj{ubj)}(hhh]jX)}(hentry to scheduleh]hentry to schedule}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj\ubjX)}(h;Variant of __napi_schedule() assuming hard irqs are masked.h]h;Variant of __napi_schedule() assuming hard irqs are masked.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hj\ubjX)}(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.chM'hj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_threaded_enable (C function)c.netif_threaded_enablehNtauh1hhj>hhhNhNubh)}(hhh](h)}(h3void netif_threaded_enable (struct net_device *dev)h]h)}(h2void netif_threaded_enable(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]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)}(hnetif_threaded_enableh]j%)}(hnetif_threaded_enableh]hnetif_threaded_enable}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM$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}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j')}jj3sbc.netif_threaded_enableasbuh1hhjIubj)}(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=uh1jhj hhhjhM$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM$ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM$hjhhubjS)}(hhh]jX)}(henable threaded NAPIsh]henable threaded NAPIs}(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{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net_device *dev`` net_device instance **Description** Enable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped. This function should be called before **dev** is registered.h](jX)}(h**Parameters**h]j)}(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`` net_device instance h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hj ubj)}(hhh]jX)}(hnet_device instanceh]hnet_device instance}(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%hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hjubjX)}(hEnable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped.h]hEnable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjubjX)}(hhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netif_queue_set_napi (C function)c.netif_queue_set_napihNtauh1hhj>hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM5ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM5ubj)}(hnetif_queue_set_napih]j%)}(hnetif_queue_set_napih]hnetif_queue_set_napi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM5ubj)}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_queue_set_napiasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int queue_indexh](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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj%)}(h queue_indexh]h queue_index}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(henum netdev_queue_type typeh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnetdev_queue_typeh]hnetdev_queue_type}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j)c.netif_queue_set_napiasbuh1hhjubj)}(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=uh1jhjubj)}(hstruct napi_struct *napih](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 napi_structh]h napi_struct}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j)c.netif_queue_set_napiasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnapih]hnapi}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM5ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM5ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM5hjhhubjS)}(hhh]jX)}(hAssociate queue with the napih]hAssociate queue with the napi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM5hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM5ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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.chM9hjubj)}(hhh](j)}(hA``struct net_device *dev`` device to which NAPI and queue belong 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.chM6hjubj)}(hhh]jX)}(h%device to which NAPI and queue belongh]h%device to which NAPI and queue belong}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(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.chM7hj ubj)}(hhh]jX)}(hIndex of queueh]hIndex of queue}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hM7hj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hM7hjubj)}(h7``enum netdev_queue_type type`` queue type as RX or TX h](j)}(h``enum netdev_queue_type type``h]j)}(hjIh]henum netdev_queue_type type}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM8hjCubj)}(hhh]jX)}(hqueue type as RX or TXh]hqueue type as RX or TX}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hM8hj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hM8hjubj)}(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.chM9hj|ubj)}(hhh]jX)}(h4NAPI context, pass NULL to clear previously set NAPIh]h4NAPI context, pass NULL to clear previously set NAPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubeh}(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 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.}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_disable (C function)c.napi_disablehNtauh1hhj>hhhNhNubh)}(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}(hj#hhhNhNubah}(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}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j')}jj%sbc.napi_disableasbuh1hhj;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%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubah}(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}(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{uh1hhhhj>hNhNubj})}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj=h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(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.}(hjShhhNhNubah}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_enable (C function) c.napi_enablehNtauh1hhj>hhhNhNubh)}(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&]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)}(h napi_enableh]j%)}(h napi_enableh]h napi_enable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhjhMubj)}(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')}jjsb c.napi_enableasbuh1hhjubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj~hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjhMubah}(h]juah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjwhhubjS)}(hhh]jX)}(henable NAPI schedulingh]henable NAPI scheduling}(hjAhhhNhNubah}(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&]uh1jRhjwhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhj>hNhNubj})}(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)}(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 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.chMhj|ubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj]ubjX)}(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.}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netdev_has_upper_dev (C function)c.netdev_has_upper_devhNtauh1hhj>hhhNhNubh)}(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}(hj"hhhNhNubah}(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}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubh)}(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')}jj$sbc.netdev_has_upper_devasbuh1hhj: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%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubj)}(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$]jxc.netdev_has_upper_devasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h upper_devh]h upper_dev}(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,Check if device is linked to an upper deviceh]h,Check if device is linked to an upper device}(hj1hhhNhNubah}(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&]jvjqjwjIjxjIjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjMubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjrh]hstruct net_device *dev}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjlubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h7``struct net_device *upper_dev`` upper device to check 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.chMhjubj)}(hhh]jX)}(hupper device to checkh]hupper device to check}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjMubjX)}(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.chMhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_has_upper_dev_all_rcu (C function)c.netdev_has_upper_dev_all_rcuhNtauh1hhj>hhhNhNubh)}(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}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj8hM(ubj)}(hnetdev_has_upper_dev_all_rcuh]j%)}(hnetdev_has_upper_dev_all_rcuh]hnetdev_has_upper_dev_all_rcu}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj8hM(ubj)}(h6(struct net_device *dev, struct net_device *upper_dev)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjMsbc.netdev_has_upper_dev_all_rcuasbuh1hhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubj)}(hstruct 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_has_upper_dev_all_rcuasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj# hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h upper_devh]h upper_dev}(hj0 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'hhhj8hM(ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj8hM(ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8hM(hj hhubjS)}(hhh]jX)}(h,Check if device is linked to an upper deviceh]h,Check if device is linked to an upper device}(hjZ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM(hjW hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj8hM(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjr jxjr jyjzj{uh1hhhhj>hNhNubj})}(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)}(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)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj h]hstruct net_device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM)hj ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM)hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM)hj ubj)}(h7``struct net_device *upper_dev`` upper device to check h](j)}(h ``struct net_device *upper_dev``h]j)}(hj h]hstruct net_device *upper_dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]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)}(hupper device to checkh]hupper device to check}(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&]uh1jhjv 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,hjv 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.}(hj% hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hjv ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_has_any_upper_dev (C function)c.netdev_has_any_upper_devhNtauh1hhj>hhhNhNubh)}(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}(hjT hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM>ubj)}(h h]h }(hjb hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP hhhja hM>ubj)}(hnetdev_has_any_upper_devh]j%)}(hnetdev_has_any_upper_devh]hnetdev_has_any_upper_dev}(hjt hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjp ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjP hhhja 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')}jjv sbc.netdev_has_any_upper_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=uh1jhjP hhhja hM>ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjL hhhja hM>ubah}(h]jG ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhja hM>hjI hhubjS)}(hhh]jX)}(h(Check if device is linked to some deviceh]h(Check if device is linked to some 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&]uh1jRhjI hhhja hM>ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+ jxj+ jyjzj{uh1hhhhj>hNhNubj})}(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)}(hj5 h]h Parameters}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3 ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMBhj/ ubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjT h]hstruct net_device *dev}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM?hjN ubj)}(hhh]jX)}(hdeviceh]hdevice}(hjm hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhji hM?hjj ubah}(h]h ]h"]h$]h&]uh1jhjN ubeh}(h]h ]h"]h$]h&]uh1jhji hM?hjK 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.chMAhj/ ubjX)}(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@hj/ ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(netdev_master_upper_dev_get (C function)c.netdev_master_upper_dev_gethNtauh1hhj>hhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jnetdev_master_upper_dev_getsbc.netdev_master_upper_dev_getasbuh1hhj hhhj hMMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMMubj;)}(hj>h]h*}(hj" hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj hhhj hMMubj)}(hnetdev_master_upper_dev_geth]j%)}(hj h]hnetdev_master_upper_dev_get}(hj3 hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjN 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}(hjl hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hji ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjn modnameN classnameNjj!)}j$]j c.netdev_master_upper_dev_getasbuh1hhjJ ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJ ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJ ubj%)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJ ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjF 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)}(hGet master upper deviceh]hGet master upper device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj>hNhNubj})}(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)}(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.chMQhj 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.chMNhj ubj)}(hhh]jX)}(hdeviceh]hdevice}(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&]uh1jhj ubjX)}(h**Description**h]j)}(hjK h]h Description}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMPhj ubjX)}(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.}(hja hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMOhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*netdev_upper_get_next_dev_rcu (C function)c.netdev_upper_get_next_dev_rcuhNtauh1hhj>hhhNhNubh)}(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.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jnetdev_upper_get_next_dev_rcusbc.netdev_upper_get_next_dev_rcuasbuh1hhj hhhj hMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj hhhj hMubj)}(hnetdev_upper_get_next_dev_rcuh]j%)}(hj h]hnetdev_upper_get_next_dev_rcu}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(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&]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 c.netdev_upper_get_next_dev_rcuasbuh1hhjubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct list_head **iterh](h)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(h list_headh]h list_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.netdev_upper_get_next_dev_rcuasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hiterh]hiter}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(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]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhj hhubjS)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj>hNhNubj})}(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)}(hj*h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj$ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjIh]hstruct net_device *dev}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjCubj)}(hhh]jX)}(hdeviceh]hdevice}(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 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.chMhj|ubj)}(hhh]jX)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj$ubjX)}(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.}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*netdev_lower_get_next_private (C function)c.netdev_lower_get_next_privatehNtauh1hhj>hhhNhNubh)}(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.chM7 ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM7 ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM7 ubj)}(hnetdev_lower_get_next_privateh]j%)}(hnetdev_lower_get_next_privateh]hnetdev_lower_get_next_private}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM7 ubj)}(h1(struct net_device *dev, struct list_head **iter)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j')}jj2sbc.netdev_lower_get_next_privateasbuh1hhjHubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(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_next_privateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hiterh]hiter}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM7 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM7 ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM7 hjhhubjS)}(hhh]jX)}(h4Get the next ->private from the lower neighbour listh]h4Get the next ->private from the lower neighbour list}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM7 hjIhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM7 ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdjxjdjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjnh]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM; hjhubj)}(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.chM9 hjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM9 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9 hjubj)}(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&]uh1jhjhubjX)}(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< hjhubjX)}(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; hjhubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_lower_get_next_private_rcu (C function)#c.netdev_lower_get_next_private_rcuhNtauh1hhj>hhhNhNubh)}(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}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMR ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBhhhjThMR ubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBhhhjThMR ubj)}(h!netdev_lower_get_next_private_rcuh]j%)}(h!netdev_lower_get_next_private_rcuh]h!netdev_lower_get_next_private_rcu}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjBhhhjThMR 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')}jjvsb#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%)}(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&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h list_headh]h list_head}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]j#c.netdev_lower_get_next_private_rcuasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hiterh]hiter}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjBhhhjThMR ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>hhhjThMR ubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThMR hj;hhubjS)}(hhh]jX)}(hAGet the next ->private from the lower neighbour list, RCU varianth]hAGet the next ->private from the lower neighbour list, RCU variant}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMR hjhhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhjThMR ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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.chMV 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.chMU hjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMU hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMU 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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMV hjubj)}(hhh]jX)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMV hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMV hjubeh}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMX hjubjX)}(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.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMW hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_lower_get_next (C function)c.netdev_lower_get_nexthNtauh1hhj>hhhNhNubh)}(hhh](h)}(hNvoid * netdev_lower_get_next (struct net_device *dev, struct list_head **iter)h]h)}(hLvoid *netdev_lower_get_next(struct net_device *dev, struct list_head **iter)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMn ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMn ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMn ubj)}(hnetdev_lower_get_nexth]j%)}(hnetdev_lower_get_nexth]hnetdev_lower_get_next}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMn 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_nextasbuh1hhjubj)}(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 list_head **iterh](h)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(hhh]j%)}(h list_headh]h list_head}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]jc.netdev_lower_get_nextasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hiterh]hiter}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(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 hjhhubjS)}(hhh]jX)}(h1Get the next device from the lower neighbour listh]h1Get the next device from the lower neighbour list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMn hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMn ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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.chMr 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.chMp hjubj)}(hhh]jX)}(hdeviceh]hdevice}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMp hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMp hj ubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hjNh]hstruct list_head **iter}(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.chMq hjHubj)}(hhh]jX)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMq hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMq 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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMs 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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMr hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h/netdev_lower_get_first_private_rcu (C function)$c.netdev_lower_get_first_private_rcuhNtauh1hhj>hhhNhNubh)}(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}(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_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=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 }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j')}jjsb$c.netdev_lower_get_first_private_rcuasbuh1hhjubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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)}(hBGet the first ->private from the lower neighbour list, RCU varianth]hBGet the first ->private from the lower neighbour list, RCU variant}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM!ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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)}(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)}(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.}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,netdev_master_upper_dev_get_rcu (C function)!c.netdev_master_upper_dev_get_rcuhNtauh1hhj>hhhNhNubh)}(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}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhjihM!ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j')}jnetdev_master_upper_dev_get_rcusb!c.netdev_master_upper_dev_get_rcuasbuh1hhjXhhhjihM!ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhjihM!ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXhhhjihM!ubj)}(hnetdev_master_upper_dev_get_rcuh]j%)}(hjh]hnetdev_master_upper_dev_get_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXhhhjihM!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!c.netdev_master_upper_dev_get_rcuasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjXhhhjihM!ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjihM!ubah}(h]jOah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjihM!hjQhhubjS)}(hhh]jX)}(hGet master upper deviceh]hGet master upper device}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjThhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhjihM!ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhj>hNhNubj})}(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)}(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.chM!hjsubj)}(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&]uh1jhjsubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hjsubjX)}(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!hjsubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_upper_dev_link (C function)c.netdev_upper_dev_linkhNtauh1hhj>hhhNhNubh)}(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 }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj&hM"ubj)}(hnetdev_upper_dev_linkh]j%)}(hnetdev_upper_dev_linkh]hnetdev_upper_dev_link}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj&hM"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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]j')}jj;sbc.netdev_upper_dev_linkasbuh1hhjQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubj)}(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_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h upper_devh]h upper_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]jc.netdev_upper_dev_linkasbuh1hhj3ubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj&hM"ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj&hM"ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&hM"hj hhubjS)}(hhh]jX)}(hAdd a link to the upper deviceh]hAdd a 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&]uh1jRhj hhhj&hM"ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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)}(hj2h]hstruct net_device *upper_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.chM"hj,ubj)}(hhh]jX)}(hnew upper deviceh]hnew upper device}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhM"hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhM"hjubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjkh]hstruct netlink_ext_ack *extack}(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.chM"hjeubj)}(hhh]jX)}(hnetlink extended ackh]hnetlink extended ack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(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)}(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.}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_master_upper_dev_link (C function)c.netdev_master_upper_dev_linkhNtauh1hhj>hhhNhNubh)}(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&]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_master_upper_dev_linkh]j%)}(hnetdev_master_upper_dev_linkh]hnetdev_master_upper_dev_link}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM"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}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(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')}jjsbc.netdev_master_upper_dev_linkasbuh1hhj$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%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(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$]jbc.netdev_master_upper_dev_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h upper_devh]h upper_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hvoid *upper_privh](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h upper_privh]h upper_priv}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hvoid *upper_infoh](j)}(hvoidh]hvoid}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(h upper_infoh]h upper_info}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(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 }(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$]jbc.netdev_master_upper_dev_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(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=uh1jhjhhhjhM"ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM"ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM"hjhhubjS)}(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"hj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM"ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhj>hNhNubj})}(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)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj+ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjPh]hstruct net_device *dev}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hjJubj)}(hhh]jX)}(hdeviceh]hdevice}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhje hM"hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM"hjGubj)}(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"hjGubj)}(h*``void *upper_priv`` upper device private h](j)}(h``void *upper_priv``h]j)}(hjh]hvoid *upper_priv}(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)}(hupper device privateh]hupper device private}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjGubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM"hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM"hjGubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj4 h]hstruct netlink_ext_ack *extack}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2 ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj. ubj)}(hhh]jX)}(hnetlink extended ackh]hnetlink extended ack}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjI hM"hjJ ubah}(h]h ]h"]h$]h&]uh1jhj. ubeh}(h]h ]h"]h$]h&]uh1jhjI hM"hjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubjX)}(h**Description**h]j)}(hjo h]h Description}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj+ubjX)}(hXFAdds a link to device which is upper to this one. In this case, only one master upper device can be linked, although other non-master devices might be linked as well. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.h]hXFAdds a link to device which is upper to this one. In this case, only one master upper device can be linked, although other non-master devices might be linked as well. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$netdev_upper_dev_unlink (C function)c.netdev_upper_dev_unlinkhNtauh1hhj>hhhNhNubh)}(hhh](h)}(hSvoid netdev_upper_dev_unlink (struct net_device *dev, struct net_device *upper_dev)h]h)}(hRvoid netdev_upper_dev_unlink(struct net_device *dev, struct net_device *upper_dev)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hM#ubj)}(hnetdev_upper_dev_unlinkh]j%)}(hnetdev_upper_dev_unlinkh]hnetdev_upper_dev_unlink}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hM#ubj)}(h6(struct net_device *dev, struct net_device *upper_dev)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj !ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]j')}jj sbc.netdev_upper_dev_unlinkasbuh1hhj ubj)}(h h]h }(hj/!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj=!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hdevh]hdev}(hjJ!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hstruct net_device *upper_devh](h)}(hjh]hstruct}(hjc!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_!ubj)}(h h]h }(hjp!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_!ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]j+!c.netdev_upper_dev_unlinkasbuh1hhj_!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_!ubj;)}(hj>h]h*}(hj!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_!ubj%)}(h upper_devh]h upper_dev}(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)}(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#hj!hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct net_device *dev`` device ``struct net_device *upper_dev`` new upper device **Description** Removes a link to device which is upper to this one. The caller must hold the RTNL lock.h](jX)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj"ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj%"h]hstruct net_device *dev}(hj'"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#"ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj"ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj>"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:"hM#hj;"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj:"hM#hj"ubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hj^"h]hstruct net_device *upper_dev}(hj`"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\"ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjX"ubj)}(hhh]jX)}(hnew upper deviceh]hnew upper device}(hjw"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjs"hM#hjt"ubah}(h]h ]h"]h$]h&]uh1jhjX"ubeh}(h]h ]h"]h$]h&]uh1jhjs"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)}(hXRemoves a link to device which is upper to this one. The caller must hold the RTNL lock.h]hXRemoves a link to device which is upper to this one. The caller must hold the RTNL lock.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_bonding_info_change (C function)c.netdev_bonding_info_changehNtauh1hhj>hhhNhNubh)}(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}(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)}(hnetdev_bonding_info_changeh]j%)}(hnetdev_bonding_info_changeh]hnetdev_bonding_info_change}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"hhhj"hM#ubj)}(hB(struct net_device *dev, struct netdev_bonding_info *bonding_info)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}(hj9#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;#modnameN classnameNjj!)}j$]j')}jj#sbc.netdev_bonding_info_changeasbuh1hhj#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%)}(hdevh]hdev}(hjt#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubj)}(h(struct netdev_bonding_info *bonding_infoh](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%)}(hnetdev_bonding_infoh]hnetdev_bonding_info}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#modnameN classnameNjj!)}j$]jU#c.netdev_bonding_info_changeasbuh1hhj#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 bonding_infoh]h bonding_info}(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!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.chM#hj $hhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj"hM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&$jxj&$jyjzj{uh1hhhhj>hNhNubj})}(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)}(hj0$h]h Parameters}(hj2$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.$ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj*$ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjO$h]hstruct net_device *dev}(hjQ$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM$ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjI$ubj)}(hhh]jX)}(hdeviceh]hdevice}(hjh$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjd$hM#hje$ubah}(h]h ]h"]h$]h&]uh1jhjI$ubeh}(h]h ]h"]h$]h&]uh1jhjd$hM#hjF$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.chM#hj$ubj)}(hhh]jX)}(hinfo to dispatchh]hinfo to dispatch}(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#hjF$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)}(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.}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_get_xmit_slave (C function)c.netdev_get_xmit_slavehNtauh1hhj>hhhNhNubh)}(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.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_get_xmit_slavesbc.netdev_get_xmit_slaveasbuh1hhj%hhhj%hM$ubj)}(h h]h }(hjH%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%hhhj%hM$ubj;)}(hj>h]h*}(hjV%hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%hhhj%hM$ubj)}(hnetdev_get_xmit_slaveh]j%)}(hjE%h]hnetdev_get_xmit_slave}(hjg%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjc%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj%hhhj%hM$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}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%modnameN classnameNjj!)}j$]jC%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%)}(hdevh]hdev}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjz%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$]jC%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}(hjI&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjz%ubj)}(hbool all_slavesh](j)}(hjTh]hbool}(hjb&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^&ubj)}(h h]h }(hjo&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=uh1jhjz%ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj%hhhj%hM$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%hhhj%hM$ubah}(h]j$ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj%hM$hj$hhubjS)}(hhh]jX)}(h#Get the 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.chM$hj&hhubah}(h]h ]h"]h$]h&]uh1jRhj$hhhj%hM$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhj>hNhNubj})}(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}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj&ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj&h]hstruct net_device *dev}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj&ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hM$hj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hM$hj&ubj)}(h#``struct 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.chM$hj'ubj)}(hhh]jX)}(h The packeth]h The packet}(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)}(h5``bool all_slaves`` assume all the slaves are active h](j)}(h``bool all_slaves``h]j)}(hjZ'h]hbool all_slaves}(hj\'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX'ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjT'ubj)}(hhh]jX)}(h assume all the slaves are activeh]h assume all the slaves are active}(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&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)}(hThe reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock. ``NULL`` is returned if no slave is found.h](htThe reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock. }(hj'hhhNhNubj)}(h``NULL``h]hNULL}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh" is returned if no slave is found.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_sk_get_lowest_dev (C function)c.netdev_sk_get_lowest_devhNtauh1hhj>hhhNhNubh)}(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}(hjK(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG(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}(hjf(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjb(ubj)}(h h]h }(hjs(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb(ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(modnameN classnameNjj!)}j$]j'(c.netdev_sk_get_lowest_devasbuh1hhjb(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb(ubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjb(ubj%)}(hdevh]hdev}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjb(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^(ubj)}(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.netdev_sk_get_lowest_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%)}(hskh]hsk}(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)}(h6Get the lowest device in chain given device and socketh]h6Get the lowest device in chain given device and socket}(hjW)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjT)hhubah}(h]h ]h"]h$]h&]uh1jRhj'hhhj'hM$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjo)jxjo)jyjzj{uh1hhhhj>hNhNubj})}(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)}(hjy)h]h Parameters}(hj{)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw)ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjs)ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj)h]hstruct net_device *dev}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj)ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hM$hj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hM$hj)ubj)}(h``struct sock *sk`` the 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj)ubj)}(hhh]jX)}(h the socketh]h the socket}(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&]uh1jhjs)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$hjs)ubjX)}(h1``NULL`` is returned if no lower device is found.h](j)}(h``NULL``h]hNULL}(hj&*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"*ubh) is returned if no lower device is found.}(hj"*hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjs)ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_lower_state_changed (C function)c.netdev_lower_state_changedhNtauh1hhj>hhhNhNubh)}(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}(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 }(hjn*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[*hhhjm*hM%ubj)}(hnetdev_lower_state_changedh]j%)}(hnetdev_lower_state_changedh]hnetdev_lower_state_changed}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[*hhhjm*hM%ubj)}(h6(struct net_device *lower_dev, void *lower_state_info)h](j)}(hstruct net_device *lower_devh](h)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*modnameN classnameNjj!)}j$]j')}jj*sbc.netdev_lower_state_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%)}(h lower_devh]h lower_dev}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubj)}(hvoid *lower_state_infoh](j)}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj +ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj +ubj;)}(hj>h]h*}(hj*+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj +ubj%)}(hlower_state_infoh]hlower_state_info}(hj7+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj +ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj[*hhhjm*hM%ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjW*hhhjm*hM%ubah}(h]jR*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjm*hM%hjT*hhubjS)}(hhh]jX)}(h.Dispatch event about lower device state changeh]h.Dispatch event about lower device state change}(hja+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&]uh1jRhjT*hhhjm*hM%ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjy+jxjy+jyjzj{uh1hhhhj>hNhNubj})}(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)}(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 *lower_dev`` device h](j)}(h ``struct net_device *lower_dev``h]j)}(hj+h]hstruct net_device *lower_dev}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hj+ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hM%hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM%hj+ubj)}(h-``void *lower_state_info`` state to dispatch h](j)}(h``void *lower_state_info``h]j)}(hj+h]hvoid *lower_state_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.chM%hj+ubj)}(hhh]jX)}(hstate to dispatchh]hstate to dispatch}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hM%hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM%hj+ubeh}(h]h ]h"]h$]h&]uh1jhj}+ubjX)}(h**Description**h]j)}(hj,h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hj}+ubjX)}(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.}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_get_flags (C function)c.netif_get_flagshNtauh1hhj>hhhNhNubh)}(hhh](h)}(h;unsigned int netif_get_flags (const struct net_device *dev)h]h)}(h:unsigned int netif_get_flags(const struct net_device *dev)h](j)}(hunsignedh]hunsigned}(hj[,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjW,hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%ubj)}(h h]h }(hjj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW,hhhji,hM%ubj)}(hinth]hint}(hjx,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjW,hhhji,hM%ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW,hhhji,hM%ubj)}(hnetif_get_flagsh]j%)}(hnetif_get_flagsh]hnetif_get_flags}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjW,hhhji,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 }(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_get_flagsasbuh1hhj,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=uh1jhjW,hhhji,hM%ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjS,hhhji,hM%ubah}(h]jN,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhji,hM%hjP,hhubjS)}(hhh]jX)}(hget flags reported to userspaceh]hget flags reported to userspace}(hjR-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hjO-hhubah}(h]h ]h"]h$]h&]uh1jRhjP,hhhji,hM%ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjj-jxjj-jyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``const struct net_device *dev`` device **Description** Get the combination of flag bits exported through APIs to userspace.h](jX)}(h**Parameters**h]j)}(hjt-h]h Parameters}(hjv-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr-ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hjn-ubj)}(hhh]j)}(h(``const struct net_device *dev`` device h](j)}(h ``const struct net_device *dev``h]j)}(hj-h]hconst struct net_device *dev}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hj-ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hM%hj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hM%hj-ubah}(h]h ]h"]h$]h&]uh1jhjn-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%hjn-ubjX)}(hDGet the combination of flag bits exported through APIs to userspace.h]hDGet the combination of flag bits exported through APIs to userspace.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hjn-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(netif_pre_changeaddr_notify (C function)c.netif_pre_changeaddr_notifyhNtauh1hhj>hhhNhNubh)}(hhh](h)}(hjint netif_pre_changeaddr_notify (struct net_device *dev, const char *addr, struct netlink_ext_ack *extack)h]h)}(hiint netif_pre_changeaddr_notify(struct net_device *dev, const char *addr, struct netlink_ext_ack *extack)h](j)}(hinth]hint}(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)}(hnetif_pre_changeaddr_notifyh]j%)}(hnetif_pre_changeaddr_notifyh]hnetif_pre_changeaddr_notify}(hj4.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj!.hM&ubj)}(hJ(struct net_device *dev, const char *addr, struct netlink_ext_ack *extack)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjP.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjL.ubj)}(h h]h }(hj].hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL.ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjn.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjk.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjp.modnameN classnameNjj!)}j$]j')}jj6.sbc.netif_pre_changeaddr_notifyasbuh1hhjL.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL.ubj;)}(hj>h]h*}(hj.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjL.ubj%)}(hdevh]hdev}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjH.ubj)}(hconst char *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.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%)}(haddrh]haddr}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjH.ubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ubj)}(h h]h }(hj,/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hj=/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?/modnameN classnameNjj!)}j$]j.c.netif_pre_changeaddr_notifyasbuh1hhj/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%)}(hextackh]hextack}(hjv/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjH.ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj.hhhj!.hM&ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj .hhhj!.hM&ubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!.hM&hj.hhubjS)}(hhh]jX)}(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&hj/hhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhj!.hM&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct net_device *dev`` device ``const char *addr`` new address ``struct netlink_ext_ack *extack`` netlink extended ack **Return** 0 on success, -errno on failure.h](jX)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj/ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj/h]hstruct net_device *dev}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj/ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hM&hj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hM&hj/ubj)}(h!``const char *addr`` new address h](j)}(h``const char *addr``h]j)}(hj0h]hconst char *addr}(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)}(h new addressh]h new address}(hj30hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/0hM&hj00ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj/0hM&hj/ubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjS0h]hstruct netlink_ext_ack *extack}(hjU0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ0ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjM0ubj)}(hhh]jX)}(hnetlink extended ackh]hnetlink extended ack}(hjl0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjh0hM&hji0ubah}(h]h ]h"]h$]h&]uh1jhjM0ubeh}(h]h ]h"]h$]h&]uh1jhjh0hM&hj/ubeh}(h]h ]h"]h$]h&]uh1jhj/ubjX)}(h **Return**h]j)}(hj0h]hReturn}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj/ubjX)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hj0hhhNhNubah}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netif_get_port_parent_id (C function)c.netif_get_port_parent_idhNtauh1hhj>hhhNhNubh)}(hhh](h)}(heint netif_get_port_parent_id (struct net_device *dev, struct netdev_phys_item_id *ppid, bool recurse)h]h)}(hdint netif_get_port_parent_id(struct net_device *dev, struct netdev_phys_item_id *ppid, bool recurse)h](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMP'ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhj0hMP'ubj)}(hnetif_get_port_parent_idh]j%)}(hnetif_get_port_parent_idh]hnetif_get_port_parent_id}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0hhhj0hMP'ubj)}(hH(struct net_device *dev, struct netdev_phys_item_id *ppid, bool recurse)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj 1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 1ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj.1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj01modnameN classnameNjj!)}j$]j')}jj0sbc.netif_get_port_parent_idasbuh1hhj 1ubj)}(h h]h }(hjN1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 1ubj;)}(hj>h]h*}(hj\1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj 1ubj%)}(hdevh]hdev}(hji1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(h struct netdev_phys_item_id *ppidh](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~1ubh)}(hhh]j%)}(hnetdev_phys_item_idh]hnetdev_phys_item_id}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]jJ1c.netif_get_port_parent_idasbuh1hhj~1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~1ubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~1ubj%)}(hppidh]hppid}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(h bool recurseh](j)}(hjTh]hbool}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj%)}(hrecurseh]hrecurse}(hj 2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj0hhhj0hMP'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0hhhj0hMP'ubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hMP'hj0hhubjS)}(hhh]jX)}(h'Get the device's port parent identifierh]h)Get the device’s port parent identifier}(hj72hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMP'hj42hhubah}(h]h ]h"]h$]h&]uh1jRhj0hhhj0hMP'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjO2jxjO2jyjzj{uh1hhhhj>hNhNubj})}(hXA**Parameters** ``struct net_device *dev`` network device ``struct netdev_phys_item_id *ppid`` pointer to a storage for the port's parent identifier ``bool recurse`` allow/disallow recursion to lower devices **Description** Get the devices's port parent identifier. **Return** 0 on success, -errno on failure.h](jX)}(h**Parameters**h]j)}(hjY2h]h Parameters}(hj[2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW2ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMT'hjS2ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjx2h]hstruct net_device *dev}(hjz2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv2ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQ'hjr2ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMQ'hj2ubah}(h]h ]h"]h$]h&]uh1jhjr2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMQ'hjo2ubj)}(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)}(hj2h]h struct netdev_phys_item_id *ppid}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMR'hj2ubj)}(hhh]jX)}(h5pointer to a storage for the port's parent identifierh]h7pointer to a storage for the port’s parent identifier}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMR'hj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMR'hjo2ubj)}(h;``bool recurse`` allow/disallow recursion to lower devices h](j)}(h``bool recurse``h]j)}(hj2h]h bool recurse}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMS'hj2ubj)}(hhh]jX)}(h)allow/disallow recursion to lower devicesh]h)allow/disallow recursion to lower devices}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMS'hj3ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMS'hjo2ubeh}(h]h ]h"]h$]h&]uh1jhjS2ubjX)}(h**Description**h]j)}(hj%3h]h Description}(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.chMU'hjS2ubjX)}(h)Get the devices's port parent identifier.h]h+Get the devices’s port parent identifier.}(hj;3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMT'hjS2ubjX)}(h **Return**h]j)}(hjL3h]hReturn}(hjN3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ3ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMV'hjS2ubjX)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hjb3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMW'hjS2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_port_same_parent_id (C function)c.netdev_port_same_parent_idhNtauh1hhj>hhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM{'ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhj3hM{'ubj)}(hnetdev_port_same_parent_idh]j%)}(hnetdev_port_same_parent_idh]hnetdev_port_same_parent_id}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhj3hM{'ubj)}(h,(struct net_device *a, struct net_device *b)h](j)}(hstruct net_device *ah](h)}(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.netdev_port_same_parent_idasbuh1hhj3ubj)}(h h]h }(hj 4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hah]ha}(hj&4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubj)}(hstruct net_device *bh](h)}(hjh]hstruct}(hj?4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;4ubj)}(h h]h }(hjL4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;4ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj]4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZ4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_4modnameN classnameNjj!)}j$]j4c.netdev_port_same_parent_idasbuh1hhj;4ubj)}(h h]h }(hj{4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;4ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;4ubj%)}(hj~h]hb}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhj3hM{'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhj3hM{'ubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hM{'hj3hhubjS)}(hhh]jX)}(hDIndicate if two network devices have the same port parent identifierh]hDIndicate if two network devices have the same port parent identifier}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM{'hj4hhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhj3hM{'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhj>hNhNubj})}(hq**Parameters** ``struct net_device *a`` first network device ``struct net_device *b`` second network deviceh](jX)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hj4ubj)}(hhh](j)}(h.``struct net_device *a`` first network device h](j)}(h``struct net_device *a``h]j)}(hj5h]hstruct net_device *a}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM}'hj4ubj)}(hhh]jX)}(hfirst network deviceh]hfirst network device}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hM}'hj5ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj5hM}'hj4ubj)}(h.``struct net_device *b`` second network deviceh](j)}(h``struct net_device *b``h]j)}(hj95h]hstruct net_device *b}(hj;5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj75ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hj35ubj)}(hhh]jX)}(hsecond network deviceh]hsecond network device}(hjR5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~'hjO5ubah}(h]h ]h"]h$]h&]uh1jhj35ubeh}(h]h ]h"]h$]h&]uh1jhjN5hM'hj4ubeh}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_update_features (C function)c.netdev_update_featureshNtauh1hhj>hhhNhNubh)}(hhh](h)}(h4void netdev_update_features (struct net_device *dev)h]h)}(h3void netdev_update_features(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.+ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhj5hM.+ubj)}(hnetdev_update_featuresh]j%)}(hnetdev_update_featuresh]hnetdev_update_features}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj5hhhj5hM.+ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j')}jj5sbc.netdev_update_featuresasbuh1hhj5ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hdevh]hdev}(hj)6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubah}(h]h ]h"]h$]h&]j<j=uh1jhj5hhhj5hM.+ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhj5hM.+ubah}(h]j5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5hM.+hj5hhubjS)}(hhh]jX)}(hrecalculate device featuresh]hrecalculate device features}(hjS6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.+hjP6hhubah}(h]h ]h"]h$]h&]uh1jRhj5hhhj5hM.+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjk6jxjk6jyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net_device *dev`` the device to check **Description** Recalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h](jX)}(h**Parameters**h]j)}(hju6h]h Parameters}(hjw6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs6ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2+hjo6ubj)}(hhh]j)}(h/``struct net_device *dev`` the device to check 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/+hj6ubj)}(hhh]jX)}(hthe device to checkh]hthe device to check}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hM/+hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM/+hj6ubah}(h]h ]h"]h$]h&]uh1jhjo6ubjX)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1+hjo6ubj )}(hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h]jX)}(hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h]hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0+hj6ubah}(h]h ]h"]h$]h&]uh1j hj6hM0+hjo6ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_change_features (C function)c.netdev_change_featureshNtauh1hhj>hhhNhNubh)}(hhh](h)}(h4void netdev_change_features (struct net_device *dev)h]h)}(h3void netdev_change_features(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM=+ubj)}(h h]h }(hj-7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhj,7hM=+ubj)}(hnetdev_change_featuresh]j%)}(hnetdev_change_featuresh]hnetdev_change_features}(hj?7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhj,7hM=+ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj[7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjW7ubj)}(h h]h }(hjh7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW7ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjy7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjv7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{7modnameN classnameNjj!)}j$]j')}jjA7sbc.netdev_change_featuresasbuh1hhjW7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW7ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjW7ubj%)}(hdevh]hdev}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjW7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjS7ubah}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhj,7hM=+ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhj,7hM=+ubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,7hM=+hj7hhubjS)}(hhh]jX)}(hrecalculate device featuresh]hrecalculate device features}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM=+hj7hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhj,7hM=+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhj>hNhNubj})}(hXa**Parameters** ``struct net_device *dev`` the device to check **Description** Recalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.h](jX)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMA+hj7ubj)}(hhh]j)}(h/``struct net_device *dev`` the device to check h](j)}(h``struct net_device *dev``h]j)}(hj8h]hstruct net_device *dev}(hj!8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM>+hj8ubj)}(hhh]jX)}(hthe device to checkh]hthe device to check}(hj88hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj48hM>+hj58ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj48hM>+hj8ubah}(h]h ]h"]h$]h&]uh1jhj7ubjX)}(h**Description**h]j)}(hjZ8h]h Description}(hj\8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX8ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM@+hj7ubj )}(hRecalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.h]jX)}(hRecalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.h]hRecalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.}(hjt8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM?+hjp8ubah}(h]h ]h"]h$]h&]uh1j hj8hM?+hj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netif_stacked_transfer_operstate (C function)"c.netif_stacked_transfer_operstatehNtauh1hhj>hhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMN+ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhj8hMN+ubj)}(h netif_stacked_transfer_operstateh]j%)}(h netif_stacked_transfer_operstateh]h netif_stacked_transfer_operstate}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhj8hMN+ubj)}(h:(const struct net_device *rootdev, struct net_device *dev)h](j)}(h const struct net_device *rootdevh](h)}(hjh]hconst}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!9modnameN classnameNjj!)}j$]j')}jj8sb"c.netif_stacked_transfer_operstateasbuh1hhj8ubj)}(h h]h }(hj?9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hjM9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hrootdevh]hrootdev}(hjZ9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubj)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjs9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjo9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo9ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]j;9"c.netif_stacked_transfer_operstateasbuh1hhjo9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo9ubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjo9ubj%)}(hdevh]hdev}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjo9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj8hhhj8hMN+ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8hhhj8hMN+ubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8hMN+hj8hhubjS)}(hhh]jX)}(htransfer operstateh]htransfer operstate}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMN+hj9hhubah}(h]h ]h"]h$]h&]uh1jRhj8hhhj8hMN+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj :jxj :jyjzj{uh1hhhhj>hNhNubj})}(hXr**Parameters** ``const struct net_device *rootdev`` the root or lower level device to transfer state from ``struct net_device *dev`` the device to transfer operstate to **Description** Transfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).h](jX)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMR+hj:ubj)}(hhh](j)}(h[``const struct net_device *rootdev`` the root or lower level device to transfer state from h](j)}(h$``const struct net_device *rootdev``h]j)}(hj5:h]h const struct net_device *rootdev}(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.chMO+hj/:ubj)}(hhh]jX)}(h5the root or lower level device to transfer state fromh]h5the root or lower level device to transfer state from}(hjN:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJ:hMO+hjK:ubah}(h]h ]h"]h$]h&]uh1jhj/:ubeh}(h]h ]h"]h$]h&]uh1jhjJ:hMO+hj,:ubj)}(h?``struct net_device *dev`` the device to transfer operstate to h](j)}(h``struct net_device *dev``h]j)}(hjn:h]hstruct net_device *dev}(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.chMP+hjh:ubj)}(hhh]jX)}(h#the device to transfer operstate toh]h#the device to transfer operstate to}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMP+hj:ubah}(h]h ]h"]h$]h&]uh1jhjh:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMP+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.chMR+hj:ubj )}(hTransfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).h]jX)}(hTransfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).h]hTransfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQ+hj:ubah}(h]h ]h"]h$]h&]uh1j hj:hMQ+hj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hregister_netdevice (C function)c.register_netdevicehNtauh1hhj>hhhNhNubh)}(hhh](h)}(h/int register_netdevice (struct net_device *dev)h]h)}(h.int register_netdevice(struct net_device *dev)h](j)}(hinth]hint}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ,ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hhhj;hM ,ubj)}(hregister_netdeviceh]j%)}(hregister_netdeviceh]hregister_netdevice}(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}(hj5;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1;ubj)}(h h]h }(hjB;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1;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.register_netdeviceasbuh1hhj1;ubj)}(h h]h }(hjs;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1;ubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1;ubj%)}(hdevh]hdev}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1;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)}(hregister a network deviceh]hregister a network device}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ,hj;hhubah}(h]h ]h"]h$]h&]uh1jRhj:hhhj;hM ,ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhj>hNhNubj})}(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)}(hj4<h]h Description}(hj6<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2<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 }(hjJ<hhhNhNubj)}(h``NETDEV_REGISTER``h]hNETDEV_REGISTER}(hjR<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ<ubh message is sent to the netdev notifier chain. Callers must hold the rtnl lock - you may want register_netdev() instead of this.}(hjJ<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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hregister_netdev (C function)c.register_netdevhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h,int register_netdev (struct net_device *dev)h]h)}(h+int register_netdev(struct net_device *dev)h](j)}(hinth]hint}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhj<hM,ubj)}(hregister_netdevh]j%)}(hregister_netdevh]hregister_netdev}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhj<hM,ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<modnameN classnameNjj!)}j$]j')}jj<sbc.register_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=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)}(hregister a network deviceh]hregister a network device}(hjK=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hjH=hhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhj<hM,ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjc=jxjc=jyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net_device *dev`` device to register **Description** Take a completed network device structure and add it to the kernel interfaces. A ``NETDEV_REGISTER`` message is sent to the netdev notifier chain. 0 is returned on success. A negative errno code is returned on a failure to set up the device, or if the name is a duplicate. This is a wrapper around register_netdevice that takes the rtnl semaphore and expands the device name if you passed a format string to alloc_netdev.h](jX)}(h**Parameters**h]j)}(hjm=h]h Parameters}(hjo=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk=ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hjg=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&]uh1jhjg=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,hjg=ubj )}(hXTake a completed network device structure and add it to the kernel interfaces. A ``NETDEV_REGISTER`` message is sent to the netdev notifier chain. 0 is returned on success. A negative errno code is returned on a failure to set up the device, or if the name is a duplicate. This is a wrapper around register_netdevice that takes the rtnl semaphore and expands the device name if you passed a format string to alloc_netdev.h](jX)}(hXTake a completed network device structure and add it to the kernel interfaces. A ``NETDEV_REGISTER`` message is sent to the netdev notifier chain. 0 is returned on success. A negative errno code is returned on a failure to set up the device, or if the name is a duplicate.h](hQTake a completed network device structure and add it to the kernel interfaces. A }(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. 0 is returned on success. A negative errno code is returned on a failure to set up the device, or if the name is a duplicate.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hj=ubjX)}(hThis is a wrapper around register_netdevice that takes the rtnl semaphore and expands the device name if you passed a format string to alloc_netdev.h]hThis is a wrapper around register_netdevice that takes the rtnl semaphore and expands the device name if you passed a format string to alloc_netdev.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hj=ubeh}(h]h ]h"]h$]h&]uh1j hj>hM,hjg=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_stats (C function)c.dev_get_statshNtauh1hhj>hhhNhNubh)}(hhh](h)}(hdstruct rtnl_link_stats64 * dev_get_stats (struct net_device *dev, struct rtnl_link_stats64 *storage)h]h)}(hbstruct rtnl_link_stats64 *dev_get_stats(struct net_device *dev, struct rtnl_link_stats64 *storage)h](h)}(hjh]hstruct}(hj7>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3>hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM .ubj)}(h h]h }(hjE>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3>hhhjD>hM .ubh)}(hhh]j%)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hjV>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjS>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjX>modnameN classnameNjj!)}j$]j')}j dev_get_statssbc.dev_get_statsasbuh1hhj3>hhhjD>hM .ubj)}(h h]h }(hjw>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3>hhhjD>hM .ubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3>hhhjD>hM .ubj)}(h dev_get_statsh]j%)}(hjt>h]h dev_get_stats}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3>hhhjD>hM .ubj)}(h;(struct net_device *dev, struct rtnl_link_stats64 *storage)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>ubj)}(h h]h }(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$]jr>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%)}(hdevh]hdev}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubj)}(h!struct rtnl_link_stats64 *storageh](h)}(hjh]hstruct}(hj!?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hj.?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubh)}(hhh]j%)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hj??hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjc.dev_get_statsasbuh1hhj?ubj)}(h h]h }(hj]?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hjk?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(hstorageh]hstorage}(hjx?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=uh1jhj3>hhhjD>hM .ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/>hhhjD>hM .ubah}(h]j*>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjD>hM .hj,>hhubjS)}(hhh]jX)}(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 .hj?hhubah}(h]h ]h"]h$]h&]uh1jRhj,>hhhjD>hM .ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net_device *dev`` device to get statistics from ``struct rtnl_link_stats64 *storage`` place to store stats **Description** Get network statistics from device. Return **storage**. The device driver may provide its own method by setting dev->netdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.h](jX)}(h**Parameters**h]j)}(hj?h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$.hj?ubj)}(hhh](j)}(h9``struct net_device *dev`` device to get statistics from h](j)}(h``struct net_device *dev``h]j)}(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 *storage`` place to store stats h](j)}(h%``struct rtnl_link_stats64 *storage``h]j)}(hj@h]h!struct rtnl_link_stats64 *storage}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM".hj@ubj)}(hhh]jX)}(hplace to store statsh]hplace to store stats}(hj5@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1@hM".hj2@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj1@hM".hj?ubeh}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$.hj?ubj )}(hGet network statistics from device. Return **storage**. The device driver may provide its own method by setting dev->netdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.h]jX)}(hGet network statistics from device. Return **storage**. The device driver may provide its own method by setting dev->netdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.h](h+Get network statistics from device. Return }(hjq@hhhNhNubj)}(h **storage**h]hstorage}(hjy@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq@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.}(hjq@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#.hjm@ubah}(h]h ]h"]h$]h&]uh1j hj@hM#.hj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dev_fetch_sw_netstats (C function)c.dev_fetch_sw_netstatshNtauh1hhj>hhhNhNubh)}(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}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@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}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubh)}(hhh]j%)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jj@sbc.dev_fetch_sw_netstatsasbuh1hhj@ubj)}(h h]h }(hj3AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj;)}(hj>h]h*}(hjAAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@ubj%)}(hsh]hs}(hjNAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(h0const struct pcpu_sw_netstats __percpu *netstatsh](h)}(hjh]hconst}(hjgAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcAubj)}(h h]h }(hjtAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcAubh)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcAubh)}(hhh]j%)}(hpcpu_sw_netstatsh]hpcpu_sw_netstats}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j/Ac.dev_fetch_sw_netstatsasbuh1hhjcAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcAubh__percpu}(hjcAhhhNhNubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcAubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcAubj%)}(hnetstatsh]hnetstats}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcAubeh}(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%get per-cpu network device statisticsh]h%get per-cpu network device statistics}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM].hjBhhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhj@hM].ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-Bjxj-Bjyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct rtnl_link_stats64 *s`` place to store stats ``const struct pcpu_sw_netstats __percpu *netstats`` per-cpu network stats to read from **Description** Read per-cpu network statistics and populate the related fields in **s**.h](jX)}(h**Parameters**h]j)}(hj7Bh]h Parameters}(hj9BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Bubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMa.hj1Bubj)}(hhh](j)}(h5``struct rtnl_link_stats64 *s`` place to store stats h](j)}(h``struct rtnl_link_stats64 *s``h]j)}(hjVBh]hstruct rtnl_link_stats64 *s}(hjXBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTBubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM^.hjPBubj)}(hhh]jX)}(hplace to store statsh]hplace to store stats}(hjoBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkBhM^.hjlBubah}(h]h ]h"]h$]h&]uh1jhjPBubeh}(h]h ]h"]h$]h&]uh1jhjkBhM^.hjMBubj)}(hX``const struct pcpu_sw_netstats __percpu *netstats`` per-cpu network stats to read from h](j)}(h4``const struct pcpu_sw_netstats __percpu *netstats``h]j)}(hjBh]h0const struct pcpu_sw_netstats __percpu *netstats}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM_.hjBubj)}(hhh]jX)}(h"per-cpu network stats to read fromh]h"per-cpu network stats to read from}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM_.hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM_.hjMBubeh}(h]h ]h"]h$]h&]uh1jhj1BubjX)}(h**Description**h]j)}(hjBh]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMa.hj1Bubj )}(hIRead per-cpu network statistics and populate the related fields in **s**.h]jX)}(hjBh](hCRead per-cpu network statistics and populate the related fields in }(hjBhhhNhNubj)}(h**s**h]hs}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM`.hjBubah}(h]h ]h"]h$]h&]uh1j hjChM`.hj1Bubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_tstats64 (C function)c.dev_get_tstats64hNtauh1hhj>hhhNhNubh)}(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*ChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ChhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj)}(h h]h }(hj9ChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&Chhhj8ChM.ubj)}(hdev_get_tstats64h]j%)}(hdev_get_tstats64h]hdev_get_tstats64}(hjKChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj&Chhhj8ChM.ubj)}(h5(struct net_device *dev, struct rtnl_link_stats64 *s)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjgChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcCubj)}(h h]h }(hjtChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcCubh)}(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')}jjMCsbc.dev_get_tstats64asbuh1hhjcCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcCubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcCubj%)}(hdevh]hdev}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_Cubj)}(hstruct rtnl_link_stats64 *sh](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]jCc.dev_get_tstats64asbuh1hhjCubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hj#DhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hjPAh]hs}(hj0DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_Cubeh}(h]h ]h"]h$]h&]j<j=uh1jhj&Chhhj8ChM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj"Chhhj8ChM.ubah}(h]jCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8ChM.hjChhubjS)}(hhh]jX)}(hndo_get_stats64 implementationh]hndo_get_stats64 implementation}(hjYDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjVDhhubah}(h]h ]h"]h$]h&]uh1jRhjChhhj8ChM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqDjxjqDjyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct net_device *dev`` device to get statistics from ``struct rtnl_link_stats64 *s`` place to store stats **Description** Populate **s** from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.h](jX)}(h**Parameters**h]j)}(hj{Dh]h Parameters}(hj}DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyDubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjuDubj)}(hhh](j)}(h9``struct net_device *dev`` device to get statistics from 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjDubj)}(hhh]jX)}(hdevice to get statistics fromh]hdevice to get statistics from}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhM.hjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhM.hjDubj)}(h5``struct rtnl_link_stats64 *s`` place to store stats h](j)}(h``struct rtnl_link_stats64 *s``h]j)}(hjDh]hstruct rtnl_link_stats64 *s}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjDubj)}(hhh]jX)}(hplace to store statsh]hplace to store stats}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhM.hjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhM.hjDubeh}(h]h ]h"]h$]h&]uh1jhjuDubjX)}(h**Description**h]j)}(hjEh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Eubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjuDubj )}(hZPopulate **s** from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.h]jX)}(hZPopulate **s** from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.h](h Populate }(hj(EhhhNhNubj)}(h**s**h]hs}(hj0EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(EubhL from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.}(hj(EhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj$Eubah}(h]h ]h"]h$]h&]uh1j hjHEhM.hjuDubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_sw_irq_coalesce_default_on (C function)#c.netdev_sw_irq_coalesce_default_onhNtauh1hhj>hhhNhNubh)}(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}(hjoEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkEhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj)}(h h]h }(hj~EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkEhhhj}EhM.ubj)}(h!netdev_sw_irq_coalesce_default_onh]j%)}(h!netdev_sw_irq_coalesce_default_onh]h!netdev_sw_irq_coalesce_default_on}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjkEhhhj}EhM.ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jjEsb#c.netdev_sw_irq_coalesce_default_onasbuh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hdevh]hdev}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubah}(h]h ]h"]h$]h&]j<j=uh1jhjkEhhhj}EhM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjgEhhhj}EhM.ubah}(h]jbEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}EhM.hjdEhhubjS)}(hhh]jX)}(h#enable SW IRQ coalescing by defaulth]h#enable SW IRQ coalescing by default}(hj/FhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj,Fhhubah}(h]h ]h"]h$]h&]uh1jRhjdEhhhj}EhM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjGFjxjGFjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjQFh]h Parameters}(hjSFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOFubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjKFubj)}(hhh]j)}(hB``struct net_device *dev`` netdev to enable the IRQ coalescing on h](j)}(h``struct net_device *dev``h]j)}(hjpFh]hstruct net_device *dev}(hjrFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnFubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjjFubj)}(hhh]jX)}(h&netdev to enable the IRQ coalescing onh]h&netdev to enable the IRQ coalescing on}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhM.hjFubah}(h]h ]h"]h$]h&]uh1jhjjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM.hjgFubah}(h]h ]h"]h$]h&]uh1jhjKFubjX)}(h**Description**h]j)}(hjFh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjKFubjX)}(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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjKFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_netdev_mqs (C function)c.alloc_netdev_mqshNtauh1hhj>hhhNhNubh)}(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}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjFhM.ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Gubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]j')}jalloc_netdev_mqssbc.alloc_netdev_mqsasbuh1hhjFhhhjFhM.ubj)}(h h]h }(hj0GhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjFhM.ubj;)}(hj>h]h*}(hj>GhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFhhhjFhM.ubj)}(halloc_netdev_mqsh]j%)}(hj-Gh]halloc_netdev_mqs}(hjOGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjFhhhjFhM.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}(hjjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfGubj)}(h h]h }(hjxGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfGubj%)}(h sizeof_privh]h sizeof_priv}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbGubj)}(hconst char *nameh](h)}(hjh]hconst}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(hcharh]hchar}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hnameh]hname}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbGubj)}(hunsigned char name_assign_typeh](j)}(hunsignedh]hunsigned}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hj HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(hcharh]hchar}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hj&HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj%)}(hname_assign_typeh]hname_assign_type}(hj4HhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbGubj)}(h!void (*setup)(struct net_device*)h](j)}(hvoidh]hvoid}(hjMHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIHubj)}(h h]h }(hj[HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIHubj;)}(hjh]h(}(hjiHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIHubj;)}(hj>h]h*}(hjvHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIHubj%)}(hsetuph]hsetup}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIHubj;)}(hjh]h)}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIHubj;)}(hjh]h(}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIHubh)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIHubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j+Gc.alloc_netdev_mqsasbuh1hhjIHubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIHubj;)}(hjh]h)}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbGubj)}(hunsigned int txqsh](j)}(hunsignedh]hunsigned}(hj IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(hinth]hint}(hj(IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj)}(h h]h }(hj6IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj%)}(htxqsh]htxqs}(hjDIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbGubj)}(hunsigned int rxqsh](j)}(hunsignedh]hunsigned}(hj]IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYIubj)}(h h]h }(hjkIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYIubj)}(hinth]hint}(hjyIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYIubj%)}(hrxqsh]hrxqs}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbGubeh}(h]h ]h"]h$]h&]j<j=uh1jhjFhhhjFhM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjFhhhjFhM.ubah}(h]jFah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjFhM.hjFhhubjS)}(hhh]jX)}(hallocate network deviceh]hallocate network device}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjIhhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhjFhM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjIubj)}(hhh](j)}(h?``int sizeof_priv`` size of private data to allocate space for h](j)}(h``int sizeof_priv``h]j)}(hjJh]hint sizeof_priv}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjIubj)}(hhh]jX)}(h*size of private data to allocate space forh]h*size of private data to allocate space for}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhM.hjJubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjJhM.hjIubj)}(h/``const char *name`` device name format string h](j)}(h``const char *name``h]j)}(hj9Jh]hconst char *name}(hj;JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Jubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj3Jubj)}(hhh]jX)}(hdevice name format stringh]hdevice name format string}(hjRJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNJhM.hjOJubah}(h]h ]h"]h$]h&]uh1jhj3Jubeh}(h]h ]h"]h$]h&]uh1jhjNJhM.hjIubj)}(h9``unsigned char name_assign_type`` origin of device name h](j)}(h"``unsigned char name_assign_type``h]j)}(hjrJh]hunsigned char name_assign_type}(hjtJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpJubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjlJubj)}(hhh]jX)}(horigin of device nameh]horigin of device name}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhM.hjJubah}(h]h ]h"]h$]h&]uh1jhjlJubeh}(h]h ]h"]h$]h&]uh1jhjJhM.hjIubj)}(hE``void (*setup)(struct net_device *)`` callback to initialize device h](j)}(h&``void (*setup)(struct net_device *)``h]j)}(hjJh]h"void (*setup)(struct net_device *)}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjJubj)}(hhh]jX)}(hcallback to initialize deviceh]hcallback to initialize device}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhM.hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhM.hjIubj)}(h=``unsigned int txqs`` the number of TX subqueues to allocate h](j)}(h``unsigned int txqs``h]j)}(hjJh]hunsigned int txqs}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjJubj)}(hhh]jX)}(h&the number of TX subqueues to allocateh]h&the number of TX subqueues to allocate}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhM.hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhM.hjIubj)}(h=``unsigned int rxqs`` the number of RX subqueues to allocate h](j)}(h``unsigned int rxqs``h]j)}(hjKh]hunsigned int rxqs}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjKubj)}(hhh]jX)}(h&the number of RX subqueues to allocateh]h&the number of RX subqueues to allocate}(hj6KhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2KhM.hj3Kubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhj2KhM.hjIubeh}(h]h ]h"]h$]h&]uh1jhjIubjX)}(h**Description**h]j)}(hjXKh]h Description}(hjZKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVKubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjIubjX)}(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.}(hjnKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjIubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfree_netdev (C function) c.free_netdevhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h)void free_netdev (struct net_device *dev)h]h)}(h(void free_netdev(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM_/ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKhhhjKhM_/ubj)}(h free_netdevh]j%)}(h free_netdevh]h free_netdev}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjKhhhjKhM_/ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]j')}jjKsb c.free_netdevasbuh1hhjKubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hj&LhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hdevh]hdev}(hj3LhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubah}(h]h ]h"]h$]h&]j<j=uh1jhjKhhhjKhM_/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjKhM_/ubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhM_/hjKhhubjS)}(hhh]jX)}(hfree network deviceh]hfree network device}(hj]LhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM_/hjZLhhubah}(h]h ]h"]h$]h&]uh1jRhjKhhhjKhM_/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjuLjxjuLjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Lubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMc/hjyLubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjLh]hstruct net_device *dev}(hjLhhhNhNubah}(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`/hjLubj)}(hhh]jX)}(hdeviceh]hdevice}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhM`/hjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhM`/hjLubah}(h]h ]h"]h$]h&]uh1jhjyLubjX)}(h**Description**h]j)}(hjLh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMb/hjyLubjX)}(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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMa/hjyLubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_netdev_dummy (C function)c.alloc_netdev_dummyhNtauh1hhj>hhhNhNubh)}(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}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/ubj)}(h h]h }(hj,MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhj+MhM/ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj=MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:Mubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?MmodnameN classnameNjj!)}j$]j')}jalloc_netdev_dummysbc.alloc_netdev_dummyasbuh1hhjMhhhj+MhM/ubj)}(h h]h }(hj^MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhj+MhM/ubj;)}(hj>h]h*}(hjlMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMhhhj+MhM/ubj)}(halloc_netdev_dummyh]j%)}(hj[Mh]halloc_netdev_dummy}(hj}MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhj+MhM/ubj)}(h(int sizeof_priv)h]j)}(hint sizeof_privh](j)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj%)}(h sizeof_privh]h sizeof_priv}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubah}(h]h ]h"]h$]h&]j<j=uh1jhjMhhhj+MhM/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMhhhj+MhM/ubah}(h]jMah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj+MhM/hjMhhubjS)}(hhh]jX)}(h+Allocate and initialize a dummy net device.h]h+Allocate and initialize a dummy net device.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjMhhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhj+MhM/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjNh]h Parameters}(hjNhhhNhNubah}(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/hjMubj)}(hhh]j)}(h?``int sizeof_priv`` size of private data to allocate space for h](j)}(h``int sizeof_priv``h]j)}(hjNh]hint sizeof_priv}(hj!NhhhNhNubah}(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/hjNubj)}(hhh]jX)}(h*size of private data to allocate space forh]h*size of private data to allocate space for}(hj8NhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4NhM/hj5Nubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhj4NhM/hjNubah}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h **Return**h]j)}(hjZNh]hReturn}(hj\NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjMubjX)}(h3the allocated net_device on success, NULL otherwiseh]h3the allocated net_device on success, NULL otherwise}(hjpNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsynchronize_net (C function)c.synchronize_nethNtauh1hhj>hhhNhNubh)}(hhh](h)}(hvoid synchronize_net (void)h]h)}(hvoid synchronize_net(void)h](j)}(hvoidh]hvoid}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhjNhM/ubj)}(hsynchronize_neth]j%)}(hsynchronize_neth]hsynchronize_net}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhjNhM/ubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubah}(h]h ]h"]h$]h&]j<j=uh1jhjNhhhjNhM/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjNhhhjNhM/ubah}(h]jNah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNhM/hjNhhubjS)}(hhh]jX)}(h*Synchronize with packet receive processingh]h*Synchronize with packet receive processing}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjOhhubah}(h]h ]h"]h$]h&]uh1jRhjNhhhjNhM/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhj>hNhNubj})}(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(Oh]h Parameters}(hj*OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Oubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hj"Oubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjGOh]hvoid}(hjIOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEOubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjAOubj)}(hhh]jX)}(h no argumentsh]h no arguments}(hj`OhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\OhKhj]Oubah}(h]h ]h"]h$]h&]uh1jhjAOubeh}(h]h ]h"]h$]h&]uh1jhj\OhKhj>Oubah}(h]h ]h"]h$]h&]uh1jhj"OubjX)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhj"Oubj )}(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.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjOubah}(h]h ]h"]h$]h&]uh1j hjOhM/hj"Oubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'unregister_netdevice_queue (C function)c.unregister_netdevice_queuehNtauh1hhj>hhhNhNubh)}(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}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhhhjOhM/ubj)}(hunregister_netdevice_queueh]j%)}(hunregister_netdevice_queueh]hunregister_netdevice_queue}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOhhhjOhM/ubj)}(h0(struct net_device *dev, struct list_head *head)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj Pubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Pubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj,PhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)Pubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.PmodnameN classnameNjj!)}j$]j')}jjOsbc.unregister_netdevice_queueasbuh1hhj Pubj)}(h h]h }(hjLPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Pubj;)}(hj>h]h*}(hjZPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj Pubj%)}(hdevh]hdev}(hjgPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Pubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubj)}(hstruct list_head *headh](h)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|Pubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Pubh)}(hhh]j%)}(h list_headh]h list_head}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]jHPc.unregister_netdevice_queueasbuh1hhj|Pubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Pubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|Pubj%)}(hheadh]hhead}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|Pubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubeh}(h]h ]h"]h$]h&]j<j=uh1jhjOhhhjOhM/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOhhhjOhM/ubah}(h]jOah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOhM/hjOhhubjS)}(hhh]jX)}(hremove device from the kernelh]hremove device from the kernel}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjPhhubah}(h]h ]h"]h$]h&]uh1jRhjOhhhjOhM/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhj>hNhNubj})}(hXk**Parameters** ``struct net_device *dev`` device ``struct list_head *head`` list **Description** This function shuts down a device interface and removes it from the kernel tables. If head not NULL, device is queued to be unregistered later. Callers must hold the rtnl semaphore. You may want unregister_netdev() instead of this.h](jX)}(h**Parameters**h]j)}(hj#Qh]h Parameters}(hj%QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Qubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjQubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjBQh]hstruct net_device *dev}(hjDQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@Qubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&unregister_netdevice_many (C function)c.unregister_netdevice_manyhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h7void unregister_netdevice_many (struct list_head *head)h]h)}(h6void unregister_netdevice_many(struct list_head *head)h](j)}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0ubj)}(h h]h }(hj#RhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRhhhj"RhM0ubj)}(hunregister_netdevice_manyh]j%)}(hunregister_netdevice_manyh]hunregister_netdevice_many}(hj5RhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1Rubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjRhhhj"RhM0ubj)}(h(struct list_head *head)h]j)}(hstruct list_head *headh](h)}(hjh]hstruct}(hjQRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMRubj)}(h h]h }(hj^RhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMRubh)}(hhh]j%)}(h list_headh]h list_head}(hjoRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqRmodnameN classnameNjj!)}j$]j')}jj7Rsbc.unregister_netdevice_manyasbuh1hhjMRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMRubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMRubj%)}(hheadh]hhead}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIRubah}(h]h ]h"]h$]h&]j<j=uh1jhjRhhhj"RhM0ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj Rhhhj"RhM0ubah}(h]jRah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"RhM0hj RhhubjS)}(hhh]jX)}(hunregister many devicesh]hunregister many devices}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjRhhubah}(h]h ]h"]h$]h&]uh1jRhj Rhhhj"RhM0ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRjxjRjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjRh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjRubj)}(hhh]j)}(h+``struct list_head *head`` list of devices h](j)}(h``struct list_head *head``h]j)}(hjSh]hstruct list_head *head}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjSubj)}(hhh]jX)}(hlist of devicesh]hlist of devices}(hj.ShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*ShM0hj+Subah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhj*ShM0hj Subah}(h]h ]h"]h$]h&]uh1jhjRubjX)}(h**Note**h]j)}(hjPSh]hNote}(hjRShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNSubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjRubj)}(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,}(hjmShhhNhNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjiSubj)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj|Subah}(h]h ]h"]h$]h&]uh1jhjiSubeh}(h]h ]h"]h$]h&]uh1jhj{ShM0hjfSubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hunregister_netdev (C function)c.unregister_netdevhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h/void unregister_netdev (struct net_device *dev)h]h)}(h.void unregister_netdev(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0ubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjShhhjShM0ubj)}(hunregister_netdevh]j%)}(hunregister_netdevh]hunregister_netdev}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjShhhjShM0ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hj ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]j')}jjSsbc.unregister_netdevasbuh1hhjSubj)}(h h]h }(hj;ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hjIThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hdevh]hdev}(hjVThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubah}(h]h ]h"]h$]h&]j<j=uh1jhjShhhjShM0ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjShhhjShM0ubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShM0hjShhubjS)}(hhh]jX)}(hremove device from the kernelh]hremove device from the kernel}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hj}Thhubah}(h]h ]h"]h$]h&]uh1jRhjShhhjShM0ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{uh1hhhhj>hNhNubj})}(hX@**Parameters** ``struct net_device *dev`` device **Description** This function shuts down a device interface and removes it from the kernel tables. This is just a wrapper for unregister_netdevice that takes the rtnl semaphore. In general you want to use this and not unregister_netdevice.h](jX)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjTubj)}(hhh]j)}(h"``struct net_device *dev`` device 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&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjTubj)}(hhh]jX)}(hdeviceh]hdevice}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThM0hjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThM0hjTubah}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjTubj )}(hThis function shuts down a device interface and removes it from the kernel tables. This is just a wrapper for unregister_netdevice that takes the rtnl semaphore. In general you want to use this and not unregister_netdevice.h](jX)}(hRThis function shuts down a device interface and removes it from the kernel tables.h]hRThis function shuts down a device interface and removes it from the kernel tables.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjUubjX)}(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%UhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjUubeh}(h]h ]h"]h$]h&]uh1j hj$UhM0hjTubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_increment_features (C function)c.netdev_increment_featureshNtauh1hhj>hhhNhNubh)}(hhh](h)}(hrnetdev_features_t netdev_increment_features (netdev_features_t all, netdev_features_t one, netdev_features_t mask)h]h)}(hqnetdev_features_t netdev_increment_features(netdev_features_t all, netdev_features_t one, netdev_features_t mask)h](h)}(hhh]j%)}(hnetdev_features_th]hnetdev_features_t}(hj]UhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_UmodnameN classnameNjj!)}j$]j')}jnetdev_increment_featuressbc.netdev_increment_featuresasbuh1hhjVUhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVUhhhj~UhM1ubj)}(hnetdev_increment_featuresh]j%)}(hj{Uh]hnetdev_increment_features}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjVUhhhj~UhM1ubj)}(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}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]jyUc.netdev_increment_featuresasbuh1hhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj%)}(hallh]hall}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(hnetdev_features_t oneh](h)}(hhh]j%)}(hnetdev_features_th]hnetdev_features_t}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]jyUc.netdev_increment_featuresasbuh1hhjUubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj%)}(honeh]hone}(hj#VhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(hnetdev_features_t maskh](h)}(hhh]j%)}(hnetdev_features_th]hnetdev_features_t}(hj?VhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhNhNubj})}(hX**Parameters** ``netdev_features_t all`` current feature set ``netdev_features_t one`` new feature set ``netdev_features_t mask`` mask feature set **Description** Computes a new feature set after adding a device with feature set **one** to the master device with current feature set **all**. Will not enable anything that is off in **mask**. Returns the new feature set.h](jX)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjVubj)}(hhh](j)}(h.``netdev_features_t all`` current feature set h](j)}(h``netdev_features_t all``h]j)}(hjVh]hnetdev_features_t all}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjVubj)}(hhh]jX)}(hcurrent feature seth]hcurrent feature set}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhM1hjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhM1hjVubj)}(h*``netdev_features_t one`` new feature set h](j)}(h``netdev_features_t one``h]j)}(hjWh]hnetdev_features_t one}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Wubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hj Wubj)}(hhh]jX)}(hnew feature seth]hnew feature set}(hj(WhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$WhM1hj%Wubah}(h]h ]h"]h$]h&]uh1jhj Wubeh}(h]h ]h"]h$]h&]uh1jhj$WhM1hjVubj)}(h,``netdev_features_t mask`` mask feature set h](j)}(h``netdev_features_t mask``h]j)}(hjHWh]hnetdev_features_t mask}(hjJWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFWubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjBWubj)}(hhh]jX)}(hmask feature seth]hmask feature set}(hjaWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]WhM1hj^Wubah}(h]h ]h"]h$]h&]uh1jhjBWubeh}(h]h ]h"]h$]h&]uh1jhj]WhM1hjVubeh}(h]h ]h"]h$]h&]uh1jhjVubjX)}(h**Description**h]j)}(hjWh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjVubj )}(hComputes a new feature set after adding a device with feature set **one** to the master device with current feature set **all**. Will not enable anything that is off in **mask**. Returns the new feature set.h]jX)}(hComputes a new feature set after adding a device with feature set **one** to the master device with current feature set **all**. Will not enable anything that is off in **mask**. Returns the new feature set.h](hBComputes a new feature set after adding a device with feature set }(hjWhhhNhNubj)}(h**one**h]hone}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh/ to the master device with current feature set }(hjWhhhNhNubj)}(h**all**h]hall}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh+. Will not enable anything that is off in }(hjWhhhNhNubj)}(h**mask**h]hmask}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh. Returns the new feature set.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjWubah}(h]h ]h"]h$]h&]uh1j hjWhM1hjVubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h1netdev_compute_master_upper_features (C function)&c.netdev_compute_master_upper_featureshNtauh1hhj>hhhNhNubh)}(hhh](h)}(hVvoid netdev_compute_master_upper_features (struct net_device *dev, bool update_header)h]h)}(hUvoid netdev_compute_master_upper_features(struct net_device *dev, bool update_header)h](j)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1ubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhjXhM1ubj)}(h$netdev_compute_master_upper_featuresh]j%)}(h$netdev_compute_master_upper_featuresh]h$netdev_compute_master_upper_features}(hj)XhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%Xubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXhhhjXhM1ubj)}(h,(struct net_device *dev, bool update_header)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjEXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAXubj)}(h h]h }(hjRXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAXubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjcXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`Xubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjeXmodnameN classnameNjj!)}j$]j')}jj+Xsb&c.netdev_compute_master_upper_featuresasbuh1hhjAXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAXubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAXubj%)}(hdevh]hdev}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=Xubj)}(hbool update_headerh](j)}(hjTh]hbool}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(h update_headerh]h update_header}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=Xubeh}(h]h ]h"]h$]h&]j<j=uh1jhjXhhhjXhM1ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhjXhM1ubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjXhM1hjWhhubjS)}(hhh]jX)}(hcompute feature from lowersh]hcompute feature from lowers}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjXhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjXhM1ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct net_device *dev`` the upper device ``bool update_header`` whether to update upper device's header_len/headroom/tailroom **Description** Recompute the upper device's feature based on all lower devices.h](jX)}(h**Parameters**h]j)}(hjYh]h Parameters}(hj YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjYubj)}(hhh](j)}(h,``struct net_device *dev`` the upper device h](j)}(h``struct net_device *dev``h]j)}(hj=Yh]hstruct net_device *dev}(hj?YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;Yubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hj7Yubj)}(hhh]jX)}(hthe upper deviceh]hthe upper device}(hjVYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRYhM1hjSYubah}(h]h ]h"]h$]h&]uh1jhj7Yubeh}(h]h ]h"]h$]h&]uh1jhjRYhM1hj4Yubj)}(hU``bool update_header`` whether to update upper device's header_len/headroom/tailroom h](j)}(h``bool update_header``h]j)}(hjvYh]hbool update_header}(hjxYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtYubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjpYubj)}(hhh]jX)}(h=whether to update upper device's header_len/headroom/tailroomh]h?whether to update upper device’s header_len/headroom/tailroom}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhM1hjYubah}(h]h ]h"]h$]h&]uh1jhjpYubeh}(h]h ]h"]h$]h&]uh1jhjYhM1hj4Yubeh}(h]h ]h"]h$]h&]uh1jhjYubjX)}(h**Description**h]j)}(hjYh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjYubj )}(h@Recompute the upper device's feature based on all lower devices.h]jX)}(hjYh]hBRecompute the upper device’s feature based on all lower devices.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjYubah}(h]h ]h"]h$]h&]uh1j hjYhM1hjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_header (C function) c.eth_headerhNtauh1hhj>hhhNhNubh)}(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}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKCubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhj ZhKCubj)}(h eth_headerh]j%)}(h eth_headerh]h eth_header}(hj ZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhj ZhKCubj)}(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}(hjh]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8Zubj%)}(hskbh]hskb}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8Zubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4Zubj)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]jvZ c.eth_headerasbuh1hhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hdevh]hdev}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4Zubj)}(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 }(hjH[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj%)}(htypeh]htype}(hjV[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4Zubj)}(hconst void *daddrh](h)}(hjh]hconst}(hjo[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjk[ubj)}(h h]h }(hj|[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjk[ubj)}(hvoidh]hvoid}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjk[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%)}(hdaddrh]hdaddr}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjk[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4Zubj)}(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=uh1jhj4Zubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hj)\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%\ubj)}(h h]h }(hj7\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%\ubj)}(hinth]hint}(hjE\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%\ubj)}(h h]h }(hjS\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%\ubj%)}(hlenh]hlen}(hja\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4Zubeh}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhj ZhKCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYhhhj ZhKCubah}(h]jYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj ZhKChjYhhubjS)}(hhh]jX)}(hcreate the Ethernet headerh]hcreate the Ethernet header}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKChj\hhubah}(h]h ]h"]h$]h&]uh1jRhjYhhhj ZhKCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\jxj\jyjzj{uh1hhhhj>hNhNubj})}(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.chKFhj8]ubj)}(hhh]jX)}(hEthernet type fieldh]hEthernet type field}(hjW]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjS]hKFhjT]ubah}(h]h ]h"]h$]h&]uh1jhj8]ubeh}(h]h ]h"]h$]h&]uh1jhjS]hKFhj\ubj)}(hK``const void *daddr`` destination address (NULL leave destination address) h](j)}(h``const void *daddr``h]j)}(hjw]h]hconst void *daddr}(hjy]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju]ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKGhjq]ubj)}(hhh]jX)}(h4destination address (NULL leave destination address)h]h4destination address (NULL leave destination address)}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hKGhj]ubah}(h]h ]h"]h$]h&]uh1jhjq]ubeh}(h]h ]h"]h$]h&]uh1jhj]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.chKJhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_get_headlen (C function)c.eth_get_headlenhNtauh1hhj>hhhNhNubh)}(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}(hjl^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hji^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjn^modnameN classnameNjj!)}j$]j')}jeth_get_headlensbc.eth_get_headlenasbuh1hhje^hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hje^hhhj^hKuubj)}(heth_get_headlenh]j%)}(hj^h]heth_get_headlen}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhje^hhhj^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$]j^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}(hj-_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(hconst void *datah](h)}(hjh]hconst}(hjF_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjB_ubj)}(h h]h }(hjS_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjB_ubj)}(hvoidh]hvoid}(hja_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjB_ubj)}(h h]h }(hjo_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjB_ubj;)}(hj>h]h*}(hj}_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjB_ubj%)}(hdatah]hdata}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjB_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(hu32 lenh](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.eth_get_headlenasbuh1hhj_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=uh1jhje^hhhj^hKuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhja^hhhj^hKuubah}(h]j\^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj^hKuhj^^hhubjS)}(hhh]jX)}(h4determine the length of header for an ethernet frameh]h4determine the length of header for an ethernet frame}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuhj_hhubah}(h]h ]h"]h$]h&]uh1jRhj^^hhhj^hKuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`jxj`jyjzj{uh1hhhhj>hNhNubj})}(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)}(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.chKyhj`ubj)}(hhh](j)}(h;``const struct net_device *dev`` pointer to 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKvhj7`ubj)}(hhh]jX)}(hpointer to network deviceh]hpointer to network device}(hjV`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjR`hKvhjS`ubah}(h]h ]h"]h$]h&]uh1jhj7`ubeh}(h]h ]h"]h$]h&]uh1jhjR`hKvhj4`ubj)}(h/``const void *data`` pointer to start of frame h](j)}(h``const void *data``h]j)}(hjv`h]hconst void *data}(hjx`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKwhjp`ubj)}(hhh]jX)}(hpointer to start of frameh]hpointer to start of frame}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hKwhj`ubah}(h]h ]h"]h$]h&]uh1jhjp`ubeh}(h]h ]h"]h$]h&]uh1jhj`hKwhj4`ubj)}(h"``u32 len`` total length of frame h](j)}(h ``u32 len``h]j)}(hj`h]hu32 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.chKxhj`ubj)}(hhh]jX)}(htotal length of frameh]htotal length of frame}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hKxhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hKxhj4`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.chKzhj`ubjX)}(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.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKyhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_type_trans (C function)c.eth_type_transhNtauh1hhj>hhhNhNubh)}(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}(hj2ahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/aubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4amodnameN classnameNjj!)}j$]j')}jeth_type_transsbc.eth_type_transasbuh1hhj+ahhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj)}(h h]h }(hjTahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ahhhjSahKubj)}(heth_type_transh]j%)}(hjPah]heth_type_trans}(hjfahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+ahhhjSahKubj)}(h-(struct sk_buff *skb, struct net_device *dev)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}aubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}aubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]jNac.eth_type_transasbuh1hhj}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%)}(hskbh]hskb}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}aubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyaubj)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj bubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]jNac.eth_type_transasbuh1hhjaubj)}(h h]h }(hj-bhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hj;bhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hdevh]hdev}(hjHbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyaubeh}(h]h ]h"]h$]h&]j<j=uh1jhj+ahhhjSahKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj'ahhhjSahKubah}(h]j"aah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjSahKhj$ahhubjS)}(hhh]jX)}(h#determine the packet's protocol ID.h]h%determine the packet’s protocol ID.}(hjrbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjobhhubah}(h]h ]h"]h$]h&]uh1jRhj$ahhhjSahKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjbjxjbjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjbh]h Parameters}(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.chKhjbubj)}(hhh](j)}(h-``struct sk_buff *skb`` received socket data 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjbubj)}(hhh]jX)}(hreceived socket datah]hreceived socket data}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhKhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhKhjbubj)}(h4``struct net_device *dev`` receiving network device h](j)}(h``struct net_device *dev``h]j)}(hjbh]hstruct 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.chKhjbubj)}(hhh]jX)}(hreceiving network deviceh]hreceiving network device}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchKhjcubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjchKhjbubeh}(h]h ]h"]h$]h&]uh1jhjbubjX)}(h**Description**h]j)}(hj'ch]h Description}(hj)chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%cubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjbubjX)}(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.}(hj=chhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_header_parse (C function)c.eth_header_parsehNtauh1hhj>hhhNhNubh)}(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}(hjlchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhchhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj)}(h h]h }(hj{chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhchhhjzchKubj)}(heth_header_parseh]j%)}(heth_header_parseh]heth_header_parse}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhchhhjzchKubj)}(h1(const struct sk_buff *skb, unsigned char *haddr)h](j)}(hconst struct sk_buff *skbh](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%)}(hsk_buffh]hsk_buff}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}jjcsbc.eth_header_parseasbuh1hhjcubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hskbh]hskb}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubj)}(hunsigned char *haddrh](j)}(hunsignedh]hunsigned}(hj6dhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2dubj)}(h h]h }(hjDdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2dubj)}(hcharh]hchar}(hjRdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2dubj)}(h h]h }(hj`dhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2dubj;)}(hj>h]h*}(hjndhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2dubj%)}(hhaddrh]hhaddr}(hj{dhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2dubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhchhhjzchKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjdchhhjzchKubah}(h]j_cah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzchKhjachhubjS)}(hhh]jX)}(h$extract hardware address from packeth]h$extract hardware address from packet}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjdhhubah}(h]h ]h"]h$]h&]uh1jRhjachhhjzchKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdjxjdjyjzj{uh1hhhhj>hNhNubj})}(h|**Parameters** ``const struct sk_buff *skb`` packet to extract header from ``unsigned char *haddr`` destination bufferh](jX)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjdubj)}(hhh](j)}(h<``const struct sk_buff *skb`` packet to extract header from h](j)}(h``const struct sk_buff *skb``h]j)}(hjdh]hconst struct 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)}(hpacket to extract header fromh]hpacket to extract header from}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhKhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhKhjdubj)}(h+``unsigned char *haddr`` destination bufferh](j)}(h``unsigned char *haddr``h]j)}(hjeh]hunsigned char *haddr}(hj!ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjeubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hj8ehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj5eubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhj4ehKhjdubeh}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_header_cache (C function)c.eth_header_cachehNtauh1hhj>hhhNhNubh)}(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}(hjyehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuehhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuehhhjehKubj)}(heth_header_cacheh]j%)}(heth_header_cacheh]heth_header_cache}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuehhhjehKubj)}(hA(const struct neighbour *neigh, struct hh_cache *hh, __be16 type)h](j)}(hconst struct neighbour *neighh](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 neighbourh]h neighbour}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j')}jjesbc.eth_header_cacheasbuh1hhjeubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hneighh]hneigh}(hj*fhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(hstruct hh_cache *hhh](h)}(hjh]hstruct}(hjCfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?fubj)}(h h]h }(hjPfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?fubh)}(hhh]j%)}(hhh_cacheh]hhh_cache}(hjafhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^fubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcfmodnameN classnameNjj!)}j$]j fc.eth_header_cacheasbuh1hhj?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%)}(hhhh]hhh}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?fubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(h __be16 typeh](h)}(hhh]j%)}(h__be16h]h__be16}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j fc.eth_header_cacheasbuh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj%)}(htypeh]htype}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubeh}(h]h ]h"]h$]h&]j<j=uh1jhjuehhhjehKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqehhhjehKubah}(h]jleah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjehKhjnehhubjS)}(hhh]jX)}(hfill cache entry from neighbourh]hfill cache entry from neighbour}(hj ghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj ghhubah}(h]h ]h"]h$]h&]uh1jRhjnehhhjehKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$gjxj$gjyjzj{uh1hhhhj>hNhNubj})}(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)}(hj.gh]h Parameters}(hj0ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,gubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj(gubj)}(hhh](j)}(h3``const struct neighbour *neigh`` source neighbour h](j)}(h!``const struct neighbour *neigh``h]j)}(hjMgh]hconst struct neighbour *neigh}(hjOghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKgubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjGgubj)}(hhh]jX)}(hsource neighbourh]hsource neighbour}(hjfghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbghKhjcgubah}(h]h ]h"]h$]h&]uh1jhjGgubeh}(h]h ]h"]h$]h&]uh1jhjbghKhjDgubj)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hjgh]hstruct hh_cache *hh}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjgubj)}(hhh]jX)}(hdestination cache entryh]hdestination cache entry}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghKhjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghKhjDgubj)}(h$``__be16 type`` Ethernet type field h](j)}(h``__be16 type``h]j)}(hjgh]h __be16 type}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjgubj)}(hhh]jX)}(hEthernet type fieldh]hEthernet type field}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghKhjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghKhjDgubeh}(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&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj(gubjX)}(h6Create an Ethernet header template from the neighbour.h]h6Create an Ethernet header template from the neighbour.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj(gubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$eth_header_cache_update (C function)c.eth_header_cache_updatehNtauh1hhj>hhhNhNubh)}(hhh](h)}(hlvoid eth_header_cache_update (struct hh_cache *hh, const struct net_device *dev, const unsigned char *haddr)h]h)}(hkvoid eth_header_cache_update(struct hh_cache *hh, const struct net_device *dev, const unsigned char *haddr)h](j)}(hvoidh]hvoid}(hj?hhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj)}(h h]h }(hjNhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhhjMhhKubj)}(heth_header_cache_updateh]j%)}(heth_header_cache_updateh]heth_header_cache_update}(hj`hhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\hubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhhjMhhKubj)}(hO(struct hh_cache *hh, const struct net_device *dev, const unsigned char *haddr)h](j)}(hstruct hh_cache *hhh](h)}(hjh]hstruct}(hj|hhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhubh)}(hhh]j%)}(hhh_cacheh]hhh_cache}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jjbhsbc.eth_header_cache_updateasbuh1hhjxhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxhubj%)}(hhhh]hhh}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjthubj)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hjh]hstruct}(hj ihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj'ihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$iubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)imodnameN classnameNjj!)}j$]jhc.eth_header_cache_updateasbuh1hhjhubj)}(h h]h }(hjEihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hjSihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(hdevh]hdev}(hj`ihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjthubj)}(hconst unsigned char *haddrh](h)}(hjh]hconst}(hjyihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuiubj)}(hunsignedh]hunsigned}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuiubj)}(hcharh]hchar}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuiubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuiubj%)}(hhaddrh]hhaddr}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjthubeh}(h]h ]h"]h$]h&]j<j=uh1jhj;hhhhjMhhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhhjMhhKubah}(h]j2hah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjMhhKhj4hhhubjS)}(hhh]jX)}(hupdate cache entryh]hupdate cache entry}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjjhhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhhjMhhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjjxjjjyjzj{uh1hhhhj>hNhNubj})}(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)}(hj%jh]h Parameters}(hj'jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#jubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjjubj)}(hhh](j)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hjDjh]hstruct hh_cache *hh}(hjFjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj>jubj)}(hhh]jX)}(hdestination cache entryh]hdestination cache entry}(hj]jhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYjhKhjZjubah}(h]h ]h"]h$]h&]uh1jhj>jubeh}(h]h ]h"]h$]h&]uh1jhjYjhKhj;jubj)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj}jh]hconst struct net_device *dev}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{jubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjwjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhKhjjubah}(h]h ]h"]h$]h&]uh1jhjwjubeh}(h]h ]h"]h$]h&]uh1jhjjhKhj;jubj)}(h4``const unsigned char *haddr`` new hardware address h](j)}(h``const unsigned char *haddr``h]j)}(hjjh]hconst unsigned char *haddr}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjjubj)}(hhh]jX)}(hnew hardware addressh]hnew hardware address}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhKhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhKhj;jubeh}(h]h ]h"]h$]h&]uh1jhjjubjX)}(h**Description**h]j)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjjubjX)}(hACalled by Address Resolution module to notify changes in address.h]hACalled by Address Resolution module to notify changes in address.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hð_header_parse_protocol (C function)c.eth_header_parse_protocolhNtauh1hhj>hhhNhNubh)}(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}(hj9khhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6kubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;kmodnameN classnameNjj!)}j$]j')}jeth_header_parse_protocolsbc.eth_header_parse_protocolasbuh1hhj2khhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj)}(h h]h }(hj[khhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2khhhjZkhMubj)}(heth_header_parse_protocolh]j%)}(hjWkh]heth_header_parse_protocol}(hjmkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjikubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2khhhjZkhMubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]jUkc.eth_header_parse_protocolasbuh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hskbh]hskb}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubah}(h]h ]h"]h$]h&]j<j=uh1jhj2khhhjZkhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.khhhjZkhMubah}(h]j)kah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZkhMhj+khhubjS)}(hhh]jX)}(hextract protocol from L2 headerh]hextract protocol from L2 header}(hj$lhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj!lhhubah}(h]h ]h"]h$]h&]uh1jRhj+khhhjZkhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhNhNubj})}(hO**Parameters** ``const struct sk_buff *skb`` packet to extract protocol fromh](jX)}(h**Parameters**h]j)}(hjFlh]h Parameters}(hjHlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDlubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj@lubj)}(hhh]j)}(h=``const struct sk_buff *skb`` packet to extract protocol fromh](j)}(h``const struct sk_buff *skb``h]j)}(hjelh]hconst struct sk_buff *skb}(hjglhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjclubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hj_lubj)}(hhh]jX)}(hpacket to extract protocol fromh]hpacket to extract protocol from}(hj~lhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj{lubah}(h]h ]h"]h$]h&]uh1jhj_lubeh}(h]h ]h"]h$]h&]uh1jhjzlhM hj\lubah}(h]h ]h"]h$]h&]uh1jhj@lubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(eth_prepare_mac_addr_change (C function)c.eth_prepare_mac_addr_changehNtauh1hhj>hhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhjlhMubj)}(heth_prepare_mac_addr_changeh]j%)}(heth_prepare_mac_addr_changeh]heth_prepare_mac_addr_change}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlhhhjlhMubj)}(h!(struct net_device *dev, void *p)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hj mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j')}jjlsbc.eth_prepare_mac_addr_changeasbuh1hhjlubj)}(h h]h }(hj:mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjHmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hdevh]hdev}(hjUmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(hvoid *ph](j)}(hvoidh]hvoid}(hjnmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjmubj)}(h h]h }(hj|mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjmubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjmubj%)}(hjGh]hp}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubeh}(h]h ]h"]h$]h&]j<j=uh1jhjlhhhjlhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjlhMubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhMhjlhhubjS)}(hhh]jX)}(hprepare for mac changeh]hprepare for mac change}(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&]uh1jRhjlhhhjlhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmjxjmjyjzj{uh1hhhhj>hNhNubj})}(hY**Parameters** ``struct net_device *dev`` network device ``void *p`` socket addressh](jX)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjmubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjnh]hstruct net_device *dev}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjmubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjmubj)}(h``void *p`` socket addressh](j)}(h ``void *p``h]j)}(hj:nh]hvoid *p}(hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'eth_commit_mac_addr_change (C function)c.eth_commit_mac_addr_changehNtauh1hhj>hhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhjnhM ubj)}(heth_commit_mac_addr_changeh]j%)}(heth_commit_mac_addr_changeh]heth_commit_mac_addr_change}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjnhhhjnhM ubj)}(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_commit_mac_addr_changeasbuh1hhjnubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj;)}(hj>h]h*}(hjohhhNhNubah}(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}(hjCohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?oubj)}(h h]h }(hjQohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?oubj;)}(hj>h]h*}(hj_ohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?oubj%)}(hjGh]hp}(hjlohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?oubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubeh}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjnhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjnhM ubah}(h]jnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhM hjnhhubjS)}(hhh]jX)}(hcommit mac changeh]hcommit mac change}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hjohhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjnhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhj>hNhNubj})}(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.chM$hjoubj)}(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.chM!hjoubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohM!hjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohM!hjoubj)}(h``void *p`` socket addressh](j)}(h ``void *p``h]j)}(hjph]hvoid *p}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj pubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM#hj pubj)}(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.chM"hj%pubah}(h]h ]h"]h$]h&]uh1jhj pubeh}(h]h ]h"]h$]h&]uh1jhj$phM#hjoubeh}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_mac_addr (C function)c.eth_mac_addrhNtauh1hhj>hhhNhNubh)}(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}(hjiphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjephhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM-ubj)}(h h]h }(hjxphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjephhhjwphM-ubj)}(h eth_mac_addrh]j%)}(h eth_mac_addrh]h eth_mac_addr}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjephhhjwphM-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_mac_addrasbuh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hdevh]hdev}(hjphhhNhNubah}(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*}(hj4qhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(hjGh]hp}(hjAqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhjephhhjwphM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjaphhhjwphM-ubah}(h]j\pah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwphM-hj^phhubjS)}(hhh]jX)}(h!set new Ethernet hardware addressh]h!set new Ethernet hardware address}(hjjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM-hjgqhhubah}(h]h ]h"]h$]h&]uh1jRhj^phhhjwphM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqjxjqjyjzj{uh1hhhhj>hNhNubj})}(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)}(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.chM1hjqubj)}(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 address h](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}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhM/hjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhM/hjqubeh}(h]h ]h"]h$]h&]uh1jhjqubjX)}(h**Description**h]j)}(hjrh]h Description}(hj!rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM1hjqubjX)}(h"Change hardware address of device.h]h"Change hardware address of device.}(hj5rhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM0hjqubjX)}(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.}(hjDrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM2hjqubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_setup (C function) c.ether_setuphNtauh1hhj>hhhNhNubh)}(hhh](h)}(h)void ether_setup (struct net_device *dev)h]h)}(h(void ether_setup(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjsrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjorhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMTubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjorhhhjrhMTubj)}(h ether_setuph]j%)}(h ether_setuph]h ether_setup}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjorhhhjrhMTubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(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')}jjrsb c.ether_setupasbuh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hjrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hdevh]hdev}(hj shhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubah}(h]h ]h"]h$]h&]j<j=uh1jhjorhhhjrhMTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkrhhhjrhMTubah}(h]jfrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrhMThjhrhhubjS)}(hhh]jX)}(hsetup Ethernet network deviceh]hsetup Ethernet network device}(hj3shhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMThj0shhubah}(h]h ]h"]h$]h&]uh1jRhjhrhhhjrhMTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKsjxjKsjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjUsh]h Parameters}(hjWshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSsubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMXhjOsubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjtsh]hstruct net_device *dev}(hjvshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrsubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMUhjnsubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMUhjsubah}(h]h ]h"]h$]h&]uh1jhjnsubeh}(h]h ]h"]h$]h&]uh1jhjshMUhjksubah}(h]h ]h"]h$]h&]uh1jhjOsubjX)}(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.chMWhjOsubjX)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMVhjOsubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_etherdev_mqs (C function)c.alloc_etherdev_mqshNtauh1hhj>hhhNhNubh)}(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}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjshhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhhjthMmubh)}(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')}jalloc_etherdev_mqssbc.alloc_etherdev_mqsasbuh1hhjshhhjthMmubj)}(h h]h }(hj4thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhhjthMmubj;)}(hj>h]h*}(hjBthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjshhhjthMmubj)}(halloc_etherdev_mqsh]j%)}(hj1th]halloc_etherdev_mqs}(hjSthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOtubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjshhhjthMmubj)}(h7(int sizeof_priv, unsigned int txqs, unsigned int rxqs)h](j)}(hint sizeof_privh](j)}(hinth]hint}(hjnthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjtubj)}(h h]h }(hj|thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjtubj%)}(h sizeof_privh]h sizeof_priv}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjftubj)}(hunsigned int txqsh](j)}(hunsignedh]hunsigned}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(hinth]hint}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj%)}(htxqsh]htxqs}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjftubj)}(hunsigned int rxqsh](j)}(hunsignedh]hunsigned}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(hinth]hint}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj%)}(hrxqsh]hrxqs}(hj,uhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjftubeh}(h]h ]h"]h$]h&]j<j=uh1jhjshhhjthMmubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjshhhjthMmubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjthMmhjshhubjS)}(hhh]jX)}(h(Allocates and sets up an Ethernet deviceh]h(Allocates and sets up an Ethernet device}(hjVuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmhjSuhhubah}(h]h ]h"]h$]h&]uh1jRhjshhhjthMmubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjnujxjnujyjzj{uh1hhhhj>hNhNubj})}(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)}(hjxuh]h Parameters}(hjzuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvuubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhjruubj)}(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)}(hjuh]hint sizeof_priv}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMohjuubj)}(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}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMnhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMohjuubj)}(h?``unsigned int txqs`` The number of TX queues this device has. h](j)}(h``unsigned int txqs``h]j)}(hjuh]hunsigned int txqs}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMphjuubj)}(hhh]jX)}(h(The number of TX queues this device has.h]h(The number of TX queues this device has.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMphjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMphjuubj)}(h?``unsigned int rxqs`` The number of RX queues this device has. h](j)}(h``unsigned int rxqs``h]j)}(hj vh]hunsigned int rxqs}(hj vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhjvubj)}(hhh]jX)}(h(The number of RX queues this device has.h]h(The number of RX queues this device has.}(hj#vhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMqhj vubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMqhjuubeh}(h]h ]h"]h$]h&]uh1jhjruubjX)}(h**Description**h]j)}(hjEvh]h Description}(hjGvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCvubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMshjruubjX)}(hFill in the fields of the device structure with Ethernet-generic values. Basically does everything except registering the device.h]hFill in the fields of the device structure with Ethernet-generic values. Basically does everything except registering the device.}(hj[vhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMrhjruubjX)}(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.}(hjjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMuhjruubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(platform_get_ethdev_address (C function)c.platform_get_ethdev_addresshNtauh1hhj>hhhNhNubh)}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhjvhMubj)}(hplatform_get_ethdev_addressh]j%)}(hplatform_get_ethdev_addressh]hplatform_get_ethdev_address}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvhhhjvhMubj)}(h/(struct device *dev, struct net_device *netdev)h](j)}(hstruct device *devh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(hdeviceh]hdevice}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jjvsbc.platform_get_ethdev_addressasbuh1hhjvubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hj"whhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hdevh]hdev}(hj/whhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubj)}(hstruct net_device *netdevh](h)}(hjh]hstruct}(hjHwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDwubj)}(h h]h }(hjUwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDwubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjfwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhwmodnameN classnameNjj!)}j$]jwc.platform_get_ethdev_addressasbuh1hhjDwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDwubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDwubj%)}(hnetdevh]hnetdev}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubeh}(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,Set netdev's MAC address from a given deviceh]h.Set netdev’s MAC address from a given device}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhjvhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjwh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjwubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hj xh]hstruct device *dev}(hj xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjxubj)}(hhh]jX)}(hPointer to the deviceh]hPointer to the device}(hj#xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhj xubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjxubj)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to h](j)}(h``struct net_device *netdev``h]j)}(hjCxh]hstruct net_device *netdev}(hjExhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj=xubj)}(hhh]jX)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hj\xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXxhMhjYxubah}(h]h ]h"]h$]h&]uh1jhj=xubeh}(h]h ]h"]h$]h&]uh1jhjXxhMhjxubeh}(h]h ]h"]h$]h&]uh1jhjwubjX)}(h**Description**h]j)}(hj~xh]h Description}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|xubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjwubjX)}(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.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#fwnode_get_mac_address (C function)c.fwnode_get_mac_addresshNtauh1hhj>hhhNhNubh)}(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}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMAubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhhhjxhMAubj)}(hfwnode_get_mac_addressh]j%)}(hfwnode_get_mac_addressh]hfwnode_get_mac_address}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjxhhhjxhMAubj)}(h*(struct fwnode_handle *fwnode, char *addr)h](j)}(hstruct fwnode_handle *fwnodeh](h)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxubj)}(h h]h }(hj yhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj ymodnameN classnameNjj!)}j$]j')}jjxsbc.fwnode_get_mac_addressasbuh1hhjxubj)}(h h]h }(hj>yhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj;)}(hj>h]h*}(hjLyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj%)}(hfwnodeh]hfwnode}(hjYyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(h char *addrh](j)}(hcharh]hchar}(hjryhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnyubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnyubj%)}(haddrh]haddr}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubeh}(h]h ]h"]h$]h&]j<j=uh1jhjxhhhjxhMAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxhhhjxhMAubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhMAhjxhhubjS)}(hhh]jX)}(h"Get the MAC from the firmware nodeh]h"Get the MAC from the firmware node}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMAhjyhhubah}(h]h ]h"]h$]h&]uh1jRhjxhhhjxhMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjyjxjyjyjzj{uh1hhhhj>hNhNubj})}(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)}(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.chMEhjyubj)}(hhh](j)}(h>``struct fwnode_handle *fwnode`` Pointer to the firmware node h](j)}(h ``struct fwnode_handle *fwnode``h]j)}(hjzh]hstruct fwnode_handle *fwnode}(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.chMBhjzubj)}(hhh]jX)}(hPointer to the firmware nodeh]hPointer to the firmware node}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMBhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMBhjyubj)}(h5``char *addr`` Address of buffer to store the MAC in h](j)}(h``char *addr``h]j)}(hj?zh]h char *addr}(hjAzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=zubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMChj9zubj)}(hhh]jX)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hjXzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjTzhMChjUzubah}(h]h ]h"]h$]h&]uh1jhj9zubeh}(h]h ]h"]h$]h&]uh1jhjTzhMChjyubeh}(h]h ]h"]h$]h&]uh1jhjyubjX)}(h**Description**h]j)}(hjzzh]h Description}(hj|zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxzubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMEhjyubjX)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMDhjyubjX)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMJhjyubjX)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMNhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#device_get_mac_address (C function)c.device_get_mac_addresshNtauh1hhj>hhhNhNubh)}(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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMbubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhjzhMbubj)}(hdevice_get_mac_addressh]j%)}(hdevice_get_mac_addressh]hdevice_get_mac_address}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzhhhjzhMbubj)}(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}(hj8{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:{modnameN classnameNjj!)}j$]j')}jj{sbc.device_get_mac_addressasbuh1hhj{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%)}(hdevh]hdev}(hjs{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubj)}(h char *addrh](j)}(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%)}(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=uh1jhjzhhhjzhMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjzhMbubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzhMbhjzhhubjS)}(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&]uh1jRhjzhhhjzhMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{jxj{jyjzj{uh1hhhhj>hNhNubj})}(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}(hj9|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5|hMchj6|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj5|hMchj|ubj)}(h4``char *addr`` Address of buffer to store the MAC inh](j)}(h``char *addr``h]j)}(hjY|h]h char *addr}(hj[|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW|ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMehjS|ubj)}(hhh]jX)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hjr|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMdhjo|ubah}(h]h ]h"]h$]h&]uh1jhjS|ubeh}(h]h ]h"]h$]h&]uh1jhjn|hMehj|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&device_get_ethdev_address (C function)c.device_get_ethdev_addresshNtauh1hhj>hhhNhNubh)}(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.chMpubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|hhhj|hMpubj)}(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|hMpubj)}(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}(hjI}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}(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 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.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%)}(hnetdevh]hnetdev}(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|hMpubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj|hhhj|hMpubah}(h]j|ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|hMphj|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.chMphj}hhubah}(h]h ]h"]h$]h&]uh1jRhj|hhhj|hMpubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhj>hNhNubj})}(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.chMthj}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.chMqhj~ubj)}(hhh]jX)}(hPointer to the deviceh]hPointer to the device}(hj=~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9~hMqhj:~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj9~hMqhj~ubj)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to h](j)}(h``struct net_device *netdev``h]j)}(hj]~h]hstruct net_device *netdev}(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.chMrhjW~ubj)}(hhh]jX)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hjv~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjr~hMrhjs~ubah}(h]h ]h"]h$]h&]uh1jhjW~ubeh}(h]h ]h"]h$]h&]uh1jhjr~hMrhj~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.chMthj}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.chMshj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_on (C function)c.netif_carrier_onhNtauh1hhj>hhhNhNubh)}(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.chMDubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~hhhj~hMDubj)}(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~hMDubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]j')}jjsbc.netif_carrier_onasbuh1hhjubj)}(h h]h }(hjXhhhNhNubah}(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=uh1jhj~hhhj~hMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~hhhj~hMDubah}(h]j~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hMDhj~hhubjS)}(hhh]jX)}(h set carrierh]h set carrier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMDhjhhubah}(h]h ]h"]h$]h&]uh1jRhj~hhhj~hMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hy**Parameters** ``struct net_device *dev`` network device **Description** Device has detected acquisition of carrier.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMHhjubj)}(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&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMEhjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(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&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMGhjubjX)}(h+Device has detected acquisition of carrier.h]h+Device has detected acquisition of carrier.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMFhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_off (C function)c.netif_carrier_offhNtauh1hhj>hhhNhNubh)}(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}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMWubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhjlhMWubj)}(hnetif_carrier_offh]j%)}(hnetif_carrier_offh]hnetif_carrier_off}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhjlhMWubj)}(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_carrier_offasbuh1hhjubj)}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjZhhhjlhMWubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVhhhjlhMWubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhMWhjShhubjS)}(hhh]jX)}(h clear carrierh]h clear carrier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMWhjhhubah}(h]h ]h"]h$]h&]uh1jRhjShhhjlhMWubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{uh1hhhhj>hNhNubj})}(hr**Parameters** ``struct net_device *dev`` network device **Description** Device has detected loss of carrier.h](jX)}(h**Parameters**h]j)}(hj@h]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chM[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}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMXhjYubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMXhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMXhjVubah}(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&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMZhj:ubjX)}(h$Device has detected loss of carrier.h]h$Device has detected loss of carrier.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMYhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_carrier_event (C function)c.netif_carrier_eventhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h1void netif_carrier_event (struct net_device *dev)h]h)}(h0void netif_carrier_event(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj߁hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjہhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjہhhhjhMhubj)}(hnetif_carrier_eventh]j%)}(hnetif_carrier_eventh]hnetif_carrier_event}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjہhhhjhMhubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<modnameN classnameNjj!)}j$]j')}jjsbc.netif_carrier_eventasbuh1hhjubj)}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjہhhhjhMhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjׁhhhjhMhubah}(h]jҁah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhhjԁhhubjS)}(hhh]jX)}(hreport carrier state eventh]hreport carrier state event}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhhjhhubah}(h]h ]h"]h$]h&]uh1jRhjԁhhhjhMhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjh]h Parameters}(hjÂhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMlhjubj)}(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&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMihjڂubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjڂubeh}(h]h ]h"]h$]h&]uh1jhjhMihjׂ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&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMkhjubjX)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMjhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%is_link_local_ether_addr (C function)c.is_link_local_ether_addrhNtauh1hhj>hhhNhNubh)}(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`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKQubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjmhKQubj)}(his_link_local_ether_addrh]j%)}(his_link_local_ether_addrh]his_link_local_ether_addr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\hhhjmhKQubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.is_link_local_ether_addrasbuh1hhjubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj\hhhjmhKQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhjmhKQubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhKQhjUhhubjS)}(hhh]jX)}(h1Determine if given Ethernet address is link-localh]h1Determine if given Ethernet address is link-local}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKQhjhhubah}(h]h ]h"]h$]h&]uh1jRhjUhhhjmhKQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhj>hNhNubj})}(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)}(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.hhKUhj;ubj)}(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}(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.hhKRhjZubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhKRhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhKRhjWubah}(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&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKThj;ubjX)}(hftrue if address is link local reserved addr (01:80:c2:00:00:0X) per IEEE 802.1Q 8.6.3 Frame filtering.h]hftrue if address is link local reserved addr (01:80:c2:00:00:0X) per IEEE 802.1Q 8.6.3 Frame filtering.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKThj;ubjX)}(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:101: ./include/linux/etherdevice.hhKWhj;ubjX)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hj؄hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKVhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_zero_ether_addr (C function)c.is_zero_ether_addrhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h(bool is_zero_ether_addr (const u8 *addr)h]h)}(h'bool is_zero_ether_addr(const u8 *addr)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKhubj)}(his_zero_ether_addrh]j%)}(his_zero_ether_addrh]his_zero_ether_addr}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKhubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](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}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}jj)sbc.is_zero_ether_addrasbuh1hhj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKhubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhhjhhubjS)}(hhh]jX)}(h0Determine if give Ethernet address is all zeros.h]h0Determine if give Ethernet address is all zeros.}(hjƅhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhhjÅhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjޅjxjޅjyjzj{uh1hhhhj>hNhNubj})}(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)}(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.hhKlhjubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjh]hconst u8 *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.hhKihjubj)}(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&]uh1jWhjhKihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKihjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hjBh]hReturn}(hjDhhhNhNubah}(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.hhKkhjubjX)}(h"true if the address is all zeroes.h]h"true if the address is all zeroes.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKkhjubjX)}(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.hhKmhjubjX)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKlhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$is_multicast_ether_addr (C function)c.is_multicast_ether_addrhNtauh1hhj>hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhK{ubj)}(his_multicast_ether_addrh]j%)}(his_multicast_ether_addrh]his_multicast_ether_addr}(hjΆhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjʆubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhK{ubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjІsbc.is_multicast_ether_addrasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddrh]haddr}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhK{ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhK{ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhK{hjhhubjS)}(hhh]jX)}(h1Determine if the Ethernet address is a multicast.h]h1Determine if the Ethernet address is a multicast.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK{hjjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhK{ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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.hhKhjubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjh]hconst u8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK|hjubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjLJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjÇhK|hjćubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjÇhK|hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **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:101: ./include/linux/etherdevice.hhK~hjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK~hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h is_local_ether_addr (C function)c.is_local_ether_addrhNtauh1hhj>hhhNhNubh)}(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}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhhj;hKubj)}(his_local_ether_addrh]j%)}(his_local_ether_addrh]his_local_ether_addr}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj;hKubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjPsbc.is_local_ether_addrasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(haddrh]haddr}(hjÈhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubah}(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)}(hEDetermine if the Ethernet address is locally-assigned one (IEEE 802).h]hEDetermine if the Ethernet address is locally-assigned one (IEEE 802).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jRhj#hhhj;hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is a local address.h](jX)}(h**Parameters**h]j)}(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:101: ./include/linux/etherdevice.hhKhj ubj)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj(ubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChKhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChKhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h **Return**h]j)}(hjih]hReturn}(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.hhKhj ubjX)}(h'true if the address is a local address.h]h'true if the address is a local address.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$is_broadcast_ether_addr (C function)c.is_broadcast_ether_addrhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h-bool is_broadcast_ether_addr (const u8 *addr)h]h)}(h,bool is_broadcast_ether_addr(const u8 *addr)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(his_broadcast_ether_addrh]j%)}(his_broadcast_ether_addrh]his_broadcast_ether_addr}(hjΉhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjʉubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjЉsbc.is_broadcast_ether_addrasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddrh]haddr}(hjChhhNhNubah}(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.Determine if the Ethernet address is broadcasth]h.Determine if the Ethernet address is broadcast}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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.hhKhjubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjh]hconst u8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjNJhhhNhNubah}(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&]uh1jhjubjX)}(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:101: ./include/linux/etherdevice.hhKhjubjX)}(h-true if the address is the broadcast address.h]h-true if the address is the broadcast address.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjX)}(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.hhKhjubjX)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"is_unicast_ether_addr (C function)c.is_unicast_ether_addrhNtauh1hhj>hhhNhNubh)}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjbhKubj)}(his_unicast_ether_addrh]j%)}(his_unicast_ether_addrh]his_unicast_ether_addr}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjbhKubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjwsbc.is_unicast_ether_addrasbuh1hhjubj)}(h h]h }(hjϋhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj݋hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhjbhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMhhhjbhKubah}(h]jHah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhKhjJhhubjS)}(hhh]jX)}(h,Determine if the Ethernet address is unicasth]h,Determine if the Ethernet address is unicast}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhjbhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,jxj,jyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is a unicast address.h](jX)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj0ubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjUh]hconst u8 *addr}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(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}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhKhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhKhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubjX)}(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:101: ./include/linux/etherdevice.hhKhj0ubjX)}(h)true if the address is a unicast address.h]h)true if the address is a unicast address.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h is_valid_ether_addr (C function)c.is_valid_ether_addrhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h)bool is_valid_ether_addr (const u8 *addr)h]h)}(h(bool is_valid_ether_addr(const u8 *addr)h](j)}(hjTh]hbool}(hjՌhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjьhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjьhhhjhKubj)}(his_valid_ether_addrh]j%)}(his_valid_ether_addrh]his_valid_ether_addr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjьhhhjhKubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hu8h]hu8}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j')}jjsbc.is_valid_ether_addrasbuh1hhj 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%)}(haddrh]haddr}(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=uh1jhjьhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj͌hhhjhKubah}(h]jȌah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjʌhhubjS)}(hhh]jX)}(h0Determine if the given Ethernet address is validh]h0Determine if the given Ethernet address is valid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjʌhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hXC**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Description** Check that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not a multicast address, and is not FF:FF:FF:FF:FF:FF. Please note: addr must be aligned to u16. **Return** true if the address is valid.h](jX)}(h**Parameters**h]j)}(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.hhKhjubj)}(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.hhKhjύubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjύubeh}(h]h ]h"]h$]h&]uh1jhjhKhj̍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&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjX)}(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.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjX)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjX)}(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.hhKhjubjX)}(htrue if the address is valid.h]htrue if the address is valid.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_proto_is_802_3 (C function)c.eth_proto_is_802_3hNtauh1hhj>hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(heth_proto_is_802_3h]j%)}(heth_proto_is_802_3h]heth_proto_is_802_3}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h(__be16 proto)h]j)}(h __be16 protoh](h)}(hhh]j%)}(h__be16h]h__be16}(hjʎhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjǎubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj̎modnameN classnameNjj!)}j$]j')}jjsbc.eth_proto_is_802_3asbuh1hhjÎubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjÎubj%)}(hprotoh]hproto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjÎubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]j~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h3Determine if a given Ethertype/length is a protocolh]h3Determine if a given Ethertype/length is a protocol}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:jxj:jyjzj{uh1hhhhj>hNhNubj})}(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)}(hjDh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj>ubj)}(hhh]j)}(h5``__be16 proto`` Ethertype/length value to be tested h](j)}(h``__be16 proto``h]j)}(hjch]h __be16 proto}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj]ubj)}(hhh]jX)}(h#Ethertype/length value to be testedh]h#Ethertype/length value to be tested}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhKhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjZubah}(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.hhKhj>ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj>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:101: ./include/linux/etherdevice.hhKhj>ubjX)}(h2true if the valid is an 802.3 supported Ethertype.h]h2true if the valid is an 802.3 supported Ethertype.}(hjۏhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_random_addr (C function)c.eth_random_addrhNtauh1hhj>hhhNhNubh)}(hhh](h)}(hvoid eth_random_addr (u8 *addr)h]h)}(hvoid eth_random_addr(u8 *addr)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(heth_random_addrh]j%)}(heth_random_addrh]heth_random_addr}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h (u8 *addr)h]j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j')}jj-sbc.eth_random_addrasbuh1hhjCubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjxhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(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)}(h2Generate software assigned random Ethernet addressh]h2Generate software assigned random Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjǐjxjǐjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjѐh]h Parameters}(hjӐhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϐubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjːubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(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.hhKhjubj)}(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&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjːubjX)}(h**Description**h]j)}(hj+h]h Description}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjːubjX)}(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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjːubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_broadcast_addr (C function)c.eth_broadcast_addrhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h"void eth_broadcast_addr (u8 *addr)h]h)}(h!void eth_broadcast_addr(u8 *addr)h](j)}(hvoidh]hvoid}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhj~hKubj)}(heth_broadcast_addrh]j%)}(heth_broadcast_addrh]heth_broadcast_addr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlhhhj~hKubj)}(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_broadcast_addrasbuh1hhjubj)}(h h]h }(hjБhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjޑhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjlhhhj~hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhhj~hKubah}(h]jcah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hKhjehhubjS)}(hhh]jX)}(hAssign broadcast addressh]hAssign broadcast address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjehhhj~hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-jxj-jyjzj{uh1hhhhj>hNhNubj})}(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)}(hj7h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj1ubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hjVh]hu8 *addr}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjPubj)}(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&]uh1jWhjkhKhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhKhjMubah}(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&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj1ubjX)}(h8Assign the broadcast address to the given address array.h]h8Assign the broadcast address to the given address array.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_zero_addr (C function)c.eth_zero_addrhNtauh1hhj>hhhNhNubh)}(hhh](h)}(hvoid eth_zero_addr (u8 *addr)h]h)}(hvoid eth_zero_addr(u8 *addr)h](j)}(hvoidh]hvoid}(hj֒hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjҒhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjҒhhhjhKubj)}(h eth_zero_addrh]j%)}(h eth_zero_addrh]h eth_zero_addr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjҒhhhjhKubj)}(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_zero_addrasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddrh]haddr}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhjҒhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjΒhhhjhKubah}(h]jɒah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhj˒hhubjS)}(hhh]jX)}(hAssign zero addressh]hAssign zero address}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjxhhubah}(h]h ]h"]h$]h&]uh1jRhj˒hhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address 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)}(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ѓ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&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjX)}(h3Assign the zero address to the given address array.h]h3Assign the zero address to the given address array.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_random (C function)c.eth_hw_addr_randomhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h0void eth_hw_addr_random (struct net_device *dev)h]h)}(h/void eth_hw_addr_random(struct net_device *dev)h](j)}(hvoidh]hvoid}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhjJhM ubj)}(heth_hw_addr_randomh]j%)}(heth_hw_addr_randomh]heth_hw_addr_random}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhjJhM ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubh)}(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.eth_hw_addr_randomasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj;)}(hj>h]h*}(hjŔhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuubj%)}(hdevh]hdev}(hjҔhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubah}(h]h ]h"]h$]h&]j<j=uh1jhj8hhhjJhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4hhhjJhM ubah}(h]j/ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJhM hj1hhubjS)}(hhh]jX)}(h>Generate software assigned random Ethernet and set device flagh]h>Generate software assigned random Ethernet and set device flag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhjJhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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.hhMhjubj)}(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 hj7ubj)}(hhh]jX)}(hpointer to net_device structureh]hpointer to net_device structure}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhM hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM hj4ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjxh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_crc (C function)c.eth_hw_addr_crchNtauh1hhj>hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj•modnameN classnameNjj!)}j$]j')}jeth_hw_addr_crcsbc.eth_hw_addr_crcasbuh1hhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(heth_hw_addr_crch]j%)}(hjޕh]heth_hw_addr_crc}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct netdev_hw_addr *ha)h]j)}(hstruct netdev_hw_addr *hah](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%)}(hnetdev_hw_addrh]hnetdev_hw_addr}(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_crcasbuh1hhj 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%)}(hhah]hha}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h!Calculate CRC from netdev_hw_addrh]h!Calculate CRC from netdev_hw_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hjubj)}(hhh]j)}(h:``struct netdev_hw_addr *ha`` pointer to hardware address h](j)}(h``struct netdev_hw_addr *ha``h]j)}(hjіh]hstruct netdev_hw_addr *ha}(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)}(hpointer to hardware addressh]hpointer to hardware address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj˖ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjȖubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**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:101: ./include/linux/etherdevice.hhMhjubjX)}(hACalculate CRC from a hardware address as basis for filter hashes.h]hACalculate CRC from a hardware address as basis for filter hashes.}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_copy (C function)c.ether_addr_copyhNtauh1hhj>hhhNhNubh)}(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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM'ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhj_hM'ubj)}(hether_addr_copyh]j%)}(hether_addr_copyh]hether_addr_copy}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhj_hM'ubj)}(h(u8 *dst, const u8 *src)h](j)}(hu8 *dsth](h)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjtsbc.ether_addr_copyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdsth]hdst}(hj̗hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h const u8 *srch](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_copyasbuh1hhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsrch]hsrc}(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_hM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIhhhj_hM'ubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj_hM'hjFhhubjS)}(hhh]jX)}(hCopy an Ethernet addressh]hCopy an Ethernet address}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM'hjchhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhj_hM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~jxj~jyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``u8 *dst`` Pointer to a six-byte array Ethernet address destination ``const u8 *src`` Pointer to a six-byte array Ethernet address source **Description** Please note: dst & src must both be aligned to u16.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM+hjubj)}(hhh](j)}(hE``u8 *dst`` Pointer to a six-byte array Ethernet address destination h](j)}(h ``u8 *dst``h]j)}(hjh]hu8 *dst}(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)}(h8Pointer to a six-byte array Ethernet address destinationh]h8Pointer to a six-byte array Ethernet address destination}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(hF``const u8 *src`` Pointer to a six-byte array Ethernet address source h](j)}(h``const u8 *src``h]j)}(hjh]h const u8 *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.hhM)hjژubj)}(hhh]jX)}(h3Pointer to a six-byte array Ethernet address sourceh]h3Pointer to a six-byte array Ethernet address source}(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&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM+hjubjX)}(h3Please note: dst & src must both be aligned to u16.h]h3Please note: dst & src must both be aligned to u16.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM*hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_set (C function)c.eth_hw_addr_sethNtauh1hhj>hhhNhNubh)}(hhh](h)}(h=void eth_hw_addr_set (struct net_device *dev, const u8 *addr)h]h)}(hh]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 *addrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hu8h]hu8}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/modnameN classnameNjj!)}j$]jיc.eth_hw_addr_setasbuh1hhj 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}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj\hhhjnhM=ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhjnhM=ubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhM=hjUhhubjS)}(hhh]jX)}(h'Assign Ethernet address to a net_deviceh]h'Assign Ethernet address to a net_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM=hjhhubah}(h]h ]h"]h$]h&]uh1jRhjUhhhjnhM=ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(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.hhMAhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhj˚ubeh}(h]h ]h"]h$]h&]uh1jhjhM>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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM?hjubj)}(hhh]jX)}(haddress to assignh]haddress to assign}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM?hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjȚubeh}(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&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMAhjubjX)}(hHAssign given address to the net_device, addr_assign_type is not changed.h]hHAssign given address to the net_device, addr_assign_type is not changed.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM@hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h eth_hw_addr_inherit (C function)c.eth_hw_addr_inherithNtauh1hhj>hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMIubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMIubj)}(heth_hw_addr_inherith]j%)}(heth_hw_addr_inherith]heth_hw_addr_inherit}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMIubj)}(h0(struct net_device *dst, struct net_device *src)h](j)}(hstruct net_device *dsth](h)}(hjh]hstruct}(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')}jjsbc.eth_hw_addr_inheritasbuh1hhjÛ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%)}(hdsth]hdst}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjÛubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net_device *srch](h)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]jc.eth_hw_addr_inheritasbuh1hhj5ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMIubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMIubah}(h]j}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMIhjhhubjS)}(hhh]jX)}(h%Copy dev_addr from another net_deviceh]h%Copy dev_addr from another net_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMIhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMIubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjҜjxjҜjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjh]hstruct net_device *dst}(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.hhMJhjubj)}(hhh]jX)}(h)pointer to net_device to copy dev_addr toh]h)pointer to net_device to copy dev_addr to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubj)}(hG``struct net_device *src`` pointer to net_device to copy dev_addr from h](j)}(h``struct net_device *src``h]j)}(hj4h]hstruct net_device *src}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMKhj.ubj)}(hhh]jX)}(h+pointer to net_device to copy dev_addr fromh]h+pointer to net_device to copy dev_addr from}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMKhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMKhjubeh}(h]h ]h"]h$]h&]uh1jhj֜ubjX)}(h**Description**h]j)}(hjoh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.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).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMLhj֜ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_equal (C function)c.ether_addr_equalhNtauh1hhj>hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMXubj)}(hether_addr_equalh]j%)}(hether_addr_equalh]hether_addr_equal}(hjԝhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjНubah}(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$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj֝sbc.ether_addr_equalasbuh1hhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddr1h]haddr1}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst u8 *addr2h](h)}(hjh]hconst}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hjohhhNhNubah}(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.ether_addr_equalasbuh1hhj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj%)}(haddr2h]haddr2}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=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&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hX6**Parameters** ``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address **Description** Compare two Ethernet addresses, returns true if equal Please note: addr1 & addr2 must both be aligned to u16.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM\hjubj)}(hhh](j)}(hP``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr1``h]j)}(hj$h]hconst u8 *addr1}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.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}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMYhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMYhjubj)}(hQ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address h](j)}(h``const u8 *addr2``h]j)}(hj]h]hconst u8 *addr2}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMZhjWubj)}(hhh]jX)}(hhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$ether_addr_equal_64bits (C function)c.ether_addr_equal_64bitshNtauh1hhj>hhhNhNubh)}(hhh](h)}(h?bool ether_addr_equal_64bits (const u8 *addr1, const u8 *addr2)h]h)}(h>bool ether_addr_equal_64bits(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.hhMpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMpubj)}(hether_addr_equal_64bitsh]j%)}(hether_addr_equal_64bitsh]hether_addr_equal_64bits}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMpubj)}(h"(const u8 *addr1, const u8 *addr2)h](j)}(hconst u8 *addr1h](h)}(hjh]hconst}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hhh]j%)}(hu8h]hu8}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jjsbc.ether_addr_equal_64bitsasbuh1hhj$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%)}(haddr1h]haddr1}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(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$]jbc.ether_addr_equal_64bitsasbuh1hhjubj)}(h h]h }(hj֠hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddr2h]haddr2}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMpubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMpubah}(h]jߟah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMphjhhubjS)}(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&]uh1jRhjhhhjhMpubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj3jxj3jyjzj{uh1hhhhj>hNhNubj})}(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)}(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.hhMthj7ubj)}(hhh](j)}(h3``const u8 *addr1`` Pointer to an array of 8 bytes h](j)}(h``const u8 *addr1``h]j)}(hj\h]hconst u8 *addr1}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMqhjVubj)}(hhh]jX)}(hPointer to an array of 8 bytesh]hPointer to an array of 8 bytes}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMqhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMqhjSubj)}(h9``const u8 *addr2`` Pointer to an other array of 8 bytes h](j)}(h``const u8 *addr2``h]j)}(hjh]hconst u8 *addr2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMrhjubj)}(hhh]jX)}(h$Pointer to an other array of 8 bytesh]h$Pointer to an other array of 8 bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjSubeh}(h]h ]h"]h$]h&]uh1jhj7ubjX)}(h**Description**h]j)}(hjСh]h Description}(hjҡhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjΡubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMthj7ubjX)}(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.hhMshj7ubjX)}(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 }}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMuhj7ubjX)}(hNPlease note that alignment of addr1 & addr2 are only guaranteed to be 16 bits.h]hNPlease note that alignment of addr1 & addr2 are only guaranteed to be 16 bits.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMyhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'ether_addr_equal_unaligned (C function)c.ether_addr_equal_unalignedhNtauh1hhj>hhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/hhhj@hMubj)}(hether_addr_equal_unalignedh]j%)}(hether_addr_equal_unalignedh]hether_addr_equal_unaligned}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/hhhj@hMubj)}(h"(const u8 *addr1, const u8 *addr2)h](j)}(hconst u8 *addr1h](h)}(hjh]hconst}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjUsbc.ether_addr_equal_unalignedasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(haddr1h]haddr1}(hjȢhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubj)}(hconst u8 *addr2h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjݢubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjݢubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.ether_addr_equal_unalignedasbuh1hhjݢubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjݢubj;)}(hj>h]h*}(hj+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjݢubj%)}(haddr2h]haddr2}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjݢubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubeh}(h]h ]h"]h$]h&]j<j=uh1jhj/hhhj@hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhj@hMubah}(h]j&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@hMhj(hhubjS)}(hhh]jX)}(h.Compare two not u16 aligned Ethernet addressesh]h.Compare two not u16 aligned Ethernet addresses}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj_hhubah}(h]h ]h"]h$]h&]uh1jRhj(hhhj@hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhj>hNhNubj})}(hXF**Parameters** ``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address **Description** Compare two Ethernet addresses, returns true if equal Please note: Use only when any Ethernet address may not be u16 aligned.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj~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.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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hQ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address h](j)}(h``const u8 *addr2``h]j)}(hjܣh]hconst u8 *addr2}(hjޣhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڣubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj֣ubj)}(hhh]jX)}(hhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$ether_addr_equal_masked (C function)c.ether_addr_equal_maskedhNtauh1hhj>hhhNhNubh)}(hhh](h)}(hObool ether_addr_equal_masked (const u8 *addr1, const u8 *addr2, const u8 *mask)h]h)}(hNbool ether_addr_equal_masked(const u8 *addr1, const u8 *addr2, const u8 *mask)h](j)}(hjTh]hbool}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjxhMubj)}(hether_addr_equal_maskedh]j%)}(hether_addr_equal_maskedh]hether_addr_equal_masked}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjghhhjxhMubj)}(h2(const u8 *addr1, const u8 *addr2, const u8 *mask)h](j)}(hconst u8 *addr1h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjŤhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj¤ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjǤmodnameN classnameNjj!)}j$]j')}jjsbc.ether_addr_equal_maskedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddr1h]haddr1}(hjhhhNhNubah}(h]h &]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst u8 *addr2h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]jc.ether_addr_equal_maskedasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddr2h]haddr2}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst u8 *maskh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(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%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjghhhjxhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjchhhjxhMubah}(h]j^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhMhj`hhubjS)}(hhh]jX)}(h*Compare two Ethernet addresses with a maskh]h*Compare two Ethernet addresses with a mask}(hj hhhNhNubah}(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`hhhjxhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"jxj"jyjzj{uh1hhhhj>hNhNubj})}(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)}(hj,h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj&ubj)}(hhh](j)}(hT``const u8 *addr1`` Pointer to a six-byte array containing the 1st Ethernet address h](j)}(h``const u8 *addr1``h]j)}(hjKh]hconst u8 *addr1}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjEubj)}(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}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhjBubj)}(hT``const u8 *addr2`` Pointer to a six-byte array containing the 2nd Ethernet address h](j)}(h``const u8 *addr2``h]j)}(hjh]hconst u8 *addr2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj~ubj)}(hhh]jX)}(h?Pointer to a six-byte array containing the 2nd Ethernet addressh]h?Pointer to a six-byte array containing the 2nd Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjBubj)}(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}(hj֦hhhNhNubah}(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)}(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)}(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.hhMhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_to_u64 (C function)c.ether_addr_to_u64hNtauh1hhj>hhhNhNubh)}(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}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]j')}jether_addr_to_u64sbc.ether_addr_to_u64asbuh1hhj9hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhjahMubj)}(hether_addr_to_u64h]j%)}(hj^h]hether_addr_to_u64}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhjahMubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j\c.ether_addr_to_u64asbuh1hhjubj)}(h h]h }(hj˧hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj٧hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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-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.hhMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj2hhhjahMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhj>hNhNubj})}(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)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj,ubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjQh]hconst u8 *addr}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjKubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubjX)}(h **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:101: ./include/linux/etherdevice.hhMhj,ubjX)}(ha u64 value of the addressh]ha u64 value of the address}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hu64_to_ether_addr (C function)c.u64_to_ether_addrhNtauh1hhj>hhhNhNubh)}(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}(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ͨhhhjߨhMubj)}(hu64_to_ether_addrh]j%)}(hu64_to_ether_addrh]hu64_to_ether_addr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjͨhhhjߨhMubj)}(h(u64 u, u8 *addr)h](j)}(hu64 uh](h)}(hhh]j%)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.u64_to_ether_addrasbuh1hhj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(huh]hu}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j-c.u64_to_ether_addrasbuh1hhjTubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(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]jĨah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjߨhMhjƨhhubjS)}(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&]uh1jRhjƨhhhjߨhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj֩jxj֩jyjzj{uh1hhhhj>hNhNubj})}(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&]uh1jhjީubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjکubj)}(hhh](j)}(h4``u64 u`` u64 to convert to an Ethernet MAC address h](j)}(h ``u64 u``h]j)}(hjh]hu64 u}(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)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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hH``u8 *addr`` Pointer to a six-byte array to contain the Ethernet addressh](j)}(h ``u8 *addr``h]j)}(hj8h]hu8 *addr}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj2ubj)}(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}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubeh}(h]h ]h"]h$]h&]uh1jhjکubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_dec (C function)c.eth_addr_dechNtauh1hhj>hhhNhNubh)}(hhh](h)}(hvoid eth_addr_dec (u8 *addr)h]h)}(hvoid eth_addr_dec(u8 *addr)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]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_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=uh1jhjhhhjhMubj)}(h (u8 *addr)h]j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hjҪhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjϪubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjԪmodnameN classnameNjj!)}j$]j')}jjsbc.eth_addr_decasbuh1hhj˪ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj˪ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj˪ubj%)}(haddrh]haddr}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj˪ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjǪ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)}(hDecrement the given MAC addressh]hDecrement the given MAC address}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj4hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhj>hNhNubj})}(hc**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to decrementh](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:101: ./include/linux/etherdevice.hhMhjSubj)}(hhh]j)}(hQ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to decrementh](j)}(h ``u8 *addr``h]j)}(hjxh]hu8 *addr}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjrubj)}(hhh]jX)}(hDPointer to a six-byte array containing Ethernet address to decrementh]hDPointer to a six-byte array containing Ethernet address to decrement}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_inc (C function)c.eth_addr_inchNtauh1hhj>hhhNhNubh)}(hhh](h)}(hvoid eth_addr_inc (u8 *addr)h]h)}(hvoid eth_addr_inc(u8 *addr)h](j)}(hvoidh]hvoid}(hjҫhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjΫhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjΫhhhjhMubj)}(h eth_addr_inch]j%)}(h eth_addr_inch]h eth_addr_inc}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjΫhhhjhMubj)}(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_incasbuh1hhj ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(haddrh]haddr}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjΫhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjʫhhhjhMubah}(h]jūah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjǫhhubjS)}(hhh]jX)}(h Increment the given MAC address.h]h Increment the given MAC address.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjthhubah}(h]h ]h"]h$]h&]uh1jRhjǫhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hd**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]j)}(hR``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment.h](j)}(h ``u8 *addr``h]j)}(hjh]hu8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jX)}(hEPointer to a six-byte array containing Ethernet address to increment.h]hEPointer to a six-byte array containing Ethernet address to increment.}(hjѬhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjάubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͬhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_addr_add (C function)c.eth_addr_addhNtauh1hhj>hhhNhNubh)}(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 }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(h eth_addr_addh]j%)}(h eth_addr_addh]h eth_addr_add}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMubj)}(h(u8 *addr, long offset)h](j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]j')}jj5sbc.eth_addr_addasbuh1hhjKubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(h long offseth](j)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(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=uh1jhjGubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhjhhubjS)}(hhh]jX)}(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.}(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&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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&]uh1jhj ubah}(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)}(hj-h]hu8 *addr}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj'ubj)}(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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj$ubj)}(h``long offset`` Offset to add.h](j)}(h``long offset``h]j)}(hjfh]h long offset}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj`ubj)}(hhh]jX)}(hOffset to add.h]hOffset to add.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_etherdev_addr (C function)c.is_etherdev_addrhNtauh1hhj>hhhNhNubh)}(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 }(hjήhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjͮhMubj)}(his_etherdev_addrh]j%)}(his_etherdev_addrh]his_etherdev_addr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjܮubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjͮhMubj)}(h4(const struct net_device *dev, const u8 addr[6 + 2])h](j)}(hconst struct net_device *devh](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%)}(h net_deviceh]h net_device}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jjsbc.is_etherdev_addrasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst u8 addr[6 + 2]h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jQc.is_etherdev_addrasbuh1hhjubj)}(h h]h }(hjůhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(haddrh]haddr}(hjӯhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(h[h]h[}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubhdesc_sig_literal_number)}(h6h]h6}(hjhhhNhNubah}(h]h ]mah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubhdesc_sig_operator)}(h+h]h+}(hjhhhNhNubah}(h]h ]oah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h2h]h2}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj;)}(h]h]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=uh1jhjhhhjͮhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjͮhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjͮhMhjhhubjS)}(hhh]jX)}(h5Tell if given Ethernet address belongs to the device.h]h5Tell if given Ethernet address belongs to the device.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjbhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjͮhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``const struct net_device *dev`` Pointer to a device structure ``const u8 addr[6 + 2]`` Pointer to a six-byte array containing the Ethernet address **Description** Compare passed address with all addresses of the device. Return true if the address if one of the device addresses. Note that this function calls ether_addr_equal_64bits() so take care of the right padding.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh](j)}(h?``const struct net_device *dev`` Pointer to a device structure h](j)}(h ``const struct net_device *dev``h]j)}(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.hhMhjubj)}(hhh]jX)}(hPointer to a device structureh]hPointer to a device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``const u8 addr[6 + 2]`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 addr[6 + 2]``h]j)}(hj߰h]hconst u8 addr[6 + 2]}(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.hhMhjٰubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjٰubeh}(h]h ]h"]h$]h&]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:101: ./include/linux/etherdevice.hhMhjubjX)}(hsCompare passed address with all addresses of the device. Return true if the address if one of the device addresses.h]hsCompare passed address with all addresses of the device. Return true if the address if one of the device addresses.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjX)}(hZNote that this function calls ether_addr_equal_64bits() so take care of the right padding.h]hZNote that this function calls ether_addr_equal_64bits() so take care of the right padding.}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!compare_ether_header (C function)c.compare_ether_headerhNtauh1hhj>hhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM-ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhj|hM-ubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhj|hM-ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhj|hM-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=uh1jhjjhhhj|hM-ubj)}(h(const void *a, const void *b)h](j)}(h const void *ah](h)}(hjh]hconst}(hjDZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjñubj)}(h h]h }(hjԱhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjñubj)}(hvoidh]hvoid}(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%)}(hj(4h]ha}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjñubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h const void *bh](h)}(hjh]hconst}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hvoidh]hvoid}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj~h]hb}(hjghhhNhNubah}(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)}(hCompare two Ethernet headersh]hCompare two Ethernet headers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM-hjhhubah}(h]h ]h"]h$]h&]uh1jRhjchhhj|hM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjѲh]h const void *a}(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 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.hjȲubj)}(h-``const void *b`` Pointer to Ethernet header h](j)}(h``const void *b``h]j)}(hj h]h const void *b}(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.hhM/hjubj)}(hhh]jX)}(hPointer to Ethernet headerh]hPointer to Ethernet header}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM/hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjȲubeh}(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&]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.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM0hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_gen (C function)c.eth_hw_addr_genhNtauh1hhj>hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMRubj)}(heth_hw_addr_genh]j%)}(heth_hw_addr_genh]heth_hw_addr_gen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMRubj)}(h>(struct net_device *dev, const u8 *base_addr, unsigned int id)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjdzhhhNhNubah}(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')}jjsbc.eth_hw_addr_genasbuh1hhjó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=uh1jhjubj)}(hconst u8 *base_addrh](h)}(hjh]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(hu8h]hu8}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]jc.eth_hw_addr_genasbuh1hhj5ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(h base_addrh]h base_addr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(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}(hjŴhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjӴhhhNhNubah}(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=uh1jhjhhhjhMRubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMRubah}(h]j}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMRhjhhubjS)}(hhh]jX)}(h.Generate and assign Ethernet address to a porth]h.Generate and assign Ethernet address to a port}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMRhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMRubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj#jxj#jyjzj{uh1hhhhj>hNhNubj})}(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)}(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.hhMVhj'ubj)}(hhh](j)}(hB``struct net_device *dev`` pointer to port's net_device structure h](j)}(h``struct net_device *dev``h]j)}(hjLh]hstruct net_device *dev}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMShjFubj)}(hhh]jX)}(h&pointer to port's net_device structureh]h(pointer to port’s net_device structure}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMShjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMShjCubj)}(h.``const u8 *base_addr`` base Ethernet address h](j)}(h``const u8 *base_addr``h]j)}(hjh]hconst u8 *base_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMThjubj)}(hhh]jX)}(hbase Ethernet addressh]hbase Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjCubj)}(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}(hj׵hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjӵhMUhjԵubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӵhMUhjCubeh}(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.hhMWhj'ubjX)}(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.hhMVhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_skb_pkt_type (C function)c.eth_skb_pkt_typehNtauh1hhj>hhhNhNubh)}(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}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMgubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hhhjLhMgubj)}(heth_skb_pkt_typeh]j%)}(heth_skb_pkt_typeh]heth_skb_pkt_type}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:hhhjLhMgubj)}(h3(struct sk_buff *skb, const struct net_device *dev)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.eth_skb_pkt_typeasbuh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hjǶhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(hskbh]hskb}(hjԶhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(modnameN classnameNjj!)}j$]jc.eth_skb_pkt_typeasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubeh}(h]h ]h"]h$]h&]j<j=uh1jhj:hhhjLhMgubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6hhhjLhMgubah}(h]j1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLhMghj3hhubjS)}(hhh]jX)}(h8Assign packet type if destination address does not matchh]h8Assign packet type if destination address does not match}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMghjhhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhjLhMgubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjʷh]hstruct sk_buff *skb}(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.hhMhhjķubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh address}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj߷hMhhjubah}(h]h ]h"]h$]h&]uh1jhjķubeh}(h]h ]h"]h$]h&]uh1jhj߷hMhhjubj)}(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}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMihj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMihjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.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.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMjhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_skb_pad (C function) c.eth_skb_padhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h%int eth_skb_pad (struct sk_buff *skb)h]h)}(h$int eth_skb_pad(struct sk_buff *skb)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(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=uh1jhjhhhjhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjҸhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjθubj)}(h h]h }(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.eth_skb_padasbuh1hhjθ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ʸ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)}(h9Pad buffer to minimum number of octets for Ethernet frameh]h9Pad buffer to minimum number of octets for Ethernet frame}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjRhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmjxjmjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjwh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjqubj)}(hhh]j)}(h&``struct sk_buff *skb`` Buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jX)}(h Buffer to padh]h Buffer to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(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&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjqubjX)}(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.hhMhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgro_node (C struct) c.gro_nodehNtauh1hhj>hhhNhNubh)}(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 }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj#hKubj)}(hgro_nodeh]j%)}(hjh]hgro_node}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(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,structure to support Generic Receive Offloadh]h,structure to support Generic Receive Offload}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM]hjUhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj#hKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjpjxjpjyjzj{uh1hhhhj>hNhNubj})}(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}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh:}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjtubjU)}(hstruct gro_node { unsigned long bitmask; struct gro_list hash[GRO_HASH_BUCKETS]; struct list_head rx_list; u32 rx_count; u32 cached_napi_id; };h]hstruct gro_node { unsigned long bitmask; struct gro_list hash[GRO_HASH_BUCKETS]; struct list_head rx_list; u32 rx_count; u32 cached_napi_id; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjtubjX)}(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.hhMkhjtubj)}(hhh](j)}(h9``bitmask`` bitmask to indicate used buckets in **hash** h](j)}(h ``bitmask``h]j)}(hjźh]hbitmask}(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,bitmask to indicate used buckets in **hash**h](h$bitmask to indicate used buckets in ^}(hj޺hhhNhNubj)}(h**hash**h]hhash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj޺ubeh}(h]h ]h"]h$]h&]uh1jWhjںhM_hjۺubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjںhM_hjubj)}(hB``hash`` hashtable of pending aggregated skbs, separated by flows h](j)}(h``hash``h]j)}(hj h]hhash}(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`hjubj)}(hhh]jX)}(h8hashtable of pending aggregated skbs, separated by flowsh]h8hashtable of pending aggregated skbs, separated by flows}(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)}(h0``rx_list`` list of pending ``GRO_NORMAL`` skbs h](j)}(h ``rx_list``h]j)}(hjEh]hrx_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.hhMahj?ubj)}(hhh]jX)}(h#list of pending ``GRO_NORMAL`` skbsh](hlist of pending }(hj^hhhNhNubj)}(h``GRO_NORMAL``h]h GRO_NORMAL}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh skbs}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjZhMahj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMahjubj)}(h2``rx_count`` cached current length of **rx_list** h](j)}(h ``rx_count``h]j)}(hjh]hrx_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhjubj)}(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&]uh1jhjubeh}(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)}(hj׻h]hcached_napi_id}(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)}(h9napi_struct::napi_id cached for hotpath, 0 for standaloneh]h9napi_struct::napi_id cached for hotpath, 0 for standalone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjubah}(h]h ]h"]h$]h&]uh1jhjѻubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubeh}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_is_scheduled (C function)c.napi_is_scheduledhNtauh1hhj>hhhNhNubh)}(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}(hj1hhhNhNubah}(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)}(hnapi_is_scheduledh]j%)}(hnapi_is_scheduledh]hnapi_is_scheduled}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj>hM ubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(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')}jjSsbc.napi_is_scheduledasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hj0h]hn}(hjƼhhhNhNubah}(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)}(htest if NAPI is scheduledh]htest if NAPI is scheduled}(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{uh1hhhhj>hNhNubj})}(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.hhMhj ubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hj0h]hstruct napi_struct *n}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj*ubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhM hjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhM hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjkh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj ubjX)}(hThis check is "best-effort". With no locking implemented, a NAPI can be scheduled or terminate right after this check and produce not precise results.h]hThis check is “best-effort”. With no locking implemented, a NAPI can be scheduled or terminate right after this check and produce not precise results.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj ubjX)}(h~NAPI_STATE_SCHED is an internal state, napi_is_scheduled should not be used normally and napi_schedule should be used instead.h]h~NAPI_STATE_SCHED is an internal state, napi_is_scheduled should not be used normally and napi_schedule should be used instead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubjX)}(hUse only if the driver really needs to check if a NAPI is scheduled for example in the context of delayed timer that can be skipped if a NAPI is already scheduled.h]hUse only if the driver really needs to check if a NAPI is scheduled for example in the context of delayed timer that can be skipped if a NAPI is already scheduled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj 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:104: ./include/linux/netdevice.hhMhj ubjX)}(h+True if NAPI is scheduled, False otherwise.h]h+True if NAPI is scheduled, False otherwise.}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_schedule (C function)c.napi_schedulehNtauh1hhj>hhhNhNubh)}(hhh](h)}(h*bool napi_schedule (struct napi_struct *n)h]h)}(h)bool napi_schedule(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.hhM#ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM#ubj)}(h napi_scheduleh]j%)}(h napi_scheduleh]h napi_schedule}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM#ubj)}(h(struct napi_struct *n)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_scheduleasbuh1hhj-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)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)}(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.hhM#hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj˾jxj˾jyjzj{uh1hhhhj>hNhNubj})}(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)}(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 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.hhM$hjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(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&]uh1jhjϾubjX)}(h**Description**h]j)}(hj/h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM&hjϾubjX)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hjϾubjX)}(h **Return**h]j)}(hjVh]hReturn}(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.hhM(hjϾubjX)}(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.}(hjlhhhNhNubah}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!napi_schedule_irqoff (C function)c.napi_schedule_irqoffhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h1void napi_schedule_irqoff (struct napi_struct *n)h]h)}(h0void napi_schedule_irqoff(struct napi_struct *n)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM7ubj)}(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=uh1jhjhhhjhM7ubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjؿhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjԿubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjԿubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.napi_schedule_irqoffasbuh1hhjԿ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}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjԿubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjпubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM7ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM7ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM7hjhhubjS)}(hhh]jX)}(hschedule NAPI pollh]hschedule NAPI poll}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hjWhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM7ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrjxjrjyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** Variant of napi_schedule(), assuming hard irqs are masked.h](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)}(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.hhM8hjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubah}(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)}(h:Variant of napi_schedule(), assuming hard irqs are masked.h]h:Variant of napi_schedule(), assuming hard irqs are masked.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hjvubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_complete_done (C function)c.napi_complete_donehNtauh1hhj>hhhNhNubh)}(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.hhMCubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj(hMCubj)}(hnapi_complete_doneh]j%)}(hnapi_complete_doneh]hnapi_complete_done}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj(hMCubj)}(h&(struct napi_struct *n, int work_done)h](j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]j')}jj=sbc.napi_complete_doneasbuh1hhjSubj)}(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=uh1jhjOubj)}(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=uh1jhjOubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj(hMCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj(hMCubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(hMChjhhubjS)}(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.hhMChj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj(hMCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhj>hNhNubj})}(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)}(hj0h]h Parameters}(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.hhMGhj*ubj)}(hhh](j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjOh]hstruct napi_struct *n}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhjIubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMDhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMDhjFubj)}(h.``int work_done`` number of packets processed h](j)}(h``int work_done``h]j)}(hjh]h int work_done}(hjhhhNhNubah}(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)}(hnumber of packets processedh]hnumber of packets processed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjFubeh}(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)}(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.hhMFhj*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:104: ./include/linux/netdevice.hhMJhj*ubjX)}(h1false if device should avoid rearming interrupts.h]h1false if device should avoid rearming interrupts.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMJhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_synchronize (C function)c.napi_synchronizehNtauh1hhj>hhhNhNubh)}(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&]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)}(hnapi_synchronizeh]j%)}(hnapi_synchronizeh]hnapi_synchronize}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+hhhj=hM^ubj)}(h(const struct napi_struct *n)h]j)}(hconst struct napi_struct *nh](h)}(hjh]hconst}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjRsbc.napi_synchronizeasbuh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubah}(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)}(hwait until NAPI is not runningh]hwait until NAPI is not running}(hj hhhNhNubah}(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&]jvjqjwj!jxj!jyjzj{uh1hhhhj>hNhNubj})}(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)}(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.hhMbhj%ubj)}(hhh]j)}(h-``const struct napi_struct *n`` NAPI context h](j)}(h``const struct napi_struct *n``h]j)}(hjJh]hconst struct napi_struct *n}(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.hhM_hjDubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hM_hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM_hjAubah}(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.hhMahj%ubjX)}(hWait until NAPI is done being scheduled on this context. Waits till any outstanding processing completes but does not disable future activations.h]hWait until NAPI is done being scheduled on this context. Waits till any outstanding processing completes but does not disable future activations.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM`hj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*napi_if_scheduled_mark_missed (C function)c.napi_if_scheduled_mark_missedhNtauh1hhj>hhhNhNubh)}(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.hhMoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMoubj)}(hnapi_if_scheduled_mark_missedh]j%)}(hnapi_if_scheduled_mark_missedh]hnapi_if_scheduled_mark_missed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMoubj)}(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_if_scheduled_mark_missedasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMoubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMohjhhubjS)}(hhh]jX)}(h.if napi is running, set the NAPIF_STATE_MISSEDh]h.if napi is running, set the NAPIF_STATE_MISSED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMohjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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.hhMshjubj)}(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.hhMqhjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshjubjX)}(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.hhMrhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_priv_flags (C enum)c.netdev_priv_flagshNtauh1hhj>hhhNhNubh)}(hhh](h)}(hnetdev_priv_flagsh]h)}(henum netdev_priv_flagsh](h)}(hhh]henum}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMxubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhjVhMxubj)}(hnetdev_priv_flagsh]j%)}(hjCh]hnetdev_priv_flags}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjVhMxubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjVhMxubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVhMxhj>hhubjS)}(hhh]jX)}(h3:c:type:`struct net_device ` priv_flagsh](h)}(h(:c:type:`struct net_device `h]j)}(hjh]hstruct net_device}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j')}jjCsbc.netdev_priv_flagsasbj net_deviceuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKhjubh priv_flags}(hjhhhNhNubeh}(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>hhhjVhMxubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjh]hIFF_802_1Q_VLAN}(hjhhhNhNubah}(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)}(h802.1Q VLAN deviceh]h802.1Q VLAN device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``IFF_EBRIDGE`` Ethernet bridging device h](j)}(h``IFF_EBRIDGE``h]j)}(hj,h]h IFF_EBRIDGE}(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)}(hEthernet bridging deviceh]hEthernet bridging device}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubj)}(h(``IFF_BONDING`` bonding master or slave h](j)}(h``IFF_BONDING``h]j)}(hjeh]h IFF_BONDING}(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)}(hbonding master or slaveh]hbonding master or slave}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjubj)}(h*``IFF_ISATAP`` ISATAP interface (RFC4214) h](j)}(h``IFF_ISATAP``h]j)}(hjh]h IFF_ISATAP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hISATAP interface (RFC4214)h]hISATAP interface (RFC4214)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhj ubj)}(hhh]jX)}(h4dev_hard_start_xmit() is allowed to release skb->dsth]h4dev_hard_start_xmit() is allowed to release skb->dst}(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)}(h5``IFF_DONT_BRIDGE`` disallow bridging this ether dev h](j)}(h``IFF_DONT_BRIDGE``h]j)}(hjJh]hIFF_DONT_BRIDGE}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjDubj)}(hhh]jX)}(h disallow bridging this ether devh]h disallow bridging this ether dev}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjubj)}(h4``IFF_DISABLE_NETPOLL`` disable netpoll at run-time h](j)}(h``IFF_DISABLE_NETPOLL``h]j)}(hjh]hIFF_DISABLE_NETPOLL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj}ubj)}(hhh]jX)}(hdisable netpoll at run-timeh]hdisable netpoll at run-time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(h/``IFF_BRIDGE_PORT`` device used as bridge port h](j)}(h``IFF_BRIDGE_PORT``h]j)}(hjh]hIFF_BRIDGE_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 bridge porth]hdevice used as bridge port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h?``IFF_OVS_DATAPATH`` device used as Open vSwitch datapath port h](j)}(h``IFF_OVS_DATAPATH``h]j)}(hj.h]hIFF_OVS_DATAPATH}(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)}(h)device used as Open vSwitch datapath porth]h)device used as Open vSwitch datapath port}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjubj)}(hG``IFF_TX_SKB_SHARING`` The interface supports sharing skbs on transmit h](j)}(h``IFF_TX_SKB_SHARING``h]j)}(hjgh]hIFF_TX_SKB_SHARING}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjaubj)}(hhh]jX)}(h/The interface supports sharing skbs on transmith]h/The interface supports sharing skbs on transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhjubj)}(h/``IFF_UNICAST_FLT`` Supports unicast filtering h](j)}(h``IFF_UNICAST_FLT``h]j)}(hjh]hIFF_UNICAST_FLT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hSupports unicast filteringh]hSupports unicast filtering}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhj ubj)}(hhh]jX)}(h"device supports sending custom FCSh]h"device supports sending custom FCS}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjubj)}(hS``IFF_LIVE_ADDR_CHANGE`` device supports hardware address change when it's running h](j)}(h``IFF_LIVE_ADDR_CHANGE``h]j)}(hjKh]hIFF_LIVE_ADDR_CHANGE}(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.hhMhjEubj)}(hhh]jX)}(h9device supports hardware address change when it's runningh]h;device supports hardware address change when it’s running}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhjubj)}(h``IFF_MACVLAN`` Macvlan device h](j)}(h``IFF_MACVLAN``h]j)}(hjh]h IFF_MACVLAN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hMacvlan deviceh]hMacvlan device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(h4``IFF_L3MDEV_MASTER`` device is an L3 master device h](j)}(h``IFF_L3MDEV_MASTER``h]j)}(hjh]hIFF_L3MDEV_MASTER}(hjhhhNhNubah}(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 an L3 master deviceh]hdevice is an L3 master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h7``IFF_NO_QUEUE`` device can run without qdisc attached h](j)}(h``IFF_NO_QUEUE``h]j)}(hj1h]h IFF_NO_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.hhMhj+ubj)}(hhh]jX)}(h%device can run without qdisc attachedh]h%device can run without qdisc attached}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjubj)}(h4``IFF_OPENVSWITCH`` device is a Open vSwitch master h](j)}(h``IFF_OPENVSWITCH``h]j)}(hjjh]hIFF_OPENVSWITCH}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjdubj)}(hhh]jX)}(hdevice is a Open vSwitch masterh]hdevice is a Open vSwitch master}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``IFF_L3MDEV_SLAVE`` device is enslaved to an L3 master device h](j)}(h``IFF_L3MDEV_SLAVE``h]j)}(hjh]hIFF_L3MDEV_SLAVE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h)device is 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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubj)}(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)}(hjNh]hIFF_PHONY_HEADROOM}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjHubj)}(hhh]jX)}(h`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)}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjubj)}(h)``IFF_MACSEC`` device is a MACsec device h](j)}(h``IFF_MACSEC``h]j)}(hjh]h IFF_MACSEC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hdevice is a MACsec deviceh]hdevice is a MACsec device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(h4``IFF_FAILOVER`` device is a failover master device h](j)}(h``IFF_FAILOVER``h]j)}(hjh]h IFF_FAILOVER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h"device is a failover master deviceh]h"device is a failover master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``IFF_FAILOVER_SLAVE`` device is lower dev of a failover master device h](j)}(h``IFF_FAILOVER_SLAVE``h]j)}(hj3h]hIFF_FAILOVER_SLAVE}(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/device is lower dev of a failover master deviceh]h/device is lower dev of a failover master device}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubj)}(hI``IFF_L3MDEV_RX_HANDLER`` only invoke the rx handler of L3 master device h](j)}(h``IFF_L3MDEV_RX_HANDLER``h]j)}(hjlh]hIFF_L3MDEV_RX_HANDLER}(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.only invoke the rx handler of L3 master deviceh]h.only invoke the rx handler of L3 master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hprevent ipv6 addrconfh]hprevent ipv6 addrconf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubjX)}(h**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.hhMhj>hhubjX)}(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 }(hj6hhhNhNubh)}(h(:c:type:`struct net_device `h]j)}(hj@h]hstruct net_device}(hjBhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj net_deviceuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj6ubh, 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.}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj]hMhj>hhubjX)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj>hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_device (C struct) c.net_devicehNtauh1hhj>hhhNhNubh)}(hhh](h)}(h net_deviceh]h)}(hstruct net_deviceh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h net_deviceh]j%)}(hjh]h net_device}(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)}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hX2c**Definition**:: struct net_device { 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 *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_egress; #endif; 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 *ip6_ptr; struct bpf_prog *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 *rx_handler; void *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_ingress; #endif; char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_ATALK); void *atalk_ptr; #endif; #if IS_ENABLED(CONFIG_AX25); struct ax25_dev *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 *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev *mctp_ptr; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_dev *psp_dev; #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 *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries *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 *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 *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin *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; u32 num_napi_configs; u32 napi_defer_hard_irqs; unsigned long gro_flush_timeout; 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 *hwprov; u8 priv[] ; }; **Members** ``priv_flags`` flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitions ``lltx`` device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels ``netmem_tx`` device support netmem_tx. ``netdev_ops`` Includes several pointers to callbacks, if one wants to override the ndo_*() functions ``header_ops`` Includes callbacks for creating,parsing,caching,etc of Layer 2 headers. ``_tx`` Array of TX queues ``gso_partial_features`` value(s) from NETIF_F_GSO\* ``real_num_tx_queues`` Number of TX queues currently active in device ``gso_max_size`` Maximum size of generic segmentation offload ``gso_ipv4_max_size`` Maximum size of generic segmentation offload, for IPv4. ``gso_max_segs`` Maximum number of segments that can be passed to the NIC for GSO ``num_tc`` Number of traffic classes in the net device ``mtu`` Interface MTU value ``needed_headroom`` Extra headroom the hardware may need, but not in all cases can this be guaranteed ``tc_to_txq`` XXX: need comments on this one ``xps_maps`` XXX: need comments on this one ``nf_hooks_egress`` netfilter hooks executed for egress packets ``tcx_egress`` BPF & clsact qdisc specific data for egress processing ``{unnamed_union}`` anonymous ``lstats`` Loopback statistics: packets, bytes ``tstats`` Tunnel statistics: RX/TX packets, RX/TX bytes ``dstats`` Dummy statistics: RX/TX/drop packets, RX/TX bytes ``state`` Generic network queuing layer state, see netdev_state_t ``flags`` Interface flags (a la BSD) ``hard_header_len`` Maximum hardware header length. ``features`` Currently active device features ``ip6_ptr`` IPv6 specific data ``xdp_prog`` XDP sockets filter program pointer ``ptype_specific`` Device-specific, protocol-specific packet handlers ``ifindex`` interface index ``real_num_rx_queues`` Number of RX queues currently active in device ``_rx`` Array of RX queues ``gro_max_size`` Maximum size of aggregated packet in generic receive offload (GRO) ``gro_ipv4_max_size`` Maximum size of aggregated packet in generic receive offload (GRO), for IPv4. ``rx_handler`` handler for received packets ``rx_handler_data`` XXX: need comments on this one ``nd_net`` Network namespace this network device is inside protected by **lock** ``npinfo`` XXX: need comments on this one ``tcx_ingress`` BPF & clsact qdisc specific data for ingress processing ``name`` This is the first field of the "visible" part of this structure (i.e. as seen by users in the "Space.c" file). It is the name of the interface. ``name_node`` Name hashlist node ``ifalias`` SNMP alias ``mem_end`` Shared memory end ``mem_start`` Shared memory start ``base_addr`` Device I/O address ``dev_list`` The global list of network devices ``napi_list`` List entry used for polling NAPI devices ``unreg_list`` List entry when we are unregistering the device; see the function unregister_netdev ``close_list`` List entry used when we are closing the device ``ptype_all`` Device-specific packet handlers for all protocols ``adj_list`` Directly linked devices, like slaves for bonding ``xdp_features`` XDP capability supported by the device ``xdp_metadata_ops`` Includes pointers to XDP metadata callbacks. ``xsk_tx_metadata_ops`` Includes pointers to AF_XDP TX metadata callbacks. ``gflags`` Global flags ( kept as legacy ) ``needed_tailroom`` Extra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skb ``hw_features`` User-changeable features ``wanted_features`` User-requested features ``vlan_features`` Mask of features inheritable by VLAN devices ``hw_enc_features`` Mask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately. ``mpls_features`` Mask of features inheritable by MPLS ``min_mtu`` Interface Minimum MTU value ``max_mtu`` Interface Maximum MTU value ``type`` Interface hardware type ``min_header_len`` Minimum hardware header length ``name_assign_type`` network interface name assignment type ``group`` The group the device belongs to ``stats`` Statistics struct, which was left as a legacy, use rtnl_link_stats64 instead ``core_stats`` core networking counters, do not use this in drivers ``carrier_up_count`` Number of times the carrier has been up ``carrier_down_count`` Number of times the carrier has been down ``wireless_handlers`` List of functions to handle Wireless Extensions, instead of ioctl, see for details. ``ethtool_ops`` Management operations ``l3mdev_ops`` Layer 3 master device operations ``ndisc_ops`` Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN. ``xfrmdev_ops`` Transformation offload operations ``tlsdev_ops`` Transport Layer Security offload operations ``operstate`` RFC2863 operstate ``link_mode`` Mapping policy to operstate ``if_port`` Selectable AUI, TP, ... ``dma`` DMA channel ``perm_addr`` Permanent hw address ``addr_assign_type`` Hw address assignment type ``addr_len`` Hardware address length ``upper_level`` Maximum depth level of upper devices. ``lower_level`` Maximum depth level of lower devices. ``threaded`` napi threaded state. ``neigh_priv_len`` Used in neigh_alloc() ``dev_id`` Used to differentiate devices that share the same link layer address ``dev_port`` Used to differentiate devices that share the same function ``irq`` Device IRQ number ``priv_len`` Size of the ->priv flexible array ``addr_list_lock`` XXX: need comments on this one ``uc`` unicast mac addresses ``mc`` multicast mac addresses ``dev_addrs`` list of device hw addresses ``queues_kset`` Group of all Kobjects in the Tx and RX queues ``unlink_list`` As netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted. ``promiscuity`` Number of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous mode ``allmulti`` Counter, enables or disables allmulticast mode ``uc_promisc`` Counter that indicates promiscuous mode has been enabled due to the need to listen to additional unicast addresses in a device that does not implement ndo_set_rx_mode() ``nested_level`` Used as a parameter of spin_lock_nested() of dev->addr_list_lock. ``ip_ptr`` IPv4 specific data ``fib_nh_head`` nexthops associated with this netdev ``vlan_info`` VLAN info ``dsa_ptr`` dsa specific data ``tipc_ptr`` TIPC specific data ``atalk_ptr`` AppleTalk link ``ax25_ptr`` AX.25 specific data ``ieee80211_ptr`` IEEE 802.11 specific data, assign before registering ``ieee802154_ptr`` IEEE 802.15.4 low-rate Wireless Personal Area Network device struct ``mpls_ptr`` mpls_dev struct pointer ``mctp_ptr`` MCTP specific data ``psp_dev`` PSP crypto device registered for this netdev ``dev_addr`` Hw address (before bcast, because most packets are unicast) ``num_rx_queues`` Number of RX queues allocated at register_netdev() time ``xdp_zc_max_segs`` Maximum number of segments supported by AF_XDP zero copy driver ``ingress_queue`` XXX: need comments on this one ``nf_hooks_ingress`` netfilter hooks executed for ingress packets ``broadcast`` hw bcast address ``rx_cpu_rmap`` CPU reverse-mapping for RX completion interrupts, indexed by RX queue number. Assigned by driver. This must only be set if the ndo_rx_flow_steer operation is defined ``index_hlist`` Device index hash chain ``num_tx_queues`` Number of TX queues allocated at alloc_netdev_mq() time ``qdisc`` Root qdisc from userspace point of view ``tx_queue_len`` Max frames per queue allowed ``tx_global_lock`` XXX: need comments on this one ``xdp_bulkq`` XDP device bulk queue ``qdisc_hash`` qdisc hash table ``watchdog_timer`` List of timers ``watchdog_timeo`` Represents the timeout that is used by the watchdog (see dev_watchdog()) ``proto_down_reason`` reason a netdev interface is held down ``todo_list`` Delayed register/unregister ``pcpu_refcnt`` Number of references to this device ``dev_refcnt`` Number of references to this device ``refcnt_tracker`` Tracker directory for tracked references to this device ``link_watch_list`` XXX: need comments on this one ``reg_state`` Register/unregister state machine ``dismantle`` Device is going to be freed ``moving_ns`` device is changing netns, protected by **lock** ``rtnl_link_initializing`` Device being created, suppress events ``needs_free_netdev`` Should unregister perform free_netdev? ``priv_destructor`` Called from unregister ``ml_priv`` Mid-layer private ``ml_priv_type`` Mid-layer private type ``pcpu_stat_type`` Type of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally. ``garp_port`` GARP ``mrp_port`` MRP ``dm_private`` Drop monitor private ``dev`` Class/net/name entry ``sysfs_groups`` Space for optional device, statistics and wireless sysfs groups ``sysfs_rx_queue_group`` Space for optional per-rx queue attributes ``rtnl_link_ops`` Rtnl_link_ops ``stat_ops`` Optional ops for queue-aware statistics ``queue_mgmt_ops`` Optional ops for queue management ``tso_max_size`` Device (as in HW) limit on the max TSO request size ``tso_max_segs`` Device (as in HW) limit on the max TSO segment count ``dcbnl_ops`` Data Center Bridging netlink ops ``prio_tc_map`` XXX: need comments on this one ``fcoe_ddp_xid`` Max exchange id for FCoE LRO by ddp ``priomap`` XXX: need comments on this one ``link_topo`` Physical link topology tracking attached PHYs ``phydev`` Physical device may attach itself for hardware timestamping ``sfp_bus`` attached :c:type:`struct sfp_bus ` structure. ``qdisc_tx_busylock`` lockdep class annotating Qdisc->busylock spinlock ``proto_down`` protocol port state information can be sent to the switch driver and used to set the phys state of the switch port. ``irq_affinity_auto`` driver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()). ``rx_cpu_rmap_auto`` driver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap(). ``see_all_hwtstamp_requests`` device wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren't HWTSTAMP_SOURCE_NETDEV ``change_proto_down`` device supports setting carrier via IFLA_PROTO_DOWN ``netns_immutable`` interface can't change network namespaces ``fcoe_mtu`` device supports maximum FCoE MTU, 2158 bytes ``net_notifier_list`` List of per-net netdev notifier block that follow this device when it is moved to another network namespace. ``macsec_ops`` MACsec offloading ops ``udp_tunnel_nic_info`` static structure describing the UDP tunnel offload capabilities of the device ``udp_tunnel_nic`` UDP tunnel offload state ``cfg`` net_device queue-related configuration ``cfg_pending`` same as **cfg** but when device is being actively reconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected. ``ethtool`` ethtool related state ``xdp_state`` stores info on attached XDP BPF programs ``dev_addr_shadow`` Copy of **dev_addr** to catch direct writes. ``linkwatch_dev_tracker`` refcount tracker used by linkwatch. ``watchdog_dev_tracker`` refcount tracker used by watchdog. ``dev_registered_tracker`` tracker for reference held while registered ``offload_xstats_l3`` L3 HW stats for this netdevice. ``devlink_port`` Pointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered. ``dpll_pin`` Pointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered. ``page_pools`` page pools created for this netdevice ``irq_moder`` dim parameters used if IS_ENABLED(CONFIG_DIMLIB). ``max_pacing_offload_horizon`` max EDT offload horizon in nsec. ``napi_config`` An array of napi_config structures containing per-NAPI settings. ``num_napi_configs`` number of allocated NAPI config structs, always >= max(num_rx_queues, num_tx_queues). ``napi_defer_hard_irqs`` If not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues. ``gro_flush_timeout`` timeout for GRO layer in NAPI ``up`` copy of **state**'s IFF_UP, but safe to read with just **lock**. May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close). ``request_ops_lock`` request the core to run all **netdev_ops** and **ethtool_ops** under the **lock**. ``lock`` netdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection. For the drivers that implement shaper or queue API, the scope of this lock is expanded to cover most ndo/queue/ethtool/sysfs operations. Drivers may opt-in to this behavior by setting **request_ops_lock**. **lock** protection mixes with rtnl_lock in multiple ways, fields are either: - simply protected by the instance **lock**; - double protected - writers hold both locks, readers hold either; - ops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock; - double ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock. Simply protects: **gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded** Double protects: **up**, **moving_ns**, **nd_net**, **xdp_features** Double ops protects: **real_num_rx_queues**, **real_num_tx_queues** Also protects some fields in: struct napi_struct, struct netdev_queue, struct netdev_rx_queue Ordering: take after rtnl_lock. ``net_shaper_hierarchy`` data tracking the current shaper status see include/net/net_shapers.h ``neighbours`` List heads pointing to this device's neighbours' dev_list, one per address-family. ``hwprov`` Tracks which PTP performs hardware packet time stamping. ``priv`` Flexible array containing private datah](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(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.hhMhjubjU)}(hX%struct net_device { 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 *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_egress; #endif; 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 *ip6_ptr; struct bpf_prog *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 *rx_handler; void *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_ingress; #endif; char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_ATALK); void *atalk_ptr; #endif; #if IS_ENABLED(CONFIG_AX25); struct ax25_dev *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 *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev *mctp_ptr; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_dev *psp_dev; #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 *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries *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 *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 *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin *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; u32 num_napi_configs; u32 napi_defer_hard_irqs; unsigned long gro_flush_timeout; 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 *hwprov; u8 priv[] ; };h]hX%struct net_device { 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 *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_egress; #endif; 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 *ip6_ptr; struct bpf_prog *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 *rx_handler; void *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_ingress; #endif; char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_ATALK); void *atalk_ptr; #endif; #if IS_ENABLED(CONFIG_AX25); struct ax25_dev *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 *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev *mctp_ptr; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_dev *psp_dev; #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 *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries *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 *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 *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin *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; u32 num_napi_configs; u32 napi_defer_hard_irqs; unsigned long gro_flush_timeout; 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 *hwprov; u8 priv[] ; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(h **Members**h]j)}(hj h]hMembers}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM#hjubj)}(hhh](j)}(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)}(hj?h]h priv_flags}(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)}(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}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhj6ubj)}(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)}(hjyh]hlltx}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjsubj)}(hhh]jX)}(h{device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnelsh]h{device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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&]uh1jhjhMhj6ubj)}(hf``netdev_ops`` Includes several pointers to callbacks, if one wants to override the ndo_*() functions h](j)}(h``netdev_ops``h]j)}(hjh]h netdev_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)}(hVIncludes several pointers to callbacks, if one wants to override the ndo_*() functionsh]hVIncludes several pointers to callbacks, if one wants to override the ndo_*() functions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hj6ubj)}(hW``header_ops`` Includes callbacks for creating,parsing,caching,etc of Layer 2 headers. h](j)}(h``header_ops``h]j)}(hj&h]h header_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.hhMFhj ubj)}(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.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMEhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMFhj6ubj)}(h``_tx`` Array of TX queues h](j)}(h``_tx``h]j)}(hj`h]h_tx}(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)}(hArray of TX queuesh]hArray of TX queues}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhj6ubj)}(h5``gso_partial_features`` value(s) from NETIF_F_GSO\* h](j)}(h``gso_partial_features``h]j)}(hjh]hgso_partial_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM*hjubj)}(hhh]jX)}(hvalue(s) from NETIF_F_GSO\*h]hvalue(s) from NETIF_F_GSO*}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM*hj6ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h>``gso_max_size`` Maximum size of generic segmentation offload h](j)}(h``gso_max_size``h]j)}(hj h]h gso_max_size}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h,Maximum size of generic segmentation offloadh]h,Maximum size of generic segmentation offload}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj6ubj)}(hN``gso_ipv4_max_size`` Maximum size of generic segmentation offload, for IPv4. h](j)}(h``gso_ipv4_max_size``h]j)}(hjDh]hgso_ipv4_max_size}(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)}(h7Maximum size of generic segmentation offload, for IPv4.h]h7Maximum size of generic segmentation offload, for IPv4.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhj6ubj)}(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)}(hj~h]h gso_max_segs}(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@Maximum number of segments that can be passed to the NIC for GSOh]h@Maximum number of segments that can be passed to the NIC for GSO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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&]uh1jhjhMhj6ubj)}(h``mtu`` Interface MTU value h](j)}(h``mtu``h]j)}(hjh]hmtu}(hjhhhNhNubah}(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)}(hInterface MTU valueh]hInterface MTU value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhj6ubj)}(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)}(hj*h]hneeded_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.hhMYhj$ubj)}(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}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMXhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMYhj6ubj)}(h-``tc_to_txq`` XXX: need comments on this one h](j)}(h ``tc_to_txq``h]j)}(hjdh]h tc_to_txq}(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)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj6ubj)}(h,``xps_maps`` XXX: need comments on this one h](j)}(h ``xps_maps``h]j)}(hjh]hxps_maps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jX)}(h6BPF & clsact qdisc specific data for egress processingh]h6BPF & clsact qdisc specific data for egress processing}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhj6ubj)}(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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.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]hKhj6ubj)}(h/``lstats`` Loopback statistics: packets, bytes h](j)}(h ``lstats``h]j)}(hjh]hlstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj{ubj)}(hhh]jX)}(h#Loopback statistics: packets, bytesh]h#Loopback statistics: packets, bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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&]uh1jhjhMhj6ubj)}(h=``dstats`` Dummy statistics: RX/TX/drop packets, RX/TX bytes h](j)}(h ``dstats``h]j)}(hjh]hdstats}(hjhhhNhNubah}(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)}(h1Dummy statistics: RX/TX/drop packets, RX/TX bytesh]h1Dummy statistics: RX/TX/drop packets, RX/TX bytes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(hB``state`` Generic network queuing layer state, see netdev_state_t h](j)}(h ``state``h]j)}(hj,h]hstate}(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)}(h7Generic network queuing layer state, see netdev_state_th]h7Generic network queuing layer state, see netdev_state_t}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj6ubj)}(h%``flags`` Interface flags (a la BSD) h](j)}(h ``flags``h]j)}(hjeh]hflags}(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.hhMHhj_ubj)}(hhh]jX)}(hInterface flags (a la BSD)h]hInterface flags (a la BSD)}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMHhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMHhj6ubj)}(h4``hard_header_len`` Maximum hardware header length. h](j)}(h``hard_header_len``h]j)}(hjh]hhard_header_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMUhjubj)}(hhh]jX)}(hMaximum hardware header length.h]hMaximum hardware header length.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhj6ubj)}(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.hhMhjubj)}(hhh]jX)}(h Currently active device featuresh]h Currently active device features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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.hhMhj ubj)}(hhh]jX)}(hIPv6 specific datah]hIPv6 specific data}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj6ubj)}(h0``xdp_prog`` XDP sockets filter program pointer h](j)}(h ``xdp_prog``h]j)}(hjIh]hxdp_prog}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjCubj)}(hhh]jX)}(h"XDP sockets filter program pointerh]h"XDP sockets filter program pointer}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj6ubj)}(hF``ptype_specific`` Device-specific, protocol-specific packet handlers h](j)}(h``ptype_specific``h]j)}(hjh]hptype_specific}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj|ubj)}(hhh]jX)}(h2Device-specific, protocol-specific packet handlersh]h2Device-specific, protocol-specific packet handlers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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.hhM,hjubj)}(hhh]jX)}(hinterface indexh]hinterface index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hj6ubj)}(hF``real_num_rx_queues`` Number of RX queues currently active in device h](j)}(h``real_num_rx_queues``h]j)}(hjh]hreal_num_rx_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 RX queues currently active in deviceh]h.Number of RX queues currently active in device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj6ubj)}(h``_rx`` Array of RX queues h](j)}(h``_rx``h]j)}(hj-h]h_rx}(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)}(hArray of RX queuesh]hArray of RX queues}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj6ubj)}(hT``gro_max_size`` Maximum size of aggregated packet in generic receive offload (GRO) h](j)}(h``gro_max_size``h]j)}(hjfh]h gro_max_size}(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)}(hBMaximum size of aggregated packet in generic receive offload (GRO)h]hBMaximum size of aggregated packet in generic receive offload (GRO)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj6ubj)}(hd``gro_ipv4_max_size`` Maximum size of aggregated packet in generic receive offload (GRO), for IPv4. h](j)}(h``gro_ipv4_max_size``h]j)}(hjh]hgro_ipv4_max_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hMMaximum size of aggregated packet in generic receive offload (GRO), for IPv4.h]hMMaximum size of aggregated packet in generic receive offload (GRO), for IPv4.}(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&]uh1jhjhMhj6ubj)}(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.hhMhjubj)}(hhh]jX)}(hhandler for received packetsh]hhandler for received packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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.hhMhj ubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj6ubj)}(hQ``nd_net`` Network namespace this network device is inside protected by **lock** h](j)}(h ``nd_net``h]j)}(hjLh]hnd_net}(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)}(hENetwork namespace this network device is inside protected by **lock**h](h=Network namespace this network device is inside protected by }(hjehhhNhNubj)}(h**lock**h]hlock}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhj6ubj)}(h*``npinfo`` XXX: need comments on this one h](j)}(h ``npinfo``h]j)}(hjh]hnpinfo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.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&]uh1jhjhMhj6ubj)}(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.hhMhjubj)}(hhh]jX)}(h7BPF & clsact qdisc specific data for ingress processingh]h7BPF & clsact qdisc specific data for ingress processing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h``name`` This is the first field of the "visible" part of this structure (i.e. as seen by users in the "Space.c" file). It is the name of the interface. h](j)}(h``name``h]j)}(hjh]hname}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(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.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj6ubj)}(h!``name_node`` Name hashlist node h](j)}(h ``name_node``h]j)}(hj@h]h name_node}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj:ubj)}(hhh]jX)}(hName hashlist nodeh]hName hashlist node}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhM hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhM hj6ubj)}(h``ifalias`` SNMP alias h](j)}(h ``ifalias``h]j)}(hjyh]hifalias}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjsubj)}(hhh]jX)}(h SNMP aliash]h SNMP alias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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&]uh1jhjhMhj6ubj)}(h"``mem_start`` Shared memory start h](j)}(h ``mem_start``h]j)}(hjh]h mem_start}(hjhhhNhNubah}(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 starth]hShared memory start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h!``base_addr`` Device I/O address h](j)}(h ``base_addr``h]j)}(hj$h]h base_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.hhMhjubj)}(hhh]jX)}(hDevice I/O addressh]hDevice I/O address}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj6ubj)}(h0``dev_list`` The global list of network devices h](j)}(h ``dev_list``h]j)}(hj]h]hdev_list}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjWubj)}(hhh]jX)}(h"The global list of network devicesh]h"The global list of network devices}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhj6ubj)}(h7``napi_list`` List entry used for polling NAPI devices h](j)}(h ``napi_list``h]j)}(hjh]h napi_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h(List entry used for polling NAPI devicesh]h(List entry used for polling NAPI devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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}(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&]uh1jhjhMhj6ubj)}(h>``close_list`` List entry used when we are closing the device h](j)}(h``close_list``h]j)}(hj h]h close_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.hhMhjubj)}(hhh]jX)}(h.List entry used when we are closing the deviceh]h.List entry used when we are closing the device}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h@``ptype_all`` Device-specific packet handlers for all protocols h](j)}(h ``ptype_all``h]j)}(hjBh]h ptype_all}(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)}(h1Device-specific packet handlers for all protocolsh]h1Device-specific packet handlers for all protocols}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhj6ubj)}(h>``adj_list`` Directly linked devices, like slaves for bonding h](j)}(h ``adj_list``h]j)}(hj{h]hadj_list}(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)}(h0Directly linked devices, like slaves for bondingh]h0Directly linked devices, like slaves for bonding}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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.hhMIhjubj)}(hhh]jX)}(h&XDP capability supported by the deviceh]h&XDP capability supported by the device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMIhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMIhj6ubj)}(hB``xdp_metadata_ops`` Includes pointers to XDP metadata callbacks. h](j)}(h``xdp_metadata_ops``h]j)}(hjh]hxdp_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)}(h,Includes pointers to XDP metadata callbacks.h]h,Includes pointers to XDP metadata callbacks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hj6ubj)}(hK``xsk_tx_metadata_ops`` Includes pointers to AF_XDP TX metadata callbacks. h](j)}(h``xsk_tx_metadata_ops``h]j)}(hj&h]hxsk_tx_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>hj ubj)}(hhh]jX)}(h2Includes pointers to AF_XDP TX metadata callbacks.h]h2Includes pointers to AF_XDP TX metadata callbacks.}(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>hj6ubj)}(h+``gflags`` Global flags ( kept as legacy ) h](j)}(h ``gflags``h]j)}(hj_h]hgflags}(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.hhMJhjYubj)}(hhh]jX)}(hGlobal flags ( kept as legacy )h]hGlobal flags ( kept as legacy )}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMJhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMJhj6ubj)}(h``needed_tailroom`` Extra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skb h](j)}(h``needed_tailroom``h]j)}(hjh]hneeded_tailroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM\hjubj)}(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.hhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hj6ubj)}(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.hhMhjubj)}(hhh]jX)}(hUser-changeable featuresh]hUser-changeable features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h,``wanted_features`` User-requested features h](j)}(h``wanted_features``h]j)}(hj h]hwanted_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.hhM!hjubj)}(hhh]jX)}(hUser-requested featuresh]hUser-requested 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!hj6ubj)}(h?``vlan_features`` Mask of features inheritable by VLAN devices h](j)}(h``vlan_features``h]j)}(hjDh]h vlan_features}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM"hj>ubj)}(hhh]jX)}(h,Mask of features inheritable by VLAN devicesh]h,Mask of features inheritable by VLAN devices}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhM"hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM"hj6ubj)}(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)}(hj}h]hhw_enc_features}(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'hjwubj)}(hhh]jX)}(hMask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately.h]hMask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM'hj6ubj)}(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.hhM)hjubj)}(hhh]jX)}(h$Mask of features inheritable by MPLSh]h$Mask of features inheritable by MPLS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hj6ubj)}(h(``min_mtu`` Interface Minimum MTU value h](j)}(h ``min_mtu``h]j)}(hjh]hmin_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.hhMRhjubj)}(hhh]jX)}(hInterface Minimum MTU valueh]hInterface Minimum MTU value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhj6ubj)}(h(``max_mtu`` Interface Maximum MTU value h](j)}(h ``max_mtu``h]j)}(hj)h]hmax_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.hhMShj#ubj)}(hhh]jX)}(hInterface Maximum MTU valueh]hInterface Maximum MTU value}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMShj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMShj6ubj)}(h!``type`` Interface hardware type h](j)}(h``type``h]j)}(hjbh]htype}(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.hhMThj\ubj)}(hhh]jX)}(hInterface hardware typeh]hInterface hardware type}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMThjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMThj6ubj)}(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.hhMVhjubj)}(hhh]jX)}(hMinimum hardware header length&h]hMinimum hardware header length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhj6ubj)}(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.hhMlhjubj)}(hhh]jX)}(h&network interface name assignment typeh]h&network interface name assignment type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhj6ubj)}(h*``group`` The group the device belongs to h](j)}(h ``group``h]j)}(hj h]hgroup}(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-hjubj)}(hhh]jX)}(hThe group the device belongs toh]hThe group the device belongs to}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hM-hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hM-hj6ubj)}(hW``stats`` Statistics struct, which was left as a legacy, use rtnl_link_stats64 instead h](j)}(h ``stats``h]j)}(hjFh]hstats}(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.hhM0hj@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}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hM0hj6ubj)}(hD``core_stats`` core networking counters, do not use this in drivers h](j)}(h``core_stats``h]j)}(hjh]h core_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3hjzubj)}(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.hhM2hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM3hj6ubj)}(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.hhM4hjubj)}(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&]uh1jWhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hj6ubj)}(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.hhM5hjubj)}(hhh]jX)}(h)Number of times the carrier has been downh]h)Number of times the carrier has been down}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM5hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hj6ubj)}(h}``wireless_handlers`` List of functions to handle Wireless Extensions, instead of ioctl, see for details. h](j)}(h``wireless_handlers``h]j)}(hj,h]hwireless_handlers}(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.hhM9hj&ubj)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM9hj6ubj)}(h&``ethtool_ops`` Management operations h](j)}(h``ethtool_ops``h]j)}(hjfh]h ethtool_ops}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM?hj`ubj)}(hhh]jX)}(hManagement operationsh]hManagement operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hM?hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM?hj6ubj)}(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@hj6ubj)}(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.hhMBhjubj)}(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.hhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhj6ubj)}(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.hhMChj ubj)}(hhh]jX)}(h!Transformation offload operationsh]h!Transformation offload operations}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hMChj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMChj6ubj)}(h;``tlsdev_ops`` Transport Layer Security offload operations h](j)}(h``tlsdev_ops``h]j)}(hjKh]h tlsdev_ops}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhjEubj)}(hhh]jX)}(h+Transport Layer Security offload operationsh]h+Transport Layer Security offload operations}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMDhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMDhj6ubj)}(h ``operstate`` RFC2863 operstate h](j)}(h ``operstate``h]j)}(hjh]h operstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMMhj~ubj)}(hhh]jX)}(hRFC2863 operstateh]hRFC2863 operstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMMhj6ubj)}(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.hhMNhjubj)}(hhh]jX)}(hMapping policy to operstateh]hMapping policy to operstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhj6ubj)}(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.hhMOhjubj)}(hhh]jX)}(hSelectable AUI, TP, ...h]hSelectable AUI, TP, ...}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMOhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMOhj6ubj)}(h``dma`` DMA channel h](j)}(h``dma``h]j)}(hj/h]hdma}(hj1hhhNhNubah}(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.hhMPhj)ubj)}(hhh]jX)}(h DMA channelh]h DMA channel}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMPhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMPhj6ubj)}(h#``perm_addr`` Permanent hw address h](j)}(h ``perm_addr``h]j)}(hjhh]h perm_addr}(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)}(hPermanent hw addressh]hPermanent hw address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hM`hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM`hj6ubj)}(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.hhMahjubj)}(hhh]jX)}(hHw address assignment typeh]hHw address assignment type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahj6ubj)}(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.hhMbhjubj)}(hhh]jX)}(hHardware address lengthh]hHardware address length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhj6ubj)}(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.hhMchj ubj)}(hhh]jX)}(h%Maximum depth level of upper devices.h]h%Maximum depth level of upper devices.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMchj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMchj6ubj)}(h6``lower_level`` Maximum depth level of lower devices. h](j)}(h``lower_level``h]j)}(hjLh]h lower_level}(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.hhMdhjFubj)}(hhh]jX)}(h%Maximum depth level of lower devices.h]h%Maximum depth level of lower devices.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMdhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMdhj6ubj)}(h"``threaded`` napi threaded state. h](j)}(h ``threaded``h]j)}(hjh]hthreaded}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjubj)}(hhh]jX)}(hnapi threaded state.h]hnapi threaded state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehj6ubj)}(h)``neigh_priv_len`` Used in neigh_alloc() h](j)}(h``neigh_priv_len``h]j)}(hjh]hneigh_priv_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMfhjubj)}(hhh]jX)}(hUsed in neigh_alloc()h]hUsed in neigh_alloc()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhj6ubj)}(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.hhMhhjubj)}(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.hhMghj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhhj6ubj)}(hH``dev_port`` Used to differentiate devices that share the same function h](j)}(h ``dev_port``h]j)}(hj1h]hdev_port}(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.hhMjhj+ubj)}(hhh]jX)}(h:Used to differentiate devices that share the same functionh]h:Used to differentiate devices that share the same function}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMihjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMjhj6ubj)}(h``irq`` Device IRQ number h](j)}(h``irq``h]j)}(hjkh]hirq}(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.hhMhjeubj)}(hhh]jX)}(hDevice IRQ numberh]hDevice IRQ number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h/``priv_len`` Size of the ->priv flexible array h](j)}(h ``priv_len``h]j)}(hjh]hpriv_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.hhMKhjubj)}(hhh]jX)}(h!Size of the ->priv flexible arrayh]h!Size of the ->priv flexible array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhj6ubj)}(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.hhMkhjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhj6ubj)}(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.hhMqhjubj)}(hhh]jX)}(hunicast mac addressesh]hunicast mac addresses}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMqhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMqhj6ubj)}(h``mc`` multicast mac addresses h](j)}(h``mc``h]j)}(hjOh]hmc}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMrhjIubj)}(hhh]jX)}(hmulticast mac addressesh]hmulticast mac addresses}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMrhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMrhj6ubj)}(h*``dev_addrs`` list of device hw addresses h](j)}(h ``dev_addrs``h]j)}(hjh]h dev_addrs}(hjhhhNhNubah}(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)}(hlist of device hw addressesh]hlist of device hw addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshj6ubj)}(h>``queues_kset`` Group of all Kobjects in the Tx and RX queues h](j)}(h``queues_kset``h]j)}(hjh]h queues_kset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMthjubj)}(hhh]jX)}(h-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&]uh1jWhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthj6ubj)}(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&]uh1jhjhMhj6ubj)}(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)}(hj4h]h promiscuity}(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.hhMwhj.ubj)}(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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMwhj6ubj)}(h<``allmulti`` Counter, enables or disables allmulticast mode h](j)}(h ``allmulti``h]j)}(hjnh]hallmulti}(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.hhMxhjhubj)}(hhh]jX)}(h.Counter, enables or disables allmulticast modeh]h.Counter, enables or disables allmulticast mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMxhj6ubj)}(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)}(hjh]h uc_promisc}(hjhhhNhNubah}(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)}(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()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphj6ubj)}(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&]uh1jhjhMhj6ubj)}(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.hhM~hjubj)}(hhh]jX)}(hIPv4 specific datah]hIPv4 specific data}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hM~hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM~hj6ubj)}(h5``fib_nh_head`` nexthops associated with this netdev h](j)}(h``fib_nh_head``h]j)}(hjTh]h fib_nh_head}(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)}(h$nexthops associated with this netdevh]h$nexthops associated with this netdev}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhj6ubj)}(h``vlan_info`` VLAN info h](j)}(h ``vlan_info``h]j)}(hjh]h vlan_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.hhMzhjubj)}(hhh]jX)}(h VLAN infoh]h VLAN info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhj6ubj)}(h``dsa_ptr`` dsa specific data h](j)}(h ``dsa_ptr``h]j)}(hjh]hdsa_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.hhM{hjubj)}(hhh]jX)}(hdsa specific datah]hdsa specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{hj6ubj)}(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.hhM|hjubj)}(hhh]jX)}(hTIPC specific datah]hTIPC specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM|hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM|hj6ubj)}(h``atalk_ptr`` AppleTalk link h](j)}(h ``atalk_ptr``h]j)}(hj8h]h atalk_ptr}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM}hj2ubj)}(hhh]jX)}(hAppleTalk linkh]hAppleTalk link}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhM}hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM}hj6ubj)}(h!``ax25_ptr`` AX.25 specific data h](j)}(h ``ax25_ptr``h]j)}(hjqh]hax25_ptr}(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)}(hAX.25 specific datah]hAX.25 specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(hG``ieee80211_ptr`` IEEE 802.11 specific data, assign before registering h](j)}(h``ieee80211_ptr``h]j)}(hjh]h ieee80211_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.hhMhjubj)}(hhh]jX)}(h4IEEE 802.11 specific data, assign before registeringh]h4IEEE 802.11 specific data, assign before registering}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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.hhMhjubj)}(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.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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.hhMhjubj)}(hhh]jX)}(hmpls_dev struct pointerh]hmpls_dev struct pointer}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj6ubj)}(h ``mctp_ptr`` MCTP specific data h](j)}(h ``mctp_ptr``h]j)}(hjVh]hmctp_ptr}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjPubj)}(hhh]jX)}(hMCTP specific datah]hMCTP specific data}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhj6ubj)}(h9``psp_dev`` PSP crypto device registered for this netdev h](j)}(h ``psp_dev``h]j)}(hjh]hpsp_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)}(h,PSP crypto device registered for this netdevh]h,PSP crypto device registered for this netdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(hI``dev_addr`` Hw address (before bcast, because most packets are unicast) h](j)}(h ``dev_addr``h]j)}(hjh]hdev_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h;Hw address (before bcast, because most packets are unicast)h]h;Hw address (before bcast, because most packets are unicast)}(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&]uh1jhjhMhj6ubj)}(hJ``num_rx_queues`` Number of RX queues allocated at register_netdev() time h](j)}(h``num_rx_queues``h]j)}(hjh]h num_rx_queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h7Number of 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.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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)}(hj<h]hxdp_zc_max_segs}(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.hhMhj6ubj)}(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}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj6ubj)}(h1``ingress_queue`` XXX: need comments on this one h](j)}(h``ingress_queue``h]j)}(hjvh]h ingress_queue}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjpubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(hB``nf_hooks_ingress`` netfilter hooks executed for ingress packets h](j)}(h``nf_hooks_ingress``h]j)}(hjh]hnf_hooks_ingress}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h,netfilter hooks executed for ingress packetsh]h,netfilter hooks executed for ingress packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h``broadcast`` hw bcast address h](j)}(h ``broadcast``h]j)}(hjh]h broadcast}(hjhhhNhNubah}(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)}(hhw bcast addressh]hhw bcast address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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)}(hj!h]h rx_cpu_rmap}(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)}(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}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj6ubj)}(h(``index_hlist`` Device index hash chain h](j)}(h``index_hlist``h]j)}(hj[h]h index_hlist}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjUubj)}(hhh]jX)}(hDevice index hash chainh]hDevice index hash chain}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhj6ubj)}(hJ``num_tx_queues`` Number of TX queues allocated at alloc_netdev_mq() time h](j)}(h``num_tx_queues``h]j)}(hjh]h num_tx_queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h7Number of TX queues allocated at alloc_netdev_mq() timeh]h7Number of TX queues allocated at alloc_netdev_mq() time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h2``qdisc`` Root qdisc from userspace point of view h](j)}(h ``qdisc``h]j)}(hjh]hqdisc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h'Root qdisc from userspace point of viewh]h'Root qdisc from userspace point of view}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h.``tx_queue_len`` Max frames per queue allowed h](j)}(h``tx_queue_len``h]j)}(hjh]h tx_queue_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.hhMhjubj)}(hhh]jX)}(hMax frames per queue allowedh]hMax frames per queue allowed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h2``tx_global_lock`` XXX: need comments on this one h](j)}(h``tx_global_lock``h]j)}(hj?h]htx_global_lock}(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)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhj6ubj)}(h$``xdp_bulkq`` XDP device bulk queue h](j)}(h ``xdp_bulkq``h]j)}(hjxh]h xdp_bulkq}(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)}(hXDP device bulk queueh]hXDP device bulk queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h ``qdisc_hash`` qdisc hash table h](j)}(h``qdisc_hash``h]j)}(hjh]h qdisc_hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hqdisc hash tableh]hqdisc hash table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h"``watchdog_timer`` List of timers h](j)}(h``watchdog_timer``h]j)}(hjh]hwatchdog_timer}(hjhhhNhNubah}(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)}(hList of timersh]hList of timers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h\``watchdog_timeo`` Represents the timeout that is used by the watchdog (see dev_watchdog()) h](j)}(h``watchdog_timeo``h]j)}(hj#h]hwatchdog_timeo}(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)}(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())}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj6ubj)}(h=``proto_down_reason`` reason a netdev interface is held down h](j)}(h``proto_down_reason``h]j)}(hj]h]hproto_down_reason}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjWubj)}(hhh]jX)}(h&reason a netdev interface is held downh]h&reason a netdev interface is held down}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhj6ubj)}(h*``todo_list`` Delayed register/unregister h](j)}(h ``todo_list``h]j)}(hjh]h todo_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hDelayed register/unregisterh]hDelayed register/unregister}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h4``pcpu_refcnt`` Number of references to this device h](j)}(h``pcpu_refcnt``h]j)}(hjh]h pcpu_refcnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h#Number of references to this deviceh]h#Number of references to this device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h3``dev_refcnt`` Number of references to this device h](j)}(h``dev_refcnt``h]j)}(hjh]h dev_refcnt}(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#Number of references to this deviceh]h#Number of references to this device}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(hK``refcnt_tracker`` Tracker directory for tracked references to this device h](j)}(h``refcnt_tracker``h]j)}(hjAh]hrefcnt_tracker}(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)}(h7Tracker directory for tracked references to this deviceh]h7Tracker directory for tracked references to this device}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj6ubj)}(h3``link_watch_list`` XXX: need comments on this one h](j)}(h``link_watch_list``h]j)}(hjzh]hlink_watch_list}(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)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h0``reg_state`` Register/unregister state machine h](j)}(h ``reg_state``h]j)}(hjh]h reg_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h!Register/unregister state machineh]h!Register/unregister state machine}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h*``dismantle`` Device is going to be freed h](j)}(h ``dismantle``h]j)}(hjh]h dismantle}(hjhhhNhNubah}(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 going to be freedh]hDevice is going to be freed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h>``moving_ns`` device is changing netns, protected by **lock** h](j)}(h ``moving_ns``h]j)}(hj%h]h moving_ns}(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.hhMY hjubj)}(hhh]jX)}(h/device is changing netns, protected by **lock**h](h'device is changing netns, protected by }(hj>hhhNhNubj)}(h**lock**h]hlock}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jWhj:hMY hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMY hj6ubj)}(hA``rtnl_link_initializing`` Device being created, suppress events h](j)}(h``rtnl_link_initializing``h]j)}(hjlh]hrtnl_link_initializing}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[ hjfubj)}(hhh]jX)}(h%Device being created, suppress eventsh]h%Device being created, suppress events}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM[ hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhM[ hj6ubj)}(h=``needs_free_netdev`` Should unregister perform free_netdev? h](j)}(h``needs_free_netdev``h]j)}(hjh]hneeds_free_netdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h&Should unregister perform free_netdev?h]h&Should unregister perform free_netdev?}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h+``priv_destructor`` Called from unregister h](j)}(h``priv_destructor``h]j)}(hjh]hpriv_destructor}(hjhhhNhNubah}(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)}(hCalled from unregisterh]hCalled from unregister}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj6ubj)}(h(``ml_priv_type`` Mid-layer private type h](j)}(h``ml_priv_type``h]j)}(hjPh]h ml_priv_type}(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)}(hMid-layer private typeh]hMid-layer private type}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhj6ubj)}(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&]uh1jhjhMhj6ubj)}(h``garp_port`` GARP h](j)}(h ``garp_port``h]j)}(hjh]h garp_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)}(hGARPh]hGARP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h``mrp_port`` MRP h](j)}(h ``mrp_port``h]j)}(hjh]hmrp_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)}(hMRPh]hMRP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h$``dm_private`` Drop monitor private h](j)}(h``dm_private``h]j)}(hj5h]h dm_private}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj/ubj)}(hhh]jX)}(hDrop monitor privateh]hDrop monitor private}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj6ubj)}(h``dev`` Class/net/name entry h](j)}(h``dev``h]j)}(hjnh]hdev}(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)}(hClass/net/name entryh]hClass/net/name entry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(hQ``sysfs_groups`` Space for optional device, statistics and wireless sysfs groups h](j)}(h``sysfs_groups``h]j)}(hjh]h sysfs_groups}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h?Space for optional device, statistics and wireless sysfs groupsh]h?Space for optional device, statistics and wireless sysfs groups}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(hD``sysfs_rx_queue_group`` Space for optional per-rx queue attributes h](j)}(h``sysfs_rx_queue_group``h]j)}(hjh]hsysfs_rx_queue_group}(hjhhhNhNubah}(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 per-rx queue attributesh]h*Space for optional per-rx queue attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhj6ubj)}(h5``stat_ops`` Optional ops for queue-aware statistics h](j)}(h ``stat_ops``h]j)}(hjSh]hstat_ops}(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'Optional ops for queue-aware statisticsh]h'Optional ops for queue-aware statistics}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhj6ubj)}(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&]uh1jhjhMhj6ubj)}(hE``tso_max_size`` Device (as in HW) limit on the max TSO request size h](j)}(h``tso_max_size``h]j)}(hjh]h tso_max_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h3Device (as in HW) limit on the max TSO request sizeh]h3Device (as in HW) limit on the max TSO request size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(hF``tso_max_segs`` Device (as in HW) limit on the max TSO segment count h](j)}(h``tso_max_segs``h]j)}(hjh]h tso_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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h/``dcbnl_ops`` Data Center Bridging netlink ops h](j)}(h ``dcbnl_ops``h]j)}(hj7h]h dcbnl_ops}(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 Data Center Bridging netlink opsh]h Data Center Bridging netlink ops}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhj6ubj)}(h/``prio_tc_map`` XXX: need comments on this one h](j)}(h``prio_tc_map``h]j)}(hjph]h prio_tc_map}(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)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h5``fcoe_ddp_xid`` Max exchange id for FCoE LRO by ddp h](j)}(h``fcoe_ddp_xid``h]j)}(hjh]h fcoe_ddp_xid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h#Max exchange id for FCoE LRO by ddph]h#Max exchange id for FCoE LRO by ddp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h+``priomap`` XXX: need comments on this one h](j)}(h ``priomap``h]j)}(hjh]hpriomap}(hjhhhNhNubah}(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&]uh1jhjhMhj6ubj)}(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}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj6ubj)}(hG``phydev`` Physical device may attach itself for hardware timestamping h](j)}(h ``phydev``h]j)}(hjTh]hphydev}(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)}(h;Physical device may attach itself for hardware timestampingh]h;Physical device may attach itself for hardware timestamping}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhj6ubj)}(hC``sfp_bus`` attached :c:type:`struct sfp_bus ` structure. h](j)}(h ``sfp_bus``h]j)}(hjh]hsfp_bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h6attached :c:type:`struct sfp_bus ` structure.h](h attached }(hjhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjhMhjubh structure.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(hH``qdisc_tx_busylock`` lockdep class annotating Qdisc->busylock spinlock h](j)}(h``qdisc_tx_busylock``h]j)}(hjh]hqdisc_tx_busylock}(hjhhhNhNubah}(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)}(h1lockdep class annotating Qdisc->busylock spinlockh]h1lockdep class annotating Qdisc->busylock spinlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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)}(hj#h]h proto_down}(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)}(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.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj6ubj)}(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}(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)}(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()).}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhj6ubj)}(hl``rx_cpu_rmap_auto`` driver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap(). h](j)}(h``rx_cpu_rmap_auto``h]j)}(hjh]hrx_cpu_rmap_auto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hVdriver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap().h]hVdriver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h``see_all_hwtstamp_requests`` device wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren't HWTSTAMP_SOURCE_NETDEV h](j)}(h``see_all_hwtstamp_requests``h]j)}(hjh]hsee_all_hwtstamp_requests}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hdevice wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren't HWTSTAMP_SOURCE_NETDEVh]hdevice wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren’t HWTSTAMP_SOURCE_NETDEV}(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&]uh1jhjhMhj6ubj)}(hJ``change_proto_down`` device supports setting carrier via IFLA_PROTO_DOWN h](j)}(h``change_proto_down``h]j)}(hj h]hchange_proto_down}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h3device supports setting carrier via IFLA_PROTO_DOWNh]h3device supports setting carrier via IFLA_PROTO_DOWN}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj6ubj)}(h>``netns_immutable`` interface can't change network namespaces h](j)}(h``netns_immutable``h]j)}(hjDh]hnetns_immutable}(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)interface can't change network namespacesh]h+interface can’t change network namespaces}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhj6ubj)}(h:``fcoe_mtu`` device supports maximum FCoE MTU, 2158 bytes h](j)}(h ``fcoe_mtu``h]j)}(hj}h]hfcoe_mtu}(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 supports maximum FCoE MTU, 2158 bytesh]h,device supports maximum FCoE MTU, 2158 bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h``net_notifier_list`` List of per-net netdev notifier block that follow this device when it is moved to another network namespace. h](j)}(h``net_notifier_list``h]j)}(hjh]hnet_notifier_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hlList of per-net netdev notifier block that follow this device when it is moved to another network namespace.h]hlList of per-net netdev notifier block that follow this device when it is moved to another network namespace.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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)}(hj)h]hudp_tunnel_nic_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.hhM hj#ubj)}(hhh]jX)}(hMstatic structure describing the UDP tunnel offload capabilities of the deviceh]hMstatic structure describing the UDP tunnel offload capabilities of the device}(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 hj6ubj)}(h,``udp_tunnel_nic`` UDP tunnel offload state h](j)}(h``udp_tunnel_nic``h]j)}(hjch]hudp_tunnel_nic}(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)}(hUDP tunnel offload stateh]hUDP tunnel offload state}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhM hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhM hj6ubj)}(h/``cfg`` net_device queue-related configuration h](j)}(h``cfg``h]j)}(hjh]hcfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h&net_device queue-related configurationh]h&net_device queue-related configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj6ubj)}(h``cfg_pending`` same as **cfg** but when device is being actively reconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected. h](j)}(h``cfg_pending``h]j)}(hjh]h cfg_pending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]j)}(hhh]j)}(hsame as **cfg** but when device is being actively reconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected. h](j)}(h1same as **cfg** but when device is being activelyh](hsame as }(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj6ubj)}(h"``ethtool`` ethtool related state h](j)}(h ``ethtool``h]j)}(hjKh]hethtool}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjEubj)}(hhh]jX)}(hethtool related stateh]hethtool related state}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hM hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hM hj6ubj)}(h7``xdp_state`` stores info on attached XDP BPF programs h](j)}(h ``xdp_state``h]j)}(hjh]h xdp_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj~ubj)}(hhh]jX)}(h(stores info on attached XDP BPF programsh]h(stores info on attached XDP BPF programs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM hj6ubj)}(hA``dev_addr_shadow`` Copy of **dev_addr** to catch direct writes. h](j)}(h``dev_addr_shadow``h]j)}(hjh]hdev_addr_shadow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h>``linkwatch_dev_tracker`` refcount tracker used by linkwatch. h](j)}(h``linkwatch_dev_tracker``h]j)}(hjh]hlinkwatch_dev_tracker}(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#refcount tracker used by linkwatch.h]h#refcount tracker used by linkwatch.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h<``watchdog_dev_tracker`` refcount tracker used by watchdog. h](j)}(h``watchdog_dev_tracker``h]j)}(hjAh]hwatchdog_dev_tracker}(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"refcount tracker used by watchdog.h]h"refcount tracker used by watchdog.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj6ubj)}(hG``dev_registered_tracker`` tracker for reference held while registered h](j)}(h``dev_registered_tracker``h]j)}(hjzh]hdev_registered_tracker}(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)}(h+tracker for reference held while registeredh]h+tracker for reference held while registered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(h6``offload_xstats_l3`` L3 HW stats for this netdevice. h](j)}(h``offload_xstats_l3``h]j)}(hjh]hoffload_xstats_l3}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hL3 HW stats for this netdevice.h]hL3 HW stats for this netdevice.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubj)}(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.hhM$hjubj)}(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.hhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hj6ubj)}(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)}(hj'h]hdpll_pin}(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)}(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.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM&hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hM'hj6ubj)}(h5``page_pools`` page pools created for this netdevice h](j)}(h``page_pools``h]j)}(hjah]h page_pools}(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.hhM hj[ubj)}(hhh]jX)}(h%page pools created for this netdeviceh]h%page pools created for this netdevice}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhM hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhM hj6ubj)}(h@``irq_moder`` dim parameters used if IS_ENABLED(CONFIG_DIMLIB). h](j)}(h ``irq_moder``h]j)}(hjh]h irq_moder}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h1dim parameters used if IS_ENABLED(CONFIG_DIMLIB).h]h1dim parameters used if IS_ENABLED(CONFIG_DIMLIB).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj6ubj)}(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.hhM)hjubj)}(hhh]jX)}(h max EDT offload horizon in nsec.h]h max EDT offload horizon in nsec.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hj6ubj)}(hQ``napi_config`` An array of napi_config structures containing per-NAPI settings. h](j)}(h``napi_config``h]j)}(hj h]h napi_config}(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+hjubj)}(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.}(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+hj6ubj)}(hk``num_napi_configs`` number of allocated NAPI config structs, always >= max(num_rx_queues, num_tx_queues). h](j)}(h``num_napi_configs``h]j)}(hjFh]hnum_napi_configs}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hj@ubj)}(hhh]jX)}(hUnumber of allocated NAPI config structs, always >= max(num_rx_queues, num_tx_queues).h]hUnumber of allocated NAPI config structs, always >= max(num_rx_queues, num_tx_queues).}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM,hj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hM-hj6ubj)}(hq``napi_defer_hard_irqs`` If not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues. h](j)}(h``napi_defer_hard_irqs``h]j)}(hjh]hnapi_defer_hard_irqs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0hjzubj)}(hhh]jX)}(hWIf not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues.h]hWIf not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM0hj6ubj)}(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.hhM.hjubj)}(hhh]jX)}(htimeout for GRO layer in NAPIh]htimeout for GRO layer in NAPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hj6ubj)}(h``up`` copy of **state**'s IFF_UP, but safe to read with just **lock**. May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close). h](j)}(h``up``h]j)}(hjh]hup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]j)}(hhh]j)}(hcopy of **state**'s IFF_UP, but safe to read with just **lock**. May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close). h](j)}(h@copy of **state**'s IFF_UP, but safe to read with just **lock**.h](hcopy of }(hjhhhNhNubj)}(h **state**h]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh(’s IFF_UP, but safe to read with just }(hjhhhNhNubj)}(h**lock**h]hlock}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hhh]jX)}(h{May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close).h](hGMay report false negatives while the device is being opened or closed (}(hjHhhhNhNubj)}(h**lock**h]hlock}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh, does not protect .ndo_open, or .ndo_close).}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjEubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj6ubj)}(hh``request_ops_lock`` request the core to run all **netdev_ops** and **ethtool_ops** under the **lock**. h](j)}(h``request_ops_lock``h]j)}(hjh]hrequest_ops_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hRrequest the core to run all **netdev_ops** and **ethtool_ops** under the **lock**.h](hrequest the core to run all }(hjhhhNhNubj)}(h**netdev_ops**h]h netdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**ethtool_ops**h]h ethtool_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh under the }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj6ubj)}(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)}(hjh]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh](jX)}(hnetdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection.h]hnetdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection.}(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 }(hj%hhhNhNubj)}(h**request_ops_lock**h]hrequest_ops_lock}(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.hhM hjubjX)}(hM**lock** protection mixes with rtnl_lock in multiple ways, fields are either:h](j)}(h**lock**h]hlock}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubhE protection mixes with rtnl_lock in multiple ways, fields are either:}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjE)}(hhh](jE)}(h+simply protected by the instance **lock**; h]jX)}(h*simply protected by the instance **lock**;h](h!simply protected by the instance }(hjjhhhNhNubj)}(h**lock**h]hlock}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh;}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjfubah}(h]h ]h"]h$]h&]uh1jEhjcubjE)}(hAdouble protected - writers hold both locks, readers hold either; h]jX)}(h@double protected - writers hold both locks, readers hold either;h]h@double protected - writers hold both locks, readers hold either;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jEhjcubjE)}(hops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock; h]jX)}(hops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock;h]hops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jEhjcubjE)}(hdouble ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock. h]jX)}(hdouble ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock.h]hdouble ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jEhjcubeh}(h]h ]h"]h$]h&]j]Fj*uh1jEhjhM hjubj)}(hhh](j)}(hSimply protects: **gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded** h](j)}(hSimply protects:h]hSimply protects:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hu**gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded**h](j)}(h**gro_flush_timeout**h]hgro_flush_timeout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**napi_defer_hard_irqs**h]hnapi_defer_hard_irqs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **napi_list**h]h napi_list}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**net_shaper_hierarchy**h]hnet_shaper_hierarchy}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **reg_state**h]h reg_state}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **threaded**h]hthreaded}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hEDouble protects: **up**, **moving_ns**, **nd_net**, **xdp_features** h](j)}(hDouble protects:h]hDouble protects:}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjzubj)}(hhh]jX)}(h3**up**, **moving_ns**, **nd_net**, **xdp_features**h](j)}(h**up**h]hup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h **moving_ns**h]h moving_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **nd_net**h]hnd_net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h**xdp_features**h]h xdp_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hDDouble ops protects: **real_num_rx_queues**, **real_num_tx_queues** h](j)}(hDouble ops protects:h]hDouble ops protects:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h.**real_num_rx_queues**, **real_num_tx_queues**h](j)}(h**real_num_rx_queues**h]hreal_num_rx_queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**real_num_tx_queues**h]hreal_num_tx_queues}(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)}(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:}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj6ubj)}(hhh]jX)}(h?struct napi_struct, struct netdev_queue, struct netdev_rx_queueh]h?struct napi_struct, struct netdev_queue, struct netdev_rx_queue}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhM hjIubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjHhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(hOrdering: take after rtnl_lock.h]hOrdering: take after rtnl_lock.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj6ubj)}(h```net_shaper_hierarchy`` data tracking the current shaper status see include/net/net_shapers.h h](j)}(h``net_shaper_hierarchy``h]j)}(hjh]hnet_shaper_hierarchy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]j)}(hhh]j)}(hFdata tracking the current shaper status see include/net/net_shapers.h h](j)}(h'data tracking the current shaper statush]h'data tracking the current shaper status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hhh]jX)}(hsee include/net/net_shapers.hh]hsee include/net/net_shapers.h}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj6ubj)}(hb``neighbours`` List heads pointing to this device's neighbours' dev_list, one per address-family. h](j)}(h``neighbours``h]j)}(hjh]h neighbours}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3hjubj)}(hhh]jX)}(hRList heads pointing to this device's neighbours' dev_list, one per address-family.h]hVList heads pointing to this device’s neighbours’ dev_list, one per address-family.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hj6ubj)}(hD``hwprov`` Tracks which PTP performs hardware packet time stamping. h](j)}(h ``hwprov``h]j)}(hj)h]hhwprov}(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)}(h8Tracks which PTP performs hardware packet time stamping.h]h8Tracks which PTP performs hardware packet time stamping.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hM4hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hM4hj6ubj)}(h/``priv`` Flexible array containing private datah](j)}(h``priv``h]j)}(hjbh]hpriv}(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.hhMKhj\ubj)}(hhh]jX)}(h&Flexible array containing private datah]h&Flexible array containing private data}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMLhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMKhj6ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMOhj>hhubj )}(hXActually, this whole structure is a big mistake. It mixes I/O data with strictly "high-level" data, and it has to know about almost every data structure used in the INET module. interface address info: FIXME: cleanup struct net_device such that network protocol info moves out. h](jX)}(hActually, this whole structure is a big mistake. It mixes I/O data with strictly "high-level" data, and it has to know about almost every data structure used in the INET module.h]hActually, this whole structure is a big mistake. It mixes I/O data with strictly “high-level” data, and it has to know about almost every data structure used in the INET module.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(hinterface address info:h]hinterface address info:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(hKFIXME: cleanup struct net_device such that network protocol info moves out.h]hKFIXME: cleanup struct net_device such that network protocol info moves out.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhj>hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_priv (C function) c.netdev_privhNtauh1hhj>hhhNhNubh)}(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}(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;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM ubj)}(h netdev_privh]j%)}(h netdev_privh]h netdev_priv}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(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}(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%)}(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;sb c.netdev_privasbuh1hhjQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h"access network device private datah]h"access network device private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj>hNhNubj})}(hs**Parameters** ``const struct net_device *dev`` network device **Description** Get network device private datah](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)}(hj4h]hconst struct net_device *dev}(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.hhM hj.ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhM hjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhM hj+ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjoh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(hGet network device private datah]hGet network device private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_add (C function)c.netif_napi_addhNtauh1hhj>hhhNhNubh)}(hhh](h)}(hnvoid netif_napi_add (struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int))h]h)}(hlvoid netif_napi_add(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hnetif_napi_addh]j%)}(hnetif_napi_addh]hnetif_napi_add}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(hY(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_napi_addasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct napi_struct *napih](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 napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j+c.netif_napi_addasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h%int (*poll)(struct napi_struct*, int)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpollh]hpoll}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h(}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubh)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j+c.netif_napi_addasbuh1hhjubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjah]h,}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hinitialize a NAPI contexth]hinitialize a NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hX0**Parameters** ``struct net_device *dev`` network device ``struct napi_struct *napi`` NAPI context ``int (*poll)(struct napi_struct *, int)`` polling function **Description** netif_napi_add() must be used to initialize a NAPI context prior to calling *any* of the other NAPI-related functions.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj h]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 hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(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 napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hjFh]hstruct napi_struct *napi}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj@ubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hM hj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hM hjubj)}(h<``int (*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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjyubj)}(hhh]jX)}(hpolling functionh]hpolling function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(hvnetif_napi_add() must be used to initialize a NAPI context prior to calling *any* of the other NAPI-related functions.h](hLnetif_napi_add() must be used to initialize a NAPI context prior to calling }(hjhhhNhNubj)}(h*any*h]hany}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% of the other NAPI-related functions.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_napi_add_config (C function)c.netif_napi_add_confighNtauh1hhj>hhhNhNubh)}(hhh](h)}(hvoid netif_napi_add_config (struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int), int index)h]h)}(h~void netif_napi_add_config(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int), int index)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]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 hhhjhM- ubj)}(hnetif_napi_add_configh]j%)}(hnetif_napi_add_configh]hnetif_napi_add_config}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM- 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}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]j')}jj4sbc.netif_napi_add_configasbuh1hhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(hstruct napi_struct *napih](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netif_napi_add_configasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(h%int (*poll)(struct napi_struct*, int)h](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj;)}(hjh]h(}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj%)}(hpollh]hpoll}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubj;)}(hjh]h)}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(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_configasbuh1hhj,ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj;)}(hjah]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=uh1jhjFubj)}(h int indexh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hindexh]hindex}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhM- ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhjhM- ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM- hjhhubjS)}(hhh]jX)}(h0initialize a NAPI context with persistent configh]h0initialize a NAPI context with persistent config}(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&]jvjqjwjvjxjvjyjzj{uh1hhhhj>hNhNubj})}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1 hjzubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM. hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM. hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM. hjubj)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hjh]hstruct napi_struct *napi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/ hjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM/ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/ hjubj)}(h<``int (*poll)(struct napi_struct *, int)`` polling function h](j)}(h*``int (*poll)(struct napi_struct *, int)``h]j)}(hjh]h&int (*poll)(struct napi_struct *, int)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0 hj ubj)}(hhh]jX)}(hpolling functionh]hpolling function}(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 hjubj)}(h``int index`` the NAPI indexh](j)}(h ``int index``h]j)}(hjJh]h int index}(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.hhM2 hjDubj)}(hhh]jX)}(hthe NAPI indexh]hthe NAPI index}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1 hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM2 hjubeh}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_add_tx (C function)c.netif_napi_add_txhNtauh1hhj>hhhNhNubh)}(hhh](h)}(hqvoid netif_napi_add_tx (struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int))h]h)}(hovoid netif_napi_add_tx(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM= ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM= ubj)}(hnetif_napi_add_txh]j%)}(hnetif_napi_add_txh]hnetif_napi_add_tx}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM= ubj)}(hY(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.netif_napi_add_txasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(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 napi_struct *napih](h)}(hjh]hstruct}(hjS hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjO ubj)}(h h]h }(hj` hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjO ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjq hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjs modnameN classnameNjj!)}j$]j c.netif_napi_add_txasbuh1hhjO ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjO ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjO ubj%)}(hnapih]hnapi}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h%int (*poll)(struct napi_struct*, int)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hjh]h(}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hpollh]hpoll}(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 napi_structh]h napi_struct}(hj? hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj< ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjA modnameN classnameNjj!)}j$]j c.netif_napi_add_txasbuh1hhj ubj;)}(hj>h]h*}(hj] hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj;)}(hjah]h,}(hjj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj)}(h h]h }(hjw hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj;)}(hjh]h)}(hj hhhNhNubah}(h]h ]jGah"]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)}(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{uh1hhhhj>hNhNubj})}(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)}(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.hhMA 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.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 ubj)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hj6 h]hstruct napi_struct *napi}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4 ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM? hj0 ubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjK hM? hjL ubah}(h]h ]h"]h$]h&]uh1jhj0 ubeh}(h]h ]h"]h$]h&]uh1jhjK hM? hj ubj)}(h<``int (*poll)(struct napi_struct *, int)`` polling function h](j)}(h*``int (*poll)(struct napi_struct *, int)``h]j)}(hjo h]h&int (*poll)(struct napi_struct *, int)}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@ hji ubj)}(hhh]jX)}(hpolling functionh]hpolling function}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM@ hj ubah}(h]h ]h"]h$]h&]uh1jhji ubeh}(h]h ]h"]h$]h&]uh1jhj hM@ 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:104: ./include/linux/netdevice.hhMB 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.hhMA hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netif_napi_del (C function)c.__netif_napi_delhNtauh1hhj>hhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMP ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMP ubj)}(h__netif_napi_delh]j%)}(h__netif_napi_delh]h__netif_napi_del}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMP 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 }(hj9 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj( ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjJ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjL modnameN classnameNjj!)}j$]j')}jj sbc.__netif_napi_delasbuh1hhj( ubj)}(h h]h }(hjj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj( ubj;)}(hj>h]h*}(hjx hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj( ubj%)}(hnapih]hnapi}(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 hMP ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMP ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMP hj hhubjS)}(hhh]jX)}(hremove a NAPI contexth]hremove a NAPI context}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMP hj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMP ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj>hNhNubj})}(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)}(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.hhMT hj ubj)}(hhh]j)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hj h]hstruct napi_struct *napi}(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.hhMQ hj ubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMQ hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMQ 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.hhMS hj ubjX)}(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 }(hjA hhhNhNubj)}(h**napi**h]hnapi}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA ubhg. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.}(hjA hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMR hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_del (C function)c.netif_napi_delhNtauh1hhj>hhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMe ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ hhhj hMe ubj)}(hnetif_napi_delh]j%)}(hnetif_napi_delh]hnetif_napi_del}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~ hhhj hMe 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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jj sbc.netif_napi_delasbuh1hhj 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%)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhj~ hhhj hMe ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjz hhhj hMe ubah}(h]ju ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMe hjw hhubjS)}(hhh]jX)}(hremove a NAPI contexth]hremove a NAPI context}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMe hj?hhubah}(h]h ]h"]h$]h&]uh1jRhjw hhhj hMe ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZjxjZjyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct napi_struct *napi`` NAPI context **Description** netif_napi_del() removes a NAPI context from the network device NAPI listh](jX)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMi hj^ubj)}(hhh]j)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hjh]hstruct napi_struct *napi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMf hj}ubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMf hjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMf hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMh hj^ubj )}(hInetif_napi_del() removes a NAPI context from the network device NAPI listh]jX)}(hjh]hInetif_napi_del() removes a NAPI context from the network device NAPI list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMg hjubah}(h]h ]h"]h$]h&]uh1j hjhMg hj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_start_queue (C function)c.netif_start_queuehNtauh1hhj>hhhNhNubh)}(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}(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)}(hnetif_start_queueh]j%)}(hnetif_start_queueh]hnetif_start_queue}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j')}jj/sbc.netif_start_queueasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hdevh]hdev}(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)}(hallow transmith]hallow transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct net_device *dev`` network device **Description** Allow upper layers to call the device hard_start_xmit routine.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(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)}(hjHh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj )}(h>Allow upper layers to call the device hard_start_xmit routine.h]jX)}(hj`h]h>Allow upper layers to call the device hard_start_xmit routine.}(hjbhhhNhNubah}(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 hjohMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_wake_queue (C function)c.netif_wake_queuehNtauh1hhj>hhhNhNubh)}(hhh](h)}(h.void netif_wake_queue (struct net_device *dev)h]h)}(h-void netif_wake_queue(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM-ubj)}(hnetif_wake_queueh]j%)}(hnetif_wake_queueh]hnetif_wake_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM-ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_wake_queueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(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=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}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hjShhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjnjxjnjyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct net_device *dev`` network device **Description** Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.h](jX)}(h**Parameters**h]j)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1hjrubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM.hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjrubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0hjrubj )}(h{Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.h]jX)}(h{Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.h]h{Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hjubah}(h]h ]h"]h$]h&]uh1j hjhM/hjrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_stop_queue (C function)c.netif_stop_queuehNtauh1hhj>hhhNhNubh)}(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&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMOubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj/hMOubj)}(hnetif_stop_queueh]j%)}(hnetif_stop_queueh]hnetif_stop_queue}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj/hMOubj)}(h(struct net_device *dev)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.netif_stop_queueasbuh1hhjZubj)}(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=uh1jhjVubah}(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)}(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.hhMOhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj/hMOubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct net_device *dev`` network device **Description** Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMShjubj)}(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.hhMPhjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMPhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMPhjubah}(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.hhMRhjubj )}(h|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.h]jX)}(h|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.h]h|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMQhjsubah}(h]h ]h"]h$]h&]uh1j hjhMQhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_queue_stopped (C function)c.netif_queue_stoppedhNtauh1hhj>hhhNhNubh)}(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.hhMbubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMbubj)}(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=uh1jhjhhhjhMbubj)}(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')}jjsbc.netif_queue_stoppedasbuh1hhjubj)}(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=uh1jhjhhhjhMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMbubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMbhjhhubjS)}(hhh]jX)}(h%test if transmit queue is flowblockedh]h%test if transmit queue is flowblocked}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``const struct net_device *dev`` network device **Description** Test if transmit queue on device is currently unable to send.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMfhjubj)}(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.hhMchjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubah}(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.hhMehjubj )}(h=Test if transmit queue on device is currently unable to send.h]jX)}(hjh]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.hhMdhjubah}(h]h ]h"]h$]h&]uh1j hj)hMdhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+netdev_queue_set_dql_min_limit (C function) c.netdev_queue_set_dql_min_limithNtauh1hhj>hhhNhNubh)}(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}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhZ/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 hjLhhhj^hM~ubj)}(hnetdev_queue_set_dql_min_limith]j%)}(hnetdev_queue_set_dql_min_limith]hnetdev_queue_set_dql_min_limit}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhj^hM~ubj)}(h8(struct netdev_queue *dev_queue, unsigned int min_limit)h](j)}(hstruct netdev_queue *dev_queueh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h netdev_queueh]h netdev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjssb c.netdev_queue_set_dql_min_limitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h dev_queueh]h dev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int min_limith](j)}(hunsignedh]hunsigned}(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 min_limith]h min_limit}(hj7hhhNhNubah}(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)}(hset dql minimum limith]hset dql minimum limit}(hjahhhNhNubah}(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&]uh1jRhjEhhhj^hM~ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjyjxjyjyjzj{uh1hhhhj>hNhNubj})}(hXR**Parameters** ``struct netdev_queue *dev_queue`` pointer to transmit queue ``unsigned int min_limit`` dql minimum limit **Description** Forces xmit_more() to return true until the minimum threshold defined by **min_limit** is reached (or until the tx queue is empty). Warning: to be use with care, misuse will impact the latency.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj}ubj)}(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.hhMhjubj)}(hhh]jX)}(hpointer to transmit queueh]hpointer to transmit queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhjubj)}(hhh]jX)}(hdql minimum limith]hdql minimum limit}(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)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj}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 }(hj,hhhNhNubj)}(h **min_limit**h]h min_limit}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubhk is reached (or until the tx queue is empty). Warning: to be use with care, misuse will impact the latency.}(hj,hhhNhNubeh}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netdev_txq_bql_enqueue_prefetchw (C function)"c.netdev_txq_bql_enqueue_prefetchwhNtauh1hhj>hhhNhNubh)}(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}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjihhhj{hMubj)}(h netdev_txq_bql_enqueue_prefetchwh]j%)}(h netdev_txq_bql_enqueue_prefetchwh]h netdev_txq_bql_enqueue_prefetchw}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjihhhj{hMubj)}(h (struct netdev_queue *dev_queue)h]j)}(hstruct netdev_queue *dev_queueh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h netdev_queueh]h netdev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb"c.netdev_txq_bql_enqueue_prefetchwasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h dev_queueh]h dev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjihhhj{hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhj{hMubah}(h]j`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{hMhjbhhubjS)}(hhh]jX)}(hprefetch bql data for writeh]hprefetch bql data for write}(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&]uh1jRhjbhhhj{hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjEjxjEjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjOh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjIubj)}(hhh]j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hjnh]hstruct netdev_queue *dev_queue}(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)}(hpointer to transmit queueh]hpointer to transmit queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjIubjX)}(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.hhMhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_txq_bql_complete_prefetchw (C function)#c.netdev_txq_bql_complete_prefetchwhNtauh1hhj>hhhNhNubh)}(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.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(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$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h (struct netdev_queue *dev_queue)h]j)}(hstruct netdev_queue *dev_queueh](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 netdev_queueh]h netdev_queue}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]j')}jjsb#c.netdev_txq_bql_complete_prefetchwasbuh1hhj'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%)}(h dev_queueh]h dev_queue}(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)}(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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(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.hhMhjubj)}(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.hhMhjubj)}(hhh]jX)}(hpointer to transmit queueh]hpointer to transmit queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(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.}(hj@hhhNhNubah}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netdev_tx_sent_queue (C function)c.netdev_tx_sent_queuehNtauh1hhj>hhhNhNubh)}(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}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhhj}hMubj)}(hnetdev_tx_sent_queueh]j%)}(hnetdev_tx_sent_queueh]hnetdev_tx_sent_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjkhhhj}hMubj)}(h4(struct netdev_queue *dev_queue, unsigned int bytes)h](j)}(hstruct netdev_queue *dev_queueh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h netdev_queueh]h netdev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_tx_sent_queueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h dev_queueh]h dev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int bytesh](j)}(hunsignedh]hunsigned}(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 }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hbytesh]hbytes}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjkhhhj}hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjghhhj}hMubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}hMhjdhhubjS)}(hhh]jX)}(h5report the number of bytes queued to a given tx queueh]h5report the number of bytes queued to a given tx queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj}hhubah}(h]h ]h"]h$]h&]uh1jRhjdhhhj}hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct netdev_queue *dev_queue`` network device queue ``unsigned int bytes`` number of bytes queued to the device queue **Description** Report the number of bytes queued for sending/completion to the network device hardware queue. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh](j)}(h8``struct netdev_queue *dev_queue`` network device queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hjh]hstruct netdev_queue *dev_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hnetwork device queueh]hnetwork device queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``unsigned int bytes`` number of bytes queued to the device queue h](j)}(h``unsigned int bytes``h]j)}(hjh]hunsigned int bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h*number of bytes queued to the device queueh]h*number of bytes queued to the device queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj5h]h Description}(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.hhMhjubj )}(hXReport the number of bytes queued for sending/completion to the network device hardware queue. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h]jX)}(hXReport the number of bytes queued for sending/completion to the network device hardware queue. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h](h_Report the number of bytes queued for sending/completion to the network device hardware queue. }(hjOhhhNhNubj)}(h **bytes**h]hbytes}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubhR should be a good approximation and should exactly match netdev_completed_queue() }(hjOhhhNhNubj)}(h **bytes**h]hbytes}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubhB. This is typically called once per packet, from ndo_start_xmit().}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjKubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_sent_queue (C function)c.netdev_sent_queuehNtauh1hhj>hhhNhNubh)}(hhh](h)}(hCvoid netdev_sent_queue (struct net_device *dev, unsigned int bytes)h]h)}(hBvoid netdev_sent_queue(struct net_device *dev, unsigned int bytes)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hnetdev_sent_queueh]j%)}(hnetdev_sent_queueh]hnetdev_sent_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h,(struct net_device *dev, unsigned int bytes)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_sent_queueasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(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=uh1jhjubj)}(hunsigned int bytesh](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%)}(hbytesh]hbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h-report the number of bytes queued to hardwareh]h-report the number of bytes queued to hardware}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net_device *dev`` network device ``unsigned int bytes`` number of bytes queued to the hardware device queue **Description** Report the number of bytes queued for sending/completion to the network device hardware queue#0. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hK``unsigned int bytes`` number of bytes queued to the hardware device queue h](j)}(h``unsigned int bytes``h]j)}(hj3h]hunsigned int bytes}(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)}(h3number of bytes queued to the hardware device queueh]h3number of bytes queued to the hardware device queue}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubeh}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj )}(hXReport the number of bytes queued for sending/completion to the network device hardware queue#0. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h]jX)}(hXReport the number of bytes queued for sending/completion to the network device hardware queue#0. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h](haReport the number of bytes queued for sending/completion to the network device hardware queue#0. }(hjhhhNhNubj)}(h **bytes**h]hbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhR should be a good approximation and should exactly match netdev_completed_queue() }(hjhhhNhNubj)}(h **bytes**h]hbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This is typically called once per packet, from ndo_start_xmit().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_tx_completed_queue (C function)c.netdev_tx_completed_queuehNtauh1hhj>hhhNhNubh)}(hhh](h)}(hfvoid netdev_tx_completed_queue (struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes)h]h)}(hevoid netdev_tx_completed_queue(struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(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=uh1jhjhhhjhM ubj)}(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 }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h netdev_queueh]h netdev_queue}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j')}jjsbc.netdev_tx_completed_queueasbuh1hhjubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h dev_queueh]h dev_queue}(hjwhhhNhNubah}(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}(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)}(h0report number of packets/bytes at TX completion.h]h0report number of packets/bytes at TX completion.}(hjC 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{uh1hhhhj>hNhNubj})}(hXs**Parameters** ``struct netdev_queue *dev_queue`` network device queue ``unsigned int pkts`` number of packets (currently ignored) ``unsigned int bytes`` number of bytes dequeued from the device queue **Description** Must be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.h](jX)}(h**Parameters**h]j)}(hje h]h Parameters}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj_ ubj)}(hhh](j)}(h8``struct netdev_queue *dev_queue`` network device queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj h]hstruct netdev_queue *dev_queue}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj~ ubj)}(hhh]jX)}(hnetwork device queueh]hnetwork device queue}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhj~ ubeh}(h]h ]h"]h$]h&]uh1jhj hM hj{ ubj)}(h<``unsigned int pkts`` number of packets (currently ignored) h](j)}(h``unsigned int pkts``h]j)}(hj h]hunsigned int pkts}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj ubj)}(hhh]jX)}(h%number of packets (currently ignored)h]h%number of packets (currently ignored)}(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)}(hF``unsigned int bytes`` number of bytes dequeued from the device queue h](j)}(h``unsigned int bytes``h]j)}(hj h]hunsigned int bytes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj ubj)}(hhh]jX)}(h.number of bytes dequeued from the device queueh]h.number of bytes dequeued from the device queue}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj !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)}(hj1!h]h Description}(hj3!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 )}(hMust be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.h]jX)}(hMust be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.h]hMust be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.}(hjK!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjG!ubah}(h]h ]h"]h$]h&]uh1j hjY!hM hj_ ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_completed_queue (C function)c.netdev_completed_queuehNtauh1hhj>hhhNhNubh)}(hhh](h)}(h[void netdev_completed_queue (struct net_device *dev, unsigned int pkts, unsigned int bytes)h]h)}(hZvoid netdev_completed_queue(struct net_device *dev, unsigned int pkts, unsigned int bytes)h](j)}(hvoidh]hvoid}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|!hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM*ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|!hhhj!hM*ubj)}(hnetdev_completed_queueh]j%)}(hnetdev_completed_queueh]hnetdev_completed_queue}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj|!hhhj!hM*ubj)}(h?(struct net_device *dev, unsigned int pkts, unsigned int bytes)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]j')}jj!sbc.netdev_completed_queueasbuh1hhj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj;)}(hj>h]h*}(hj "hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!ubj%)}(hdevh]hdev}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(hunsigned int pktsh](j)}(hunsignedh]hunsigned}(hj/"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+"ubj)}(h h]h }(hj="hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+"ubj)}(hinth]hint}(hjK"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+"ubj)}(h h]h }(hjY"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+"ubj%)}(hpktsh]hpkts}(hjg"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(hunsigned int bytesh](j)}(hunsignedh]hunsigned}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|"ubj)}(hinth]hint}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|"ubj%)}(hbytesh]hbytes}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj|!hhhj!hM*ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjx!hhhj!hM*ubah}(h]js!ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hM*hju!hhubjS)}(hhh]jX)}(h,report bytes and packets completed by deviceh]h,report bytes and packets completed by device}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM*hj"hhubah}(h]h ]h"]h$]h&]uh1jRhju!hhhj!hM*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"jxj"jyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net_device *dev`` network device ``unsigned int pkts`` actual number of packets sent over the medium ``unsigned int bytes`` actual number of bytes sent over the medium **Description** Report the number of bytes and packets transmitted by the network device hardware queue over the physical medium, **bytes** must exactly match the **bytes** amount passed to netdev_sent_queue()h](jX)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.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.hhM+hj#ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(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+hj#ubj)}(hD``unsigned int pkts`` actual number of packets sent over the medium h](j)}(h``unsigned int pkts``h]j)}(hj\#h]hunsigned int pkts}(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.hhM,hjV#ubj)}(hhh]jX)}(h-actual number of packets sent over the mediumh]h-actual number of packets sent over the medium}(hju#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjq#hM,hjr#ubah}(h]h ]h"]h$]h&]uh1jhjV#ubeh}(h]h ]h"]h$]h&]uh1jhjq#hM,hj#ubj)}(hC``unsigned int bytes`` actual number of bytes sent over the medium h](j)}(h``unsigned int bytes``h]j)}(hj#h]hunsigned int bytes}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hj#ubj)}(hhh]jX)}(h+actual number of bytes sent over the mediumh]h+actual number of bytes sent over the medium}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hj"ubj )}(hReport the number of bytes and packets transmitted by the network device hardware queue over the physical medium, **bytes** must exactly match the **bytes** amount passed to netdev_sent_queue()h]jX)}(hReport the number of bytes and packets transmitted by the network device hardware queue over the physical medium, **bytes** must exactly match the **bytes** amount passed to netdev_sent_queue()h](hrReport the number of bytes and packets transmitted by the network device hardware queue over the physical medium, }(hj#hhhNhNubj)}(h **bytes**h]hbytes}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh must exactly match the }(hj#hhhNhNubj)}(h **bytes**h]hbytes}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh% amount passed to netdev_sent_queue()}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM.hj#ubah}(h]h ]h"]h$]h&]uh1j hj$hM.hj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_tx_reset_subqueue (C function)c.netdev_tx_reset_subqueuehNtauh1hhj>hhhNhNubh)}(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}(hjC$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?$hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMBubj)}(h h]h }(hjR$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?$hhhjQ$hMBubj)}(hnetdev_tx_reset_subqueueh]j%)}(hnetdev_tx_reset_subqueueh]hnetdev_tx_reset_subqueue}(hjd$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?$hhhjQ$hMBubj)}(h'(const struct net_device *dev, u32 qid)h](j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|$ubh)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|$ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]j')}jjf$sbc.netdev_tx_reset_subqueueasbuh1hhj|$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|$ubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|$ubj%)}(hdevh]hdev}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjx$ubj)}(hu32 qidh](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.netdev_tx_reset_subqueueasbuh1hhj %ubj)}(h h]h }(hj.%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj %ubj%)}(hqidh]hqid}(hj<%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj %ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjx$ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?$hhhjQ$hMBubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;$hhhjQ$hMBubah}(h]j6$ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQ$hMBhj8$hhubjS)}(hhh]jX)}(h/reset the BQL stats and state of a netdev queueh]h/reset the BQL stats and state of a netdev queue}(hjf%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMBhjc%hhubah}(h]h ]h"]h$]h&]uh1jRhj8$hhhjQ$hMBubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~%jxj~%jyjzj{uh1hhhhj>hNhNubj})}(hr**Parameters** ``const struct net_device *dev`` network device ``u32 qid`` stack index of the queue to reseth](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.hhMFhj%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.hhMChj%ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork 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)}(h-``u32 qid`` stack index of the queue to reseth](j)}(h ``u32 qid``h]j)}(hj%h]hu32 qid}(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)}(h!stack index of the queue to reseth]h!stack index of the queue to reset}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMEhj%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_reset_queue (C function)c.netdev_reset_queuehNtauh1hhj>hhhNhNubh)}(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}(hj:&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6&hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMMubj)}(h h]h }(hjI&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6&hhhjH&hMMubj)}(hnetdev_reset_queueh]j%)}(hnetdev_reset_queueh]hnetdev_reset_queue}(hj[&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjW&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6&hhhjH&hMMubj)}(h(struct net_device *dev_queue)h]j)}(hstruct net_device *dev_queueh](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%)}(h net_deviceh]h net_device}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]j')}jj]&sbc.netdev_reset_queueasbuh1hhjs&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%)}(h dev_queueh]h dev_queue}(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=uh1jhj6&hhhjH&hMMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2&hhhjH&hMMubah}(h]j-&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjH&hMMhj/&hhubjS)}(hhh]jX)}(h5reset the packets and bytes count of a network deviceh]h5reset the packets and bytes count of a network device}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMMhj&hhubah}(h]h ]h"]h$]h&]uh1jRhj/&hhhjH&hMMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct net_device *dev_queue`` network device **Description** Reset the bytes and packet count of a network device and clear the software flow control OFF bit for this network deviceh](jX)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMQhj'ubj)}(hhh]j)}(h0``struct net_device *dev_queue`` network device h](j)}(h ``struct net_device *dev_queue``h]j)}(hj;'h]hstruct net_device *dev_queue}(hj='hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMNhj5'ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjT'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjP'hMNhjQ'ubah}(h]h ]h"]h$]h&]uh1jhj5'ubeh}(h]h ]h"]h$]h&]uh1jhjP'hMNhj2'ubah}(h]h ]h"]h$]h&]uh1jhj'ubjX)}(h**Description**h]j)}(hjv'h]h Description}(hjx'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt'ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMPhj'ubj )}(hxReset the bytes and packet count of a network device and clear the software flow control OFF bit for this network deviceh]jX)}(hxReset the bytes and packet count of a network device and clear the software flow control OFF bit for this network deviceh]hxReset the bytes and packet count of a network device and clear the software flow control OFF bit for this network device}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMOhj'ubah}(h]h ]h"]h$]h&]uh1j hj'hMOhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_cap_txqueue (C function)c.netdev_cap_txqueuehNtauh1hhj>hhhNhNubh)}(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}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]j')}jnetdev_cap_txqueuesbc.netdev_cap_txqueueasbuh1hhj'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)}(hnetdev_cap_txqueueh]j%)}(hj'h]hnetdev_cap_txqueue}(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, 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}(hj5(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7(modnameN classnameNjj!)}j$]j'c.netdev_cap_txqueueasbuh1hhj(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%)}(hdevh]hdev}(hjn(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.netdev_cap_txqueueasbuh1hhj(ubj)}(h h]h }(hj(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'hhhj'hMYubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj'hhhj'hMYubah}(h]j'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'hMYhj'hhubjS)}(hhh]jX)}(h0check if selected tx queue exceeds device queuesh]h0check if selected tx queue exceeds device queues}(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{uh1hhhhj>hNhNubj})}(h**Parameters** ``struct net_device *dev`` network device ``u16 queue_index`` given tx queue index **Description** Returns 0 if given tx queue index >= number of device tx queues, otherwise returns the originally passed tx queue index.h](jX)}(h**Parameters**h]j)}(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.hhMZhj)ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj:)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6)hMZhj7)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj6)hMZhj)ubj)}(h)``u16 queue_index`` given tx queue index h](j)}(h``u16 queue_index``h]j)}(hjZ)h]hu16 queue_index}(hj\)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[hjT)ubj)}(hhh]jX)}(hgiven tx queue indexh]hgiven tx queue index}(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)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.hhM]hj(ubj )}(hxReturns 0 if given tx queue index >= number of device tx queues, otherwise returns the originally passed tx queue index.h]jX)}(hxReturns 0 if given tx queue index >= number of device tx queues, otherwise returns the originally passed tx queue index.h]hxReturns 0 if given tx queue index >= number of device tx queues, otherwise returns the originally passed tx queue index.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM\hj)ubah}(h]h ]h"]h$]h&]uh1j hj)hM\hj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_running (C function)c.netif_runninghNtauh1hhj>hhhNhNubh)}(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.hhMmubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj)hMmubj)}(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)hMmubj)}(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 }(hjH*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjY*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjV*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[*modnameN classnameNjj!)}j$]j')}jj*sbc.netif_runningasbuh1hhj*ubj)}(h h]h }(hjy*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*ubj%)}(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)hMmubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)hhhj)hMmubah}(h]j)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj)hMmhj)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.hhMmhj*hhubah}(h]h ]h"]h$]h&]uh1jRhj)hhhj)hMmubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``const struct net_device *dev`` network device **Description** 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.hhMqhj*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.hhMnhj*ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork 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*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:104: ./include/linux/netdevice.hhMphj*ubj )}(h'Test if the device has been brought up.h]jX)}(hjR+h]h'Test if the device has been brought up.}(hjT+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMohjP+ubah}(h]h ]h"]h$]h&]uh1j hja+hMohj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netif_start_subqueue (C function)c.netif_start_subqueuehNtauh1hhj>hhhNhNubh)}(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}(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_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+hhhj+hMubj)}(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$hj7,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<,modnameN classnameNjj!)}j$]j+c.netif_start_subqueueasbuh1hhj3,ubj)}(h h]h }(hjX,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3,ubj%)}(h queue_indexh]h queue_index}(hjf,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj+ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj+hhhj+hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhj+hMubah}(h]j{+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj+hMhj}+hhubjS)}(hhh]jX)}(h!allow sending packets on subqueueh]h!allow sending packets on subqueue}(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{uh1hhhhj>hNhNubj})}(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.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,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.hhMhj-ubj)}(hhh]jX)}(hsub queue indexh]hsub queue index}(hj#-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMhj -ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMhj,ubeh}(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:104: ./include/linux/netdevice.hhMhj,ubjX)}(hJStart individual transmit queue of a device with multiple transmit queues.h]hJStart individual transmit queue of a device with multiple transmit queues.}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_stop_subqueue (C function)c.netif_stop_subqueuehNtauh1hhj>hhhNhNubh)}(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}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj-hMubj)}(hnetif_stop_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-hhhj-hMubj)}(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}(hj<.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>.modnameN classnameNjj!)}j$]j.c.netif_stop_subqueueasbuh1hhj5.ubj)}(h h]h }(hjZ.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5.ubj%)}(h queue_indexh]h queue_index}(hjh.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5.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 stop sending packets on subqueueh]h stop sending packets on subqueue}(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{uh1hhhhj>hNhNubj})}(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)}(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.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.hhMhj/ubj)}(hhh]jX)}(hsub queue indexh]hsub queue index}(hj%/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!/hMhj"/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj!/hMhj.ubeh}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj.ubjX)}(hIStop individual transmit queue of a device with multiple transmit queues.h]hIStop individual transmit queue of a device with multiple transmit queues.}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__netif_subqueue_stopped (C function)c.__netif_subqueue_stoppedhNtauh1hhj>hhhNhNubh)}(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}(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_subqueue_stoppedh]j%)}(h__netif_subqueue_stoppedh]h__netif_subqueue_stopped}(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, u16 queue_index)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}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]j')}jj/sbc.__netif_subqueue_stoppedasbuh1hhj/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%)}(hdevh]hdev}(hj<0hhhNhNubah}(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}(hjX0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZ0modnameN classnameNjj!)}j$]j0c.__netif_subqueue_stoppedasbuh1hhjQ0ubj)}(h h]h }(hjv0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQ0ubj%)}(h queue_indexh]h queue_index}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQ0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj/hhhj/hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/hhhj/hMubah}(h]j/ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj/hMhj/hhubjS)}(hhh]jX)}(htest status of subqueueh]htest status of subqueue}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0hhubah}(h]h ]h"]h$]h&]uh1jRhj/hhhj/hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhj>hNhNubj})}(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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubj)}(hhh](j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj0h]hconst struct net_device *dev}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj0ubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hj(1h]hu16 queue_index}(hj*1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj"1ubj)}(hhh]jX)}(hsub queue indexh]hsub queue index}(hjA1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=1hMhj>1ubah}(h]h ]h"]h$]h&]uh1jhj"1ubeh}(h]h ]h"]h$]h&]uh1jhj=1hMhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0ubjX)}(h**Description**h]j)}(hjc1h]h Description}(hje1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja1ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubjX)}(hJCheck individual transmit queue of a device with multiple transmit queues.h]hJCheck individual transmit queue of a device with multiple transmit queues.}(hjy1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_subqueue_stopped (C function)c.netif_subqueue_stoppedhNtauh1hhj>hhhNhNubh)}(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}(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)}(hnetif_subqueue_stoppedh]j%)}(hnetif_subqueue_stoppedh]hnetif_subqueue_stopped}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhj1hMubj)}(h3(const struct net_device *dev, struct sk_buff *skb)h](j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj 2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j')}jj1sbc.netif_subqueue_stoppedasbuh1hhj1ubj)}(h h]h }(hj=2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hjK2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hdevh]hdev}(hjX2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjq2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjm2ubj)}(h h]h }(hj~2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm2ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j92c.netif_subqueue_stoppedasbuh1hhjm2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm2ubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjm2ubj%)}(hskbh]hskb}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubeh}(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 status of subqueueh]htest status of subqueue}(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&]jvjqjwj 3jxj 3jyjzj{uh1hhhhj>hNhNubj})}(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)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj3ubj)}(hhh](j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj33h]hconst struct net_device *dev}(hj53hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj13ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj-3ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjL3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjH3hMhjI3ubah}(h]h ]h"]h$]h&]uh1jhj-3ubeh}(h]h ]h"]h$]h&]uh1jhjH3hMhj*3ubj)}(h1``struct sk_buff *skb`` sub queue buffer pointer h](j)}(h``struct sk_buff *skb``h]j)}(hjl3h]hstruct sk_buff *skb}(hjn3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj3ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjf3ubj)}(hhh]jX)}(hsub queue buffer pointerh]hsub queue buffer pointer}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjf3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj*3ubeh}(h]h ]h"]h$]h&]uh1jhj3ubjX)}(h**Description**h]j)}(hj3h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj3ubjX)}(hJCheck individual transmit queue of a device with multiple transmit queues.h]hJCheck individual transmit queue of a device with multiple transmit queues.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_wake_subqueue (C function)c.netif_wake_subqueuehNtauh1hhj>hhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhj3hMubj)}(hnetif_wake_subqueueh]j%)}(hnetif_wake_subqueueh]hnetif_wake_subqueue}(hj 4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhj3hMubj)}(h)(struct net_device *dev, u16 queue_index)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj)4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%4ubj)}(h h]h }(hj64hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%4ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjG4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjD4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjI4modnameN classnameNjj!)}j$]j')}jj4sbc.netif_wake_subqueueasbuh1hhj%4ubj)}(h h]h }(hjg4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%4ubj;)}(hj>h]h*}(hju4hhhNhNubah}(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)}(hu16 queue_indexh](h)}(hhh]j%)}(hu16h]hu16}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]jc4c.netif_wake_subqueueasbuh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj%)}(h queue_indexh]h queue_index}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!4ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhj3hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhj3hMubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hMhj3hhubjS)}(hhh]jX)}(h!allow sending packets on subqueueh]h!allow sending packets on subqueue}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4hhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhj3hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj 5jxj 5jyjzj{uh1hhhhj>hNhNubj})}(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)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj55h]hstruct net_device *dev}(hj75hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj35ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj/5ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjN5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJ5hMhjK5ubah}(h]h ]h"]h$]h&]uh1jhj/5ubeh}(h]h ]h"]h$]h&]uh1jhjJ5hMhj,5ubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjn5h]hu16 queue_index}(hjp5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjh5ubj)}(hhh]jX)}(hsub queue indexh]hsub queue index}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjh5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj,5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubjX)}(h**Description**h]j)}(hj5h]h Description}(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.hhMhj5ubjX)}(hKResume individual transmit queue of a device with multiple transmit queues.h]hKResume individual transmit queue of a device with multiple transmit queues.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netif_attr_test_mask (C function)c.netif_attr_test_maskhNtauh1hhj>hhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhj5hMubj)}(hnetif_attr_test_maskh]j%)}(hnetif_attr_test_maskh]hnetif_attr_test_mask}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj5hhhj5hMubj)}(hB(unsigned long j, const unsigned long *mask, unsigned int nr_bits)h](j)}(hunsigned long jh](j)}(hunsignedh]hunsigned}(hj*6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&6ubj)}(h h]h }(hj86hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&6ubj)}(hlongh]hlong}(hjF6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&6ubj)}(h h]h }(hjT6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&6ubj%)}(hjh]hj}(hjb6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"6ubj)}(hconst unsigned long *maskh](h)}(hjh]hconst}(hj{6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjw6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjw6ubj)}(hunsignedh]hunsigned}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjw6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjw6ubj)}(hlongh]hlong}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjw6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjw6ubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjw6ubj%)}(hmaskh]hmask}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjw6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"6ubj)}(hunsigned int nr_bitsh](j)}(hunsignedh]hunsigned}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(hinth]hint}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj%)}(hnr_bitsh]hnr_bits}(hj,7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"6ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj5hhhj5hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhj5hMubah}(h]j5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5hMhj5hhubjS)}(hhh]jX)}(h$Test a CPU or Rx queue set in a maskh]h$Test a CPU or Rx queue set in a mask}(hjV7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjS7hhubah}(h]h ]h"]h$]h&]uh1jRhj5hhhj5hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjn7jxjn7jyjzj{uh1hhhhj>hNhNubj})}(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)}(hjx7h]h Parameters}(hjz7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv7ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjr7ubj)}(hhh](j)}(h'``unsigned long j`` CPU/Rx queue index h](j)}(h``unsigned long j``h]j)}(hj7h]hunsigned long j}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj7ubj)}(hhh]jX)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhj7ubj)}(h<``const unsigned long *mask`` bitmask of all cpus/rx queues h](j)}(h``const unsigned long *mask``h]j)}(hj7h]hconst unsigned long *mask}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj7ubj)}(hhh]jX)}(hbitmask of all cpus/rx queuesh]hbitmask of all cpus/rx queues}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhj7ubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hj 8h]hunsigned int nr_bits}(hj 8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj8ubj)}(hhh]jX)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hj"8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj7ubeh}(h]h ]h"]h$]h&]uh1jhjr7ubjX)}(h**Description**h]j)}(hjD8h]h Description}(hjF8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB8ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjr7ubjX)}(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.}(hjZ8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjr7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_attr_test_online (C function)c.netif_attr_test_onlinehNtauh1hhj>hhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhj8hMubj)}(hnetif_attr_test_onlineh]j%)}(hnetif_attr_test_onlineh]hnetif_attr_test_online}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhj8hMubj)}(hI(unsigned long j, const unsigned long *online_mask, unsigned int nr_bits)h](j)}(hunsigned long jh](j)}(hunsignedh]hunsigned}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(hlongh]hlong}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj%)}(hjd6h]hj}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubj)}(h const unsigned long *online_maskh](h)}(hjh]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hj"9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj)}(hunsignedh]hunsigned}(hj09hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(h h]h }(hj>9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj)}(hlongh]hlong}(hjL9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(h h]h }(hjZ9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjh9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(h online_maskh]h online_mask}(hju9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubj)}(hunsigned int nr_bitsh](j)}(hunsignedh]hunsigned}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj%)}(hnr_bitsh]hnr_bits}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj8hhhj8hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8hhhj8hMubah}(h]j|8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8hMhj~8hhubjS)}(hhh]jX)}(hTest for online CPU/Rx queueh]hTest for online CPU/Rx queue}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj9hhubah}(h]h ]h"]h$]h&]uh1jRhj~8hhhj8hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:jxj:jyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``unsigned long j`` CPU/Rx queue index ``const unsigned long *online_mask`` bitmask for CPUs/Rx queues that are online ``unsigned int nr_bits`` number of bits in the bitmask **Return** true if a CPU/Rx queue is online.h](jX)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj :ubj)}(hhh](j)}(h'``unsigned long j`` CPU/Rx queue index h](j)}(h``unsigned long j``h]j)}(hj1:h]hunsigned long j}(hj3:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj+:ubj)}(hhh]jX)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hjJ:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjF:hMhjG:ubah}(h]h ]h"]h$]h&]uh1jhj+:ubeh}(h]h ]h"]h$]h&]uh1jhjF:hMhj(:ubj)}(hP``const unsigned long *online_mask`` bitmask for CPUs/Rx queues that are online h](j)}(h$``const unsigned long *online_mask``h]j)}(hjj:h]h const unsigned long *online_mask}(hjl:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjd:ubj)}(hhh]jX)}(h*bitmask for CPUs/Rx queues that are onlineh]h*bitmask for CPUs/Rx queues that are online}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjd:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj(:ubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hj:h]hunsigned int nr_bits}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj:ubj)}(hhh]jX)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj(:ubeh}(h]h ]h"]h$]h&]uh1jhj :ubjX)}(h **Return**h]j)}(hj:h]hReturn}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj :ubjX)}(h!true if a CPU/Rx queue is online.h]h!true if a CPU/Rx queue is online.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj :ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_attrmask_next (C function)c.netif_attrmask_nexthNtauh1hhj>hhhNhNubh)}(hhh](h)}(hYunsigned int netif_attrmask_next (int n, const unsigned long *srcp, unsigned int nr_bits)h]h)}(hXunsigned int netif_attrmask_next(int n, const unsigned long *srcp, unsigned int nr_bits)h](j)}(hunsignedh]hunsigned}(hj#;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj2;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhj1;hMubj)}(hinth]hint}(hj@;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhhj1;hMubj)}(h h]h }(hjN;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhj1;hMubj)}(hnetif_attrmask_nexth]j%)}(hnetif_attrmask_nexth]hnetif_attrmask_next}(hj`;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhj1;hMubj)}(h8(int n, const unsigned long *srcp, unsigned int nr_bits)h](j)}(hint nh](j)}(hinth]hint}(hj|;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjx;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjx;ubj%)}(hj0h]hn}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjx;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjt;ubj)}(hconst unsigned long *srcph](h)}(hjh]hconst}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj)}(hunsignedh]hunsigned}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj)}(hlongh]hlong}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;ubj%)}(hsrcph]hsrcp}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjt;ubj)}(hunsigned int nr_bitsh](j)}(hunsignedh]hunsigned}(hj)<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%<ubj)}(h h]h }(hj7<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%<ubj)}(hinth]hint}(hjE<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%<ubj)}(h h]h }(hjS<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%<ubj%)}(hnr_bitsh]hnr_bits}(hja<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjt;ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj;hhhj1;hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhj1;hMubah}(h]j;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1;hMhj;hhubjS)}(hhh]jX)}(h1get the next CPU/Rx queue in a cpu/Rx queues maskh]h1get the next CPU/Rx queue in a cpu/Rx queues mask}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<hhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhj1;hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``int n`` CPU/Rx queue index ``const unsigned long *srcp`` the cpumask/Rx queue mask pointer ``unsigned int nr_bits`` number of bits in the bitmask **Return** next (after n) CPU/Rx queue index in the mask; >= nr_bits if no further CPUs/Rx queues set.h](jX)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<ubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hj<h]hint n}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<ubj)}(hhh]jX)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhj<ubj)}(h@``const unsigned long *srcp`` the cpumask/Rx queue mask pointer h](j)}(h``const unsigned long *srcp``h]j)}(hj=h]hconst unsigned long *srcp}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<ubj)}(hhh]jX)}(h!the cpumask/Rx queue mask pointerh]h!the cpumask/Rx queue mask pointer}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhj<ubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hj>=h]hunsigned int nr_bits}(hj@=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj8=ubj)}(hhh]jX)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjW=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjS=hMhjT=ubah}(h]h ]h"]h$]h&]uh1jhj8=ubeh}(h]h ]h"]h$]h&]uh1jhjS=hMhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<ubjX)}(h **Return**h]j)}(hjy=h]hReturn}(hj{=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw=ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<ubjX)}(h[next (after n) CPU/Rx queue index in the mask; >= nr_bits if no further CPUs/Rx queues set.h]h[next (after n) CPU/Rx queue index in the mask; >= nr_bits if no further CPUs/Rx queues set.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$netif_attrmask_next_and (C function)c.netif_attrmask_next_andhNtauh1hhj>hhhNhNubh)}(hhh](h)}(hqint netif_attrmask_next_and (int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h]h)}(hpint netif_attrmask_next_and(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h](j)}(hinth]hint}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhj=hMubj)}(hnetif_attrmask_next_andh]j%)}(hnetif_attrmask_next_andh]hnetif_attrmask_next_and}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj=hhhj=hMubj)}(hU(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h](j)}(hint nh](j)}(hinth]hint}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hj >hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj%)}(hj0h]hn}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubj)}(hconst unsigned long *src1ph](h)}(hjh]hconst}(hj/>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+>ubj)}(h h]h }(hj<>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+>ubj)}(hunsignedh]hunsigned}(hjJ>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+>ubj)}(h h]h }(hjX>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+>ubj)}(hlongh]hlong}(hjf>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+>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%)}(hsrc1ph]hsrc1p}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubj)}(hconst unsigned long *src2ph](h)}(hjh]hconst}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj)}(hunsignedh]hunsigned}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj)}(hlongh]hlong}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>ubj%)}(hsrc2ph]hsrc2p}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubj)}(hunsigned int nr_bitsh](j)}(hunsignedh]hunsigned}(hj!?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(h h]h }(hj/?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj)}(hinth]hint}(hj=?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(h h]h }(hjK?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj%)}(hnr_bitsh]hnr_bits}(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=uh1jhj=hhhj=hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhj=hMubah}(h]j=ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=hMhj=hhubjS)}(hhh]jX)}(h.get the next CPU/Rx queue in \*src1p & \*src2ph]h.get the next CPU/Rx queue in *src1p & *src2p}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?hhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhj=hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{uh1hhhhj>hNhNubj})}(hXp**Parameters** ``int n`` CPU/Rx queue index ``const unsigned long *src1p`` the first CPUs/Rx queues mask pointer ``const unsigned long *src2p`` the second CPUs/Rx queues mask pointer ``unsigned int nr_bits`` number of bits in the bitmask **Return** next (after n) CPU/Rx queue index set in both masks; >= nr_bits if no further CPUs/Rx queues set in both.h](jX)}(h**Parameters**h]j)}(hj?h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?ubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hj?h]hint n}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?ubj)}(hhh]jX)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj?ubj)}(hE``const unsigned long *src1p`` the first CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src1p``h]j)}(hj?h]hconst unsigned long *src1p}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?ubj)}(hhh]jX)}(h%the first CPUs/Rx queues mask pointerh]h%the first CPUs/Rx queues mask pointer}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj?ubj)}(hF``const unsigned long *src2p`` the second CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src2p``h]j)}(hj6@h]hconst unsigned long *src2p}(hj8@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0@ubj)}(hhh]jX)}(h&the second CPUs/Rx queues mask pointerh]h&the second CPUs/Rx queues mask pointer}(hjO@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjK@hMhjL@ubah}(h]h ]h"]h$]h&]uh1jhj0@ubeh}(h]h ]h"]h$]h&]uh1jhjK@hMhj?ubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjo@h]hunsigned int nr_bits}(hjq@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhji@ubj)}(hhh]jX)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMhj@ubah}(h]h ]h"]h$]h&]uh1jhji@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?ubjX)}(h **Return**h]j)}(hj@h]hReturn}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj?ubjX)}(hinext (after n) CPU/Rx queue index set in both masks; >= nr_bits if no further CPUs/Rx queues set in both.h]hinext (after n) CPU/Rx queue index set in both masks; >= nr_bits if no further CPUs/Rx queues set in both.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_is_multiqueue (C function)c.netif_is_multiqueuehNtauh1hhj>hhhNhNubh)}(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.hhM/ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhj@hM/ubj)}(hnetif_is_multiqueueh]j%)}(hnetif_is_multiqueueh]hnetif_is_multiqueue}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Aubah}(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+AhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'Aubj)}(h h]h }(hj8AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'Aubh)}(hjh]hstruct}(hjFAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'Aubj)}(h h]h }(hjSAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'Aubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjdAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfAmodnameN classnameNjj!)}j$]j')}jjAsbc.netif_is_multiqueueasbuh1hhj'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%)}(hdevh]hdev}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'Aubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#Aubah}(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+test if device has multiple transmit queuesh]h+test if device has multiple transmit queues}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hjAhhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhj@hM/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjAjxjAjyjzj{uh1hhhhj>hNhNubj})}(h**Parameters** ``const struct net_device *dev`` network device **Description** Check if device has multiple transmit queuesh](jX)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3hjAubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj Bh]hconst struct net_device *dev}(hj BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0hjBubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj#BhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM0hj Bubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM0hjBubah}(h]h ]h"]h$]h&]uh1jhjAubjX)}(h**Description**h]j)}(hjEBh]h Description}(hjGBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCBubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2hjAubjX)}(h,Check if device has multiple transmit queuesh]h,Check if device has multiple transmit queues}(hj[BhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1hjAubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_hold (C function) c.dev_holdhNtauh1hhj>hhhNhNubh)}(hhh](h)}(h&void dev_hold (struct net_device *dev)h]h)}(h%void dev_hold(struct net_device *dev)h](j)}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBhhhjBhM[ubj)}(hdev_holdh]j%)}(hdev_holdh]hdev_hold}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjBhhhjBhM[ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(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')}jjBsb c.dev_holdasbuh1hhjBubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hdevh]hdev}(hj ChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubah}(h]h ]h"]h$]h&]j<j=uh1jhjBhhhjBhM[ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjBhhhjBhM[ubah}(h]j}Bah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjBhM[hjBhhubjS)}(hhh]jX)}(hget reference to deviceh]hget reference to device}(hjJChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[hjGChhubah}(h]h ]h"]h$]h&]uh1jRhjBhhhjBhM[ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjbCjxjbCjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjlCh]h Parameters}(hjnChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjCubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM_hjfCubj)}(hhh]j)}(h*``struct net_device *dev`` network device 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.hhM\hjCubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChM\hjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChM\hjCubah}(h]h ]h"]h$]h&]uh1jhjfCubjX)}(h**Description**h]j)}(hjCh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM^hjfCubjX)}(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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM]hjfCubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_put (C function) c.dev_puthNtauh1hhj>hhhNhNubh)}(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 DhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMgubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjDhMgubj)}(hdev_puth]j%)}(hdev_puth]hdev_put}(hj,DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(Dubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjDhMgubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjHDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDDubj)}(h h]h }(hjUDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDDubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjfDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhDmodnameN classnameNjj!)}j$]j')}jj.Dsb c.dev_putasbuh1hhjDDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDDubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDDubj%)}(hdevh]hdev}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@Dubah}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhjDhMgubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjDhMgubah}(h]jCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhMghjDhhubjS)}(hhh]jX)}(hrelease reference to deviceh]hrelease reference to device}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMghjDhhubah}(h]h ]h"]h$]h&]uh1jRhjDhhhjDhMgubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjDjxjDjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMkhjDubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj Eh]hstruct net_device *dev}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Eubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhjEubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj%EhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!EhMhhj"Eubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj!EhMhhjEubah}(h]h ]h"]h$]h&]uh1jhjDubjX)}(h**Description**h]j)}(hjGEh]h Description}(hjIEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEEubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMjhjDubjX)}(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.}(hj]EhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMihjDubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlinkwatch_sync_dev (C function)c.linkwatch_sync_devhNtauh1hhj>hhhNhNubh)}(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}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhjEhMubj)}(hlinkwatch_sync_devh]j%)}(hlinkwatch_sync_devh]hlinkwatch_sync_dev}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjEhMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jjEsbc.linkwatch_sync_devasbuh1hhjEubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hdevh]hdev}(hj"FhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubah}(h]h ]h"]h$]h&]j<j=uh1jhjEhhhjEhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjEhhhjEhMubah}(h]jEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEhMhjEhhubjS)}(hhh]jX)}(h#sync linkwatch for the given deviceh]h#sync linkwatch for the given device}(hjLFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjIFhhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhjEhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdFjxjdFjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjnFh]h Parameters}(hjpFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlFubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhFubj)}(hhh]j)}(h@``struct net_device *dev`` network device to sync linkwatch for h](j)}(h``struct net_device *dev``h]j)}(hjFh]hstruct net_device *dev}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjFubj)}(hhh]jX)}(h$network device to sync linkwatch forh]h$network device to sync linkwatch for}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjhFubjX)}(h**Description**h]j)}(hjFh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhFubjX)}(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).}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_ok (C function)c.netif_carrier_okhNtauh1hhj>hhhNhNubh)}(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 GhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj GhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj GhhhjGhMubj)}(hnetif_carrier_okh]j%)}(hnetif_carrier_okh]hnetif_carrier_ok}(hj-GhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)Gubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj GhhhjGhMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjIGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEGubj)}(h h]h }(hjVGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEGubh)}(hjh]hstruct}(hjdGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEGubj)}(h h]h }(hjqGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEGubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]j')}jj/Gsbc.netif_carrier_okasbuh1hhjEGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEGubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEGubj%)}(hdevh]hdev}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAGubah}(h]h ]h"]h$]h&]j<j=uh1jhj GhhhjGhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhjGhMubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjGhMhjGhhubjS)}(hhh]jX)}(htest if carrier presenth]htest if carrier present}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjGhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhjGhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjGjxjGjyjzj{uh1hhhhj>hNhNubj})}(hy**Parameters** ``const struct net_device *dev`` network device **Description** Check if carrier is present on deviceh](jX)}(h**Parameters**h]j)}(hj Hh]h Parameters}(hj HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjHubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj(Hh]hconst struct net_device *dev}(hj*HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Hubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj"Hubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjAHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=HhMhj>Hubah}(h]h ]h"]h$]h&]uh1jhj"Hubeh}(h]h ]h"]h$]h&]uh1jhj=HhMhjHubah}(h]h ]h"]h$]h&]uh1jhjHubjX)}(h**Description**h]j)}(hjcHh]h Description}(hjeHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaHubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjHubjX)}(h%Check if carrier is present on deviceh]h%Check if carrier is present on device}(hjyHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant_on (C function)c.netif_dormant_onhNtauh1hhj>hhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhhjHhMubj)}(hnetif_dormant_onh]j%)}(hnetif_dormant_onh]hnetif_dormant_on}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjHhMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j')}jjHsbc.netif_dormant_onasbuh1hhjHubj)}(h h]h }(hj#IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hj1IhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hdevh]hdev}(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)}(hmark device as dormant.h]hmark device as dormant.}(hjhIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjeIhhubah}(h]h ]h"]h$]h&]uh1jRhjHhhhjHhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjIubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjIh]hstruct net_device *dev}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjIubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubjX)}(h**Description**h]j)}(hjIh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjIubjX)}(h(Mark device as dormant (as per RFC2863).h]h(Mark device as dormant (as per RFC2863).}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjIubjX)}(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 JhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant_off (C function)c.netif_dormant_offhNtauh1hhj>hhhNhNubh)}(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}(hj8JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4JhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjGJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4JhhhjFJhMubj)}(hnetif_dormant_offh]j%)}(hnetif_dormant_offh]hnetif_dormant_off}(hjYJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4JhhhjFJhMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjuJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqJubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]j')}jj[Jsbc.netif_dormant_offasbuh1hhjqJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqJubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqJubj%)}(hdevh]hdev}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmJubah}(h]h ]h"]h$]h&]j<j=uh1jhj4JhhhjFJhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0JhhhjFJhMubah}(h]j+Jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjFJhMhj-JhhubjS)}(hhh]jX)}(hset device as not dormant.h]hset device as not dormant.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjJhhubah}(h]h ]h"]h$]h&]uh1jRhj-JhhhjFJhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{uh1hhhhj>hNhNubj})}(hm**Parameters** ``struct net_device *dev`` network device **Description** Device is not in dormant state.h](jX)}(h**Parameters**h]j)}(hjKh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjKubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj9Kh]hstruct net_device *dev}(hj;KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Kubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj3Kubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjRKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNKhMhjOKubah}(h]h ]h"]h$]h&]uh1jhj3Kubeh}(h]h ]h"]h$]h&]uh1jhjNKhMhj0Kubah}(h]h ]h"]h$]h&]uh1jhjKubjX)}(h**Description**h]j)}(hjtKh]h Description}(hjvKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrKubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjKubjX)}(hDevice is not in dormant state.h]hDevice is not in dormant state.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant (C function)c.netif_dormanthNtauh1hhj>hhhNhNubh)}(hhh](h)}(h1bool netif_dormant (const struct net_device *dev)h]h)}(h0bool netif_dormant(const struct net_device *dev)h](j)}(hjTh]hbool}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKhhhjKhMubj)}(h netif_dormanth]j%)}(h netif_dormanth]h netif_dormant}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjKhhhjKhMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](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%)}(h net_deviceh]h net_device}(hj.LhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+Lubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0LmodnameN classnameNjj!)}j$]j')}jjKsbc.netif_dormantasbuh1hhjKubj)}(h h]h }(hjNLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hj\LhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hdevh]hdev}(hjiLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubah}(h]h ]h"]h$]h&]j<j=uh1jhjKhhhjKhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjKhMubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhMhjKhhubjS)}(hhh]jX)}(htest if device is dormanth]htest if device is dormant}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLhhubah}(h]h ]h"]h$]h&]uh1jRhjKhhhjKhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLjxjLjyjzj{uh1hhhhj>hNhNubj})}(ho**Parameters** ``const struct net_device *dev`` network device **Description** Check if device is dormant.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:104: ./include/linux/netdevice.hhMhjLubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjLh]hconst struct net_device *dev}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjLubjX)}(h**Description**h]j)}(hjMh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Mubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLubjX)}(hCheck if device is dormant.h]hCheck if device is dormant.}(hj%MhhhNhNubah}(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|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing_on (C function)c.netif_testing_onhNtauh1hhj>hhhNhNubh)}(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}(hjTMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPMhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjcMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPMhhhjbMhMubj)}(hnetif_testing_onh]j%)}(hnetif_testing_onh]hnetif_testing_on}(hjuMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPMhhhjbMhMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]j')}jjwMsbc.netif_testing_onasbuh1hhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hdevh]hdev}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubah}(h]h ]h"]h$]h&]j<j=uh1jhjPMhhhjbMhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLMhhhjbMhMubah}(h]jGMah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbMhMhjIMhhubjS)}(hhh]jX)}(hmark device as under test.h]hmark device as under test.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjNhhubah}(h]h ]h"]h$]h&]uh1jRhjIMhhhjbMhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,Njxj,Njyjzj{uh1hhhhj>hNhNubj})}(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)}(hj6Nh]h Parameters}(hj8NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Nubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0Nubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjUNh]hstruct net_device *dev}(hjWNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjONubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjnNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjNhMhjkNubah}(h]h ]h"]h$]h&]uh1jhjONubeh}(h]h ]h"]h$]h&]uh1jhjjNhMhjLNubah}(h]h ]h"]h$]h&]uh1jhj0NubjX)}(h**Description**h]j)}(hjNh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0NubjX)}(h+Mark device as under test (as per RFC2863).h]h+Mark device as under test (as per RFC2863).}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0NubjX)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0Nubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing_off (C function)c.netif_testing_offhNtauh1hhj>hhhNhNubh)}(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}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhjNhMubj)}(hnetif_testing_offh]j%)}(hnetif_testing_offh]hnetif_testing_off}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhjNhMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](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 net_deviceh]h net_device}(hj?OhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh]h*}(hjmOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hdevh]hdev}(hjzOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubah}(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)}(hset device as not under test.h]hset device as not under test.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOhhubah}(h]h ]h"]h$]h&]uh1jRhjNhhhjNhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhj>hNhNubj})}(hm**Parameters** ``struct net_device *dev`` network device **Description** Device is not in testing state.h](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:104: ./include/linux/netdevice.hhMhjOubj)}(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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubjX)}(h**Description**h]j)}(hj Ph]h Description}(hj"PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOubjX)}(hDevice is not in testing state.h]hDevice is not in testing state.}(hj6PhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing (C function)c.netif_testinghNtauh1hhj>hhhNhNubh)}(hhh](h)}(h1bool netif_testing (const struct net_device *dev)h]h)}(h0bool netif_testing(const struct net_device *dev)h](j)}(hjTh]hbool}(hjePhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaPhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjsPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaPhhhjrPhMubj)}(h netif_testingh]j%)}(h netif_testingh]h netif_testing}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjaPhhhjrPhMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubh)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPubj)}(h h]h }(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.netif_testingasbuh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPubj%)}(hdevh]hdev}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubah}(h]h ]h"]h$]h&]j<j=uh1jhjaPhhhjrPhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]PhhhjrPhMubah}(h]jXPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrPhMhjZPhhubjS)}(hhh]jX)}(htest if device is under testh]htest if device is under test}(hj?QhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhNhNubj})}(hq**Parameters** ``const struct net_device *dev`` network device **Description** Check if device is under testh](jX)}(h**Parameters**h]j)}(hjaQh]h Parameters}(hjcQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_Qubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj[Qubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjQh]hconst struct net_device *dev}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~Qubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjzQubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjzQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjwQubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj[QubjX)}(hCheck if device is under testh]hCheck if device is under test}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj[Qubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_oper_up (C function)c.netif_oper_uphNtauh1hhj>hhhNhNubh)}(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}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhj RhMubj)}(h netif_oper_uph]j%)}(h netif_oper_uph]h netif_oper_up}(hj RhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhj RhMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjh]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8Rubj%)}(hdevh]hdev}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8Rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4Rubah}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhj RhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjQhhhj RhMubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj RhMhjQhhubjS)}(hhh]jX)}(htest if device is operationalh]htest if device is operational}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjRhhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhj RhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRjxjRjyjzj{uh1hhhhj>hNhNubj})}(hs**Parameters** ``const struct net_device *dev`` network device **Description** Check if carrier is operationalh](jX)}(h**Parameters**h]j)}(hjRh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjRubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjSh]hconst struct net_device *dev}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjSubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj4ShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0ShMhj1Subah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhj0ShMhjSubah}(h]h ]h"]h$]h&]uh1jhjRubjX)}(h**Description**h]j)}(hjVSh]h Description}(hjXShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTSubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjRubjX)}(hCheck if carrier is operationalh]hCheck if carrier is operational}(hjlShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netif_device_present (C function)c.netif_device_presenthNtauh1hhj>hhhNhNubh)}(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}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjShhhjShM ubj)}(hnetif_device_presenth]j%)}(hnetif_device_presenth]hnetif_device_present}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjShhhjShM ubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](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%)}(h net_deviceh]h net_device}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Tubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]j')}jjSsbc.netif_device_presentasbuh1hhjSubj)}(h h]h }(hj0ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hj>ThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hdevh]hdev}(hjKThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubah}(h]h ]h"]h$]h&]j<j=uh1jhjShhhjShM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjShhhjShM ubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShM hjShhubjS)}(hhh]jX)}(his device available or removedh]his device available or removed}(hjuThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjrThhubah}(h]h ]h"]h$]h&]uh1jRhjShhhjShM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{uh1hhhhj>hNhNubj})}(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)}(hjTh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjTubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjTh]hconst struct net_device *dev}(hjThhhNhNubah}(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 hjTubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThM hjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThM hjTubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjTubjX)}(h1Check if device has not been removed from system.h]h1Check if device has not been removed from system.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjTubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_tx_lock (C function)c.netif_tx_lockhNtauh1hhj>hhhNhNubh)}(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}(hj6UhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2UhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjEUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2UhhhjDUhMubj)}(h netif_tx_lockh]j%)}(h netif_tx_lockh]h netif_tx_lock}(hjWUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2UhhhjDUhMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjsUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoUubh)}(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')}jjYUsbc.netif_tx_lockasbuh1hhjoUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoUubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoUubj%)}(hdevh]hdev}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkUubah}(h]h ]h"]h$]h&]j<j=uh1jhj2UhhhjDUhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.UhhhjDUhMubah}(h]j)Uah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDUhMhj+UhhubjS)}(hhh]jX)}(h!grab network device transmit lockh]h!grab network device transmit lock}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjUhhubah}(h]h ]h"]h$]h&]uh1jRhj+UhhhjDUhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVjxjVjyjzj{uh1hhhhj>hNhNubj})}(hn**Parameters** ``struct net_device *dev`` network device **Description** Get network device transmit lockh](jX)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjVubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj7Vh]hstruct net_device *dev}(hj9VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Vubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj1Vubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjPVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLVhMhjMVubah}(h]h ]h"]h$]h&]uh1jhj1Vubeh}(h]h ]h"]h$]h&]uh1jhjLVhMhj.Vubah}(h]h ]h"]h$]h&]uh1jhjVubjX)}(h**Description**h]j)}(hjrVh]h Description}(hjtVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpVubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjVubjX)}(h Get network device transmit lockh]h Get network device transmit lock}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_uc_sync (C function)c.__dev_uc_synchNtauh1hhj>hhhNhNubh)}(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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVhhhjVhMhubj)}(h __dev_uc_synch]j%)}(h __dev_uc_synch]h __dev_uc_sync}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjVhhhjVhMhubj)}(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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]j')}jjVsbc.__dev_uc_syncasbuh1hhjVubj)}(h h]h }(hj2WhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hj@WhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hdevh]hdev}(hjMWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(h5int (*sync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hjfWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbWubj)}(h h]h }(hjtWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbWubj;)}(hjh]h(}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbWubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbWubj%)}(hsynch]hsync}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbWubj;)}(hjh]h)}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbWubj;)}(hjh]h(}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbWubh)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbWubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]j.Wc.__dev_uc_syncasbuh1hhjbWubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbWubj;)}(hjah]h,}(hj XhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbWubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbWubh)}(hjh]hconst}(hj(XhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbWubj)}(h h]h }(hj5XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbWubj)}(hunsignedh]hunsigned}(hjCXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbWubj)}(h h]h }(hjQXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbWubj)}(hcharh]hchar}(hj_XhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbWubj;)}(hj>h]h*}(hjmXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbWubj;)}(hjh]h)}(hjzXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hjh]h(}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hunsynch]hunsync}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubj;)}(hjh]h)}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj;)}(hjh]h(}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubh)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Yubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]j.Wc.__dev_uc_syncasbuh1hhjXubj;)}(hj>h]h*}(hj,YhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj;)}(hjah]h,}(hj9YhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj)}(h h]h }(hjFYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hjh]hconst}(hjTYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hjaYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(hunsignedh]hunsigned}(hjoYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hj}YhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(hcharh]hchar}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj;)}(hjh]h)}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubeh}(h]h ]h"]h$]h&]j<j=uh1jhjVhhhjVhMhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVhhhjVhMhubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVhMhhjVhhubjS)}(hhh]jX)}(h!Synchronize device's unicast listh]h#Synchronize device’s unicast list}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhjYhhubah}(h]h ]h"]h$]h&]uh1jRhjVhhhjVhMhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net_device *dev`` device to sync ``int (*sync)(struct net_device *, const unsigned char *)`` function to call if address should be added ``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed **Description** Add newly added addresses to the interface, and release addresses that have been deleted.h](jX)}(h**Parameters**h]j)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMlhjYubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync h](j)}(h``struct net_device *dev``h]j)}(hjZh]hstruct net_device *dev}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMihj Zubj)}(hhh]jX)}(hdevice to synch]hdevice to sync}(hj)ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%ZhMihj&Zubah}(h]h ]h"]h$]h&]uh1jhj Zubeh}(h]h ]h"]h$]h&]uh1jhj%ZhMihjZubj)}(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)}(hjIZh]h7int (*sync)(struct net_device *, const unsigned char *)}(hjKZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMjhjCZubj)}(hhh]jX)}(h+function to call if address should be addedh]h+function to call if address should be added}(hjbZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^ZhMjhj_Zubah}(h]h ]h"]h$]h&]uh1jhjCZubeh}(h]h ]h"]h$]h&]uh1jhj^ZhMjhjZubj)}(hl``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed h](j)}(h=``int (*unsync)(struct net_device *, const unsigned char *)``h]j)}(hjZh]h9int (*unsync)(struct net_device *, const unsigned char *)}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMkhj|Zubj)}(hhh]jX)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMkhjZubah}(h]h ]h"]h$]h&]uh1jhj|Zubeh}(h]h ]h"]h$]h&]uh1jhjZhMkhjZubeh}(h]h ]h"]h$]h&]uh1jhjYubjX)}(h**Description**h]j)}(hjZh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMmhjYubj )}(hYAdd newly added addresses to the interface, and release addresses that have been deleted.h]jX)}(hYAdd newly added addresses to the interface, and release addresses that have been deleted.h]hYAdd newly added addresses to the interface, and release addresses that have been deleted.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMlhjZubah}(h]h ]h"]h$]h&]uh1j hjZhMlhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_uc_unsync (C function)c.__dev_uc_unsynchNtauh1hhj>hhhNhNubh)}(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.hhMzubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhj[hMzubj)}(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[hMzubj)}(hQ(struct net_device *dev, int (*unsync)(struct net_device*, const unsigned char*))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')}jj/[sbc.__dev_uc_unsyncasbuh1hhjE[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)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj;)}(hjh]h(}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj;)}(hj>h]h*}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj%)}(hunsynch]hunsync}(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}(hj7\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9\modnameN classnameNjj!)}j$]j[c.__dev_uc_unsyncasbuh1hhj[ubj;)}(hj>h]h*}(hjU\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj;)}(hjah]h,}(hjb\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj)}(h h]h }(hjo\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*}(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=uh1jhjA[ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj[hhhj[hMzubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[hhhj[hMzubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[hMzhj[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.hhMzhj\hhubah}(h]h ]h"]h$]h&]uh1jRhj[hhhj[hMzubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]jxj]jyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net_device *dev`` device to sync ``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed **Description** Remove all addresses that were added to the device by dev_uc_sync().h](jX)}(h**Parameters**h]j)}(hj]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)}(hj9]h]hstruct net_device *dev}(hj;]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7]ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM{hj3]ubj)}(hhh]jX)}(hdevice to synch]hdevice to sync}(hjR]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjN]hM{hjO]ubah}(h]h ]h"]h$]h&]uh1jhj3]ubeh}(h]h ]h"]h$]h&]uh1jhjN]hM{hj0]ubj)}(hl``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed h](j)}(h=``int (*unsync)(struct net_device *, const unsigned char *)``h]j)}(hjr]h]h9int (*unsync)(struct net_device *, const unsigned char *)}(hjt]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp]ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM|hjl]ubj)}(hhh]jX)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hM|hj]ubah}(h]h ]h"]h$]h&]uh1jhjl]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM|hj0]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.hhM~hj]ubj )}(hDRemove all addresses that were added to the device by dev_uc_sync().h]jX)}(hj]h]hDRemove all addresses that were added to the device by dev_uc_sync().}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM}hj]ubah}(h]h ]h"]h$]h&]uh1j hj]hM}hj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_mc_sync (C function)c.__dev_mc_synchNtauh1hhj>hhhNhNubh)}(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.hhMubj)}(h h]h }(hj ^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhj ^hMubj)}(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 ^hMubj)}(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}(hj8^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4^ubj)}(h h]h }(hjE^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4^ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjV^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjS^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjX^modnameN classnameNjj!)}j$]j')}jj^sbc.__dev_mc_syncasbuh1hhj4^ubj)}(h h]h }(hjv^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4^ubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4^ubj%)}(hdevh]hdev}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0^ubj)}(h5int (*sync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj;)}(hjh]h(}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj%)}(hsynch]hsync}(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$]jr^c.__dev_mc_syncasbuh1hhj^ubj;)}(hj>h]h*}(hjD_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj;)}(hjah]h,}(hjQ_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj)}(h h]h }(hj^_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubh)}(hjh]hconst}(hjl_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hjy_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*}(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=uh1jhj0^ubj)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hjh]h(}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hunsynch]hunsync}(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}(hj4`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hjA`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjR`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjT`modnameN classnameNjj!)}j$]jr^c.__dev_mc_syncasbuh1hhj_ubj;)}(hj>h]h*}(hjp`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj;)}(hjah]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*}(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=uh1jhj0^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#Synchronize device's multicast listh]h%Synchronize device’s multicast list}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjahhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhj ^hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+ajxj+ajyjzj{uh1hhhhj>hNhNubj})}(hX**Parameters** ``struct net_device *dev`` device to sync ``int (*sync)(struct net_device *, const unsigned char *)`` function to call if address should be added ``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed **Description** Add newly added addresses to the interface, and release addresses that have been deleted.h](jX)}(h**Parameters**h]j)}(hj5ah]h Parameters}(hj7ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3aubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj/aubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync h](j)}(h``struct net_device *dev``h]j)}(hjTah]hstruct net_device *dev}(hjVahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjNaubj)}(hhh]jX)}(hdevice to synch]hdevice to sync}(hjmahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjiahMhjjaubah}(h]h ]h"]h$]h&]uh1jhjNaubeh}(h]h ]h"]h$]h&]uh1jhjiahMhjKaubj)}(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)}(hjah]h7int (*sync)(struct net_device *, const unsigned char *)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjaubj)}(hhh]jX)}(h+function to call if address should be addedh]h+function to call if address should be added}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhjKaubj)}(hl``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed h](j)}(h=``int (*unsync)(struct net_device *, const unsigned char *)``h]j)}(hjah]h9int (*unsync)(struct net_device *, const unsigned char *)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjaubj)}(hhh]jX)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhjKaubeh}(h]h ]h"]h$]h&]uh1jhj/aubjX)}(h**Description**h]j)}(hjbh]h Description}(hjbhhhNhNubah}(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/aubj )}(hYAdd newly added addresses to the interface, and release addresses that have been deleted.h]jX)}(hYAdd newly added addresses to the interface, and release addresses that have been deleted.h]hYAdd newly added addresses to the interface, and release addresses that have been deleted.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjbubah}(h]h ]h"]h$]h&]uh1j hj)bhMhj/aubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_mc_unsync (C function)c.__dev_mc_unsynchNtauh1hhj>hhhNhNubh)}(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}(hjPbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLbhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj_bhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLbhhhj^bhMubj)}(h__dev_mc_unsynch]j%)}(h__dev_mc_unsynch]h__dev_mc_unsync}(hjqbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLbhhhj^bhMubj)}(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&]uh1hhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(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')}jjsbsbc.__dev_mc_unsyncasbuh1hhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(hdevh]hdev}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj)}(h h]h }(hj chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hjh]h(}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj;)}(hj>h]h*}(hj(chhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(hunsynch]hunsync}(hj5chhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubj;)}(hjh]h)}(hjCchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj;)}(hjh]h(}(hjPchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubh)}(hjh]hstruct}(hj]chhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbubj)}(h h]h }(hjjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj{chhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}cmodnameN classnameNjj!)}j$]jbc.__dev_mc_unsyncasbuh1hhjbubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj;)}(hjah]h,}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(hjh]hconst}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(hunsignedh]hunsigned}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(hcharh]hchar}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj;)}(hjh]h)}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubeh}(h]h ]h"]h$]h&]j<j=uh1jhjLbhhhj^bhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjHbhhhj^bhMubah}(h]jCbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj^bhMhjEbhhubjS)}(hhh]jX)}(h)Remove synchronized addresses from deviceh]h)Remove synchronized addresses from device}(hjhNhNubj})}(hX**Parameters** ``struct net_device *dev`` device to sync ``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed **Description** Remove all addresses that were added to the device by dev_mc_sync().h](jX)}(h**Parameters**h]j)}(hj^dh]h Parameters}(hj`dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\dubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjXdubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync h](j)}(h``struct net_device *dev``h]j)}(hj}dh]hstruct net_device *dev}(hjdhhhNhNubah}(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.hhMhjwdubj)}(hhh]jX)}(hdevice to synch]hdevice to sync}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjwdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjtdubj)}(hl``int (*unsync)(struct net_device *, const unsigned char *)`` function to call if address should be removed h](j)}(h=``int (*unsync)(struct net_device *, const unsigned char *)``h]j)}(hjdh]h9int (*unsync)(struct net_device *, const unsigned char *)}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjdubj)}(hhh]jX)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjtdubeh}(h]h ]h"]h$]h&]uh1jhjXdubjX)}(h**Description**h]j)}(hjdh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjXdubj )}(hDRemove all addresses that were added to the device by dev_mc_sync().h]jX)}(hj eh]hDRemove all addresses that were added to the device by dev_mc_sync().}(hj ehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjeubah}(h]h ]h"]h$]h&]uh1j hjehMhjXdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_shaper (C struct) c.net_shaperhNtauh1hhj>hhhY/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}(hj@ehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhj4ehNubj})}(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}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh:}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK%hjeubjU)}(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'hjeubjX)}(h **Members**h]j)}(hjeh]hMembers}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK2hjeubj)}(hhh](j)}(hD``parent`` Unique identifier for the shaper parent, usually implied h](j)}(h ``parent``h]j)}(hjeh]hparent}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK$hjeubj)}(hhh]jX)}(h8Unique identifier for the shaper parent, usually impliedh]h8Unique identifier for the shaper parent, usually implied}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhK$hjfubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjfhK$hjeubj)}(h-``handle`` Unique identifier for this shaper h](j)}(h ``handle``h]j)}(hj(fh]hhandle}(hj*fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&fubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK%hj"fubj)}(hhh]jX)}(h!Unique identifier for this shaperh]h!Unique identifier for this shaper}(hjAfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=fhK%hj>fubah}(h]h ]h"]h$]h&]uh1jhj"fubeh}(h]h ]h"]h$]h&]uh1jhj=fhK%hjeubj)}(h;``metric`` Specify if the rate limits refers to PPS or BPS h](j)}(h ``metric``h]j)}(hjafh]hmetric}(hjcfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_fubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK&hj[fubj)}(hhh]jX)}(h/Specify if the rate limits refers to PPS or BPSh]h/Specify if the rate limits refers to PPS or BPS}(hjzfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvfhK&hjwfubah}(h]h ]h"]h$]h&]uh1jhj[fubeh}(h]h ]h"]h$]h&]uh1jhjvfhK&hjeubj)}(h3``bw_min`` Minimum guaranteed rate for this shaper h](j)}(h ``bw_min``h]j)}(hjfh]hbw_min}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK'hjfubj)}(hhh]jX)}(h'Minimum guaranteed rate for this shaperh]h'Minimum guaranteed rate for this shaper}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhK'hjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhK'hjeubj)}(h5``bw_max`` Maximum peak rate allowed for this shaper h](j)}(h ``bw_max``h]j)}(hjfh]hbw_max}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK(hjfubj)}(hhh]jX)}(h)Maximum peak rate allowed for this shaperh]h)Maximum peak rate allowed for this shaper}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhK(hjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhK(hjeubj)}(h9``burst`` Maximum burst for the peek rate of this shaper h](j)}(h ``burst``h]j)}(hj gh]hburst}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj gubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK)hjgubj)}(hhh]jX)}(h.Maximum burst for the peek rate of this shaperh]h.Maximum burst for the peek rate of this shaper}(hj%ghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!ghK)hj"gubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhj!ghK)hjeubj)}(h1``priority`` Scheduling priority for this shaper h](j)}(h ``priority``h]j)}(hjEgh]hpriority}(hjGghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCgubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK*hj?gubj)}(hhh]jX)}(h#Scheduling priority for this shaperh]h#Scheduling priority for this shaper}(hj^ghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZghK*hj[gubah}(h]h ]h"]h$]h&]uh1jhj?gubeh}(h]h ]h"]h$]h&]uh1jhjZghK*hjeubj)}(h,``weight`` Scheduling weight for this shaperh](j)}(h ``weight``h]j)}(hj~gh]hweight}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|gubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK*hjxgubj)}(hhh]jX)}(h!Scheduling weight for this shaperh]h!Scheduling weight for this shaper}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK+hjgubah}(h]h ]h"]h$]h&]uh1jhjxgubeh}(h]h ]h"]h$]h&]uh1jhjghK*hjeubeh}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj>hhhj4ehNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_shaper_ops (C struct)c.net_shaper_opshNtauh1hhj>hhhj4ehNubh)}(hhh](h)}(hnet_shaper_opsh]h)}(hstruct net_shaper_opsh](h)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjghhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK1ubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjghK1ubj)}(hnet_shaper_opsh]j%)}(hjgh]hnet_shaper_ops}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjghhhjghK1ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjghhhjghK1ubah}(h]jgah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjghK1hjghhubjS)}(hhh]jX)}(h Operations on device H/W shapersh]h Operations on device H/W shapers}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKhj4ehNubj})}(hX**Definition**:: struct net_shaper_ops { int (*group)(struct net_shaper_binding *binding, int leaves_count, const struct net_shaper *leaves, const struct net_shaper *node, struct netlink_ext_ack *extack); int (*set)(struct net_shaper_binding *binding, const struct net_shaper *shaper, struct netlink_ext_ack *extack); int (*delete)(struct net_shaper_binding *binding, const struct net_shaper_handle *handle, struct netlink_ext_ack *extack); void (*capabilities)(struct net_shaper_binding *binding, enum net_shaper_scope scope, unsigned long *cap); }; **Members** ``group`` create the specified shapers scheduling group Nest the **leaves** shapers identified under the * **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** arrays size is specified by **leaves_count**. Create either the **leaves** and the **node** shaper; or if they already exists, links them together in the desired way. **leaves** scope must be NET_SHAPER_SCOPE_QUEUE. ``set`` Updates the specified shaper Updates or creates the **shaper** on the device specified by **binding**. ``delete`` Removes the specified shaper Removes the shaper configuration as identified by the given **handle** on the device specified by **binding**, restoring the default behavior. ``capabilities`` get the shaper features supported by the device Fills the bitmask **cap** with the supported capabilities for the specified **scope** and device specified by **binding**.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj>hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:hubh:}(hj:hhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK@hj6hubjU)}(hX%struct net_shaper_ops { int (*group)(struct net_shaper_binding *binding, int leaves_count, const struct net_shaper *leaves, const struct net_shaper *node, struct netlink_ext_ack *extack); int (*set)(struct net_shaper_binding *binding, const struct net_shaper *shaper, struct netlink_ext_ack *extack); int (*delete)(struct net_shaper_binding *binding, const struct net_shaper_handle *handle, struct netlink_ext_ack *extack); void (*capabilities)(struct net_shaper_binding *binding, enum net_shaper_scope scope, unsigned long *cap); };h]hX%struct net_shaper_ops { int (*group)(struct net_shaper_binding *binding, int leaves_count, const struct net_shaper *leaves, const struct net_shaper *node, struct netlink_ext_ack *extack); int (*set)(struct net_shaper_binding *binding, const struct net_shaper *shaper, struct netlink_ext_ack *extack); int (*delete)(struct net_shaper_binding *binding, const struct net_shaper_handle *handle, struct netlink_ext_ack *extack); void (*capabilities)(struct net_shaper_binding *binding, enum net_shaper_scope scope, unsigned long *cap); };}hjWhsbah}(h]h ]h"]h$]h&]j<j=uh1jThY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKBhj6hubjX)}(h **Members**h]j)}(hjhhh]hMembers}(hjjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfhubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKIhj6hubj)}(hhh](j)}(hX``group`` create the specified shapers scheduling group Nest the **leaves** shapers identified under the * **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** arrays size is specified by **leaves_count**. Create either the **leaves** and the **node** shaper; or if they already exists, links them together in the desired way. **leaves** scope must be NET_SHAPER_SCOPE_QUEUE. h](j)}(h ``group``h]j)}(hjhh]hgroup}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKUhjhubj)}(hhh](jX)}(h-create the specified shapers scheduling grouph]h-create the specified shapers scheduling group}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKNhjhubjX)}(hXiNest the **leaves** shapers identified under the * **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** arrays size is specified by **leaves_count**. Create either the **leaves** and the **node** shaper; or if they already exists, links them together in the desired way. **leaves** scope must be NET_SHAPER_SCOPE_QUEUE.h](h Nest the }(hjhhhhNhNubj)}(h **leaves**h]hleaves}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh shapers identified under the * }(hjhhhhNhNubj)}(h**node**h]hnode}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh; shaper. All the shapers belong to the device specified by }(hjhhhhNhNubj)}(h **binding**h]hbinding}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh. The }(hjhhhhNhNubj)}(h **leaves**h]hleaves}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh arrays size is specified by }(hjhhhhNhNubj)}(h**leaves_count**h]h leaves_count}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh. Create either the }(hjhhhhNhNubj)}(h **leaves**h]hleaves}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh and the }(hjhhhhNhNubj)}(h**node**h]hnode}(hj#ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubhL shaper; or if they already exists, links them together in the desired way. }(hjhhhhNhNubj)}(h **leaves**h]hleaves}(hj5ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh& scope must be NET_SHAPER_SCOPE_QUEUE.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKPhjhubeh}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhKUhj~hubj)}(hp``set`` Updates the specified shaper Updates or creates the **shaper** on the device specified by **binding**. h](j)}(h``set``h]j)}(hj`ih]hset}(hjbihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^iubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK_hjZiubj)}(hhh](jX)}(hUpdates the specified shaperh]hUpdates the specified shaper}(hjyihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK]hjviubjX)}(hIUpdates or creates the **shaper** on the device specified by **binding**.h](hUpdates or creates the }(hjihhhNhNubj)}(h **shaper**h]hshaper}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh on the device specified by }(hjihhhNhNubj)}(h **binding**h]hbinding}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh.}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjuihK_hjviubeh}(h]h ]h"]h$]h&]uh1jhjZiubeh}(h]h ]h"]h$]h&]uh1jhjuihK_hj~hubj)}(h``delete`` Removes the specified shaper Removes the shaper configuration as identified by the given **handle** on the device specified by **binding**, restoring the default behavior. h](j)}(h ``delete``h]j)}(hjih]hdelete}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKihjiubj)}(hhh](jX)}(hRemoves the specified shaperh]hRemoves the specified shaper}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKfhjiubjX)}(hRemoves the shaper configuration as identified by the given **handle** on the device specified by **binding**, restoring the default behavior.h](hhhhj4ehNubjX)}(h**Description**h]j)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKvhj>hhubjX)}(hXJThe operations applies to either net_device and devlink objects. The initial shaping configuration at device initialization is empty: does not constraint the rate in any way. The network core keeps track of the applied user-configuration in the net_device or devlink structure. The operations are serialized via a per device lock.h]hXJThe operations applies to either net_device and devlink objects. The initial shaping configuration at device initialization is empty: does not constraint the rate in any way. The network core keeps track of the applied user-configuration in the net_device or devlink structure. The operations are serialized via a per device lock.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK=hj>hhubjX)}(hQDevice not supporting any kind of nesting should not provide the group operation.h]hQDevice not supporting any kind of nesting should not provide the group operation.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKDhj>hhubjX)}(hyEach shaper is uniquely identified within the device with a 'handle' comprising the shaper scope and a scope-specific id.h]h}Each shaper is uniquely identified within the device with a ‘handle’ comprising the shaper scope and a scope-specific id.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKGhj>hhubeh}(h]driver-supportah ]h"]driver supportah$]h&]uh1hhj-hhhhhKZubh)}(hhh](h)}(h PHY Supporth]h PHY Support}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj khhhhhKoubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_print_status (C function)c.phy_print_statushNtauh1hhj khhhNhNubh)}(hhh](h)}(h1void phy_print_status (struct phy_device *phydev)h]h)}(h0void phy_print_status(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hj5khhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1khhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKtubj)}(h h]h }(hjDkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1khhhjCkhKtubj)}(hphy_print_statush]j%)}(hphy_print_statush]hphy_print_status}(hjVkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRkubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1khhhjCkhKtubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjrkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnkubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j')}jjXksbc.phy_print_statusasbuh1hhjnkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnkubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnkubj%)}(hphydevh]hphydev}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjkubah}(h]h ]h"]h$]h&]j<j=uh1jhj1khhhjCkhKtubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-khhhjCkhKtubah}(h]j(kah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjCkhKthj*khhubjS)}(hhh]jX)}(h8Convenience function to print out the current phy statush]h8Convenience function to print out the current phy status}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKthjkhhubah}(h]h ]h"]h$]h&]uh1jRhj*khhhjCkhKtubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj ljxj ljyjzj{uh1hhhhj khNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](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:113: ./drivers/net/phy/phy.chKxhjlubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj6lh]hstruct phy_device *phydev}(hj8lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4lubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKzhj0lubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjOlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKuhjLlubah}(h]h ]h"]h$]h&]uh1jhj0lubeh}(h]h ]h"]h$]h&]uh1jhjKlhKzhj-lubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_get_rate_matching (C function)c.phy_get_rate_matchinghNtauh1hhj khhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhjlhKubj)}(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=uh1jhjlhhhjlhKubj)}(h2(struct phy_device *phydev, phy_interface_t iface)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j')}jjlsbc.phy_get_rate_matchingasbuh1hhjlubj)}(h h]h }(hj mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hphydevh]hphydev}(hj&mhhhNhNubah}(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}(hjBmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?mubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDmmodnameN classnameNjj!)}j$]jmc.phy_get_rate_matchingasbuh1hhj;mubj)}(h h]h }(hj`mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;mubj%)}(hifaceh]hiface}(hjnmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubeh}(h]h ]h"]h$]h&]j<j=uh1jhjlhhhjlhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjlhKubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhKhjlhhubjS)}(hhh]jX)}(h'determine if rate matching is supportedh]h'determine if rate matching is supported}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjmhhubah}(h]h ]h"]h$]h&]uh1jRhjlhhhjlhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmjxjmjyjzj{uh1hhhhj khNhNubj})}(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.chKhjmubj)}(hhh](j)}(hI``struct phy_device *phydev`` The phy device to return rate matching for 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.chKhjmubj)}(hhh]jX)}(h*The phy device to return rate matching forh]h*The phy device to return rate matching for}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhKhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhKhjmubj)}(h4``phy_interface_t iface`` The interface mode to use h](j)}(h``phy_interface_t iface``h]j)}(hjnh]hphy_interface_t iface}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj nubj)}(hhh]jX)}(hThe interface mode to useh]hThe interface mode to use}(hj+nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'nhKhj(nubah}(h]h ]h"]h$]h&]uh1jhj nubeh}(h]h ]h"]h$]h&]uh1jhj'nhKhjmubeh}(h]h ]h"]h$]h&]uh1jhjmubjX)}(h**Description**h]j)}(hjMnh]h Description}(hjOnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKnubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjmubjX)}(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 }(hjcnhhhNhNubj)}(h**phy**h]hphy}(hjknhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcnubh supports using }(hjcnhhhNhNubj)}(h **iface**h]hiface}(hj}nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcnubh. }(hjcnhhhNhNubj)}(h **iface**h]hiface}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcnubh may be }(hjcnhhhNhNubj)}(h``PHY_INTERFACE_MODE_NA``h]hPHY_INTERFACE_MODE_NA}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcnubh6 to determine if any interface supports rate matching.}(hjcnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjmubjX)}(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.chKhjmubjX)}(hQThe type of rate matching **phy** supports for **iface**, or ``RATE_MATCH_NONE``.h](hThe type of rate matching }(hjnhhhNhNubj)}(h**phy**h]hphy}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh supports for }(hjnhhhNhNubj)}(h **iface**h]hiface}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh, or }(hjnhhhNhNubj)}(h``RATE_MATCH_NONE``h]hRATE_MATCH_NONE}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh.}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_restart_aneg (C function)c.phy_restart_aneghNtauh1hhj khhhNhNubh)}(hhh](h)}(h0int phy_restart_aneg (struct phy_device *phydev)h]h)}(h/int phy_restart_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hj7ohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ohhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjFohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ohhhjEohKubj)}(hphy_restart_anegh]j%)}(hphy_restart_anegh]hphy_restart_aneg}(hjXohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjToubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3ohhhjEohKubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjtohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpoubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}jjZosbc.phy_restart_anegasbuh1hhjpoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpoubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpoubj%)}(hphydevh]hphydev}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjloubah}(h]h ]h"]h$]h&]j<j=uh1jhj3ohhhjEohKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/ohhhjEohKubah}(h]j*oah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEohKhj,ohhubjS)}(hhh]jX)}(hrestart auto-negotiationh]hrestart auto-negotiation}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjohhubah}(h]h ]h"]h$]h&]uh1jRhj,ohhhjEohKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjpjxjpjyjzj{uh1hhhhj khNhNubj})}(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)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjpubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj8ph]hstruct phy_device *phydev}(hj:phhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6pubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj2pubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjQphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMphKhjNpubah}(h]h ]h"]h$]h&]uh1jhj2pubeh}(h]h ]h"]h$]h&]uh1jhjMphKhj/pubah}(h]h ]h"]h$]h&]uh1jhjpubjX)}(h**Description**h]j)}(hjsph]h Description}(hjuphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqpubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjpubjX)}(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.chKhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_aneg_done (C function)c.phy_aneg_donehNtauh1hhj khhhNhNubh)}(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}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhjphKubj)}(h phy_aneg_doneh]j%)}(h phy_aneg_doneh]h phy_aneg_done}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjphhhjphKubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj%qhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"qubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'qmodnameN classnameNjj!)}j$]j')}jjpsbc.phy_aneg_doneasbuh1hhjqubj)}(h h]h }(hjEqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj;)}(hj>h]h*}(hjSqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(hphydevh]hphydev}(hj`qhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubah}(h]h ]h"]h$]h&]j<j=uh1jhjphhhjphKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjphKubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphKhjphhubjS)}(hhh]jX)}(hreturn auto-negotiation statush]hreturn auto-negotiation status}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjqhhubah}(h]h ]h"]h$]h&]uh1jRhjphhhjphKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqjxjqjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Return the auto-negotiation status from this **phydev** Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.h](jX)}(h**Parameters**h]j)}(hjqh]h Parameters}(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.chKhjqubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjqh]hstruct phy_device *phydev}(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.chKhjqubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhKhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhKhjqubah}(h]h ]h"]h$]h&]uh1jhjqubjX)}(h**Description**h]j)}(hjrh]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjqubjX)}(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 }(hjrhhhNhNubj)}(h **phydev**h]hphydev}(hj$rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubhX Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_check_valid (C function)c.phy_check_validhNtauh1hhj khhhNhNubh)}(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}(hj]rhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYrhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjkrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYrhhhjjrhKubj)}(hphy_check_validh]j%)}(hphy_check_validh]hphy_check_valid}(hj}rhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYrhhhjjrhKubj)}(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 }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj%)}(hspeedh]hspeed}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(h int duplexh](j)}(hinth]hint}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj%)}(hduplexh]hduplex}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(hunsigned long *featuresh](j)}(hunsignedh]hunsigned}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(hlongh]hlong}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj)}(h h]h }(hj-shhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hj;shhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hfeaturesh]hfeatures}(hjHshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubeh}(h]h ]h"]h$]h&]j<j=uh1jhjYrhhhjjrhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUrhhhjjrhKubah}(h]jPrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjrhKhjRrhhubjS)}(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}(hjrshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjoshhubah}(h]h ]h"]h$]h&]uh1jRhjRrhhhjjrhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{uh1hhhhj khNhNubj})}(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.chKhjsubj)}(hhh](j)}(h``int speed`` speed to match h](j)}(h ``int speed``h]j)}(hjsh]h int speed}(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)}(hspeed to matchh]hspeed to match}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshKhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshKhjsubj)}(h``int duplex`` duplex to match h](j)}(h``int duplex``h]j)}(hjsh]h int duplex}(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)}(hduplex to matchh]hduplex to match}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthKhjtubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjthKhjsubj)}(h9``unsigned long *features`` A mask of the valid settings h](j)}(h``unsigned long *features``h]j)}(hj%th]hunsigned long *features}(hj'thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#tubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjtubj)}(hhh]jX)}(hA mask of the valid settingsh]hA mask of the valid settings}(hj>thhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:thKhj;tubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhj:thKhjsubeh}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjsubjX)}(h:Returns true if there is a valid setting, false otherwise.h]h:Returns true if there is a valid setting, false otherwise.}(hjvthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mii_ioctl (C function)c.phy_mii_ioctlhNtauh1hhj khhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-ubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjthM-ubj)}(h phy_mii_ioctlh]j%)}(h phy_mii_ioctlh]h phy_mii_ioctl}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjthM-ubj)}(h7(struct phy_device *phydev, struct ifreq *ifr, int cmd)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]j')}jjtsbc.phy_mii_ioctlasbuh1hhjtubj)}(h h]h }(hj uhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hj.uhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hphydevh]hphydev}(hj;uhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hjTuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPuubj)}(h h]h }(hjauhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPuubh)}(hhh]j%)}(hifreqh]hifreq}(hjruhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjouubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtumodnameN classnameNjj!)}j$]juc.phy_mii_ioctlasbuh1hhjPuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPuubj;)}(hj>h]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPuubj%)}(hifrh]hifr}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubj)}(hint cmdh](j)}(hinth]hint}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj%)}(hcmdh]hcmd}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubeh}(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)}(hgeneric PHY MII ioctl interfaceh]hgeneric PHY MII ioctl interface}(hj vhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-hjvhhubah}(h]h ]h"]h$]h&]uh1jRhjthhhjthM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"vjxj"vjyjzj{uh1hhhhj khNhNubj})}(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)}(hj,vh]h Parameters}(hj.vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*vubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hj&vubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjKvh]hstruct phy_device *phydev}(hjMvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM.hjEvubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjdvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`vhM.hjavubah}(h]h ]h"]h$]h&]uh1jhjEvubeh}(h]h ]h"]h$]h&]uh1jhj`vhM.hjBvubj)}(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&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM/hj~vubj)}(hhh]jX)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hjvh]h struct ifreq}(hjvhhhNhNubah}(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&]uh1jhj~vubeh}(h]h ]h"]h$]h&]uh1jhjvhM/hjBvubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hjvh]hint cmd}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM0hjvubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhM0hjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhM0hjBvubeh}(h]h ]h"]h$]h&]uh1jhj&vubjX)}(h**Description**h]j)}(hjwh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM2hj&vubjX)}(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.}(hj-whhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hj&vubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_do_ioctl (C function)c.phy_do_ioctlhNtauh1hhj khhhNhNubh)}(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}(hj\whhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXwhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjkwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXwhhhjjwhMubj)}(h phy_do_ioctlh]j%)}(h phy_do_ioctlh]h phy_do_ioctl}(hj}whhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjywubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXwhhhjjwhMubj)}(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 }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]j')}jjwsbc.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%)}(hdevh]hdev}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hj xhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubh)}(hhh]j%)}(hifreqh]hifreq}(hj)xhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&xubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+xmodnameN classnameNjj!)}j$]jwc.phy_do_ioctlasbuh1hhjxubj)}(h h]h }(hjGxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj;)}(hj>h]h*}(hjUxhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj%)}(hifrh]hifr}(hjbxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(hint cmdh](j)}(hinth]hint}(hj{xhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwxubj%)}(hcmdh]hcmd}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubeh}(h]h ]h"]h$]h&]j<j=uh1jhjXwhhhjjwhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjTwhhhjjwhMubah}(h]jOwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjwhMhjQwhhubjS)}(hhh]jX)}(h$generic ndo_eth_ioctl implementationh]h$generic ndo_eth_ioctl implementation}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjxhhubah}(h]h ]h"]h$]h&]uh1jRhjQwhhhjjwhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhj khNhNubj})}(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)}(hjxh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjxubj)}(hhh](j)}(h1``struct net_device *dev`` the net_device struct h](j)}(h``struct net_device *dev``h]j)}(hjyh]hstruct net_device *dev}(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.chMhjxubj)}(hhh]jX)}(hthe net_device structh]hthe net_device struct}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjxubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hj;yh]hstruct ifreq *ifr}(hj=yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9yubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj5yubj)}(hhh]jX)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hjZyh]h struct ifreq}(hj\yhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjXyubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjifrequh1hhjPyhMhjTyubh for socket ioctl’s}(hjTyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjPyhMhjQyubah}(h]h ]h"]h$]h&]uh1jhj5yubeh}(h]h ]h"]h$]h&]uh1jhjPyhMhjxubj)}(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.chMhjyubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(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&]uh1jhjyhMhjxubeh}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_do_ioctl_running (C function)c.phy_do_ioctl_runninghNtauh1hhj khhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjyhMubj)}(hphy_do_ioctl_runningh]j%)}(hphy_do_ioctl_runningh]hphy_do_ioctl_running}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj zubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjyhMubj)}(h4(struct net_device *dev, struct ifreq *ifr, int cmd)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj*zhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&zubj)}(h h]h }(hj7zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&zubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjHzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJzmodnameN classnameNjj!)}j$]j')}jjzsbc.phy_do_ioctl_runningasbuh1hhj&zubj)}(h h]h }(hjhzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&zubj;)}(hj>h]h*}(hjvzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&zubj%)}(hdevh]hdev}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&zubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"zubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubh)}(hhh]j%)}(hifreqh]hifreq}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]jdzc.phy_do_ioctl_runningasbuh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj;)}(hj>h]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzubj%)}(hifrh]hifr}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"zubj)}(hint cmdh](j)}(hinth]hint}(hj {hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj%)}(hcmdh]hcmd}(hj({hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"zubeh}(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)}(h3generic ndo_eth_ioctl implementation but test firsth]h3generic ndo_eth_ioctl implementation but test first}(hjR{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjO{hhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjyhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjj{jxjj{jyjzj{uh1hhhhj khNhNubj})}(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)}(hjt{h]h Parameters}(hjv{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr{ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjn{ubj)}(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)}(hj{h]hstruct ifreq *ifr}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj{ubj)}(hhh]jX)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hj{h]h struct ifreq}(hj{hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjifrequh1hhj{hMhj{ubh for socket ioctl’s}(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)}(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&]uh1jWhj9|hMhj:|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj9|hMhj{ubeh}(h]h ]h"]h$]h&]uh1jhjn{ubjX)}(h**Description**h]j)}(hj_|h]h Description}(hja|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.chMhjn{ubjX)}(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.}(hju|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjn{ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_trigger_machine (C function)c.phy_trigger_machinehNtauh1hhj khhhNhNubh)}(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.chM ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|hhhj|hM ubj)}(hphy_trigger_machineh]j%)}(hphy_trigger_machineh]hphy_trigger_machine}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj|hhhj|hM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(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_trigger_machineasbuh1hhj|ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj;)}(hj>h]h*}(hj-}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|ubj%)}(hphydevh]hphydev}(hj:}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubah}(h]h ]h"]h$]h&]j<j=uh1jhj|hhhj|hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj|hhhj|hM ubah}(h]j|ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|hM hj|hhubjS)}(hhh]jX)}(h$Trigger the state machine to run nowh]h$Trigger the state machine to run now}(hjd}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hja}hhubah}(h]h ]h"]h$]h&]uh1jRhj|hhhj|hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|}jxj|}jyjzj{uh1hhhhj khNhNubj})}(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.chMhj}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}hMhj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_ethtool_get_strings (C function)c.phy_ethtool_get_stringshNtauh1hhj khhhNhNubh)}(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&]uh1jhj}hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhj ~hM ubj)}(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=uh1jhj}hhhj ~hM ubj)}(h%(struct phy_device *phydev, u8 *data)h](j)}(hstruct phy_device *phydevh](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 phy_deviceh]h phy_device}(hjZ~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjW~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\~modnameN classnameNjj!)}j$]j')}jj"~sbc.phy_ethtool_get_stringsasbuh1hhj8~ubj)}(h h]h }(hjz~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8~ubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8~ubj%)}(hphydevh]hphydev}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4~ubj)}(hu8 *datah](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$]jv~c.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%)}(hdatah]hdata}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4~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 the statistic counter namesh]hGet the statistic counter names}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhj ~hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,jxj,jyjzj{uh1hhhhj khNhNubj})}(hn**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u8 *data`` Where to put the stringsh](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:113: ./drivers/net/phy/phy.chM$hj0ubj)}(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}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM"hjOubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhM"hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM"hjLubj)}(h%``u8 *data`` Where to put the stringsh](j)}(h ``u8 *data``h]j)}(hjh]hu8 *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.chM$hjubj)}(hhh]jX)}(hWhere to put the stringsh]hWhere to put the strings}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM#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 khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_ethtool_get_sset_count (C function)c.phy_ethtool_get_sset_counthNtauh1hhj khhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM3ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM3ubj)}(hphy_ethtool_get_sset_counth]j%)}(hphy_ethtool_get_sset_counth]hphy_ethtool_get_sset_count}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM3ubj)}(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 }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jj sbc.phy_ethtool_get_sset_countasbuh1hhj!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%)}(hphydevh]hphydev}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM3ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM3ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM3hjhhubjS)}(hhh]jX)}(h$Get the number of statistic countersh]h$Get the number of statistic counters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM3hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM3ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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.chM7hjĀ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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM9hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjĀubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_ethtool_get_stats (C function)c.phy_ethtool_get_statshNtauh1hhj khhhNhNubh)}(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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?hhhjQhMMubj)}(hphy_ethtool_get_statsh]j%)}(hphy_ethtool_get_statsh]hphy_ethtool_get_stats}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?hhhjQhMMubj)}(hC(struct phy_device *phydev, struct ethtool_stats *stats, u64 *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')}jjfsbc.phy_ethtool_get_statsasbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj;)}(hj>h]h*}(hj́hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|ubj%)}(hphydevh]hphydev}(hjفhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(hstruct ethtool_stats *statsh](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_statsh]h ethtool_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_ethtool_get_statsasbuh1hhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstatsh]hstats}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(h u64 *datah](h)}(hhh]j%)}(hu64h]hu64}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]jc.phy_ethtool_get_statsasbuh1hhj^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%)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?hhhjQhMMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhjQhMMubah}(h]j6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhMMhj8hhubjS)}(hhh]jX)}(hGet the statistic countersh]hGet the statistic counters}(hjȂhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMhjłhhubah}(h]h ]h"]h$]h&]uh1jRhj8hhhjQhMMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(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)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMOhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(h5``struct ethtool_stats *stats`` What counters to get h](j)}(h``struct ethtool_stats *stats``h]j)}(hjBh]hstruct ethtool_stats *stats}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMPhj<ubj)}(hhh]jX)}(hWhat counters to geth]hWhat counters to get}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMPhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMPhjubj)}(h)``u64 *data`` Where to store the countersh](j)}(h ``u64 *data``h]j)}(hj{h]h u64 *data}(hj}hhhNhNubah}(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.chMRhjuubj)}(hhh]jX)}(hWhere to store the countersh]hWhere to store the counters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMQhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_start_cable_test (C function)c.phy_start_cable_testhNtauh1hhj khhhNhNubh)}(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}(hjՃhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjуhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjуhhhjhMMubj)}(hphy_start_cable_testh]j%)}(hphy_start_cable_testh]hphy_start_cable_test}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjуhhhjhMMubj)}(h;(struct phy_device *phydev, 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}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j')}jjsbc.phy_start_cable_testasbuh1hhjubj)}(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)}(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$]jLc.phy_start_cable_testasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj΄hhhNhNubah}(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=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjуhhhjhMMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj̓hhhjhMMubah}(h]jȃah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMMhjʃhhubjS)}(hhh]jX)}(hStart a cable testh]hStart a cable test}(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&]uh1jRhjʃhhhjhMMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(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.chMQhj!ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjFh]hstruct phy_device *phydev}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMOhj@ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMOhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMOhj=ubj)}(hM``struct netlink_ext_ack *extack`` extack for reporting useful error messagesh](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjh]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMQhjyubj)}(hhh]jX)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMPhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMQhj=ubeh}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_start_cable_test_tdr (C function)c.phy_start_cable_test_tdrhNtauh1hhj khhhNhNubh)}(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}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjՅhhhjhMubj)}(hphy_start_cable_test_tdrh]j%)}(hphy_start_cable_test_tdrh]hphy_start_cable_test_tdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjՅhhhjhMubj)}(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}(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_start_cable_test_tdrasbuh1hhjubj)}(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 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$]jPc.phy_start_cable_test_tdrasbuh1hhjubj)}(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}(hj߆hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h#const struct phy_tdr_config *configh](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%)}(hphy_tdr_configh]hphy_tdr_config}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]jPc.phy_start_cable_test_tdrasbuh1hhjubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjjhhhNhNubah}(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)}(hStart a raw TDR cable testh]hStart a raw TDR cable test}(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΅hhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjχubeh}(h]h ]h"]h$]h&]uh1jhjhMhj̇ubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjh]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./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#hMhj̇ubj)}(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}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjAubj)}(hhh]jX)}(h Configuration of the test to runh]h Configuration of the test to run}(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&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj̇ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_inband_caps (C function)c.phy_inband_capshNtauh1hhj khhhNhNubh)}(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}(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)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(h h]h }(hj̈hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_inband_capsh]j%)}(hphy_inband_capsh]hphy_inband_caps}(hjވhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjڈubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h6(struct phy_device *phydev, phy_interface_t interface)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_inband_capsasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j4c.phy_inband_capsasbuh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(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)}(h2query which in-band signalling modes are supportedh]h2query which in-band signalling modes are supported}(hjʼnhhhNhNubah}(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&]jvjqjwj݉jxj݉jyjzj{uh1hhhhj khNhNubj})}(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)}(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)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj)h]hstruct phy_device}(hj+hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``phy_interface_t interface`` the interface mode for the PHY 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjXubj)}(hhh]jX)}(hthe interface mode for the PHYh]hthe interface mode for the PHY}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjX)}(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 }(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_signallinguh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubhQ to describe which inband modes are supported by the PHY for this interface mode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj֊hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_config_inband (C function)c.phy_config_inbandhNtauh1hhj khhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/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 hjhhhjhM'ubj)}(hphy_config_inbandh]j%)}(hphy_config_inbandh]hphy_config_inband}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM'ubj)}(h/(struct phy_device *phydev, unsigned int modes)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j')}jj$sbc.phy_config_inbandasbuh1hhj: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)}(hunsigned int modesh](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%)}(hmodesh]hmodes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubeh}(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&configure the desired PHY in-band modeh]h&configure the desired PHY in-band mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM'hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhj khNhNubj})}(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)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM+hj.ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjSh]hstruct phy_device *phydev}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM(hjMubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhM(hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhM(hjJubj)}(h2``unsigned int modes`` in-band modes to configure h](j)}(h``unsigned int modes``h]j)}(hjh]hunsigned int modes}(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.chM)hjubj)}(hhh]jX)}(hin-band modes to configureh]hin-band modes to configure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjJubeh}(h]h ]h"]h$]h&]uh1jhj.ubjX)}(h**Description**h]j)}(hjnjh]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.chM+hj.ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM,hjubj)}(hhh]jX)}(h between the PHY and host system.h]h between the PHY and host system.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hj݌ubah}(h]h ]h"]h$]h&]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:113: ./drivers/net/phy/phy.chM.hj.ubjX)}(h)zero on success, or negative errno value.h]h)zero on success, or negative errno value.}(hj.hhhNhNubah}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_phy_start_aneg (C function)c._phy_start_aneghNtauh1hhj khhhNhNubh)}(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}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMCubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhMCubj)}(h_phy_start_anegh]j%)}(h_phy_start_anegh]h_phy_start_aneg}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjkhMCubj)}(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_start_anegasbuh1hhjubj)}(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=uh1jhjYhhhjkhMCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjkhMCubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhMChjRhhubjS)}(hhh]jX)}(h*start auto-negotiation for this PHY deviceh]h*start auto-negotiation for this PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMChjhhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjkhMCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhj khNhNubj})}(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)}(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:113: ./drivers/net/phy/phy.chMGhj9ubj)}(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.chMDhjXubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMDhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMDhjUubah}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMFhj9ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMHhjubj)}(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.}(hjȎhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGhjŎubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjĎhMHhjubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_aneg (C function)c.phy_start_aneghNtauh1hhj khhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMcubj)}(hphy_start_anegh]j%)}(hphy_start_anegh]hphy_start_aneg}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMcubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(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.phy_start_anegasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMcubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMcubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMchjhhubjS)}(hhh]jX)}(h*start auto-negotiation for this PHY deviceh]h*start auto-negotiation for this PHY device}(hjɏhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMchjƏhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMcubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(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)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMdhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMdhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubah}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMfhjubj)}(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}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhhj^ubj)}(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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMghjqubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjphMhhj[ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_down (C function)c.phy_speed_downhNtauh1hhj khhhNhNubh)}(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}(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_speed_downh]j%)}(hphy_speed_downh]hphy_speed_down}(hj֐hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjҐubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjÐhMubj)}(h&(struct phy_device *phydev, bool sync)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')}jjؐsbc.phy_speed_downasbuh1hhjubj)}(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=uh1jhjubj)}(h bool synch](j)}(hjTh]hbool}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj%)}(hsynch]hsync}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(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)}(h9set speed to lowest speed supported by both link partnersh]h9set speed to lowest speed supported by both link partners}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjÐhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(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)}(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)}(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+``bool sync`` perform action synchronously h](j)}(h ``bool sync``h]j)}(hj#h]h bool sync}(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.chMhjubj)}(hhh]jX)}(hperform action synchronouslyh]hperform action synchronously}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubeh}(h]h ]h"]h$]h&]uh1jhjőubjX)}(h**Description**h]j)}(hj^h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjőubjX)}(h;Typically used to save energy when waiting for a WoL packeth]h;Typically used to save energy when waiting for a WoL packet}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjőubjX)}(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.}(hjhhhNhNubah}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_up (C function)c.phy_speed_uphNtauh1hhj khhhNhNubh)}(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}(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)}(h phy_speed_uph]j%)}(h phy_speed_uph]h phy_speed_up}(hjӒhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjϒubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjՒsbc.phy_speed_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%)}(hphydevh]hphydev}(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)}(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.chMhjohhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(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)}(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:113: ./drivers/net/phy/phy.chMhjubj)}(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&]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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjX)}(h+Used to revert the effect of phy_speed_downh]h+Used to revert the effect of phy_speed_down}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_machine (C function)c.phy_start_machinehNtauh1hhj khhhNhNubh)}(hhh](h)}(h2void phy_start_machine (struct phy_device *phydev)h]h)}(h1void phy_start_machine(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/hhhjAhMubj)}(hphy_start_machineh]j%)}(hphy_start_machineh]hphy_start_machine}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/hhhjAhMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjVsbc.phy_start_machineasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hphydevh]hphydev}(hjɔhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubah}(h]h ]h"]h$]h&]j<j=uh1jhj/hhhjAhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhjAhMubah}(h]j&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhMhj(hhubjS)}(hhh]jX)}(h start PHY state machine trackingh]h start PHY state machine tracking}(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(hhhjAhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj khNhNubj})}(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)}(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)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj4h]hstruct phy_device *phydev}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjoh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_error (C function) c.phy_errorhNtauh1hhj khhhNhNubh)}(hhh](h)}(h*void phy_error (struct phy_device *phydev)h]h)}(h)void phy_error(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjߕhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjەhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjەhhhjhMMubj)}(h phy_errorh]j%)}(h phy_errorh]h phy_error}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjەhhhjhMMubj)}(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$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<modnameN classnameNjj!)}j$]j')}jjsb c.phy_errorasbuh1hhjubj)}(h h]h }(hjZhhhNhNubah}(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=uh1jhjەhhhjhMMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjוhhhjhMMubah}(h]jҕah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMMhjԕhhubjS)}(hhh]jX)}(h%enter ERROR state for this PHY deviceh]h%enter ERROR state for this PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjԕhhhjhMMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Moves the PHY to the ERROR state in response to a read or write error, and tells the controller the link is down. Must be called with phydev->lock held.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(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.chMQhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޖubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMNhjږubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjږubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjזubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(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)}(hMoves the PHY to the ERROR state in response to a read or write error, and tells the controller the link is down. Must be called with phydev->lock held.h]hMoves the PHY to the ERROR state in response to a read or write error, and tells the controller the link is down. Must be called with phydev->lock held.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMOhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_request_interrupt (C function)c.phy_request_interrupthNtauh1hhj khhhNhNubh)}(hhh](h)}(h6void phy_request_interrupt (struct phy_device *phydev)h]h)}(h5void phy_request_interrupt(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjnhMubj)}(hphy_request_interrupth]j%)}(hphy_request_interrupth]hphy_request_interrupt}(hjhhhNhNubah}(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}(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_request_interruptasbuh1hhjubj)}(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=uh1jhj\hhhjnhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhjnhMubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhMhjUhhubjS)}(hhh]jX)}(h-request and enable interrupt for a PHY deviceh]h-request and enable interrupt for a PHY device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjUhhhjnhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8jxj8jyjzj{uh1hhhhj khNhNubj})}(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)}(hjBh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi: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)}(hjah]hstruct phy_device *phydev}(hjchhhNhNubah}(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}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj<ubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(h_If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.h]h_If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.}(hj˘hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjǘhMhjȘubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǘhMhjubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_free_interrupt (C function)c.phy_free_interrupthNtauh1hhj khhhNhNubh)}(hhh](h)}(h3void phy_free_interrupt (struct phy_device *phydev)h]h)}(h2void phy_free_interrupt(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_free_interrupth]j%)}(hphy_free_interrupth]hphy_free_interrupt}(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}(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}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jj.sbc.phy_free_interruptasbuh1hhjDubj)}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h+disable and free interrupt for a PHY deviceh]h+disable and free interrupt for a PHY device}(hj˙hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjșhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Disable and free the interrupt for the given PHY. This should only be called with a valid IRQ number.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(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:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjGh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(heDisable and free the interrupt for the given PHY. This should only be called with a valid IRQ number.h](j)}(h1Disable and free the interrupt for the given PHY.h]h1Disable and free the interrupt for the given PHY.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj`ubj)}(hhh]jX)}(h3This should only be called with a valid IRQ number.h]h3This should only be called with a valid IRQ number.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjsubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhjrhMhj]ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop (C function) c.phy_stophNtauh1hhj khhhNhNubh)}(hhh](h)}(h)void phy_stop (struct phy_device *phydev)h]h)}(h(void phy_stop(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMdubj)}(h h]h }(hjƚhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjŚhMdubj)}(hphy_stoph]j%)}(hphy_stoph]hphy_stop}(hjؚhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjԚubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjŚhMdubj)}(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_stopasbuh1hhjubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjŚhMdubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjŚhMdubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjŚhMdhjhhubjS)}(hhh]jX)}(h5Bring down the PHY link, and stop checking the statush]h5Bring down the PHY link, and stop checking the status}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMdhjthhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjŚhMdubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhhjubj)}(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:113: ./drivers/net/phy/phy.chMjhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjћhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMehjΛubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj͛hMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start (C function) c.phy_starthNtauh1hhj khhhNhNubh)}(hhh](h)}(h*void phy_start (struct phy_device *phydev)h]h)}(h)void phy_start(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(h phy_starth]j%)}(h phy_starth]h phy_start}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}jj5sb c.phy_startasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhjhhubjS)}(hhh]jX)}(hstart or restart a PHY deviceh]hstart or restart a PHY device}(hjҜhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjϜhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hXF**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Indicates the attached device's readiness to handle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(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)}(hjNh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(hIndicates the attached device's readiness to handle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.h](j)}(h,Indicates the attached device's readiness toh]h.Indicates the attached device’s readiness to}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjgubj)}(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.chMhjzubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjdubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mac_interrupt (C function)c.phy_mac_interrupthNtauh1hhj khhhNhNubh)}(hhh](h)}(h2void phy_mac_interrupt (struct phy_device *phydev)h]h)}(h1void phy_mac_interrupt(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hj͝hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj̝hMubj)}(hphy_mac_interrupth]j%)}(hphy_mac_interrupth]hphy_mac_interrupt}(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')}jjsbc.phy_mac_interruptasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjThhhNhNubah}(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)}(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&]uh1jRhjhhhj̝hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` phy_device struct with changed link **Description** The MAC layer is able to indicate there has been a change in the PHY link status. Trigger the state machine and work a work queue.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(hB``struct phy_device *phydev`` phy_device struct with changed link h](j)}(h``struct phy_device *phydev``h]j)}(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)}(h#phy_device struct with changed linkh]h#phy_device struct with changed link}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjX)}(hThe MAC layer is able to indicate there has been a change in the PHY link status. Trigger the state machine and work a work queue.h]hThe MAC layer is able to indicate there has been a change in the PHY link status. Trigger the state machine and work a work queue.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_loopback (C function)c.phy_loopbackhNtauh1hhj khhhNhNubh)}(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 }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhjMhMubj)}(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;hhhjMhMubj)}(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&]uh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubh)}(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')}jjbsbc.phy_loopbackasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj;)}(hj>h]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=uh1jhjtubj)}(h bool enableh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(henableh]henable}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubj)}(h int speedh](j)}(hinth]hint}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hspeedh]hspeed}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubeh}(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)}(hConfigure loopback mode of PHYh]hConfigure loopback mode of PHY}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjehhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhjMhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hXO**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool enable`` enable or disable loopback mode ``int speed`` enable loopback mode with speed **Description** Configure loopback mode of PHY and signal link down and link up if speed is changing. **Return** 0 on success, negative error code on failure.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``bool enable`` enable or disable loopback mode h](j)}(h``bool enable``h]j)}(hjh]h bool enable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjܠubj)}(hhh]jX)}(henable or disable loopback modeh]henable or disable loopback mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjܠubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjVh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi: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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjX)}(h **Return**h]j)}(hj}h]hReturn}(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.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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phy_eee_tx_clock_stop_capable (C function)c.phy_eee_tx_clock_stop_capablehNtauh1hhj khhhNhNubh)}(hhh](h)}(h=int phy_eee_tx_clock_stop_capable (struct phy_device *phydev)h]h)}(hh]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СhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjСhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjСhMhjhhubjS)}(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&]uh1jRhjhhhjСhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Indicate whether the MAC can disable the transmit xMII clock while in LPI state. Returns 1 if the MAC may stop the transmit clock, 0 if the MAC must not stop the transmit clock, or negative error.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjܢhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjآhMhj٢ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjآ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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjX)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_eee_rx_clock_stop (C function)c.phy_eee_rx_clock_stophNtauh1hhj khhhNhNubh)}(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}(hjChhhNhNubah}(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 }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?hhhjQhM+ubj)}(hphy_eee_rx_clock_stoph]j%)}(hphy_eee_rx_clock_stoph]hphy_eee_rx_clock_stop}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?hhhjQhM+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&]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_eee_rx_clock_stopasbuh1hhj|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)}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?hhhjQhM+ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhjQhM+ubah}(h]j6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhM+hj8hhubjS)}(hhh]jX)}(h"configure PHY receive clock in LPIh]h"configure PHY receive clock in LPI}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM+hj4hhubah}(h]h ]h"]h$]h&]uh1jRhj8hhhjQhM+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhj khNhNubj})}(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)}(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:113: ./drivers/net/phy/phy.chM/hjSubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM,hjrubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjoubj)}(hK``bool clk_stop_enable`` flag to indicate whether the clock can be stopped h](j)}(h``bool clk_stop_enable``h]j)}(hjh]hbool clk_stop_enable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-hjubj)}(hhh]jX)}(h1flag to indicate whether the clock can be stoppedh]h1flag to indicate whether the clock can be stopped}(hjʤhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjƤhM-hjǤubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƤhM-hjoubeh}(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:113: ./drivers/net/phy/phy.chM/hjSubjX)}(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.chM.hjSubjX)}(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.chM1hjSubjX)}(h0 or negative error.h]h0 or negative error.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM2hjSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_init_eee (C function)c.phy_init_eeehNtauh1hhj khhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM@ubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjfhM@ubj)}(h phy_init_eeeh]j%)}(h phy_init_eeeh]h phy_init_eee}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjfhM@ubj)}(h1(struct phy_device *phydev, bool clk_stop_enable)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj{sbc.phy_init_eeeasbuh1hhjubj)}(h h]h }(hjӥhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool clk_stop_enableh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hclk_stop_enableh]hclk_stop_enable}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjfhM@ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhjfhM@ubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhM@hjMhhubjS)}(hhh]jX)}(hinit and check the EEE featureh]hinit and check the EEE feature}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM@hjIhhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhjfhM@ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdjxjdjyjzj{uh1hhhhj khNhNubj})}(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)}(hjnh]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMDhjhubj)}(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.chMAhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(h;``bool clk_stop_enable`` PHY may stop the clock during LPI h](j)}(h``bool clk_stop_enable``h]j)}(hjƦh]hbool clk_stop_enable}(hjȦhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĦubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMBhjubj)}(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&]uh1jWhjۦhMBhjܦubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjۦhMBhjubeh}(h]h ]h"]h$]h&]uh1jhjhubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMDhjhubjX)}(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.chMDhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_eee_err (C function)c.phy_get_eee_errhNtauh1hhj khhhNhNubh)}(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}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM^ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBhhhjThM^ubj)}(hphy_get_eee_errh]j%)}(hphy_get_eee_errh]hphy_get_eee_err}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjBhhhjThM^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')}jjisbc.phy_get_eee_errasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjϧhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjܧhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubah}(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)}(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.chM^hjhhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhjThM^ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(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.chMbhj"ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM_hjAubj)}(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&]uh1jhjAubeh}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMahj"ubjX)}(h]it is to report the number of time where the PHY failed to complete its normal wake sequence.h]h]it is to report the number of time where the PHY failed to complete its normal wake sequence.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMahj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_eee (C function)c.phy_ethtool_get_eeehNtauh1hhj khhhNhNubh)}(hhh](h)}(hNint phy_ethtool_get_eee (struct phy_device *phydev, struct ethtool_keee *data)h]h)}(hMint phy_ethtool_get_eee(struct phy_device *phydev, struct ethtool_keee *data)h](j)}(hinth]hint}(hjǨhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjèhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMtubj)}(h h]h }(hj֨hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjèhhhjըhMtubj)}(hphy_ethtool_get_eeeh]j%)}(hphy_ethtool_get_eeeh]hphy_ethtool_get_eee}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjèhhhjըhMtubj)}(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 }(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_ethtool_get_eeeasbuh1hhjubj)}(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=uh1jhjubj)}(hstruct ethtool_keee *datah](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(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$]j>c.phy_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%)}(hdatah]hdata}(hjͩhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjèhhhjըhMtubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjըhMtubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjըhMthjhhubjS)}(hhh]jX)}(hget EEE supported and statush]hget EEE supported and status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMthjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjըhMtubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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.chMxhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj8h]hstruct phy_device *phydev}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMuhj2ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMuhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMuhj/ubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjqh]hstruct ethtool_keee *data}(hjshhhNhNubah}(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.chMvhjkubj)}(hhh]jX)}(hethtool_keee datah]hethtool_keee data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMvhj/ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMxhjubjX)}(hAget the current EEE settings, filling in all members of **data**.h](h8get the current EEE settings, filling in all members of }(hjªhhhNhNubj)}(h**data**h]hdata}(hjʪhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjªubh.}(hjªhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMxhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_eee (C function)c.phy_ethtool_set_eeehNtauh1hhj khhhNhNubh)}(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&]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_eeeh]j%)}(hphy_ethtool_set_eeeh]hphy_ethtool_set_eee}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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 }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`modnameN classnameNjj!)}j$]j')}jj&sbc.phy_ethtool_set_eeeasbuh1hhj<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=uh1jhj8ubj)}(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}(hjЫhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjͫubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjҫmodnameN classnameNjj!)}j$]jzc.phy_ethtool_set_eeeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdatah]hdata}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hset EEE supported and statush]hset EEE supported and status}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj0hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{uh1hhhhj khNhNubj})}(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)}(hjUh]h Parameters}(hjWhhhNhNubah}(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.chMhjOubj)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjnubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhjkubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjh]hstruct ethtool_keee *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(hethtool_keee datah]hethtool_keee data}(hjƬhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj¬hMhjìubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj¬hMhjkubeh}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjOubjX)}(h0it is to program the Advertisement EEE register.h]h0it is to program the Advertisement EEE register.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_wol (C function)c.phy_ethtool_set_wolhNtauh1hhj khhhNhNubh)}(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}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj;hMubj)}(hphy_ethtool_set_wolh]j%)}(hphy_ethtool_set_wolh]hphy_ethtool_set_wol}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)hhhj;hMubj)}(h8(struct phy_device *phydev, struct ethtool_wolinfo *wol)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_ethtool_set_wolasbuh1hhjfubj)}(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)}(hstruct ethtool_wolinfo *wolh](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_wolinfoh]hethtool_wolinfo}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_ethtool_set_wolasbuh1hhjح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%)}(hwolh]hwol}(hj3hhhNhNubah}(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)}(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.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj;hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{uh1hhhhj khNhNubj})}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjyubj)}(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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``struct ethtool_wolinfo *wol`` Configuration requestedh](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hj׮h]hstruct ethtool_wolinfo *wol}(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)}(hConfiguration requestedh]hConfiguration requested}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjѮubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_wol (C function)c.phy_ethtool_get_wolhNtauh1hhj khhhNhNubh)}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj?hMubj)}(hphy_ethtool_get_wolh]j%)}(hphy_ethtool_get_wolh]hphy_ethtool_get_wol}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj?hMubj)}(h8(struct phy_device *phydev, struct ethtool_wolinfo *wol)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_wolasbuh1hhjjubj)}(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 ethtool_wolinfo *wolh](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%)}(hethtool_wolinfoh]hethtool_wolinfo}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_ethtool_get_wolasbuh1hhjܯ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%)}(hwolh]hwol}(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?hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)hhhj?hMubah}(h]j$ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj?hMhj&hhubjS)}(hhh]jX)}(h)Get the current Wake On LAN configurationh]h)Get the current Wake On LAN configuration}(hjahhhNhNubah}(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&]jvjqjwjyjxjyjyjzj{uh1hhhhj khNhNubj})}(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.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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hD``struct ethtool_wolinfo *wol`` Store the current configuration hereh](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hj۰h]hstruct ethtool_wolinfo *wol}(hjݰhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjٰubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjհubj)}(hhh]jX)}(h$Store the current configuration hereh]h$Store the current configuration here}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjհubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_ethtool_nway_reset (C function)c.phy_ethtool_nway_resethNtauh1hhj khhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhjChMubj)}(hphy_ethtool_nway_reseth]j%)}(hphy_ethtool_nway_reseth]hphy_ethtool_nway_reset}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhjChMubj)}(h(struct net_device *ndev)h]j)}(hstruct net_device *ndevh](h)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjXsbc.phy_ethtool_nway_resetasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(hndevh]hndev}(hj˱hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjubah}(h]h ]h"]h$]h&]j<j=uh1jhj1hhhjChMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-hhhjChMubah}(h]j(ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjChMhj*hhubjS)}(hhh]jX)}(hRestart auto negotiationh]hRestart auto negotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj*hhhjChMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj khNhNubj})}(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)}(hj6h]hstruct net_device *ndev}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj0ubj)}(hhh]jX)}(h%Network device to restart autoneg forh]h%Network device to restart autoneg for}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_config_interrupt (C function)c.phy_config_interrupthNtauh1hhj khhhNhNubh)}(hhh](h)}(hEint phy_config_interrupt (struct phy_device *phydev, bool interrupts)h]h)}(hDint phy_config_interrupt(struct phy_device *phydev, bool interrupts)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hphy_config_interrupth]j%)}(hphy_config_interrupth]hphy_config_interrupt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h,(struct phy_device *phydev, bool interrupts)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjͲhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjɲubj)}(h h]h }(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_config_interruptasbuh1hhjɲ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)}(hbool interruptsh](j)}(hjTh]hbool}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj%)}(h interruptsh]h interrupts}(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=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h5configure the PHY device for the requested interruptsh]h5configure the PHY device for the requested interrupts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``bool interrupts`` interrupt flags to configure for this **phydev** **Description** Returns 0 on success or < 0 on error.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjųh]hstruct phy_device *phydev}(hjdzhhhNhNubah}(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)}(hthe phy_device structh]hthe phy_device struct}(hj޳hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjڳhKhj۳ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڳhKhjubj)}(hE``bool interrupts`` interrupt flags to configure for this **phydev** h](j)}(h``bool interrupts``h]j)}(hjh]hbool interrupts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jX)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjGh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_supported_speeds (C function)c.phy_supported_speedshNtauh1hhj khhhNhNubh)}(hhh](h)}(hcunsigned int phy_supported_speeds (struct phy_device *phy, unsigned int *speeds, unsigned int size)h]h)}(hbunsigned int phy_supported_speeds(struct phy_device *phy, unsigned int *speeds, unsigned int size)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hphy_supported_speedsh]j%)}(hphy_supported_speedsh]hphy_supported_speeds}(hjɴhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjŴubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(hA(struct phy_device *phy, unsigned int *speeds, unsigned int size)h](j)}(hstruct phy_device *phyh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj˴sbc.phy_supported_speedsasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj1hhhNhNubah}(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=uh1jhjݴubj)}(hunsigned int *speedsh](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;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hspeedsh]hspeeds}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjݴubj)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjõhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjѵhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjߵhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjݴubeh}(h]h ]h"]h$]h&]j<j=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&]jvjqjwj/jxj/jyjzj{uh1hhhhj khNhNubj})}(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)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj3ubj)}(hhh](j)}(hI``struct phy_device *phy`` The phy device to return supported speeds of. h](j)}(h``struct phy_device *phy``h]j)}(hjXh]hstruct phy_device *phy}(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.chKhjRubj)}(hhh]jX)}(h-The phy device to return supported speeds of.h]h-The phy device to return supported speeds of.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhKhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhKhjOubj)}(h>``unsigned int *speeds`` buffer to store supported speeds in. h](j)}(h``unsigned int *speeds``h]j)}(hjh]hunsigned int *speeds}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jX)}(h$buffer to store supported speeds in.h]h$buffer to store supported speeds in.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjOubj)}(h-``unsigned int size`` size of speeds buffer. h](j)}(h``unsigned int size``h]j)}(hjʶh]hunsigned int size}(hj̶hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȶubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjĶubj)}(hhh]jX)}(hsize of speeds buffer.h]hsize of speeds buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj߶hKhjubah}(h]h ]h"]h$]h&]uh1jhjĶubeh}(h]h ]h"]h$]h&]uh1jhj߶hKhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj3ubjX)}(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.chKhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_sanitize_settings (C function)c.phy_sanitize_settingshNtauh1hhj khhhNhNubh)}(hhh](h)}(h6void phy_sanitize_settings (struct phy_device *phydev)h]h)}(h5void phy_sanitize_settings(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjXhKubj)}(hphy_sanitize_settingsh]j%)}(hphy_sanitize_settingsh]hphy_sanitize_settings}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjFhhhjXhKubj)}(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')}jjmsbc.phy_sanitize_settingsasbuh1hhjubj)}(h h]h }(hjŷhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjӷhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjFhhhjXhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjBhhhjXhKubah}(h]j=ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjXhKhj?hhubjS)}(hhh]jX)}(h6make sure the PHY is set to supported speed and duplexh]h6make sure the PHY is set to supported speed and duplex}(hj hhhNhNubah}(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&]uh1jRhj?hhhjXhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"jxj"jyjzj{uh1hhhhj khNhNubj})}(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)}(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.chKhj&ubj)}(hhh]j)}(h;``struct phy_device *phydev`` the target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjKh]hstruct phy_device *phydev}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjEubj)}(hhh]jX)}(hthe target phy_device structh]hthe target phy_device struct}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hKhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hKhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj&ubj)}(hhh]j)}(hMake sure the PHY is set to supported speeds and duplexes. Drop down by one in this order: 1000/FULL, 1000/HALF, 100/FULL, 100/HALF, 10/FULL, 10/HALF.h](j)}(h0Make sure the PHY is set to supported speeds andh]h0Make sure the PHY is set to supported speeds and}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jX)}(hgduplexes. Drop down by one in this order: 1000/FULL, 1000/HALF, 100/FULL, 100/HALF, 10/FULL, 10/HALF.h]hgduplexes. Drop down by one in this order: 1000/FULL, 1000/HALF, 100/FULL, 100/HALF, 10/FULL, 10/HALF.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_get (C function)c.__phy_hwtstamp_gethNtauh1hhj khhhNhNubh)}(hhh](h)}(hYint __phy_hwtstamp_get (struct phy_device *phydev, struct kernel_hwtstamp_config *config)h]h)}(hXint __phy_hwtstamp_get(struct phy_device *phydev, struct kernel_hwtstamp_config *config)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__phy_hwtstamp_geth]j%)}(h__phy_hwtstamp_geth]h__phy_hwtstamp_get}(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)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_hwtstamp_getasbuh1hhj.ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubj)}(h%struct kernel_hwtstamp_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hkernel_hwtstamp_configh]hkernel_hwtstamp_config}(hj¹hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjĹmodnameN classnameNjj!)}j$]jlc.__phy_hwtstamp_getasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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)}(h0Get hardware timestamping configuration from PHYh]h0Get hardware timestamping configuration from PHY}(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&]jvjqjwj=jxj=jyjzj{uh1hhhhj khNhNubj})}(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)}(hjGh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjAubj)}(hhh](j)}(h7``struct phy_device *phydev`` the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjfh]hstruct phy_device *phydev}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj`ubj)}(hhh]jX)}(hthe PHY device structureh]hthe PHY device structure}(hjhhhNhNubah}(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 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}(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&]uh1jhjAubjX)}(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.chMhjAubjX)}(hIQuery the PHY device for its current hardware timestamping configuration.h]hIQuery the PHY device for its current hardware timestamping configuration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_set (C function)c.__phy_hwtstamp_sethNtauh1hhj khhhNhNubh)}(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 }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj-hMubj)}(h__phy_hwtstamp_seth]j%)}(h__phy_hwtstamp_seth]h__phy_hwtstamp_set}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj-hMubj)}(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&]uh1hhjXubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j')}jjBsbc.__phy_hwtstamp_setasbuh1hhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(h%struct kernel_hwtstamp_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%)}(hkernel_hwtstamp_configh]hkernel_hwtstamp_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_hwtstamp_setasbuh1hhjʻubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjʻubj;)}(hj>h]h*}(hjhhhNhNubah}(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=uh1jhjTubj)}(hstruct netlink_ext_ack *extackh](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%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]jc.__phy_hwtstamp_setasbuh1hhj:ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:ubj%)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(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.Modify PHY hardware timestamping configurationh]h.Modify PHY hardware timestamping configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj-hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj׼jxj׼jyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the PHY device structure ``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration ``struct netlink_ext_ack *extack`` netlink extended ack structure, for error reportingh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߼ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjۼubj)}(hhh](j)}(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.chMhjubj)}(hhh]jX)}(hthe PHY device structureh]hthe PHY device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h[``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration h](j)}(h)``struct kernel_hwtstamp_config *config``h]j)}(hj9h]h%struct kernel_hwtstamp_config *config}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj3ubj)}(hhh]jX)}(h0structure holding the timestamping configurationh]h0structure holding the timestamping configuration}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubj)}(hV``struct netlink_ext_ack *extack`` netlink extended ack structure, for error reportingh](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjrh]hstruct netlink_ext_ack *extack}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjlubj)}(hhh]jX)}(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&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjۼubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_queue_state_machine (C function)c.phy_queue_state_machinehNtauh1hhj khhhNhNubh)}(hhh](h)}(hOvoid phy_queue_state_machine (struct phy_device *phydev, unsigned long jiffies)h]h)}(hNvoid phy_queue_state_machine(struct phy_device *phydev, unsigned long jiffies)h](j)}(hvoidh]hvoid}(hj̽hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjȽhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hj۽hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjȽhhhjڽhMubj)}(hphy_queue_state_machineh]j%)}(hphy_queue_state_machineh]hphy_queue_state_machine}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjȽhhhjڽhMubj)}(h2(struct phy_device *phydev, unsigned long jiffies)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)modnameN classnameNjj!)}j$]j')}jjsbc.phy_queue_state_machineasbuh1hhjubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned long jiffiesh](j)}(hunsignedh]hunsigned}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj%)}(hjiffiesh]hjiffies}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(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)}(h%Trigger the state machine to run soonh]h%Trigger the state machine to run soon}(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&]uh1jRhjhhhjڽhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(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:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(hC``unsigned long jiffies`` Run the state machine after these jiffiesh](j)}(h``unsigned long jiffies``h]j)}(hjWh]hunsigned long jiffies}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjQubj)}(hhh]jX)}(h)Run the state machine after these jiffiesh]h)Run the state machine after these jiffies}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(__phy_ethtool_get_phy_stats (C function)c.__phy_ethtool_get_phy_statshNtauh1hhj khhhNhNubh)}(hhh](h)}(hvoid __phy_ethtool_get_phy_stats (struct phy_device *phydev, struct ethtool_eth_phy_stats *phy_stats, struct ethtool_phy_stats *phydev_stats)h]h)}(hvoid __phy_ethtool_get_phy_stats(struct phy_device *phydev, struct ethtool_eth_phy_stats *phy_stats, struct ethtool_phy_stats *phydev_stats)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMbubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMbubj)}(h__phy_ethtool_get_phy_statsh]j%)}(h__phy_ethtool_get_phy_statsh]h__phy_ethtool_get_phy_stats}(hjҿhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjοubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMbubj)}(hl(struct phy_device *phydev, struct ethtool_eth_phy_stats *phy_stats, struct ethtool_phy_stats *phydev_stats)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjԿsbc.__phy_ethtool_get_phy_statsasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h'struct ethtool_eth_phy_stats *phy_statsh](h)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubh)}(hhh]j%)}(hethtool_eth_phy_statsh]hethtool_eth_phy_stats}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j(c.__phy_ethtool_get_phy_statsasbuh1hhj\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%)}(h phy_statsh]h phy_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h&struct ethtool_phy_stats *phydev_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_phy_statsh]hethtool_phy_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j(c.__phy_ethtool_get_phy_statsasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h phydev_statsh]h phydev_stats}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMbubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMbhjhhubjS)}(hhh]jX)}(h$Retrieve standardized PHY statisticsh]h$Retrieve standardized PHY statistics}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMbhjNhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhj khNhNubj})}(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)}(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.chMfhjmubj)}(hhh](j)}(h8``struct phy_device *phydev`` Pointer to the PHY device h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMchjubj)}(hhh]jX)}(hPointer to the PHY deviceh]hPointer to the PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubj)}(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)}(hjh]h'struct ethtool_eth_phy_stats *phy_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.chMdhjubj)}(hhh]jX)}(h*Pointer to ethtool_eth_phy_stats structureh]h*Pointer to ethtool_eth_phy_stats structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubj)}(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.chMehjubj)}(hhh]jX)}(h&Pointer to ethtool_phy_stats structureh]h&Pointer to ethtool_phy_stats structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubeh}(h]h ]h"]h$]h&]uh1jhjmubjX)}(h**Description**h]j)}(hj?h]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMghjmubjX)}(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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMfhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-__phy_ethtool_get_link_ext_stats (C function)"c.__phy_ethtool_get_link_ext_statshNtauh1hhj khhhNhNubh)}(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.chMxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMxubj)}(h __phy_ethtool_get_link_ext_statsh]j%)}(h __phy_ethtool_get_link_ext_statsh]h __phy_ethtool_get_link_ext_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMxubj)}(hF(struct phy_device *phydev, struct ethtool_link_ext_stats *link_stats)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb"c.__phy_ethtool_get_link_ext_statsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h)struct ethtool_link_ext_stats *link_statsh](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%)}(hethtool_link_ext_statsh]hethtool_link_ext_stats}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j"c.__phy_ethtool_get_link_ext_statsasbuh1hhj/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%)}(h link_statsh]h link_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMxubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj|hhhjhMxubah}(h]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMxhjyhhubjS)}(hhh]jX)}(h+Retrieve extended link statistics for a PHYh]h+Retrieve extended link statistics for a PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMxhjhhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjhMxubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hXP**Parameters** ``struct phy_device *phydev`` Pointer to the PHY device ``struct ethtool_link_ext_stats *link_stats`` Pointer to the structure to store extended link statistics **Description** Populates the ethtool_link_ext_stats structure with link down event counts and additional driver-specific link statistics, if available.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMyhjubj)}(hhh]jX)}(hPointer to the PHY deviceh]hPointer to the PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMyhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMyhjubj)}(hi``struct ethtool_link_ext_stats *link_stats`` Pointer to the structure to store extended link statistics h](j)}(h-``struct ethtool_link_ext_stats *link_stats``h]j)}(hj.h]h)struct ethtool_link_ext_stats *link_stats}(hj0hhhNhNubah}(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.chMzhj(ubj)}(hhh]jX)}(h:Pointer to the structure to store extended link statisticsh]h:Pointer to the structure to store extended link statistics}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMzhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMzhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjih]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM|hjubjX)}(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.chM{hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_get_plca_cfg (C function)c.phy_ethtool_get_plca_cfghNtauh1hhj khhhNhNubh)}(hhh](h)}(hWint phy_ethtool_get_plca_cfg (struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h]h)}(hVint phy_ethtool_get_plca_cfg(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_ethtool_get_plca_cfgh]j%)}(hphy_ethtool_get_plca_cfgh]hphy_ethtool_get_plca_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h:(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.phy_ethtool_get_plca_cfgasbuh1hhjubj)}(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 phy_plca_cfg *plca_cfgh](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_plca_cfgh]h phy_plca_cfg}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j%c.phy_ethtool_get_plca_cfgasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hplca_cfgh]hplca_cfg}(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)}(hGet PLCA RS configurationh]hGet PLCA RS configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(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:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(hM``struct phy_plca_cfg *plca_cfg`` where to store the retrieved configuration h](j)}(h!``struct phy_plca_cfg *plca_cfg``h]j)}(hjXh]hstruct 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)}(h*where to store the retrieved configurationh]h*where to store the retrieved configuration}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(hkRetrieve the PLCA configuration from the PHY. Return 0 on success or a negative value if an error occurred.h]hkRetrieve the PLCA configuration from the PHY. Return 0 on success or a negative value if an error occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hplca_check_valid (C function)c.plca_check_validhNtauh1hhj khhhNhNubh)}(hhh](h)}(huint plca_check_valid (struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h]h)}(htint plca_check_valid(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hplca_check_validh]j%)}(hplca_check_validh]hplca_check_valid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h`(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(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.plca_check_validasbuh1hhjubj)}(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 phy_plca_cfg *plca_cfgh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_plca_cfgh]h phy_plca_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jOc.plca_check_validasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplca_cfgh]hplca_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(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}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]jOc.plca_check_validasbuh1hhjubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hextackh]hextack}(hjihhhNhNubah}(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(Check PLCA configuration before enablingh]h(Check PLCA configuration before enabling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``const struct phy_plca_cfg *plca_cfg`` current PLCA configuration ``struct netlink_ext_ack *extack`` extack for reporting useful error messages **Description** Checks whether the PLCA and PHY configuration are consistent and it is safe to enable PLCA. Returns 0 on success or a negative value if the PLCA or PHY configuration is not consistent.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(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``const struct phy_plca_cfg *plca_cfg`` current PLCA configuration h](j)}(h'``const struct phy_plca_cfg *plca_cfg``h]j)}(hj h]h#const struct phy_plca_cfg *plca_cfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(hcurrent PLCA configurationh]hcurrent PLCA configuration}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjFh]hstruct netlink_ext_ack *extack}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj@ubj)}(hhh]jX)}(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&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(hChecks whether the PLCA and PHY configuration are consistent and it is safe to enable PLCA. Returns 0 on success or a negative value if the PLCA or PHY configuration is not consistent.h]hChecks whether the PLCA and PHY configuration are consistent and it is safe to enable PLCA. Returns 0 on success or a negative value if the PLCA or PHY configuration is not consistent.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_set_plca_cfg (C function)c.phy_ethtool_set_plca_cfghNtauh1hhj khhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_ethtool_set_plca_cfgh]j%)}(hphy_ethtool_set_plca_cfgh]hphy_ethtool_set_plca_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h`(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(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_ethtool_set_plca_cfgasbuh1hhjubj)}(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#const struct phy_plca_cfg *plca_cfgh](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%)}(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$]j=c.phy_ethtool_set_plca_cfgasbuh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(hplca_cfgh]hplca_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j=c.phy_ethtool_set_plca_cfgasbuh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hextackh]hextack}(hjWhhhNhNubah}(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)}(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.chMhj~hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hXY**Parameters** ``struct phy_device *phydev`` the phy_device struct ``const struct phy_plca_cfg *plca_cfg`` new PLCA configuration to apply ``struct netlink_ext_ack *extack`` extack for reporting useful error messages **Description** Sets the PLCA configuration in the PHY. Return 0 on success or a negative value if an error occurred.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(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)}(hH``const struct phy_plca_cfg *plca_cfg`` new PLCA configuration to apply h](j)}(h'``const struct phy_plca_cfg *plca_cfg``h]j)}(hjh]h#const struct phy_plca_cfg *plca_cfg}(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)}(hnew PLCA configuration to applyh]hnew PLCA configuration to apply}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj4h]hstruct netlink_ext_ack *extack}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj.ubj)}(hhh]jX)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjoh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi: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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_ethtool_get_plca_status (C function)c.phy_ethtool_get_plca_statushNtauh1hhj khhhNhNubh)}(hhh](h)}(h\int phy_ethtool_get_plca_status (struct phy_device *phydev, struct phy_plca_status *plca_st)h]h)}(h[int phy_ethtool_get_plca_status(struct phy_device *phydev, struct phy_plca_status *plca_st)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM.ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM.ubj)}(hphy_ethtool_get_plca_statush]j%)}(hphy_ethtool_get_plca_statush]hphy_ethtool_get_plca_status}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM.ubj)}(h<(struct phy_device *phydev, struct phy_plca_status *plca_st)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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_ethtool_get_plca_statusasbuh1hhjubj)}(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}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct phy_plca_status *plca_sth](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%)}(hphy_plca_statush]hphy_plca_status}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j+c.phy_ethtool_get_plca_statusasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hplca_sth]hplca_st}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM.ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM.hjhhubjS)}(hhh]jX)}(hGet PLCA RS status informationh]hGet PLCA RS status information}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM.hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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.chM2hjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj%h]hstruct phy_device *phydev}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM/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)}(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.chM0hjXubj)}(hhh]jX)}(h/where to store the retrieved status informationh]h/where to store the retrieved status information}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshM0hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM0hjubeh}(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.chM2hjubjX)}(hpRetrieve the PLCA status information from the PHY. Return 0 on success or a negative value if an error occurred.h]hpRetrieve the PLCA status information from the PHY. Return 0 on success or a negative value if an error occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM1hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_check_link_status (C function)c.phy_check_link_statushNtauh1hhj khhhNhNubh)}(hhh](h)}(h5int phy_check_link_status (struct phy_device *phydev)h]h)}(h4int phy_check_link_status(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_check_link_statush]j%)}(hphy_check_link_statush]hphy_check_link_status}(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}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j')}jjsbc.phy_check_link_statusasbuh1hhjubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjthhhNhNubah}(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 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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]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)}(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}(hj0hhhNhNubah}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop_machine (C function)c.phy_stop_machinehNtauh1hhj khhhNhNubh)}(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 }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhjmhM)ubj)}(hphy_stop_machineh]j%)}(hphy_stop_machineh]hphy_stop_machine}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[hhhjmhM)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_stop_machineasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj[hhhjmhM)ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjmhM)ubah}(h]jRah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhM)hjThhubjS)}(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&]uh1jRhjThhhjmhM)ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhj khNhNubj})}(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)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM-hj;ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj`h]hstruct phy_device *phydev}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM*hjZubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhM*hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM*hjWubah}(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;ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM-hjubj)}(hhh]jX)}(hVstate to UP (unless it wasn't up yet). This function must be called BEFORE phy_detach.h]hXstate to UP (unless it wasn’t up yet). This function must be called BEFORE phy_detach.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_disable_interrupts (C function)c.phy_disable_interruptshNtauh1hhj khhhNhNubh)}(hhh](h)}(h6int phy_disable_interrupts (struct phy_device *phydev)h]h)}(h5int phy_disable_interrupts(struct phy_device *phydev)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/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 hjhhhjhM\ubj)}(hphy_disable_interruptsh]j%)}(hphy_disable_interruptsh]hphy_disable_interrupts}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM\ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]j')}jj-sbc.phy_disable_interruptsasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(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,Disable the PHY interrupts from the PHY sideh]h,Disable the PHY interrupts from the PHY side}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM\hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM\ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM`hjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(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.chMbhjubj)}(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.chM]hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_interrupt (C function)c.phy_interrupthNtauh1hhj khhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j')}j phy_interruptsbc.phy_interruptasbuh1hhjahhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjhMfubj)}(h phy_interrupth]j%)}(hjh]h phy_interrupt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjahhhjhMfubj)}(h(int irq, void *phy_dat)h](j)}(hint irqh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hirqh]hirq}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h void *phy_dath](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphy_dath]hphy_dat}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjahhhjhMfubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]hhhjhMfubah}(h]jXah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMfhjZhhubjS)}(hhh]jX)}(hPHY interrupt handlerh]hPHY interrupt handler}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMfhj<hhubah}(h]h ]h"]h$]h&]uh1jRhjZhhhjhMfubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjWjxjWjyjzj{uh1hhhhj khNhNubj})}(h{**Parameters** ``int irq`` interrupt line ``void *phy_dat`` phy_device pointer **Description** Handle PHY interrupth](jX)}(h**Parameters**h]j)}(hjah]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMjhj[ubj)}(hhh](j)}(h``int irq`` interrupt line h](j)}(h ``int irq``h]j)}(hjh]hint irq}(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.chMghjzubj)}(hhh]jX)}(hinterrupt lineh]hinterrupt line}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMghjwubj)}(h%``void *phy_dat`` phy_device pointer h](j)}(h``void *phy_dat``h]j)}(hjh]h void *phy_dat}(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.chMhhjubj)}(hhh]jX)}(hphy_device pointerh]hphy_device pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjwubeh}(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.chMjhj[ubjX)}(hHandle PHY interrupth]hHandle PHY interrupt}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMjhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_enable_interrupts (C function)c.phy_enable_interruptshNtauh1hhj khhhNhNubh)}(hhh](h)}(h5int phy_enable_interrupts (struct phy_device *phydev)h]h)}(h4int phy_enable_interrupts(struct phy_device *phydev)h](j)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhjGhMubj)}(hphy_enable_interruptsh]j%)}(hphy_enable_interruptsh]hphy_enable_interrupts}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj5hhhjGhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj\sbc.phy_enable_interruptsasbuh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubah}(h]h ]h"]h$]h&]j<j=uh1jhj5hhhjGhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1hhhjGhMubah}(h]j,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjGhMhj.hhubjS)}(hhh]jX)}(h'Enable the interrupts from the PHY sideh]h'Enable the interrupts from the PHY side}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhjGhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(hj:h]hstruct phy_device *phydev}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj4ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_update_stats (C function)c.phy_update_statshNtauh1hhj khhhNhNubh)}(hhh](h)}(h0int phy_update_stats (struct phy_device *phydev)h]h)}(h/int phy_update_stats(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_update_statsh]j%)}(hphy_update_statsh]hphy_update_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(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_update_statsasbuh1hhjubj)}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h*Update PHY device statistics if supported.h]h*Update PHY device statistics if supported.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjQhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjljxjljyjzj{uh1hhhhj khNhNubj})}(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)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjpubj)}(hhh]j)}(hC``struct phy_device *phydev`` Pointer to the PHY device structure. h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(h$Pointer to the PHY device structure.h]h$Pointer to the PHY device structure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjpubjX)}(hIf the PHY driver provides an update_stats callback, this function invokes it to update the PHY statistics. If not, it returns 0.h]hIf the PHY driver provides an update_stats callback, this function invokes it to update the PHY statistics. If not, it returns 0.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjpubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjpubjX)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_get_next_update_time (C function)c.phy_get_next_update_timehNtauh1hhj khhhNhNubh)}(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}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhjJhMubj)}(hinth]hint}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhjJhMubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhjJhMubj)}(hphy_get_next_update_timeh]j%)}(hphy_get_next_update_timeh]hphy_get_next_update_time}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhjJhMubj)}(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_get_next_update_timeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj8hhhjJhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4hhhjJhMubah}(h]j/ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJhMhj1hhubjS)}(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&]uh1jRhj1hhhjJhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhj khNhNubj})}(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)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj4ubj)}(hhh]j)}(hB``struct phy_device *phydev`` Pointer to the phy_device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjYh]hstruct phy_device *phydev}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjSubj)}(hhh]jX)}(h#Pointer to the phy_device structureh]h#Pointer to the phy_device structure}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj4ubjX)}(hThis function queries the PHY driver to get the time for the next polling event. If the driver does not implement the callback, a default value is used.h]hThis function queries the PHY driver to get the time for the next polling event. If the driver does not implement the callback, a default value is used.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj4ubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj4ubjX)}(h.The time for the next polling event in jiffiesh]h.The time for the next polling event in jiffies}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state_machine (C function)c.phy_state_machinehNtauh1hhj khhhNhNubh)}(hhh](h)}(h1void phy_state_machine (struct work_struct *work)h]h)}(h0void phy_state_machine(struct work_struct *work)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)}(hphy_state_machineh]j%)}(hphy_state_machineh]hphy_state_machine}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMRubj)}(h(struct work_struct *work)h]j)}(hstruct work_struct *workh](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(h work_structh]h work_struct}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j')}jj#sbc.phy_state_machineasbuh1hhj9ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hworkh]hwork}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubah}(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)}(hHandle the state machineh]hHandle the state machine}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMRhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMRubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h]**Parameters** ``struct work_struct *work`` work_struct that describes the work to be doneh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMVhjubj)}(hhh]j)}(hK``struct work_struct *work`` work_struct that describes the work to be doneh](j)}(h``struct work_struct *work``h]j)}(hjh]hstruct work_struct *work}(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.chMXhjubj)}(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.chMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_ethtool_set_eee_noneg (C function)c.phy_ethtool_set_eee_noneghNtauh1hhj khhhNhNubh)}(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&]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_ethtool_set_eee_nonegh]j%)}(hphy_ethtool_set_eee_nonegh]hphy_ethtool_set_eee_noneg}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjihMubj)}(h=(struct phy_device *phydev, const struct eee_config *old_cfg)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj~sbc.phy_ethtool_set_eee_nonegasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h const struct eee_config *old_cfgh](h)}(hjh]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h eee_configh]h eee_config}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jc.phy_ethtool_set_eee_nonegasbuh1hhjubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hold_cfgh]hold_cfg}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(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)}(h7Adjusts MAC LPI configuration without PHY renegotiationh]h7Adjusts MAC LPI configuration without PHY renegotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjPhhhjihMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` pointer to the target PHY device structure ``const struct eee_config *old_cfg`` pointer to the eee_config structure containing the old EEE settings **Description** This function updates the Energy Efficient Ethernet (EEE) configuration for cases where only the MAC's Low Power Idle (LPI) configuration changes, without triggering PHY renegotiation. It ensures that the MAC is properly informed of the new LPI settings by cycling the link down and up, which is necessary for the MAC to adopt the new configuration. This adjustment is done only if there is a change in the tx_lpi_enabled or tx_lpi_timer configuration.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(hI``struct phy_device *phydev`` pointer to the target PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(h*pointer to the target PHY device structureh]h*pointer to the target PHY device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hi``const struct eee_config *old_cfg`` pointer to the eee_config structure containing the old EEE settings h](j)}(h$``const struct eee_config *old_cfg``h]j)}(hj h]h const struct eee_config *old_cfg}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(hCpointer to the eee_config structure containing the old EEE settingsh]hCpointer to the eee_config structure containing the old EEE settings}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj[h]h Description}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(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.}(hjqhhhNhNubah}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_to_str (C function)c.phy_speed_to_strhNtauh1hhj khhhNhNubh)}(hhh](h)}(h)const char * phy_speed_to_str (int speed)h]h)}(h'const char *phy_speed_to_str(int speed)h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhKubj)}(hphy_speed_to_strh]j%)}(hphy_speed_to_strh]hphy_speed_to_str}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h (int speed)h]j)}(h int speedh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hspeedh]hspeed}(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/Return a string representing the PHY link speedh]h/Return a string representing the PHY link speed}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjHhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhj khNhNubj})}(h1**Parameters** ``int speed`` Speed of the linkh](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:119: ./drivers/net/phy/phy-core.chKhjgubj)}(hhh]j)}(h``int speed`` Speed of the linkh](j)}(h ``int speed``h]j)}(hjh]h int speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubj)}(hhh]jX)}(hSpeed of the linkh]hSpeed of the link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_duplex_to_str (C function)c.phy_duplex_to_strhNtauh1hhj khhhNhNubh)}(hhh](h)}(h4const char * phy_duplex_to_str (unsigned int duplex)h]h)}(h2const char *phy_duplex_to_str(unsigned int duplex)h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKEubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKEubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhKEubj)}(hphy_duplex_to_strh]j%)}(hphy_duplex_to_strh]hphy_duplex_to_str}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKEubj)}(h(unsigned int duplex)h]j)}(hunsigned int duplexh](j)}(hunsignedh]hunsigned}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(hinth]hint}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj%)}(hduplexh]hduplex}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKEubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKEubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKEhjhhubjS)}(hhh]jX)}(h#Return string describing the duplexh]h#Return string describing the duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKEhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKEubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hD**Parameters** ``unsigned int duplex`` Duplex setting to describeh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKIhjubj)}(hhh]j)}(h2``unsigned int duplex`` Duplex setting to describeh](j)}(h``unsigned int duplex``h]j)}(hjh]hunsigned int duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKKhjubj)}(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.chKGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_rate_matching_to_str (C function)c.phy_rate_matching_to_strhNtauh1hhj khhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjUhKVubj)}(hcharh]hchar}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhjUhKVubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjUhKVubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDhhhjUhKVubj)}(hphy_rate_matching_to_strh]j%)}(hphy_rate_matching_to_strh]hphy_rate_matching_to_str}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjUhKVubj)}(h(int rate_matching)h]j)}(hint rate_matchingh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h rate_matchingh]h rate_matching}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhjUhKVubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhjUhKVubah}(h]j;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjUhKVhj=hhubjS)}(hhh]jX)}(h,Return a string describing the rate matchingh]h,Return a string describing the rate matching}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKVhjhhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhjUhKVubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj khNhNubj})}(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.chKZhjubj)}(hhh]j)}(h7``int rate_matching`` Type of rate matching to describeh](j)}(h``int rate_matching``h]j)}(hj4h]hint rate_matching}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chK\hj.ubj)}(hhh]jX)}(h!Type of rate matching to describeh]h!Type of rate matching to describe}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKXhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhK\hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,phy_fix_phy_mode_for_mac_delays (C function)!c.phy_fix_phy_mode_for_mac_delayshNtauh1hhj khhhNhNubh)}(hhh](h)}(hiphy_interface_t phy_fix_phy_mode_for_mac_delays (phy_interface_t interface, bool mac_txid, bool mac_rxid)h]h)}(hhphy_interface_t phy_fix_phy_mode_for_mac_delays(phy_interface_t interface, bool mac_txid, bool mac_rxid)h](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')}jphy_fix_phy_mode_for_mac_delayssb!c.phy_fix_phy_mode_for_mac_delaysasbuh1hhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKkubj)}(hphy_fix_phy_mode_for_mac_delaysh]j%)}(hjh]hphy_fix_phy_mode_for_mac_delays}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKkubj)}(h9(phy_interface_t interface, bool mac_txid, bool mac_rxid)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!c.phy_fix_phy_mode_for_mac_delaysasbuh1hhjubj)}(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)}(h bool mac_txidh](j)}(hjTh]hbool}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(hmac_txidh]hmac_txid}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool mac_rxidh](j)}(hjTh]hbool}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(hmac_rxidh]hmac_rxid}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKkubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKkhjhhubjS)}(hhh]jX)}(hQConvenience function for fixing PHY mode based on whether mac adds internal delayh]hQConvenience function for fixing PHY mode based on whether mac adds internal delay}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKkhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX6**Parameters** ``phy_interface_t interface`` The current interface mode of the port ``bool mac_txid`` True if the mac adds internal tx delay ``bool mac_rxid`` True if the mac adds internal rx delay **Return** fixed PHY mode, or PHY_INTERFACE_MODE_NA if the interface can not apply the internal delayh](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.chKohjubj)}(hhh](j)}(hE``phy_interface_t interface`` The current interface mode of the port 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:119: ./drivers/net/phy/phy-core.chKnhjubj)}(hhh]jX)}(h&The current interface mode of the porth]h&The current interface mode of the port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKnhjubj)}(h9``bool mac_txid`` True if the mac adds internal tx delay h](j)}(h``bool mac_txid``h]j)}(hjh]h bool mac_txid}(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)}(h&True if the mac adds internal tx delayh]h&True if the mac adds internal tx delay}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hKohj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hKohjubj)}(h9``bool mac_rxid`` True if the mac adds internal rx delay h](j)}(h``bool mac_rxid``h]j)}(hjTh]h bool mac_rxid}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKphjNubj)}(hhh]jX)}(h&True if the mac adds internal rx delayh]h&True if the mac adds internal rx delay}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihKphjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihKphjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(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.chKrhjubjX)}(hZfixed PHY mode, or PHY_INTERFACE_MODE_NA if the interface can not apply the internal delayh]hZfixed PHY mode, or PHY_INTERFACE_MODE_NA if the interface can not apply the internal delay}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKrhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_interface_num_ports (C function)c.phy_interface_num_portshNtauh1hhj khhhNhNubh)}(hhh](h)}(h7int phy_interface_num_ports (phy_interface_t interface)h]h)}(h6int phy_interface_num_ports(phy_interface_t interface)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hphy_interface_num_portsh]j%)}(hphy_interface_num_portsh]hphy_interface_num_ports}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h(phy_interface_t interface)h]j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_interface_num_portsasbuh1hhj ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(h interfaceh]h interface}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjihhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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.chKhjubj)}(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.chKhjubj)}(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.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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_max_speed (C function)c.phy_set_max_speedhNtauh1hhj khhhNhNubh)}(hhh](h)}(hAvoid phy_set_max_speed (struct phy_device *phydev, u32 max_speed)h]h)}(h@void phy_set_max_speed(struct phy_device *phydev, u32 max_speed)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hphy_set_max_speedh]j%)}(hphy_set_max_speedh]hphy_set_max_speed}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h*(struct phy_device *phydev, u32 max_speed)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(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*sbc.phy_set_max_speedasbuh1hhj@ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(h 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$]j~c.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=uh1jhj<ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h,Set the maximum speed the PHY should supporth]h,Set the maximum speed the PHY should support}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhj khNhNubj})}(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)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhj+ubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjPh]hstruct phy_device *phydev}(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.chKhjJubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehKhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehKhjGubj)}(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&]uh1jhjhKhjGubeh}(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.chKhj+ubjX)}(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.chKhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_resolve_aneg_pause (C function)c.phy_resolve_aneg_pausehNtauh1hhj khhhNhNubh)}(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&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM1ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM1ubj)}(hphy_resolve_aneg_pauseh]j%)}(hphy_resolve_aneg_pauseh]hphy_resolve_aneg_pause}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM1ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(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.phy_resolve_aneg_pauseasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM1ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM1ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM1hjhhubjS)}(hhh]jX)}(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.chM1hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM1ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct **Description** Once autoneg has completed the local pause settings can be resolved. Determine if pause and asymmetric pause should be used by the MAC.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM5hjubj)}(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.chM3hjubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM3hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubah}(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&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM5hjubjX)}(hOnce autoneg has completed the local pause settings can be resolved. Determine if pause and asymmetric pause should be used by the MAC.h]hOnce autoneg has completed the local pause settings can be resolved. Determine if pause and asymmetric pause should be used by the MAC.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM4hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_resolve_aneg_linkmode (C function)c.phy_resolve_aneg_linkmodehNtauh1hhj khhhNhNubh)}(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.chMGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMGubj)}(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=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')}jjsbc.phy_resolve_aneg_linkmodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj hhhNhNubah}(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]j}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMGhjhhubjS)}(hhh]jX)}(h,resolve the advertisements into PHY settingsh]h,resolve the advertisements into PHY settings}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMGhjGhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjbjxjbjyjzj{uh1hhhhj khNhNubj})}(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)}(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.chMKhjfubj)}(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.chMHhjubj)}(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&]uh1jhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjfubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMJhjfubjX)}(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.chMIhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read_mmd (C function)c.__phy_read_mmdhNtauh1hhj khhhNhNubh)}(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}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__phy_read_mmdh]j%)}(h__phy_read_mmdh]h__phy_read_mmd}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(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}(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}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jj.sbc.__phy_read_mmdasbuh1hhjDubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(h int devadh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__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=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)}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjEhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`jxj`jyjzj{uh1hhhhj khNhNubj})}(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)}(hjjh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjdubj)}(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)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(h*The register on the MMD to read (0..65535)h]h*The register on the MMD to read (0..65535)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjdubjX)}(h**Description**h]j)}(hj6h]h Description}(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.chMhjdubjX)}(hSame rules as for __phy_read();h]hSame rules as for __phy_read();}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_mmd (C function)c.phy_read_mmdhNtauh1hhj khhhNhNubh)}(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}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhh[/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 hjwhhhjhMubj)}(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=uh1jhjwhhhjhMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_read_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)}(h int devadh](j)}(hinth]hint}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj%)}(hdevadh]hdevad}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]jc.phy_read_mmdasbuh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjwhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjshhhjhMubah}(h]jnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjphhubjS)}(hhh]jX)}(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&]uh1jRhjphhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct ``int devad`` The MMD to read from ``u32 regnum`` The register on the MMD to read **Description** Same rules as for phy_read();h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hj2h]h int devad}(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)}(hThe MMD to read fromh]hThe MMD to read from}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(hjkh]h u32 regnum}(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)}(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&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(hSame rules as for phy_read();h]hSame rules as for phy_read();}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write_mmd (C function)c.__phy_write_mmdhNtauh1hhj khhhNhNubh)}(hhh](h)}(hOint __phy_write_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]h)}(hNint __phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__phy_write_mmdh]j%)}(h__phy_write_mmdh]h__phy_write_mmd}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_write_mmdasbuh1hhj$ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h int devadh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jbc.__phy_write_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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$]jbc.__phy_write_mmdasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hjFhhhNhNubah}(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)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjmhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe MMD to read fromh]hThe MMD to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``u32 regnum`` The register on the MMD 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:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj\h]hu16 val}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjVubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjuhhhNhNubj)}(h **regnum**h]hregnum}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jWhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_mmd (C function)c.phy_write_mmdhNtauh1hhj khhhNhNubh)}(hhh](h)}(hMint phy_write_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]h)}(hLint phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h phy_write_mmdh]j%)}(h phy_write_mmdh]h phy_write_mmd}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]j')}jj sbc.phy_write_mmdasbuh1hhj#ubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jac.phy_write_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jac.phy_write_mmdasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(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)}(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.}(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{uh1hhhhj khNhNubj})}(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.chM hjubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjubj)}(hhh]jX)}(hThe MMD to read fromh]hThe MMD to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h/``u32 regnum`` The register on the MMD 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:119: ./drivers/net/phy/phy-core.chM hjubj)}(hhh]jX)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hM hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hM hjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj[h]hu16 val}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjUubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjthhhNhNubj)}(h **regnum**h]hregnum}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jWhjphM hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphM 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.chM hjubjX)}(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.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_changed (C function)c.phy_modify_changedhNtauh1hhj khhhNhNubh)}(hhh](h)}(hQint phy_modify_changed (struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h]h)}(hPint phy_modify_changed(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_modify_changedh]j%)}(hphy_modify_changedh]hphy_modify_changed}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(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.phy_modify_changedasbuh1hhj"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=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_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=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j`c.phy_modify_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j`c.phy_modify_changedasbuh1hhj$ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(hseth]hset}(hjWhhhNhNubah}(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%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.chMhj~hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation. Returns negative errno, 0 if there was no change, and 1 in case of changeh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj4h]hu16 mask}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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 clearh]hbit mask of bits to clear}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjmh]hu16 set}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjgubj)}(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&]uh1jhjgubeh}(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.chM"hjubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM"hjubjX)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM&hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify (C function)c.__phy_modifyhNtauh1hhj khhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM5ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM5ubj)}(h __phy_modifyh]j%)}(h __phy_modifyh]h __phy_modify}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM5ubj)}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]j')}jj-sbc.__phy_modifyasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?ubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_modifyasbuh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?ubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]jc.__phy_modifyasbuh1hhjEubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj%)}(hseth]hset}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM5ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM5ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM5hjhhubjS)}(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.chM5hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM5ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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.chM9hjubj)}(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.chM6hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(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.chM7hjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hM7hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM7hjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjUh]hu16 mask}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM8hjOubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhM8hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM8hjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM9hjubj)}(hhh]jX)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM;hjubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM;hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify (C function) c.phy_modifyhNtauh1hhj khhhNhNubh)}(hhh](h)}(hIint phy_modify (struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h]h)}(hHint phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMJubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj*hMJubj)}(h phy_modifyh]j%)}(h phy_modifyh]h phy_modify}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj*hMJubj)}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j')}jj?sb c.phy_modifyasbuh1hhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(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_modifyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.phy_modifyasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(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.phy_modifyasbuh1hhjWubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj%)}(hseth]hset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj*hMJubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj*hMJubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*hMJhjhhubjS)}(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.chMJhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj*hMJubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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.chMNhjubj)}(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.chMKhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMKhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj.h]h u32 regnum}(hj0hhhNhNubah}(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.chMLhj(ubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMLhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMLhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjgh]hu16 mask}(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.chMMhjaubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMMhjubj)}(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.chMNhjubj)}(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&]uh1jWhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubeh}(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.chMPhjubjX)}(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.chMPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__phy_modify_mmd_changed (C function)c.__phy_modify_mmd_changedhNtauh1hhj khhhNhNubh)}(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}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMaubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhhj<hMaubj)}(h__phy_modify_mmd_changedh]j%)}(h__phy_modify_mmd_changedh]h__phy_modify_mmd_changed}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj<hMaubj)}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)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_modify_mmd_changedasbuh1hhjgubj)}(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 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=uh1jhjcubj)}(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_mmd_changedasbuh1hhjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]jc.__phy_modify_mmd_changedasbuh1hhjVubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubj)}(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=uh1jhjcubeh}(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(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.chMahjhhubah}(h]h ]h"]h$]h&]uh1jRhj#hhhj<hMaubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **Description** Unlocked helper function which allows a MMD register to be modified as new register value = (old register value & ~mask) | set Returns negative errno, 0 if there was no change, and 1 in case of changeh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMehjubj)}(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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMbhj6ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMbhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMbhj3ubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjuh]h int devad}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMchjoubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMchj3ubj)}(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.chMdhjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhj3ubj)}(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.chMehjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehj3ubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMfhjubj)}(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 }(hj9hhhNhNubj)}(h **regnum**h]hregnum}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jWhj5hMfhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMfhj3ubeh}(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&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhhjubjX)}(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.chMghjubjX)}(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.chMjhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_modify_mmd_changed (C function)c.phy_modify_mmd_changedhNtauh1hhj khhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(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=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_mmd_changedasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(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$]j4c.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=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$]j4c.phy_modify_mmd_changedasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(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}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j4c.phy_modify_mmd_changedasbuh1hhj-ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj%)}(hseth]hset}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation. Returns negative errno, 0 if there was no change, and 1 in case of changeh](jX)}(h**Parameters**h]j)}(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.chMhj7ubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjvh]hu16 mask}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjpubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(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)}(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.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}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify_mmd (C function)c.__phy_modify_mmdhNtauh1hhj khhhNhNubh)}(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}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhh[/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 hjHhhhjZhMubj)}(h__phy_modify_mmdh]j%)}(h__phy_modify_mmdh]h__phy_modify_mmd}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjZhMubj)}(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')}jjosbc.__phy_modify_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)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]jc.__phy_modify_mmdasbuh1hhj,ubj)}(h h]h }(hjQhhhNhNubah}(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 maskh](h)}(hhh]j%)}(hu16h]hu16}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]jc.__phy_modify_mmdasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(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 }(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=uh1jhjHhhhjZhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjZhMubah}(h]j?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZhMhjAhhubjS)}(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&]uh1jRhjAhhhjZhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1jxj1jyjzj{uh1hhhhj khNhNubj})}(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)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj5ubj)}(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.chMhjTubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjQubj)}(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&]uh1jhjhMhjQubj)}(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&]uh1jhjhMhjQubj)}(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&]uh1jhjhMhjQubj)}(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.chMhj8ubj)}(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}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jWhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjQubeh}(h]h ]h"]h$]h&]uh1jhj5ubjX)}(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.chMhj5ubjX)}(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.chMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_mmd (C function)c.phy_modify_mmdhNtauh1hhj khhhNhNubh)}(hhh](h)}(hXint phy_modify_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]h)}(hWint phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_modify_mmdh]j%)}(hphy_modify_mmdh]hphy_modify_mmd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(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')}jjsbc.phy_modify_mmdasbuh1hhj ubj)}(h h]h }(hjG hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjU hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(hjb hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h int devadh](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%)}(hdevadh]hdevad}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjw 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$]jC c.phy_modify_mmdasbuh1hhj 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$]jC c.phy_modify_mmdasbuh1hhj 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}(hjC hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjE modnameN classnameNjj!)}j$]jC c.phy_modify_mmdasbuh1hhj< ubj)}(h h]h }(hja hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj< ubj%)}(hseth]hset}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h4Convenience function for modifying a register on MMDh]h4Convenience function for modifying a register on MMD}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj khNhNubj})}(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)}(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.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&]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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h4``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&]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&]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)}(hjL h]h u32 regnum}(hjN hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjF ubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhja hMhjb ubah}(h]h ]h"]h$]h&]uh1jhjF ubeh}(h]h ]h"]h$]h&]uh1jhja hMhj 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:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of 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 hMhj ubj)}(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.chMhj ubj)}(hhh]jX)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hj hhhNhNubj)}(h **regnum**h]hregnum}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(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**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.}(hj hhhNhNubah}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_save_page (C function)c.phy_save_pagehNtauh1hhj khhhNhNubh)}(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}(hjL hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjH hhh[/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 hjH hhhjZ hMubj)}(h phy_save_pageh]j%)}(h phy_save_pageh]h phy_save_page}(hjm hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hji ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjH hhhjZ 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')}jjo sbc.phy_save_pageasbuh1hhj 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=uh1jhjH hhhjZ hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjD hhhjZ hMubah}(h]j? ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZ hMhjA hhubjS)}(hhh]jX)}(h+take the bus lock and save the current pageh]h+take the bus lock and save the current page}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhjA hhhjZ hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$ jxj$ jyjzj{uh1hhhhj khNhNubj})}(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)}(hj. h]h Parameters}(hj0 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( 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)}(hjM h]hstruct phy_device *phydev}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjG ubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjf hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjp h]hstruct phy_device}(hjr hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjn ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjb hMhjf ubeh}(h]h ]h"]h$]h&]uh1jWhjb hMhjc ubah}(h]h ]h"]h$]h&]uh1jhjG ubeh}(h]h ]h"]h$]h&]uh1jhjb hMhjD ubah}(h]h ]h"]h$]h&]uh1jhj( ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi: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.}(hj hhhNhNubah}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_select_page (C function)c.phy_select_pagehNtauh1hhj khhhNhNubh)}(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}(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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj)}(hphy_select_pageh]j%)}(hphy_select_pageh]hphy_select_page}(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, int page)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j')}jjsbc.phy_select_pageasbuh1hhj%ubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj;)}(hj>h]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(hint pageh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!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)}(h8take the bus lock, save the current page, and set a pageh]h8take the bus lock, save the current page, and set a page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` desired page **Description** Take the MDIO bus lock to protect against concurrent access, save the current PHY page, and set the current page. On error, returns a negative errno, otherwise returns the previous page number. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj"h]hstruct phy_device *phydev}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj;hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjEh]hstruct phy_device}(hjGhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhj7hMhj;ubeh}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h``int page`` desired page h](j)}(h ``int page``h]j)}(hjzh]hint page}(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)}(h desired pageh]h desired page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(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)}(hX(Take the MDIO bus lock to protect against concurrent access, save the current PHY page, and set the current page. On error, returns a negative errno, otherwise returns the previous page number. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h]hX(Take the MDIO bus lock to protect against concurrent access, save the current PHY page, and set the current page. On error, returns a negative errno, otherwise returns the previous page number. phy_restore_page() must always be called after this, irrespective of success or failure of this call.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_restore_page (C function)c.phy_restore_pagehNtauh1hhj khhhNhNubh)}(hhh](h)}(hFint phy_restore_page (struct phy_device *phydev, int oldpage, int ret)h]h)}(hEint phy_restore_page(struct phy_device *phydev, int oldpage, int ret)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_restore_pageh]j%)}(hphy_restore_pageh]hphy_restore_page}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h1(struct phy_device *phydev, int oldpage, int ret)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]j')}jjsbc.phy_restore_pageasbuh1hhj3ubj)}(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 int oldpageh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(holdpageh]holdpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubj)}(hint reth](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hreth]hret}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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)}(h2restore the page register and release the bus lockh]h2restore the page register and release the bus lock}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj!hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhj khNhNubj})}(hXL**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int oldpage`` the old page, return value from phy_save_page() or phy_select_page() ``int ret`` operation's return code **Description** Release the MDIO bus lock, restoring **oldpage** if it is a valid page. This function propagates the earliest error code from the group of operations. **Return** **oldpage** if it was a negative value, otherwise **ret** if it was a negative errno value, otherwise phy_write_page()'s negative value if it were in error, otherwise **ret**.h](jX)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hj@ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hjeh]hstruct phy_device *phydev}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(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)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj~hhhNhNubh)}(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_deviceuh1hhjzhM hj~ubeh}(h]h ]h"]h$]h&]uh1jWhjzhM hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhM hj\ubj)}(hU``int oldpage`` the old page, return value from phy_save_page() or phy_select_page() h](j)}(h``int oldpage``h]j)}(hjh]h int oldpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjubj)}(hhh]jX)}(hDthe old page, return value from phy_save_page() or phy_select_page()h]hDthe old page, return value from phy_save_page() or phy_select_page()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj\ubj)}(h$``int ret`` operation's return code h](j)}(h ``int ret``h]j)}(hjh]hint ret}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjubj)}(hhh]jX)}(hoperation's return codeh]hoperation’s return code}(hjhhhNhNubah}(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&]uh1jhj@ubjX)}(h**Description**h]j)}(hj1h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hj@ubjX)}(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 }(hjGhhhNhNubj)}(h **oldpage**h]holdpage}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubhf if it is a valid page. This function propagates the earliest error code from the group of operations.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hj@ubjX)}(h **Return**h]j)}(hjjh]hReturn}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj@ubjX)}(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.chMhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_paged (C function)c.phy_read_pagedhNtauh1hhj khhhNhNubh)}(hhh](h)}(hDint phy_read_paged (struct phy_device *phydev, int page, u32 regnum)h]h)}(hCint phy_read_paged(struct phy_device *phydev, int page, u32 regnum)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM/ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM/ubj)}(hphy_read_pagedh]j%)}(hphy_read_pagedh]hphy_read_paged}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM/ubj)}(h1(struct phy_device *phydev, int page, u32 regnum)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j')}jjsbc.phy_read_pagedasbuh1hhjubj)}(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=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$]jXc.phy_read_pagedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM/ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM/hjhhubjS)}(hhh]jX)}(h1Convenience function for reading a paged registerh]h1Convenience function for reading a paged register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM/hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{uh1hhhhj khNhNubj})}(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)}(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.chM3hj: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)}(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:119: ./drivers/net/phy/phy-core.chM0hjYubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjxhhhNhNubh)}(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_deviceuh1hhjthM0hjxubeh}(h]h ]h"]h$]h&]uh1jWhjthM0hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM0hjVubj)}(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.chM1hjubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjVubj)}(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.chM2hjubj)}(hhh]jX)}(hregister numberh]hregister number}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjVubeh}(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:119: ./drivers/net/phy/phy-core.chM4hj:ubjX)}(hSame rules as for phy_read().h]hSame rules as for phy_read().}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM3hj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_paged (C function)c.phy_write_pagedhNtauh1hhj khhhNhNubh)}(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}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhj~hMCubj)}(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=uh1jhjlhhhj~hMCubj)}(h:(struct phy_device *phydev, int page, 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')}jjsbc.phy_write_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}(hjhhhNhNubah}(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}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]jc.phy_write_pagedasbuh1hhjPubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(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_write_pagedasbuh1hhjubj)}(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~hMCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhhj~hMCubah}(h]jcah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hMChjehhubjS)}(hhh]jX)}(h1Convenience function for writing a paged registerh]h1Convenience function for writing a paged register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMChjhhubah}(h]h ]h"]h$]h&]uh1jRhjehhhj~hMCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` the page for the phy ``u32 regnum`` register number ``u16 val`` value to write **Description** Same rules as for phy_write().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMGhjubj)}(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)}(hj6h]hstruct phy_device *phydev}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMDhj0ubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjOhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjYh]hstruct phy_device}(hj[hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjKhMDhjOubeh}(h]h ]h"]h$]h&]uh1jWhjKhMDhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMDhj-ubj)}(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.chMEhjubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhj-ubj)}(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.chMFhjubj)}(hhh]jX)}(hregister numberh]hregister number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhj-ubj)}(h``u16 val`` value to write h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMGhjubj)}(hhh]jX)}(hvalue to writeh]hvalue to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhj-ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj;h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMIhjubjX)}(hSame rules as for phy_write().h]hSame rules as for phy_write().}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMHhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_modify_paged_changed (C function)c.phy_modify_paged_changedhNtauh1hhj khhhNhNubh)}(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&]uh1jhj|hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMXubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|hhhjhMXubj)}(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=uh1jhj|hhhjhMXubj)}(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_paged_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint pageh](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%)}(hpageh]hpage}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]jc.phy_modify_paged_changedasbuh1hhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_modify_paged_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_paged_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj|hhhjhMXubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxhhhjhMXubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMXhjuhhubjS)}(hhh]jX)}(h'Function for modifying a paged registerh]h'Function for modifying a paged register}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMXhjJhhubah}(h]h ]h"]h$]h&]uh1jRhjuhhhjhMXubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjejxjejyjzj{uh1hhhhj khNhNubj})}(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)}(hjoh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM\hjiubj)}(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.chMYhjubj)}(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_deviceuh1hhjhMYhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(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.chMZhjubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hjh]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 numberh]hregister number}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hM[hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM[hjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjXh]hu16 mask}(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.chM\hjRubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhM\hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM\hjubj)}(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.chM]hjubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(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&]uh1jhjiubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM_hjiubjX)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM^hjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_paged (C function)c.phy_modify_pagedhNtauh1hhj khhhNhNubh)}(hhh](h)}(hYint phy_modify_paged (struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h]h)}(hXint phy_modify_paged(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhh[/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 hj hhhjhMoubj)}(hphy_modify_pagedh]j%)}(hphy_modify_pagedh]hphy_modify_paged}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMoubj)}(hD(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)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_modify_pagedasbuh1hhjJubj)}(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=uh1jhjFubj)}(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=uh1jhjFubj)}(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_pagedasbuh1hhjubj)}(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=uh1jhjFubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]jc.phy_modify_pagedasbuh1hhj9ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj%)}(hmaskh]hmask}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(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=uh1jhjFubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhMoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhjhMoubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMohjhhubjS)}(hhh]jX)}(h3Convenience function for modifying a paged registerh]h3Convenience function for modifying a paged register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMohjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX?**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` the page for the phy ``u32 regnum`` register number ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Description** Same rules as for phy_read() and phy_write().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMshjubj)}(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMphjubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj8hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjBh]hstruct phy_device}(hjDhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhj4hMphj8ubeh}(h]h ]h"]h$]h&]uh1jWhj4hMphj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMphjubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hjwh]hint page}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMqhjqubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjubj)}(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.chMrhjubj)}(hhh]jX)}(hregister numberh]hregister number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMshjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubj)}(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:119: ./drivers/net/phy/phy-core.chMthjubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMthj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMthjubeh}(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.chMvhjubjX)}(h-Same rules as for phy_read() and phy_write().h]h-Same rules as for phy_read() and phy_write().}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMuhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_c45_pma_resume (C function)c.genphy_c45_pma_resumehNtauh1hhj khhhNhNubh)}(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.chK2ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhK2ubj)}(hgenphy_c45_pma_resumeh]j%)}(hgenphy_c45_pma_resumeh]hgenphy_c45_pma_resume}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhK2ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_c45_pma_resumeasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj+ hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj8 hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhK2ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhK2ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhK2hjhhubjS)}(hhh]jX)}(hwakes up the PMA moduleh]hwakes up the PMA module}(hjb hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK2hj_ hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhK2ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjz jxjz jyjzj{uh1hhhhj khNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK6hj~ ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj h]hstruct phy_device *phydev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK8hj 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.chK3hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hK8hj ubah}(h]h ]h"]h$]h&]uh1jhj~ ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_pma_suspend (C function)c.genphy_c45_pma_suspendhNtauh1hhj khhhNhNubh)}(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&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK@ubj)}(h h]h }(hj !hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj !hK@ubj)}(hgenphy_c45_pma_suspendh]j%)}(hgenphy_c45_pma_suspendh]hgenphy_c45_pma_suspend}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj !hK@ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj:!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6!ubj)}(h h]h }(hjG!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6!ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjX!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZ!modnameN classnameNjj!)}j$]j')}jj !sbc.genphy_c45_pma_suspendasbuh1hhj6!ubj)}(h h]h }(hjx!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6!ubj;)}(hj>h]h*}(hj!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6!ubj%)}(hphydevh]hphydev}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2!ubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj !hK@ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj !hK@ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj !hK@hj hhubjS)}(hhh]jX)}(hsuspends the PMA moduleh]hsuspends the PMA module}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK@hj!hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj !hK@ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhj khNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKDhj!ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj!h]hstruct phy_device *phydev}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKFhj!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.chKAhj"ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj"hKFhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h5genphy_c45_pma_baset1_setup_master_slave (C function)*c.genphy_c45_pma_baset1_setup_master_slavehNtauh1hhj khhhNhNubh)}(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}(hjX"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT"hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKNubj)}(h h]h }(hjg"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjT"hhhjf"hKNubj)}(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}(hjy"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hju"ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjT"hhhjf"hKNubj)}(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.genphy_c45_pma_baset1_setup_master_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%)}(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=uh1jhjT"hhhjf"hKNubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjP"hhhjf"hKNubah}(h]jK"ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjf"hKNhjM"hhubjS)}(hhh]jX)}(h6configures forced master/slave role of BaseT1 devices.h]h6configures forced master/slave role of BaseT1 devices.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKNhj#hhubah}(h]h ]h"]h$]h&]uh1jRhjM"hhhjf"hKNubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0#jxj0#jyjzj{uh1hhhhj khNhNubj})}(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&]uh1jhj8#ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKRhj4#ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjY#h]hstruct phy_device *phydev}(hj[#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKThjS#ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjr#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKPhjo#ubah}(h]h ]h"]h$]h&]uh1jhjS#ubeh}(h]h ]h"]h$]h&]uh1jhjn#hKThjP#ubah}(h]h ]h"]h$]h&]uh1jhj4#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(genphy_c45_pma_setup_forced (C function)c.genphy_c45_pma_setup_forcedhNtauh1hhj khhhNhNubh)}(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}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKlubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#hhhj#hKlubj)}(hgenphy_c45_pma_setup_forcedh]j%)}(hgenphy_c45_pma_setup_forcedh]hgenphy_c45_pma_setup_forced}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj#hhhj#hKlubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj $ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]j')}jj#sbc.genphy_c45_pma_setup_forcedasbuh1hhj#ubj)}(h h]h }(hj.$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj;)}(hj>h]h*}(hj<$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubj%)}(hphydevh]hphydev}(hjI$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#hKlubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj#hKlubah}(h]j#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#hKlhj#hhubjS)}(hhh]jX)}(hconfigures a forced speedh]hconfigures a forced speed}(hjs$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKlhjp$hhubah}(h]h ]h"]h$]h&]uh1jRhj#hhhj#hKlubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhj khNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKphj$ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj$h]hstruct phy_device *phydev}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKrhj$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.chKmhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hKrhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&genphy_c45_an_config_aneg (C function)c.genphy_c45_an_config_aneghNtauh1hhj khhhNhNubh)}(hhh](h)}(h9int genphy_c45_an_config_aneg (struct phy_device *phydev)h]h)}(h8int genphy_c45_an_config_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj %hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj %hhhj%hMubj)}(hgenphy_c45_an_config_anegh]j%)}(hgenphy_c45_an_config_anegh]hgenphy_c45_an_config_aneg}(hj/%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj %hhhj%hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(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 phy_deviceh]h phy_device}(hji%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjk%modnameN classnameNjj!)}j$]j')}jj1%sbc.genphy_c45_an_config_anegasbuh1hhjG%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%)}(hphydevh]hphydev}(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)}(h!configure advertisement registersh]h!configure advertisement registers}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj%hhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhj%hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%jxj%jyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Configure advertisement registers based on modes set in phydev->advertising Returns negative errno code on failure, 0 if advertisement didn't change, or 1 if advertised modes changed.h](jX)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.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.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)}(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:122: ./drivers/net/phy/phy-c45.chMhj%ubjX)}(hKConfigure advertisement registers based on modes set in phydev->advertisingh]hKConfigure advertisement registers based on modes set in phydev->advertising}(hj`&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj%ubjX)}(hkReturns negative errno code on failure, 0 if advertisement didn't change, or 1 if advertised modes changed.h]hmReturns negative errno code on failure, 0 if advertisement didn’t change, or 1 if advertised modes changed.}(hjo&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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_an_disable_aneg (C function)c.genphy_c45_an_disable_aneghNtauh1hhj khhhNhNubh)}(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.chM9ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&hhhj&hM9ubj)}(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&hM9ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]j')}jj&sbc.genphy_c45_an_disable_anegasbuh1hhj&ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hj''hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hphydevh]hphydev}(hj4'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&hM9ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&hhhj&hM9ubah}(h]j&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&hM9hj&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.chM9hj['hhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj&hM9ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjv'jxjv'jyjzj{uh1hhhhj khNhNubj})}(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=hjz'ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj'h]hstruct phy_device *phydev}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM:hj'ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hM:hj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM:hj'ubah}(h]h ]h"]h$]h&]uh1jhjz'ubjX)}(h**Description**h]j)}(hj'h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM<hjz'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.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM;hjz'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>hjz'ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_restart_aneg (C function)c.genphy_c45_restart_aneghNtauh1hhj khhhNhNubh)}(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.chMNubj)}(h h]h }(hj=(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*(hhhj<(hMNubj)}(hgenphy_c45_restart_anegh]j%)}(hgenphy_c45_restart_anegh]hgenphy_c45_restart_aneg}(hjO(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjK(ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*(hhhj<(hMNubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](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 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_restart_anegasbuh1hhjg(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%)}(hphydevh]hphydev}(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<(hMNubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&(hhhj<(hMNubah}(h]j!(ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<(hMNhj#(hhubjS)}(hhh]jX)}(h#Enable and restart auto-negotiationh]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.chMNhj(hhubah}(h]h ]h"]h$]h&]uh1jRhj#(hhhj<(hMNubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj)jxj)jyjzj{uh1hhhhj khNhNubj})}(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)}(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.chMRhj )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}(hj1)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.chMOhj))ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjH)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjD)hMOhjE)ubah}(h]h ]h"]h$]h&]uh1jhj))ubeh}(h]h ]h"]h$]h&]uh1jhjD)hMOhj&)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:122: ./drivers/net/phy/phy-c45.chMQhj )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.chMPhj )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.chMRhj )ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.genphy_c45_check_and_restart_aneg (C function)#c.genphy_c45_check_and_restart_aneghNtauh1hhj khhhNhNubh)}(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}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMbubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj)hMbubj)}(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=uh1jhj)hhhj)hMbubj)}(h)(struct phy_device *phydev, bool restart)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.genphy_c45_check_and_restart_anegasbuh1hhj)ubj)}(h h]h }(hj9*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj;)}(hj>h]h*}(hjG*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)ubj%)}(hphydevh]hphydev}(hjT*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(h bool restarth](j)}(hjTh]hbool}(hjm*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji*ubj)}(h h]h }(hjz*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji*ubj%)}(hrestarth]hrestart}(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)hMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)hhhj)hMbubah}(h]j)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj)hMbhj)hhubjS)}(hhh]jX)}(h#Enable and restart auto-negotiationh]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.chMbhj*hhubah}(h]h ]h"]h$]h&]uh1jRhj)hhhj)hMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhj khNhNubj})}(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)}(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.chMfhj*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.chMchj*ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(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)}(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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMdhj&+ubj)}(hhh]jX)}(h!whether aneg restart is requestedh]h!whether aneg restart is requested}(hjE+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjA+hMdhjB+ubah}(h]h ]h"]h$]h&]uh1jhj&+ubeh}(h]h ]h"]h$]h&]uh1jhjA+hMdhj*ubeh}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMfhj*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.chMehj*ubjX)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hj+hhhNhNubah}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_aneg_done (C function)c.genphy_c45_aneg_donehNtauh1hhj khhhNhNubh)}(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}(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_aneg_doneh]j%)}(hgenphy_c45_aneg_doneh]hgenphy_c45_aneg_done}(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_aneg_doneasbuh1hhj+ubj)}(h h]h }(hj6,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj;)}(hj>h]h*}(hjD,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+ubj%)}(hphydevh]hphydev}(hjQ,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj+ubah}(h]h ]h"]h$]h&]j<j=uh1jhj+hhhj+hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhj+hMubah}(h]j+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj+hMhj+hhubjS)}(hhh]jX)}(h'return auto-negotiation complete statush]h'return auto-negotiation complete status}(hj{,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjx,hhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhj+hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,jxj,jyjzj{uh1hhhhj khNhNubj})}(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)}(hj,h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj,ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj,h]hstruct phy_device *phydev}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj,ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubjX)}(h**Description**h]j)}(hj,h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj,ubjX)}(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.chMhj,ubjX)}(hReads the status register from the auto-negotiation MMD, returning: - positive if auto-negotiation is complete - negative errno code on error - zero otherwiseh]hReads the status register from the auto-negotiation MMD, returning: - positive if auto-negotiation is complete - negative errno code on error - zero otherwise}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_link (C function)c.genphy_c45_read_linkhNtauh1hhj khhhNhNubh)}(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}(hjK-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjG-hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hjZ-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjG-hhhjY-hMubj)}(hgenphy_c45_read_linkh]j%)}(hgenphy_c45_read_linkh]hgenphy_c45_read_link}(hjl-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjG-hhhjY-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')}jjn-sbc.genphy_c45_read_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-ubah}(h]h ]h"]h$]h&]j<j=uh1jhjG-hhhjY-hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjC-hhhjY-hMubah}(h]j>-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjY-hMhj@-hhubjS)}(hhh]jX)}(h*read the overall link status from the MMDsh]h*read the overall link status from the MMDs}(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@-hhhjY-hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj#.jxj#.jyjzj{uh1hhhhj khNhNubj})}(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)}(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)}(hjL.h]hstruct phy_device *phydev}(hjN.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ.ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjF.ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hje.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhja.hMhjb.ubah}(h]h ]h"]h$]h&]uh1jhjF.ubeh}(h]h ]h"]h$]h&]uh1jhja.hMhjC.ubah}(h]h ]h"]h$]h&]uh1jhj'.ubjX)}(h**Description**h]j)}(hj.h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj'.ubjX)}(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.}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_lpa (C function)c.genphy_c45_read_lpahNtauh1hhj khhhNhNubh)}(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}(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_read_lpaasbuh1hhj/ubj)}(h h]h }(hjG/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj;)}(hj>h]h*}(hjU/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj%)}(hphydevh]hphydev}(hjb/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/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-read the link partner advertisement and pauseh]h-read the link partner advertisement and pause}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj/hhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhj.hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhj khNhNubj})}(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)}(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)}(hj0h]h Description}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj/ubjX)}(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 }(hj0hhhNhNubj)}(h **phydev**h]hphydev}(hj&0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh. 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.}(hj0hhhNhNubeh}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h4genphy_c45_pma_baset1_read_master_slave (C function))c.genphy_c45_pma_baset1_read_master_slavehNtauh1hhj khhhNhNubh)}(hhh](h)}(hGint genphy_c45_pma_baset1_read_master_slave (struct phy_device *phydev)h]h)}(hFint genphy_c45_pma_baset1_read_master_slave(struct phy_device *phydev)h](j)}(hinth]hint}(hj_0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[0hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM:ubj)}(h h]h }(hjn0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[0hhhjm0hM:ubj)}(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}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[0hhhjm0hM:ubj)}(h(struct phy_device *phydev)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}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]j')}jj0sb)c.genphy_c45_pma_baset1_read_master_slaveasbuh1hhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hphydevh]hphydev}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubah}(h]h ]h"]h$]h&]j<j=uh1jhj[0hhhjm0hM:ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjW0hhhjm0hM:ubah}(h]jR0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjm0hM:hjT0hhubjS)}(hhh]jX)}(h&read forced master/slave configurationh]h&read forced master/slave configuration}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM:hj1hhubah}(h]h ]h"]h$]h&]uh1jRhjT0hhhjm0hM:ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj71jxj71jyjzj{uh1hhhhj khNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjA1h]h Parameters}(hjC1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?1ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM>hj;1ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj`1h]hstruct phy_device *phydev}(hjb1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM@hjZ1ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjy1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM<hjv1ubah}(h]h ]h"]h$]h&]uh1jhjZ1ubeh}(h]h ]h"]h$]h&]uh1jhju1hM@hjW1ubah}(h]h ]h"]h$]h&]uh1jhj;1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_pma (C function)c.genphy_c45_read_pmahNtauh1hhj khhhNhNubh)}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMVubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhj1hMVubj)}(hgenphy_c45_read_pmah]j%)}(hgenphy_c45_read_pmah]hgenphy_c45_read_pma}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhj1hMVubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j')}jj1sbc.genphy_c45_read_pmaasbuh1hhj1ubj)}(h h]h }(hj52hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hjC2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hphydevh]hphydev}(hjP2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubah}(h]h ]h"]h$]h&]j<j=uh1jhj1hhhj1hMVubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1hhhj1hMVubah}(h]j1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1hMVhj1hhubjS)}(hhh]jX)}(hread link speed etc from PMAh]hread link speed etc from PMA}(hjz2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMVhjw2hhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhj1hMVubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj2jxj2jyjzj{uh1hhhhj khNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](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:122: ./drivers/net/phy/phy-c45.chMZhj2ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](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.chM\hj2ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMWhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hM\hj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_mdix (C function)c.genphy_c45_read_mdixhNtauh1hhj khhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj$3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhj#3hMubj)}(hgenphy_c45_read_mdixh]j%)}(hgenphy_c45_read_mdixh]hgenphy_c45_read_mdix}(hj63hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj23ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhj#3hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjR3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjN3ubj)}(h h]h }(hj_3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjN3ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjp3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjr3modnameN classnameNjj!)}j$]j')}jj83sbc.genphy_c45_read_mdixasbuh1hhjN3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjN3ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjN3ubj%)}(hphydevh]hphydev}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjN3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJ3ubah}(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)}(hread mdix status from PMAh]hread mdix status from PMA}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj3hhubah}(h]h ]h"]h$]h&]uh1jRhj 3hhhj#3hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj3jxj3jyjzj{uh1hhhhj khNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj3ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj4h]hstruct phy_device *phydev}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj4ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj/4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj,4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj+4hMhj 4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_read_eee_abilities (C function)c.genphy_c45_read_eee_abilitieshNtauh1hhj khhhNhNubh)}(hhh](h)}(h=int genphy_c45_read_eee_abilities (struct phy_device *phydev)h]h)}(hh]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hphydevh]hphydev}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubah}(h]h ]h"]h$]h&]j<j=uh1jhjl4hhhj~4hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjh4hhhj~4hMubah}(h]jc4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~4hMhje4hhubjS)}(hhh]jX)}(hread supported EEE link modesh]hread supported EEE link modes}(hj05hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj-5hhubah}(h]h ]h"]h$]h&]uh1jRhje4hhhj~4hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjH5jxjH5jyjzj{uh1hhhhj khNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjR5h]h Parameters}(hjT5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP5ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjL5ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjq5h]hstruct phy_device *phydev}(hjs5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjk5ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj5ubah}(h]h ]h"]h$]h&]uh1jhjk5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjh5ubah}(h]h ]h"]h$]h&]uh1jhjL5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_an_config_eee_aneg (C function)c.genphy_c45_an_config_eee_aneghNtauh1hhj khhhNhNubh)}(hhh](h)}(h=int genphy_c45_an_config_eee_aneg (struct phy_device *phydev)h]h)}(hh]h*}(hjT6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hphydevh]hphydev}(hja6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubah}(h]h ]h"]h$]h&]j<j=uh1jhj5hhhj5hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhj5hMubah}(h]j5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5hMhj5hhubjS)}(hhh]jX)}(hconfigure EEE advertisementh]hconfigure EEE advertisement}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj6hhubah}(h]h ]h"]h$]h&]uh1jRhj5hhhj5hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{uh1hhhhj khNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj6ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj6h]hstruct phy_device *phydev}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj6ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h1genphy_c45_pma_baset1_read_abilities (C function)&c.genphy_c45_pma_baset1_read_abilitieshNtauh1hhj khhhNhNubh)}(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}(hj&7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"7hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj57hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"7hhhj47hMubj)}(h$genphy_c45_pma_baset1_read_abilitiesh]j%)}(h$genphy_c45_pma_baset1_read_abilitiesh]h$genphy_c45_pma_baset1_read_abilities}(hjG7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjC7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"7hhhj47hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjc7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_7ubj)}(h h]h }(hjp7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_7ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jjI7sb&c.genphy_c45_pma_baset1_read_abilitiesasbuh1hhj_7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_7ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_7ubj%)}(hphydevh]hphydev}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[7ubah}(h]h ]h"]h$]h&]j<j=uh1jhj"7hhhj47hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhj47hMubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj47hMhj7hhubjS)}(hhh]jX)}(h)read supported baset1 link modes from PMAh]h)read supported baset1 link modes from PMA}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhj47hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhj khNhNubj})}(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)}(hj8h]h Parameters}(hj 8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj8ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj'8h]hstruct phy_device *phydev}(hj)8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj!8ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj@8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<8hMhj=8ubah}(h]h ]h"]h$]h&]uh1jhj!8ubeh}(h]h ]h"]h$]h&]uh1jhj<8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hjb8h]h Description}(hjd8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`8ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj8ubjX)}(hHRead the supported link modes from the extended BASE-T1 ability registerh]hHRead the supported link modes from the extended BASE-T1 ability register}(hjx8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.genphy_c45_pma_read_ext_abilities (C function)#c.genphy_c45_pma_read_ext_abilitieshNtauh1hhj khhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhj8hMubj)}(h!genphy_c45_pma_read_ext_abilitiesh]j%)}(h!genphy_c45_pma_read_ext_abilitiesh]h!genphy_c45_pma_read_ext_abilities}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhj8hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]j')}jj8sb#c.genphy_c45_pma_read_ext_abilitiesasbuh1hhj8ubj)}(h h]h }(hj"9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hj09hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hphydevh]hphydev}(hj=9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubah}(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)}(h"read supported link modes from PMAh]h"read supported link modes from PMA}(hjg9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjd9hhubah}(h]h ]h"]h$]h&]uh1jRhj8hhhj8hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhj khNhNubj})}(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)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj9ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj9h]hstruct phy_device *phydev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj9ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubjX)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj9ubjX)}(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).}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_pma_read_abilities (C function)c.genphy_c45_pma_read_abilitieshNtauh1hhj khhhNhNubh)}(hhh](h)}(h=int genphy_c45_pma_read_abilities (struct phy_device *phydev)h]h)}(hh]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hja:ubj%)}(hphydevh]hphydev}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hja:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]:ubah}(h]h ]h"]h$]h&]j<j=uh1jhj$:hhhj6:hM)ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj :hhhj6:hM)ubah}(h]j:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj6:hM)hj:hhubjS)}(hhh]jX)}(h"read supported link modes from PMAh]h"read supported link modes from PMA}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM)hj:hhubah}(h]h ]h"]h$]h&]uh1jRhj:hhhj6:hM)ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the supported link modes from the PMA Status 2 (1.8) register. If bit 1.8.9 is set, the list of supported modes is build using the values in the PMA Extended Abilities (1.11) register, indicating 1000BASET an 10G related modes. If bit 1.11.14 is set, then the list is also extended with the modes in the 2.5G/5G PMA Extended register (1.21), indicating if 2.5GBASET and 5GBASET are supported.h](jX)}(h**Parameters**h]j)}(hj ;h]h Parameters}(hj ;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM-hj;ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj);h]hstruct phy_device *phydev}(hj+;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj';ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM*hj#;ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjB;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)}(hjd;h]h Description}(hjf;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb;ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM,hj;ubjX)}(hXRead the supported link modes from the PMA Status 2 (1.8) register. If bit 1.8.9 is set, the list of supported modes is build using the values in the PMA Extended Abilities (1.11) register, indicating 1000BASET an 10G related modes. If bit 1.11.14 is set, then the list is also extended with the modes in the 2.5G/5G PMA Extended register (1.21), indicating if 2.5GBASET and 5GBASET are supported.h]hXRead the supported link modes from the PMA Status 2 (1.8) register. If bit 1.8.9 is set, the list of supported modes is build using the values in the PMA Extended Abilities (1.11) register, indicating 1000BASET an 10G related modes. If bit 1.11.14 is set, then the list is also extended with the modes in the 2.5G/5G PMA Extended register (1.21), indicating if 2.5GBASET and 5GBASET are supported.}(hjz;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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_read_status (C function)c.genphy_c45_read_statushNtauh1hhj khhhNhNubh)}(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}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<modnameN classnameNjj!)}j$]j')}jj;sbc.genphy_c45_read_statusasbuh1hhj;ubj)}(h h]h }(hj$<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj;)}(hj>h]h*}(hj2<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)}(hread PHY statush]hread PHY status}(hji<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjf<hhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhj;hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhj khNhNubj})}(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)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj<ubjX)}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_config_aneg (C function)c.genphy_c45_config_aneghNtauh1hhj khhhNhNubh)}(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 }(hj9=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&=hhhj8=hMubj)}(hgenphy_c45_config_anegh]j%)}(hgenphy_c45_config_anegh]hgenphy_c45_config_aneg}(hjK=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj&=hhhj8=hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjg=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjc=ubj)}(h h]h }(hjt=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjc=ubh)}(hhh]j%)}(h 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')}jjM=sbc.genphy_c45_config_anegasbuh1hhjc=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%)}(hphydevh]hphydev}(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&=hhhj8=hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj"=hhhj8=hMubah}(h]j=ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8=hMhj=hhubjS)}(hhh]jX)}(h(restart auto-negotiation or forced setuph]h(restart auto-negotiation or forced setup}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj=hhubah}(h]h ]h"]h$]h&]uh1jRhj=hhhj8=hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** If auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we force a configuration.h](jX)}(h**Parameters**h]j)}(hj >h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj >ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj>ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj+>h]hstruct phy_device *phydev}(hj->hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj%>ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjD>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@>hMhjA>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)}(hjf>h]h Description}(hjh>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd>ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj>ubj)}(hhh]j)}(hIf auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we force a configuration.h](j)}(h0If auto-negotiation is enabled, we configure theh]h0If auto-negotiation is enabled, we configure the}(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&]uh1jhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_fast_retrain (C function)c.genphy_c45_fast_retrainhNtauh1hhj khhhNhNubh)}(hhh](h)}(hDint genphy_c45_fast_retrain (struct phy_device *phydev, bool enable)h]h)}(hCint genphy_c45_fast_retrain(struct phy_device *phydev, bool enable)h](j)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhj>hMubj)}(hgenphy_c45_fast_retrainh]j%)}(hgenphy_c45_fast_retrainh]hgenphy_c45_fast_retrain}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhj>hMubj)}(h((struct phy_device *phydev, bool enable)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj0?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2?modnameN classnameNjj!)}j$]j')}jj>sbc.genphy_c45_fast_retrainasbuh1hhj?ubj)}(h h]h }(hjP?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hj^?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(hphydevh]hphydev}(hjk?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ?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=uh1jhj ?ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj>hhhj>hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>hhhj>hMubah}(h]j>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj>hMhj>hhubjS)}(hhh]jX)}(h configure fast retrain registersh]h configure fast retrain registers}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj?hhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhj>hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{uh1hhhhj khNhNubj})}(hXK**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool enable`` enable fast retrain or not **Description** If fast-retrain is enabled, we configure PHY as advertising fast retrain capable and THP Bypass Request, then enable fast retrain. If it is not enabled, we configure fast retrain disabled.h](jX)}(h**Parameters**h]j)}(hj?h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj?ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj @h]hstruct phy_device *phydev}(hj @hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj@ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj#@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMhj @ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj@ubj)}(h+``bool enable`` enable fast retrain or not h](j)}(h``bool enable``h]j)}(hjC@h]h bool enable}(hjE@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA@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&]uh1jWhjX@hMhjY@ubah}(h]h ]h"]h$]h&]uh1jhj=@ubeh}(h]h ]h"]h$]h&]uh1jhjX@hMhj@ubeh}(h]h ]h"]h$]h&]uh1jhj?ubjX)}(h**Description**h]j)}(hj~@h]h Description}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|@ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj?ubj)}(hhh]j)}(hIf 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&]uh1jhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_plca_get_cfg (C function)c.genphy_c45_plca_get_cfghNtauh1hhj khhhNhNubh)}(hhh](h)}(hVint genphy_c45_plca_get_cfg (struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h]h)}(hUint genphy_c45_plca_get_cfg(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h](j)}(hinth]hint}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhj@hMubj)}(hgenphy_c45_plca_get_cfgh]j%)}(hgenphy_c45_plca_get_cfgh]hgenphy_c45_plca_get_cfg}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Aubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhj@hMubj)}(h:(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj+AhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'Aubj)}(h h]h }(hj8AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'Aubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjIAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKAmodnameN classnameNjj!)}j$]j')}jjAsbc.genphy_c45_plca_get_cfgasbuh1hhj'Aubj)}(h h]h }(hjiAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'Aubj;)}(hj>h]h*}(hjwAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'Aubj%)}(hphydevh]hphydev}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'Aubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#Aubj)}(hstruct phy_plca_cfg *plca_cfgh](h)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hhh]j%)}(h phy_plca_cfgh]h phy_plca_cfg}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]jeAc.genphy_c45_plca_get_cfgasbuh1hhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hplca_cfgh]hplca_cfg}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#Aubeh}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhj@hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhj@hMubah}(h]j@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@hMhj@hhubjS)}(hhh]jX)}(h.get PLCA configuration from standard registersh]h.get PLCA configuration from standard registers}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjBhhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhj@hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6Bjxj6Bjyjzj{uh1hhhhj khNhNubj})}(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@Bh]h Parameters}(hjBBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>Bubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj:Bubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj_Bh]hstruct phy_device *phydev}(hjaBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]Bubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjYBubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjxBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjtBhMhjuBubah}(h]h ]h"]h$]h&]uh1jhjYBubeh}(h]h ]h"]h$]h&]uh1jhjtBhMhjVBubj)}(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)}(hjBh]hstruct phy_plca_cfg *plca_cfg}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjBubj)}(hhh]jX)}(h0output structure to store the PLCA configurationh]h0output structure to store the PLCA configuration}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjVBubeh}(h]h ]h"]h$]h&]uh1jhj:BubjX)}(h**Description**h]j)}(hjBh]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj:Bubj)}(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}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjBubj)}(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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhj:Bubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_plca_set_cfg (C function)c.genphy_c45_plca_set_cfghNtauh1hhj khhhNhNubh)}(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}(hjBChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ChhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM4ubj)}(h h]h }(hjQChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ChhhjPChM4ubj)}(hgenphy_c45_plca_set_cfgh]j%)}(hgenphy_c45_plca_set_cfgh]hgenphy_c45_plca_set_cfg}(hjcChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_Cubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>ChhhjPChM4ubj)}(h@(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{Cubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{Cubh)}(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')}jjeCsbc.genphy_c45_plca_set_cfgasbuh1hhj{Cubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{Cubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{Cubj%)}(hphydevh]hphydev}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{Cubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwCubj)}(h#const struct phy_plca_cfg *plca_cfgh](h)}(hjh]hconst}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hjh]hstruct}(hj DhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(h phy_plca_cfgh]h phy_plca_cfg}(hj*DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'Dubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,DmodnameN classnameNjj!)}j$]jCc.genphy_c45_plca_set_cfgasbuh1hhjCubj)}(h h]h }(hjHDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjVDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hplca_cfgh]hplca_cfg}(hjcDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwCubeh}(h]h ]h"]h$]h&]j<j=uh1jhj>ChhhjPChM4ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:ChhhjPChM4ubah}(h]j5Cah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjPChM4hj7ChhubjS)}(hhh]jX)}(h/set PLCA configuration using standard registersh]h/set PLCA configuration using standard registers}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM4hjDhhubah}(h]h ]h"]h$]h&]uh1jRhj7ChhhjPChM4ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjDjxjDjyjzj{uh1hhhhj khNhNubj})}(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)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM8hjDubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjDh]hstruct phy_device *phydev}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM5hjDubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhM5hjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhM5hjDubj)}(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)}(hjEh]h#const struct phy_plca_cfg *plca_cfg}(hj EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM7hjEubj)}(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 EhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM6hjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhM7hjDubeh}(h]h ]h"]h$]h&]uh1jhjDubjX)}(h**Description**h]j)}(hjCEh]h Description}(hjEEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAEubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9hjDubj)}(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`EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM:hj\Eubj)}(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.}(hjrEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnEhM:hjoEubah}(h]h ]h"]h$]h&]uh1jhj\Eubeh}(h]h ]h"]h$]h&]uh1jhjnEhM:hjYEubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_plca_get_status (C function)c.genphy_c45_plca_get_statushNtauh1hhj khhhNhNubh)}(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}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhjEhMubj)}(hgenphy_c45_plca_get_statush]j%)}(hgenphy_c45_plca_get_statush]hgenphy_c45_plca_get_status}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjEhMubj)}(h<(struct phy_device *phydev, struct phy_plca_status *plca_st)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj FhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Fubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j')}jjEsbc.genphy_c45_plca_get_statusasbuh1hhjEubj)}(h h]h }(hj-FhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hj;FhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hphydevh]hphydev}(hjHFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(hstruct phy_plca_status *plca_sth](h)}(hjh]hstruct}(hjaFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj]Fubj)}(h h]h }(hjnFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]Fubh)}(hhh]j%)}(hphy_plca_statush]hphy_plca_status}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|Fubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j)Fc.genphy_c45_plca_get_statusasbuh1hhj]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%)}(hplca_sth]hplca_st}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]Fubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubeh}(h]h ]h"]h$]h&]j<j=uh1jhjEhhhjEhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjEhhhjEhMubah}(h]jEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEhMhjEhhubjS)}(hhh]jX)}(h'get PLCA status from standard registersh]h'get PLCA status from standard registers}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjFhhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhjEhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFjxjFjyjzj{uh1hhhhj khNhNubj})}(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)}(hjGh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjFubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj#Gh]hstruct phy_device *phydev}(hj%GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Gubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjGubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjh]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?Hubj%)}(hphydevh]hphydev}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?Hubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;Hubj)}(hunsigned long *lph](j)}(hunsignedh]hunsigned}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(hlongh]hlong}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hlph]hlp}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;Hubeh}(h]h ]h"]h$]h&]j<j=uh1jhjHhhhjHhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhjHhMubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjHhMhjGhhubjS)}(hhh]jX)}(hget EEE statush]hget EEE status}(hj$IhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj!Ihhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhjHhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjh]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWJubj%)}(hphydevh]hphydev}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSJubj)}(hstruct ethtool_keee *datah](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]jJc.genphy_c45_ethtool_get_eeeasbuh1hhjJubj)}(h h]h }(hj KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hdatah]hdata}(hj$KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSJubeh}(h]h ]h"]h$]h&]j<j=uh1jhjJhhhj,JhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhj,JhMubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,JhMhjJhhubjS)}(hhh]jX)}(hget EEE supported and statush]hget EEE supported and status}(hjNKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjKKhhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhj,JhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjfKjxjfKjyjzj{uh1hhhhj khNhNubj})}(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)}(hjpKh]h Parameters}(hjrKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnKubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjjKubj)}(hhh](j)}(h7``struct phy_device *phydev`` target 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjKubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjKubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjKh]hstruct ethtool_keee *data}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjKubj)}(hhh]jX)}(hethtool_keee datah]hethtool_keee data}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjKubeh}(h]h ]h"]h$]h&]uh1jhjjKubjX)}(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:122: ./drivers/net/phy/phy-c45.chMhjjKubjX)}(hEit reports the Supported/Advertisement/LP Advertisement capabilities.h]hEit reports the Supported/Advertisement/LP Advertisement capabilities.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjjKubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_ethtool_set_eee (C function)c.genphy_c45_ethtool_set_eeehNtauh1hhj khhhNhNubh)}(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}(hjHLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDLhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hjWLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDLhhhjVLhMubj)}(hgenphy_c45_ethtool_set_eeeh]j%)}(hgenphy_c45_ethtool_set_eeeh]hgenphy_c45_ethtool_set_eee}(hjiLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDLhhhjVLhMubj)}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j')}jjkLsbc.genphy_c45_ethtool_set_eeeasbuh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hphydevh]hphydev}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}Lubj)}(hstruct ethtool_keee *datah](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]jLc.genphy_c45_ethtool_set_eeeasbuh1hhjLubj)}(h h]h }(hj3MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjAMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hdatah]hdata}(hjNMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}Lubeh}(h]h ]h"]h$]h&]j<j=uh1jhjDLhhhjVLhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@LhhhjVLhMubah}(h]j;Lah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVLhMhj=LhhubjS)}(hhh]jX)}(hset EEE supported and statush]hset EEE supported and status}(hjxMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjuMhhubah}(h]h ]h"]h$]h&]uh1jRhj=LhhhjVLhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhj khNhNubj})}(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)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjMubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjMh]hstruct phy_device *phydev}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjMubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjMubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjMh]hstruct ethtool_keee *data}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjMubj)}(hhh]jX)}(hethtool_keee datah]hethtool_keee data}(hj NhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjMubeh}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hj-Nh]h Description}(hj/NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Nubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjMubjX)}(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.}(hjCNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h4genphy_c45_oatc14_cable_test_get_status (C function))c.genphy_c45_oatc14_cable_test_get_statushNtauh1hhj khhhNhNubh)}(hhh](h)}(hWint genphy_c45_oatc14_cable_test_get_status (struct phy_device *phydev, bool *finished)h]h)}(hVint genphy_c45_oatc14_cable_test_get_status(struct phy_device *phydev, bool *finished)h](j)}(hinth]hint}(hjrNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnNhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMJubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnNhhhjNhMJubj)}(h'genphy_c45_oatc14_cable_test_get_statush]j%)}(h'genphy_c45_oatc14_cable_test_get_statush]h'genphy_c45_oatc14_cable_test_get_status}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjnNhhhjNhMJubj)}(h+(struct phy_device *phydev, bool *finished)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')}jjNsb)c.genphy_c45_oatc14_cable_test_get_statusasbuh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hphydevh]hphydev}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(hbool *finishedh](j)}(hjTh]hbool}(hj!OhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(h h]h }(hj.OhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMNhjOubjX)}(hIf the test is complete, the function reports the cable test result via the ethtool cable test interface using ethnl_cable_test_result(), and then clears the test control bit in the PHY register to reset the test state.h]hIf the test is complete, the function reports the cable test result via the ethtool cable test interface using ethnl_cable_test_result(), and then clears the test control bit in the PHY register to reset the test state.}(hjMPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMRhjOubjX)}(h **Return**h]j)}(hj^Ph]hReturn}(hj`PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Pubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMVhjOubjX)}(hS0 on success, or a negative error code on failure (e.g. register read/write error).h]hS0 on success, or a negative error code on failure (e.g. register read/write error).}(hjtPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMWhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h/genphy_c45_oatc14_cable_test_start (C function)$c.genphy_c45_oatc14_cable_test_starthNtauh1hhj khhhNhNubh)}(hhh](h)}(hBint genphy_c45_oatc14_cable_test_start (struct phy_device *phydev)h]h)}(hAint genphy_c45_oatc14_cable_test_start(struct phy_device *phydev)h](j)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMxubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhhhjPhMxubj)}(h"genphy_c45_oatc14_cable_test_starth]j%)}(h"genphy_c45_oatc14_cable_test_starth]h"genphy_c45_oatc14_cable_test_start}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPhhhjPhMxubj)}(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 reftargetjQmodnameN classnameNjj!)}j$]j')}jjPsb$c.genphy_c45_oatc14_cable_test_startasbuh1hhjPubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj;)}(hj>h]h*}(hj,QhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPubj%)}(hphydevh]hphydev}(hj9QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubah}(h]h ]h"]h$]h&]j<j=uh1jhjPhhhjPhMxubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhjPhMxubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjPhMxhjPhhubjS)}(hhh]jX)}(h/Start a cable test on an OATC14 10Base-T1S PHY.h]h/Start a cable test on an OATC14 10Base-T1S PHY.}(hjcQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMxhj`Qhhubah}(h]h ]h"]h$]h&]uh1jRhjPhhhjPhMxubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{Qjxj{Qjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` Pointer to the PHY device structure **Description** This function initiates a cable diagnostic test on a Clause 45 OATC14 10Base-T1S capable PHY device. It first reads the PHY’s advanced diagnostic capability register to check if High Definition Diagnostics (HDD) mode is supported. If the PHY does not report HDD capability, cable testing is not supported and the function returns -EOPNOTSUPP. For PHYs that support HDD, the function sets the appropriate control bits in the OATC14_HDD register to enable and start the cable diagnostic test. **Return** * 0 on success * -EOPNOTSUPP if the PHY does not support HDD capability * A negative error code on I/O or register access failuresh](jX)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM|hjQubj)}(hhh]j)}(hB``struct phy_device *phydev`` Pointer to the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjQh]hstruct phy_device *phydev}(hjQhhhNhNubah}(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.chMzhjQubj)}(hhh]jX)}(h#Pointer to the PHY device structureh]h#Pointer to the PHY device structure}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMzhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMzhjQubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM|hjQubjX)}(hXXThis function initiates a cable diagnostic test on a Clause 45 OATC14 10Base-T1S capable PHY device. It first reads the PHY’s advanced diagnostic capability register to check if High Definition Diagnostics (HDD) mode is supported. If the PHY does not report HDD capability, cable testing is not supported and the function returns -EOPNOTSUPP.h]hXXThis function initiates a cable diagnostic test on a Clause 45 OATC14 10Base-T1S capable PHY device. It first reads the PHY’s advanced diagnostic capability register to check if High Definition Diagnostics (HDD) mode is supported. If the PHY does not report HDD capability, cable testing is not supported and the function returns -EOPNOTSUPP.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM{hjQubjX)}(hFor PHYs that support HDD, the function sets the appropriate control bits in the OATC14_HDD register to enable and start the cable diagnostic test.h]hFor PHYs that support HDD, the function sets the appropriate control bits in the OATC14_HDD register to enable and start the cable diagnostic test.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjQubjX)}(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:122: ./drivers/net/phy/phy-c45.chMhjQubjE)}(hhh](jE)}(h 0 on successh]jX)}(hj0Rh]h 0 on success}(hj2RhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj.Rubah}(h]h ]h"]h$]h&]uh1jEhj+Rub!jE)}(h6-EOPNOTSUPP if the PHY does not support HDD capabilityh]jX)}(hjHRh]h6-EOPNOTSUPP if the PHY does not support HDD capability}(hjJRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjFRubah}(h]h ]h"]h$]h&]uh1jEhj+RubjE)}(h8A negative error code on I/O or register access failuresh]jX)}(hj`Rh]h8A negative error code on I/O or register access failures}(hjbRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj^Rubah}(h]h ]h"]h$]h&]uh1jEhj+Rubeh}(h]h ]h"]h$]h&]j]Fj>uh1jEhj?RhMhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_oatc14_get_sqi_max (C function)c.genphy_c45_oatc14_get_sqi_maxhNtauh1hhj khhhNhNubh)}(hhh](h)}(h=int genphy_c45_oatc14_get_sqi_max (struct phy_device *phydev)h]h)}(hh]h*}(hj%ShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hphydevh]hphydev}(hj2ShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRubah}(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@Get maximum supported SQI or SQI+ level of OATC14 10Base-T1S PHYh]h@Get maximum supported SQI or SQI+ level of OATC14 10Base-T1S PHY}(hj\ShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjYShhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjRhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtSjxjtSjyjzj{uh1hhhhj khNhNubj})}(hXq**Parameters** ``struct phy_device *phydev`` pointer to the PHY device structure **Description** This function returns the maximum supported Signal Quality Indicator (SQI) or SQI+ level. The SQI capability is updated on first invocation if it has not already been updated. **Return** * Maximum SQI/SQI+ level supported * Negative errno on capability read failureh](jX)}(h**Parameters**h]j)}(hj~Sh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|Subah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjxSubj)}(hhh]j)}(hB``struct phy_device *phydev`` pointer to the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjSh]hstruct phy_device *phydev}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjSubj)}(hhh]jX)}(h#pointer to the PHY device structureh]h#pointer to the PHY device structure}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjxSubjX)}(h**Description**h]j)}(hjSh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjxSubjX)}(hThis function returns the maximum supported Signal Quality Indicator (SQI) or SQI+ level. The SQI capability is updated on first invocation if it has not already been updated.h]hThis function returns the maximum supported Signal Quality Indicator (SQI) or SQI+ level. The SQI capability is updated on first invocation if it has not already been updated.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjxSubjX)}(h **Return**h]j)}(hjSh]hReturn}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjxSubjE)}(hhh](jE)}(h Maximum SQI/SQI+ level supportedh]jX)}(hjTh]h Maximum SQI/SQI+ level supported}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjTubah}(h]h ]h"]h$]h&]uh1jEhjTubjE)}(h)Negative errno on capability read failureh]jX)}(hj2Th]h)Negative errno on capability read failure}(hj4ThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj0Tubah}(h]h ]h"]h$]h&]uh1jEhjTubeh}(h]h ]h"]h$]h&]j]Fj>uh1jEhj)ThMhjxSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&genphy_c45_oatc14_get_sqi (C function)c.genphy_c45_oatc14_get_sqihNtauh1hhj khhhNhNubh)}(hhh](h)}(h9int genphy_c45_oatc14_get_sqi (struct phy_device *phydev)h]h)}(h8int genphy_c45_oatc14_get_sqi(struct phy_device *phydev)h](j)}(hinth]hint}(hjnThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjThhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj}ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjThhhj|ThMubj)}(hgenphy_c45_oatc14_get_sqih]j%)}(hgenphy_c45_oatc14_get_sqih]hgenphy_c45_oatc14_get_sqi}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjThhhj|ThMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]j')}jjTsbc.genphy_c45_oatc14_get_sqiasbuh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hphydevh]hphydev}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubah}(h]h ]h"]h$]h&]j<j=uh1jhjjThhhj|ThMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfThhhj|ThMubah}(h]jaTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|ThMhjcThhubjS)}(hhh]jX)}(h@Get Signal Quality Indicator (SQI) from an OATC14 10Base-T1S PHYh]h@Get Signal Quality Indicator (SQI) from an OATC14 10Base-T1S PHY}(hj.UhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj+Uhhubah}(h]h ]h"]h$]h&]uh1jRhjcThhhj|ThMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFUjxjFUjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` pointer to the PHY device structure **Description** This function reads the SQI+ or SQI value from an OATC14-compatible 10Base-T1S PHY. If SQI+ capability is supported, the function returns the extended SQI+ value; otherwise, it returns the basic SQI value. The SQI capability is updated on first invocation if it has not already been updated. **Return** * SQI/SQI+ value on success * Negative errno on read failureh](jX)}(h**Parameters**h]j)}(hjPUh]h Parameters}(hjRUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNUubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjJUubj)}(hhh]j)}(hB``struct phy_device *phydev`` pointer to the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjoUh]hstruct phy_device *phydev}(hjqUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmUubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjiUubj)}(hhh]jX)}(h#pointer to the PHY device structureh]h#pointer to the PHY device structure}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjiUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjfUubah}(h]h ]h"]h$]h&]uh1jhjJUubjX)}(h**Description**h]j)}(hjUh]h Description}(hjUhhhNhNubah}(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.chMhjJUubjX)}(hX#This function reads the SQI+ or SQI value from an OATC14-compatible 10Base-T1S PHY. If SQI+ capability is supported, the function returns the extended SQI+ value; otherwise, it returns the basic SQI value. The SQI capability is updated on first invocation if it has not already been updated.h]hX#This function reads the SQI+ or SQI value from an OATC14-compatible 10Base-T1S PHY. If SQI+ capability is supported, the function returns the extended SQI+ value; otherwise, it returns the basic SQI value. The SQI capability is updated on first invocation if it has not already been updated.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjJUubjX)}(h **Return**h]j)}(hjUh]hReturn}(hjUhhhNhNubah}(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.chMhjJUubjE)}(hhh](jE)}(hSQI/SQI+ value on successh]jX)}(hjUh]hSQI/SQI+ value on success}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjUubah}(h]h ]h"]h$]h&]uh1jEhjUubjE)}(hNegative errno on read failureh]jX)}(hjVh]hNegative errno on read failure}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjVubah}(h]h ]h"]h$]h&]uh1jEhjUubeh}(h]h ]h"]h$]h&]j]Fj>uh1jEhjUhMhjJUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_interface_t (C enum)c.phy_interface_thNtauh1hhj khhhNhNubh)}(hhh](h)}(hphy_interface_th]h)}(henum phy_interface_th](h)}(hhh]henum}(hj@VhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjh]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_hhhj_hKubj)}(h phy_modesh]j%)}(h phy_modesh]h phy_modes}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj_hhhj_hKubj)}(h(phy_interface_t interface)h]j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj"`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$`modnameN classnameNjj!)}j$]j')}jj`sb c.phy_modesasbuh1hhj`ubj)}(h h]h }(hjB`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj%)}(h interfaceh]h interface}(hjP`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubah}(h]h ]h"]h$]h&]j<j=uh1jhj_hhhj_hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj_hhhj_hKubah}(h]j_ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj_hKhj_hhubjS)}(hhh]jX)}(h;map phy_interface_t enum to device tree binding of phy-modeh]h;map phy_interface_t enum to device tree binding of phy-mode}(hjz`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjw`hhubah}(h]h ]h"]h$]h&]uh1jRhj_hhhj_hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`jxj`jyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``phy_interface_t interface`` enum phy_interface_t value **Description** maps enum :c:type:`phy_interface_t` defined in this file into the device tree binding of 'phy-mode', so that Ethernet device driver can get PHY interface from device tree.h](jX)}(h**Parameters**h]j)}(hj`h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj`ubj)}(hhh]j)}(h9``phy_interface_t interface`` enum phy_interface_t value h](j)}(h``phy_interface_t interface``h]j)}(hj`h]hphy_interface_t interface}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj`ubj)}(hhh]jX)}(henum phy_interface_t valueh]henum phy_interface_t value}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hKhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hKhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubjX)}(h**Description**h]j)}(hj`h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj`ubjX)}(hmaps enum :c:type:`phy_interface_t` defined in this file into the device tree binding of 'phy-mode', so that Ethernet device driver can get PHY interface from device tree.h](h maps enum }(hj ahhhNhNubh)}(h:c:type:`phy_interface_t`h]j)}(hjah]hphy_interface_t}(hjahhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj aubh 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 ahhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj3ahKhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrgmii_clock (C function) c.rgmii_clockhNtauh1hhj khhhNhNubh)}(hhh](h)}(hlong rgmii_clock (int speed)h]h)}(hlong rgmii_clock(int speed)h](j)}(hlongh]hlong}(hj^ahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZahhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'ubj)}(h h]h }(hjmahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZahhhjlahM'ubj)}(h rgmii_clockh]j%)}(h rgmii_clockh]h rgmii_clock}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{aubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZahhhjlahM'ubj)}(h (int speed)h]j)}(h int speedh](j)}(hinth]hint}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj%)}(hspeedh]hspeed}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubah}(h]h ]h"]h$]h&]j<j=uh1jhjZahhhjlahM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVahhhjlahM'ubah}(h]jQaah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlahM'hjSahhubjS)}(hhh]jX)}(h map link speed to the clock rateh]h map link speed to the clock rate}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hjahhubah}(h]h ]h"]h$]h&]uh1jRhjSahhhjlahM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhj khNhNubj})}(hX_**Parameters** ``int speed`` link speed value **Description** maps RGMII supported link speeds into the clock rates. This can also be used for MII, GMII, and RMII interface modes as the clock rates are identical, but the caller must be aware that errors for unsupported clock rates will not be signalled. **Return** clock rate or negative errnoh](jX)}(h**Parameters**h]j)}(hjbh]h Parameters}(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+hjaubj)}(hhh]j)}(h``int speed`` link speed value h](j)}(h ``int speed``h]j)}(hj"bh]h int speed}(hj$bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj bubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM(hjbubj)}(hhh]jX)}(hlink speed valueh]hlink speed value}(hj;bhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7bhM(hj8bubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj7bhM(hjbubah}(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:125: ./include/linux/phy.hhM*hjaubjX)}(hmaps RGMII supported link speeds into the clock rates. This can also be used for MII, GMII, and RMII interface modes as the clock rates are identical, but the caller must be aware that errors for unsupported clock rates will not be signalled.h]hmaps RGMII supported link speeds into the clock rates. This can also be used for MII, GMII, and RMII interface modes as the clock rates are identical, but the caller must be aware that errors for unsupported clock rates will not be signalled.}(hjsbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hjaubjX)}(h **Return**h]j)}(hjbh]hReturn}(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/hjaubjX)}(hclock rate or negative errnoh]hclock rate or negative errno}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hjaubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdio_bus_stats (C struct)c.mdio_bus_statshNtauh1hhj khhhNhNubh)}(hhh](h)}(hmdio_bus_statsh]h)}(hstruct mdio_bus_statsh](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjbhM4ubj)}(hmdio_bus_statsh]j%)}(hjbh]hmdio_bus_stats}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbhhhjbhM4ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjbhM4ubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhM4hjbhhubjS)}(hhh]jX)}(h#Statistics counters for MDIO bussesh]h#Statistics counters for MDIO busses}(hj chhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOhjchhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhjbhM4ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj#cjxj#cjyjzj{uh1hhhhj khNhNubj})}(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/chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+cubh:}(hj+chhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShj'cubjU)}(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; };}hjHcsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhj'cubjX)}(h **Members**h]j)}(hjYch]hMembers}(hj[chhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWcubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hj'cubj)}(hhh](j)}(hE``transfers`` Total number of transfers, i.e. **writes** + **reads** h](j)}(h ``transfers``h]j)}(hjxch]h transfers}(hjzchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvcubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMQhjrcubj)}(hhh]jX)}(h6Total number of transfers, i.e. **writes** + **reads**h](h Total number of transfers, i.e. }(hjchhhNhNubj)}(h **writes**h]hwrites}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh + }(hjchhhNhNubj)}(h **reads**h]hreads}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jWhjchMQhjcubah}(h]h ]h"]h$]h&]uh1jhjrcubeh}(h]h ]h"]h$]h&]uh1jhjchMQhjocubj)}(h;``errors`` Number of MDIO transfers that returned an error h](j)}(h ``errors``h]j)}(hjch]herrors}(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.hhMRhjcubj)}(hhh]jX)}(h/Number of MDIO transfers that returned an errorh]h/Number of MDIO transfers that returned an error}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMRhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMRhjocubj)}(h%``writes`` Number of write transfers h](j)}(h ``writes``h]j)}(hj dh]hwrites}(hj dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjdubj)}(hhh]jX)}(hNumber of write transfersh]hNumber of write transfers}(hj#dhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMShj dubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMShjocubj)}(h#``reads`` Number of read transfers h](j)}(h ``reads``h]j)}(hjCdh]hreads}(hjEdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAdubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThj=dubj)}(hhh]jX)}(hNumber of read transfersh]hNumber of read transfers}(hj\dhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXdhMThjYdubah}(h]h ]h"]h$]h&]uh1jhj=dubeh}(h]h ]h"]h$]h&]uh1jhjXdhMThjocubj)}(h5``syncp`` Synchronisation for incrementing statisticsh](j)}(h ``syncp``h]j)}(hj|dh]hsyncp}(hj~dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzdubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjvdubj)}(hhh]jX)}(h+Synchronisation for incrementing statisticsh]h+Synchronisation for incrementing statistics}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhjdubah}(h]h ]h"]h$]h&]uh1jhjvdubeh}(h]h ]h"]h$]h&]uh1jhjdhMThjocubeh}(h]h ]h"]h$]h&]uh1jhj'cubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmii_bus (C struct) c.mii_bushNtauh1hhj khhhNhNubh)}(hhh](h)}(hmii_bush]h)}(hstruct mii_bush](h)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhjdhM[ubj)}(hmii_bush]j%)}(hjdh]hmii_bus}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ](j7j8eh"]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)}(hRepresents an MDIO bush]hRepresents an MDIO bus}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`hjehhubah}(h]h ]h"]h$]h&]uh1jRhjdhhhjdhM[ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj0ejxj0ejyjzj{uh1hhhhj khNhNubj})}(hXe **Definition**:: struct mii_bus { struct module *owner; const char *name; char id[MII_BUS_ID_SIZE]; void *priv; int (*read)(struct mii_bus *bus, int addr, int regnum); int (*write)(struct mii_bus *bus, int addr, int regnum, u16 val); int (*read_c45)(struct mii_bus *bus, int addr, int devnum, int regnum); int (*write_c45)(struct mii_bus *bus, int addr, int devnum, int regnum, u16 val); int (*reset)(struct mii_bus *bus); struct mdio_bus_stats stats[PHY_MAX_ADDR]; struct mutex mdio_lock; struct device *parent; enum { MDIOBUS_ALLOCATED = 1, MDIOBUS_REGISTERED, MDIOBUS_UNREGISTERED, MDIOBUS_RELEASED, } state; struct device dev; struct mdio_device *mdio_map[PHY_MAX_ADDR]; u32 phy_mask; u32 phy_ignore_ta_mask; int irq[PHY_MAX_ADDR]; int reset_delay_us; int reset_post_delay_us; struct gpio_desc *reset_gpiod; struct mutex shared_lock; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared[PHY_MAX_ADDR]; #endif; }; **Members** ``owner`` Who owns this device ``name`` User friendly name for this MDIO device, or driver name ``id`` Unique identifier for this bus, typical from bus hierarchy ``priv`` Driver private data ``read`` Perform a read transfer on the bus ``write`` Perform a write transfer on the bus ``read_c45`` Perform a C45 read transfer on the bus ``write_c45`` Perform a C45 write transfer on the bus ``reset`` Perform a reset of the bus ``stats`` Statistic counters per device on the bus ``mdio_lock`` A lock to ensure that only one thing can read/write the MDIO bus at a time ``parent`` Parent device of this bus ``state`` State of bus structure ``dev`` Kernel device representation ``mdio_map`` list of all MDIO devices on bus ``phy_mask`` PHY addresses to be ignored when probing ``phy_ignore_ta_mask`` PHY addresses to ignore the TA/read failure ``irq`` An array of interrupts, each PHY's interrupt at the index matching its address ``reset_delay_us`` GPIO reset pulse width in microseconds ``reset_post_delay_us`` GPIO reset deassert delay in microseconds ``reset_gpiod`` Reset GPIO descriptor pointer ``shared_lock`` protect access to the shared element ``shared`` shared state across different PHYsh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjh]h*}(hjIndicates whether the SQI capability fields have been updated.h]h>Indicates whether the SQI capability fields have been updated.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjqubj)}(hX``sqi_max`` Maximum supported Signal Quality Indicator (SQI) level reported by the PHY. h](j)}(h ``sqi_max``h]j)}(hjqh]hsqi_max}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjqubj)}(hhh]jX)}(hKMaximum supported Signal Quality Indicator (SQI) level reported by the PHY.h]hKMaximum supported Signal Quality Indicator (SQI) level reported by the PHY.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjqubj)}(hXv``sqiplus_bits`` Bits for SQI+ levels supported by the PHY. 0 - SQI+ is not supported 3 - SQI+ is supported, using 3 bits (8 levels) 4 - SQI+ is supported, using 4 bits (16 levels) 5 - SQI+ is supported, using 5 bits (32 levels) 6 - SQI+ is supported, using 6 bits (64 levels) 7 - SQI+ is supported, using 7 bits (128 levels) 8 - SQI+ is supported, using 8 bits (256 levels)h](j)}(h``sqiplus_bits``h]j)}(hjqh]h sqiplus_bits}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM"hjqubj)}(hhh]jX)}(hXeBits for SQI+ levels supported by the PHY. 0 - SQI+ is not supported 3 - SQI+ is supported, using 3 bits (8 levels) 4 - SQI+ is supported, using 4 bits (16 levels) 5 - SQI+ is supported, using 5 bits (32 levels) 6 - SQI+ is supported, using 6 bits (64 levels) 7 - SQI+ is supported, using 7 bits (128 levels) 8 - SQI+ is supported, using 8 bits (256 levels)h]hXeBits for SQI+ levels supported by the PHY. 0 - SQI+ is not supported 3 - SQI+ is supported, using 3 bits (8 levels) 4 - SQI+ is supported, using 4 bits (16 levels) 5 - SQI+ is supported, using 5 bits (32 levels) 6 - SQI+ is supported, using 6 bits (64 levels) 7 - SQI+ is supported, using 7 bits (128 levels) 8 - SQI+ is supported, using 8 bits (256 levels)}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjrubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjrhM"hjqubeh}(h]h ]h"]h$]h&]uh1jhj7qubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubjX)}(h**Description**h]j)}(hj>rh]h Description}(hj@rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj``is_c45`` Set to true if this PHY uses clause 45 addressing. h](j)}(h ``is_c45``h]j)}(hjth]his_c45}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:hj}tubj)}(hhh]jX)}(h2Set to true if this PHY uses clause 45 addressing.h]h2Set to true if this PHY uses clause 45 addressing.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthM:hjtubah}(h]h ]h"]h$]h&]uh1jhj}tubeh}(h]h ]h"]h$]h&]uh1jhjthM:hj"subj)}(h>``is_internal`` Set to true if this PHY is internal to a MAC. h](j)}(h``is_internal``h]j)}(hjth]h is_internal}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hjtubj)}(hhh]jX)}(h-Set to true if this PHY is internal to a MAC.h]h-Set to true if this PHY is internal to a MAC.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthM;hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM;hj"subj)}(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)}(hjth]his_pseudo_fixed_link}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<hjtubj)}(hhh]jX)}(h3Set to true if this PHY is an Ethernet switch, etc.h]h3Set to true if this PHY is an Ethernet switch, etc.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj uhM<hj uubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhj uhM<hj"subj)}(h<``is_gigabit_capable`` Set to true if PHY supports 1000Mbps h](j)}(h``is_gigabit_capable``h]j)}(hj.uh]his_gigabit_capable}(hj0uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,uubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM=hj(uubj)}(hhh]jX)}(h$Set to true if PHY supports 1000Mbpsh]h$Set to true if PHY supports 1000Mbps}(hjGuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjCuhM=hjDuubah}(h]h ]h"]h$]h&]uh1jhj(uubeh}(h]h ]h"]h$]h&]uh1jhjCuhM=hj"subj)}(h:``has_fixups`` Set to true if this PHY has fixups/quirks. h](j)}(h``has_fixups``h]j)}(hjguh]h has_fixups}(hjiuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeuubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjauubj)}(hhh]jX)}(h*Set to true if this PHY has fixups/quirks.h]h*Set to true if this PHY has fixups/quirks.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|uhM>hj}uubah}(h]h ]h"]h$]h&]uh1jhjauubeh}(h]h ]h"]h$]h&]uh1jhj|uhM>hj"subj)}(hG``suspended`` Set to true if this PHY has been suspended successfully. h](j)}(h ``suspended``h]j)}(hjuh]h suspended}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM?hjuubj)}(hhh]jX)}(h8Set to true if this PHY has been suspended successfully.h]h8Set to true if this PHY has been suspended successfully.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhM?hjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhM?hj"subj)}(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)}(hjuh]hsuspended_by_mdio_bus}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hjuubj)}(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.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhM@hjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhM@hj"subj)}(hN``sysfs_links`` Internal boolean tracking sysfs symbolic links setup/removal. h](j)}(h``sysfs_links``h]j)}(hjvh]h sysfs_links}(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.hhMAhj vubj)}(hhh]jX)}(h=Internal boolean tracking sysfs symbolic links setup/removal.h]h=Internal boolean tracking sysfs symbolic links setup/removal.}(hj+vhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'vhMAhj(vubah}(h]h ]h"]h$]h&]uh1jhj vubeh}(h]h ]h"]h$]h&]uh1jhj'vhMAhj"subj)}(hL``loopback_enabled`` Set true if this PHY has been loopbacked successfully. h](j)}(h``loopback_enabled``h]j)}(hjKvh]hloopback_enabled}(hjMvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIvubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMBhjEvubj)}(hhh]jX)}(h6Set true if this PHY has been loopbacked successfully.h]h6Set true if this PHY has been loopbacked successfully.}(hjdvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`vhMBhjavubah}(h]h ]h"]h$]h&]uh1jhjEvubeh}(h]h ]h"]h$]h&]uh1jhj`vhMBhj"subj)}(hB``downshifted_rate`` Set true if link speed has been downshifted. h](j)}(h``downshifted_rate``h]j)}(hjvh]hdownshifted_rate}(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.hhMChj~vubj)}(hhh]jX)}(h,Set true if link speed has been downshifted.h]h,Set true if link speed has been downshifted.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMChjvubah}(h]h ]h"]h$]h&]uh1jhj~vubeh}(h]h ]h"]h$]h&]uh1jhjvhMChj"subj)}(hB``is_on_sfp_module`` Set true if PHY is located on an SFP module. h](j)}(h``is_on_sfp_module``h]j)}(hjvh]his_on_sfp_module}(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.hhMDhjvubj)}(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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMDhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMDhj"subj)}(hK``mac_managed_pm`` Set true if MAC driver takes of suspending/resuming PHY h](j)}(h``mac_managed_pm``h]j)}(hjvh]hmac_managed_pm}(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.hhMEhjvubj)}(hhh]jX)}(h7Set true if MAC driver takes of suspending/resuming PHYh]h7Set true if MAC driver takes of suspending/resuming PHY}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj whMEhj wubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhj whMEhj"subj)}(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/wh]h wol_enabled}(hj1whhhNhNubah}(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.hhMGhj)wubj)}(hhh]jX)}(hDSet to true if the PHY or the attached MAC have Wake-on-LAN enabled.h]hDSet to true if the PHY or the attached MAC have Wake-on-LAN enabled.}(hjHwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhjEwubah}(h]h ]h"]h$]h&]uh1jhj)wubeh}(h]h ]h"]h$]h&]uh1jhjDwhMGhj"subj)}(hE``is_genphy_driven`` PHY is driven by one of the generic PHY drivers h](j)}(h``is_genphy_driven``h]j)}(hjiwh]his_genphy_driven}(hjkwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhjcwubj)}(hhh]jX)}(h/PHY is driven by one of the generic PHY driversh]h/PHY is driven by one of the generic PHY drivers}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~whMHhjwubah}(h]h ]h"]h$]h&]uh1jhjcwubeh}(h]h ]h"]h$]h&]uh1jhj~whMHhj"subj)}(h$``autoneg`` Flag autoneg being used h](j)}(h ``autoneg``h]j)}(hjwh]hautoneg}(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.hhMkhjwubj)}(hhh]jX)}(hFlag autoneg being usedh]hFlag autoneg being used}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMkhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMkhj"subj)}(h``link`` Current link state h](j)}(h``link``h]j)}(hjwh]hlink}(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.hhMmhjwubj)}(hhh]jX)}(hCurrent link stateh]hCurrent link state}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMmhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMmhj"subj)}(hE``autoneg_complete`` Flag auto negotiation of the link has completed h](j)}(h``autoneg_complete``h]j)}(hjxh]hautoneg_complete}(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.hhMnhjxubj)}(hhh]jX)}(h/Flag auto negotiation of the link has completedh]h/Flag auto negotiation of the link has completed}(hj-xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)xhMnhj*xubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhj)xhMnhj"subj)}(h``pause`` Current pause h](j)}(h ``pause``h]j)}(hjMxh]hpause}(hjOxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKxubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^hjGxubj)}(hhh]jX)}(h Current pauseh]h Current pause}(hjfxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbxhM^hjcxubah}(h]h ]h"]h$]h&]uh1jhjGxubeh}(h]h ]h"]h$]h&]uh1jhjbxhM^hj"subj)}(h(``asym_pause`` Current asymmetric pause h](j)}(h``asym_pause``h]j)}(hjxh]h asym_pause}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hjxubj)}(hhh]jX)}(hCurrent asymmetric pauseh]hCurrent asymmetric pause}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhM_hjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhM_hj"subj)}(h1``interrupts`` Flag interrupts have been enabled h](j)}(h``interrupts``h]j)}(hjxh]h interrupts}(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.hhMrhjxubj)}(hhh]jX)}(h!Flag interrupts have been enabledh]h!Flag interrupts have been enabled}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMrhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMrhj"subj)}(h}``irq_suspended`` Flag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumed h](j)}(h``irq_suspended``h]j)}(hjxh]h irq_suspended}(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.hhMthjxubj)}(hhh]jX)}(hjFlag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumedh]hjFlag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumed}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMshjyubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhj yhMthj"subj)}(h``irq_rerun`` Flag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resume h](j)}(h ``irq_rerun``h]j)}(hj2yh]h irq_rerun}(hj4yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0yubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMvhj,yubj)}(hhh]jX)}(htFlag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resumeh]htFlag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resume}(hjKyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhjHyubah}(h]h ]h"]h$]h&]uh1jhj,yubeh}(h]h ]h"]h$]h&]uh1jhjGyhMvhj"subj)}(h```default_timestamp`` Flag indicating whether we are using the phy timestamp as the default one h](j)}(h``default_timestamp``h]j)}(hjlyh]hdefault_timestamp}(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.hhMxhjfyubj)}(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}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhjyubah}(h]h ]h"]h$]h&]uh1jhjfyubeh}(h]h ]h"]h$]h&]uh1jhjyhMxhj"subj)}(h-``rate_matching`` Current rate matching mode h](j)}(h``rate_matching``h]j)}(hjyh]h rate_matching}(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)}(hCurrent rate matching modeh]hCurrent rate matching mode}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMlhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMlhj"subj)}(h3``state`` State of the PHY for management purposes h](j)}(h ``state``h]j)}(hjyh]hstate}(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.hhMIhjyubj)}(hhh]jX)}(h(State of the PHY for management purposesh]h(State of the PHY for management purposes}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMIhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMIhj"subj)}(h<``dev_flags`` Device-specific flags used by the PHY driver. h](j)}(h ``dev_flags``h]j)}(hjzh]h dev_flags}(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.hhMJhjzubj)}(hhh]jX)}(h-Device-specific flags used by the PHY driver.h]h-Device-specific flags used by the PHY driver.}(hj1zhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-zhMJhj.zubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhj-zhMJhj"subj)}(h)``interface`` enum phy_interface_t value h](j)}(h ``interface``h]j)}(hjQzh]h interface}(hjSzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOzubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMyhjKzubj)}(hhh]jX)}(henum phy_interface_t valueh]henum phy_interface_t value}(hjjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfzhMyhjgzubah}(h]h ]h"]h$]h&]uh1jhjKzubeh}(h]h ]h"]h$]h&]uh1jhjfzhMyhj"subj)}(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)}(hjzh]hpossible_interfaces}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM{hjzubj)}(hhh]jX)}(h]bitmap if interface modes that the attached PHY will switch between depending on media speed.h]h]bitmap if interface modes that the attached PHY will switch between depending on media speed.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM{hj"subj)}(h``speed`` Current link speed h](j)}(h ``speed``h]j)}(hjzh]hspeed}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[hjzubj)}(hhh]jX)}(hCurrent link speedh]hCurrent link speed}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhM[hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM[hj"subj)}(h``duplex`` Current duplex h](j)}(h ``duplex``h]j)}(hjzh]hduplex}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hjzubj)}(hhh]jX)}(hCurrent duplexh]hCurrent duplex}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hM\hj{ubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhj{hM\hj"subj)}(h``port`` Current port h](j)}(h``port``h]j)}(hj6{h]hport}(hj8{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hj0{ubj)}(hhh]jX)}(h Current porth]h Current port}(hjO{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjK{hM]hjL{ubah}(h]h ]h"]h$]h&]uh1jhj0{ubeh}(h]h ]h"]h$]h&]uh1jhjK{hM]hj"subj)}(h8``master_slave_get`` Current master/slave advertisement h](j)}(h``master_slave_get``h]j)}(hjo{h]hmaster_slave_get}(hjq{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhji{ubj)}(hhh]jX)}(h"Current master/slave advertisementh]h"Current master/slave advertisement}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hMhj{ubah}(h]h ]h"]h$]h&]uh1jhji{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj"subj)}(h?``master_slave_set`` User requested master/slave configuration h](j)}(h``master_slave_set``h]j)}(hj{h]hmaster_slave_set}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj{ubj)}(hhh]jX)}(h)User requested master/slave configurationh]h)User requested master/slave 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"subj)}(h:``master_slave_state`` Current master/slave configuration h](j)}(h``master_slave_state``h]j)}(hj{h]hmaster_slave_state}(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"Current master/slave configurationh]h"Current master/slave 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"subj)}(h3``supported`` Combined MAC/PHY supported linkmodes h](j)}(h ``supported``h]j)}(hj|h]h supported}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`hj|ubj)}(hhh]jX)}(h$Combined MAC/PHY supported linkmodesh]h$Combined MAC/PHY supported linkmodes}(hj3|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/|hM`hj0|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj/|hM`hj"subj)}(h/``advertising`` Currently advertised linkmodes h](j)}(h``advertising``h]j)}(hjS|h]h advertising}(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.hhMahjM|ubj)}(hhh]jX)}(hCurrently advertised linkmodesh]hCurrently advertised linkmodes}(hjl|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjh|hMahji|ubah}(h]h ]h"]h$]h&]uh1jhjM|ubeh}(h]h ]h"]h$]h&]uh1jhjh|hMahj"subj)}(h=``lp_advertising`` Current link partner advertised linkmodes h](j)}(h``lp_advertising``h]j)}(hj|h]hlp_advertising}(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.hhMhhj|ubj)}(hhh]jX)}(h)Current link partner advertised linkmodesh]h)Current link partner advertised linkmodes}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMhhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMhhj"subj)}(h8``adv_old`` Saved advertised while power saving for WoL h](j)}(h ``adv_old``h]j)}(hj|h]hadv_old}(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.hhMbhj|ubj)}(hhh]jX)}(h+Saved advertised while power saving for WoLh]h+Saved advertised while power saving for WoL}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMbhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMbhj"subj)}(h.``supported_eee`` supported PHY EEE linkmodes h](j)}(h``supported_eee``h]j)}(hj|h]h supported_eee}(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.hhMchj|ubj)}(hhh]jX)}(hsupported PHY EEE linkmodesh]hsupported PHY EEE linkmodes}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hMchj}ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj}hMchj"subj)}(h7``advertising_eee`` Currently advertised EEE linkmodes h](j)}(h``advertising_eee``h]j)}(hj7}h]hadvertising_eee}(hj9}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMdhj1}ubj)}(hhh]jX)}(h"Currently advertised EEE linkmodesh]h"Currently advertised EEE linkmodes}(hjP}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjL}hMdhjM}ubah}(h]h ]h"]h$]h&]uh1jhj1}ubeh}(h]h ]h"]h$]h&]uh1jhjL}hMdhj"subj)}(hL``eee_disabled_modes`` Energy efficient ethernet modes not to be advertised h](j)}(h``eee_disabled_modes``h]j)}(hjp}h]heee_disabled_modes}(hjr}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhjj}ubj)}(hhh]jX)}(h4Energy efficient ethernet modes not to be advertisedh]h4Energy efficient ethernet modes not to be advertised}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hMjhj}ubah}(h]h ]h"]h$]h&]uh1jhjj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hMjhj"subj)}(h<``enable_tx_lpi`` When True, MAC should transmit LPI to PHY h](j)}(h``enable_tx_lpi``h]j)}(hj}h]h enable_tx_lpi}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehj}ubj)}(hhh]jX)}(h)When True, MAC should transmit LPI to PHYh]h)When True, MAC should transmit LPI to PHY}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hMehj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hMehj"subj)}(hM``eee_active`` phylib private state, indicating that EEE has been negotiated h](j)}(h``eee_active``h]j)}(hj}h]h eee_active}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMfhj}ubj)}(hhh]jX)}(h=phylib private state, indicating that EEE has been negotiatedh]h=phylib private state, indicating that EEE has been negotiated}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hMfhj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hMfhj"subj)}(h&``eee_cfg`` User configuration of EEE h](j)}(h ``eee_cfg``h]j)}(hj~h]heee_cfg}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghj~ubj)}(hhh]jX)}(hUser configuration of EEEh]hUser configuration of EEE}(hj4~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0~hMghj1~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj0~hMghj"subj)}(h:``host_interfaces`` PHY interface modes supported by host h](j)}(h``host_interfaces``h]j)}(hjT~h]hhost_interfaces}(hjV~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMihjN~ubj)}(hhh]jX)}(h%PHY interface modes supported by hosth]h%PHY interface modes supported by host}(hjm~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhji~hMihjj~ubah}(h]h ]h"]h$]h&]uh1jhjN~ubeh}(h]h ]h"]h$]h&]uh1jhji~hMihj"subj)}(h+``phy_led_triggers`` Array of LED triggers h](j)}(h``phy_led_triggers``h]j)}(hj~h]hphy_led_triggers}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj~ubj)}(hhh]jX)}(hArray of LED triggersh]hArray of LED triggers}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj"subj)}(hD``phy_num_led_triggers`` Number of triggers in **phy_led_triggers** h](j)}(h``phy_num_led_triggers``h]j)}(hj~h]hphy_num_led_triggers}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj~ubj)}(hhh]jX)}(h*Number of triggers in **phy_led_triggers**h](hNumber of triggers in }(hj~hhhNhNubj)}(h**phy_led_triggers**h]hphy_led_triggers}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jWhj~hMhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj"subj)}(h3``last_triggered`` last LED trigger for link speed h](j)}(h``last_triggered``h]j)}(hj h]hlast_triggered}(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.hhMhjubj)}(hhh]jX)}(hlast LED trigger for link speedh]hlast LED trigger for link speed}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj"subj)}(h2``led_link_trigger`` LED trigger for link up/down h](j)}(h``led_link_trigger``h]j)}(hjFh]hled_link_trigger}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj@ubj)}(hhh]jX)}(hLED trigger for link up/downh]hLED trigger for link up/down}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj"subj)}(h$``leds`` list of PHY LED structures h](j)}(h``leds``h]j)}(hjh]hleds}(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)}(hlist of PHY LED structuresh]hlist of PHY LED structures}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhj"subj)}(h7``irq`` IRQ number of the PHY's interrupt (-1 if none) h](j)}(h``irq``h]j)}(hjh]hirq}(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)}(h.IRQ number of the PHY's interrupt (-1 if none)h]h0IRQ number of the PHY’s interrupt (-1 if none)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhj"subj)}(h(``priv`` Pointer to driver private data h](j)}(h``priv``h]j)}(hjh]hpriv}(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 driver private datah]hPointer to driver private data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj"subj)}(hA``shared`` Pointer to private data shared by phys in one package h](j)}(h ``shared``h]j)}(hj*h]hshared}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj$ubj)}(hhh]jX)}(h5Pointer to private data shared by phys in one packageh]h5Pointer to private data shared by phys in one package}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj"subj)}(h.``skb`` Netlink message for cable diagnostics h](j)}(h``skb``h]j)}(hjch]hskb}(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)}(h%Netlink message for cable diagnosticsh]h%Netlink message for cable diagnostics}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhM|hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhM|hj"subj)}(h.``ehdr`` nNtlink header for cable diagnostics h](j)}(h``ehdr``h]j)}(hjh]hehdr}(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$nNtlink header for cable diagnosticsh]h$nNtlink header for cable diagnostics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~hj"subj)}(h1``nest`` Netlink nest used for cable diagnostics h](j)}(h``nest``h]j)}(hjՀh]hnest}(hj׀hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӀubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hjπubj)}(hhh]jX)}(h'Netlink nest used for cable diagnosticsh]h'Netlink nest used for cable diagnostics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjπubeh}(h]h ]h"]h$]h&]uh1jhjhM}hj"subj)}(h-``state_queue`` Work queue for state machine h](j)}(h``state_queue``h]j)}(hjh]h state_queue}(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.hhMhjubj)}(hhh]jX)}(hWork queue for state machineh]hWork queue for state machine}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj"subj)}(h/``lock`` Mutex for serialization access to PHY h](j)}(h``lock``h]j)}(hjGh]hlock}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjAubj)}(hhh]jX)}(h%Mutex for serialization access to PHYh]h%Mutex for serialization access to PHY}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj"subj)}(hK``sfp_bus_attached`` Flag indicating whether the SFP bus has been attached h](j)}(h``sfp_bus_attached``h]j)}(hjh]hsfp_bus_attached}(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.hhMShjzubj)}(hhh]jX)}(h5Flag indicating whether the SFP bus has been attachedh]h5Flag indicating whether the SFP bus has been attached}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMShj"subj)}(h6``sfp_bus`` SFP bus attached to this PHY's fiber port h](j)}(h ``sfp_bus``h]j)}(hjh]hsfp_bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjubj)}(hhh]jX)}(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΁hMThjρubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj΁hMThj"subj)}(h5``phylink`` Pointer to phylink instance for this PHY h](j)}(h ``phylink``h]j)}(hjh]hphylink}(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.hhMRhjubj)}(hhh]jX)}(h(Pointer to phylink instance for this PHYh]h(Pointer to phylink instance for this PHY}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhj"subj)}(h@``attached_dev`` The attached enet driver's device instance ptr h](j)}(h``attached_dev``h]j)}(hj+h]h attached_dev}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhj%ubj)}(hhh]jX)}(h.The attached enet driver's device instance ptrh]h0The attached enet driver’s device instance ptr}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMUhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMUhj"subj)}(h-``mii_ts`` Pointer to time stamper callbacks h](j)}(h ``mii_ts``h]j)}(hjdh]hmii_ts}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj^ubj)}(hhh]jX)}(h!Pointer to time stamper callbacksh]h!Pointer to time stamper callbacks}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj"subj)}(h<``psec`` Pointer to Power Sourcing Equipment control struct h](j)}(h``psec``h]j)}(hjh]hpsec}(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)}(h2Pointer to Power Sourcing Equipment control structh]h2Pointer to Power Sourcing Equipment control struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj"subj)}(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.hhMohjЂubj)}(hhh]jX)}(hCurrent crossoverh]hCurrent crossover}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjЂubeh}(h]h ]h"]h$]h&]uh1jhjhMohj"subj)}(h(``mdix_ctrl`` User setting of crossover h](j)}(h ``mdix_ctrl``h]j)}(hjh]h mdix_ctrl}(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.hhMphj ubj)}(hhh]jX)}(hUser setting of crossoverh]hUser setting of crossover}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMphj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMphj"subj)}(hD``pma_extable`` Cached value of PMA/PMD Extended Abilities Register h](j)}(h``pma_extable``h]j)}(hjHh]h pma_extable}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMqhjBubj)}(hhh]jX)}(h3Cached value of PMA/PMD Extended Abilities Registerh]h3Cached value of PMA/PMD Extended Abilities Register}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMqhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMqhj"subj)}(h3``link_down_events`` Number of times link was lost h](j)}(h``link_down_events``h]j)}(hjh]hlink_down_events}(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)}(hNumber of times link was losth]hNumber of times link was lost}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj"subj)}(hI``phy_link_change`` Callback for phylink for notification of link change h](j)}(h``phy_link_change``h]j)}(hjh]hphy_link_change}(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)}(h4Callback for phylink for notification of link changeh]h4Callback for phylink for notification of link change}(hjӃhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjσhMXhjЃubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjσhMXhj"subj)}(h[``adjust_link`` Callback for the enet controller to respond to changes: in the link state. h](j)}(h``adjust_link``h]j)}(hjh]h adjust_link}(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.hhMWhjubj)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhj"subj)}(h&``macsec_ops`` MACsec offloading ops. h](j)}(h``macsec_ops``h]j)}(hj-h]h macsec_ops}(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.hhMYhj'ubj)}(hhh]jX)}(hMACsec offloading ops.h]hMACsec offloading ops.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMYhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMYhj"subj)}(hN``oatc14_sqi_capability`` SQI capability information for OATC14 10Base-T1S PHYh](j)}(h``oatc14_sqi_capability``h]j)}(hjfh]hoatc14_sqi_capability}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj`ubj)}(hhh]jX)}(h4SQI capability information for OATC14 10Base-T1S PHYh]h4SQI capability information for OATC14 10Base-T1S PHY}(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&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj"subeh}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubjX)}(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.hhMhj khhubj )}(h- Bits [15:0] are free to use by the PHY driver to communicate driver specific behavior. - Bits [23:16] are currently reserved for future use. - Bits [31:24] are reserved for defining generic PHY driver behavior. h]jE)}(hhh](jE)}(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.}(hjʄhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhjƄubah}(h]h ]h"]h$]h&]uh1jEhjÄubjE)}(h3Bits [23:16] are currently reserved for future use.h]jX)}(hjh]h3Bits [23:16] are currently reserved for future use.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMLhj߄ubah}(h]h ]h"]h$]h&]uh1jEhjÄubjE)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMMhjubah}(h]h ]h"]h$]h&]uh1jEhjÄubeh}(h]h ]h"]h$]h&]j]Fj*uh1jEhj؄hMJhjubah}(h]h ]h"]h$]h&]uh1j hj؄hMJhj khhubjX)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMPhj khhubjX)}(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.hhMThj khhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_tdr_config (C struct)c.phy_tdr_confighNtauh1hhj khhhNhNubh)}(hhh](h)}(hphy_tdr_configh]h)}(hstruct phy_tdr_configh](h)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMZubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhhhj`hMZubj)}(hphy_tdr_configh]j%)}(hjMh]hphy_tdr_config}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOhhhj`hMZubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhj`hMZubah}(h]jFah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`hMZhjHhhubjS)}(hhh]jX)}(hConfiguration of a TDR raw testh]hConfiguration of a TDR raw test}(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&]uh1jRhjHhhhj`hMZubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hjubjU)}(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; };}hj҅sbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM1hjubjX)}(h **Members**h]j)}(hjh]hMembers}(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.hhM8hjubj)}(hhh](j)}(h3``first`` Distance for first data collection point h](j)}(h ``first``h]j)}(hjh]hfirst}(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(Distance for first data collection pointh]h(Distance for first data collection point}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(h1``last`` Distance for last data collection point h](j)}(h``last``h]j)}(hj;h]hlast}(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.hhM/hj5ubj)}(hhh]jX)}(h'Distance for last data collection pointh]h'Distance for last data collection point}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhM/hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhM/hjubj)}(h-``step`` Step between data collection points h](j)}(h``step``h]j)}(hjth]hstep}(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.hhM0hjnubj)}(hhh]jX)}(h#Step between data collection pointsh]h#Step between data collection points}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjubj)}(h2``pair`` Bitmap of cable pairs to collect data forh](j)}(h``pair``h]j)}(hjh]hpair}(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.hhM0hjubj)}(hhh]jX)}(h)Bitmap of cable pairs to collect data forh]h)Bitmap of cable pairs to collect data for}(hjƆhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM1hjÆubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj†hM0hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubjX)}(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.hhM4hj khhubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM1hj khhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlink_inband_signalling (C enum)c.link_inband_signallinghNtauh1hhj khhhNhNubh)}(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.hhM9ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhhj;hM9ubj)}(hlink_inband_signallingh]j%)}(hj(h]hlink_inband_signalling}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj;hM9ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&hhhj;hM9ubah}(h]j!ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;hM9hj#hhubjS)}(hhh]jX)}(h+in-band signalling modes that are supportedh]h+in-band signalling modes that are supported}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hjmhhubah}(h]h ]h"]h$]h&]uh1jRhj#hhhj;hM9ubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(hjh]h Constants}(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.hhMDhjubj)}(hhh](j)}(h;``LINK_INBAND_DISABLE`` in-band signalling can be disabled h](j)}(h``LINK_INBAND_DISABLE``h]j)}(hjh]hLINK_INBAND_DISABLE}(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.hhMGhjubj)}(hhh]jX)}(h"in-band signalling can be disabledh]h"in-band signalling can be disabled}(hjʇhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjƇhMGhjLJubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƇhMGhjubj)}(hH``LINK_INBAND_ENABLE`` in-band signalling can be enabled without bypass h](j)}(h``LINK_INBAND_ENABLE``h]j)}(hjh]hLINK_INBAND_ENABLE}(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.hhMJhjubj)}(hhh]jX)}(h0in-band signalling can be enabled without bypassh]h0in-band signalling can be enabled without bypass}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubj)}(hD``LINK_INBAND_BYPASS`` in-band signalling can be enabled with bypassh](j)}(h``LINK_INBAND_BYPASS``h]j)}(hj#h]hLINK_INBAND_BYPASS}(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.hhMLhjubj)}(hhh]jX)}(h-in-band signalling can be enabled with bypassh]h-in-band signalling can be enabled with bypass}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMLhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubjX)}(h**Description**h]j)}(hjfh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOhj khhubjX)}(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|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMEhj khhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_cfg (C struct)c.phy_plca_cfghNtauh1hhj khhhNhNubh)}(hhh](h)}(h phy_plca_cfgh]h)}(hstruct phy_plca_cfgh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMMubj)}(h phy_plca_cfgh]j%)}(hjh]h phy_plca_cfg}(hjĈhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMMhjhhubjS)}(hhh]jX)}(hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.h]hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX**Definition**:: struct phy_plca_cfg { int version; int enabled; int node_id; int node_cnt; int to_tmr; int burst_cnt; int burst_tmr; }; **Members** ``version`` read-only PLCA register map version. -1 = not available. Ignored when setting the configuration. Format is the same as reported by the PLCA IDVER register (31.CA00). -1 = not available. ``enabled`` PLCA configured mode (enabled/disabled). -1 = not available / don't set. 0 = disabled, anything else = enabled. ``node_id`` the PLCA local node identifier. -1 = not available / don't set. Allowed values [0 .. 254]. 255 = node disabled. ``node_cnt`` the PLCA node count (maximum number of nodes having a TO). Only meaningful for the coordinator (node_id = 0). -1 = not available / don't set. Allowed values [1 .. 255]. ``to_tmr`` The value of the PLCA to_timer in bit-times, which determines the PLCA transmit opportunity window opening. See IEEE802.3 Clause 148 for more details. The to_timer shall be set equal over all nodes. -1 = not available / don't set. Allowed values [0 .. 255]. ``burst_cnt`` controls how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don't set. Allowed values [0 .. 255]. ``burst_tmr`` controls how many bit times to wait for the MAC to send a new frame before interrupting the burst. This value should be set to a value greater than the MAC inter-packet gap (which is typically 96 bits). -1 = not available / don't set. Allowed values [0 .. 255].h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhjubjU)}(hstruct phy_plca_cfg { int version; int enabled; int node_id; int node_cnt; int to_tmr; int burst_cnt; int burst_tmr; };h]hstruct phy_plca_cfg { int version; int enabled; int node_id; int node_cnt; int to_tmr; int burst_cnt; int burst_tmr; };}hj#sbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMXhjubjX)}(h **Members**h]j)}(hj4h]hMembers}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMbhjubj)}(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)}(hjSh]hversion}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMXhjMubj)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMXhjJubj)}(h|``enabled`` PLCA configured mode (enabled/disabled). -1 = not available / don't set. 0 = disabled, anything else = enabled. h](j)}(h ``enabled``h]j)}(hjh]henabled}(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)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjJubj)}(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)}(hjljh]hnode_id}(hjɉhhhNhNubah}(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.hhM\hjubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[hj݉ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj܉hM\hjJubj)}(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)}(hjh]hnode_cnt}(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 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].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM_hjJubj)}(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)}(hj;h]hto_tmr}(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.hhMchj5ubj)}(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].}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMchjJubj)}(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)}(hjuh]h burst_cnt}(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.hhMhhjoubj)}(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].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMdhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjJubj)}(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)}(hjh]h burst_tmr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMkhjubj)}(hhh]jX)}(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].}(hjȊhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMihjŊubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjĊhMkhjJubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubjX)}(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.hhMohj khhubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMlhj khhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_status (C struct)c.phy_plca_statushNtauh1hhj khhhNhNubh)}(hhh](h)}(hphy_plca_statush]h)}(hstruct phy_plca_statush](h)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMsubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,hhhj=hMsubj)}(hphy_plca_statush]j%)}(hj*h]hphy_plca_status}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhj=hMsubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj(hhhj=hMsubah}(h]j#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=hMshj%hhubjS)}(hhh]jX)}(hPStatus of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.h]hPStatus of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM|hjohhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhj=hMsubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjU)}(h)struct phy_plca_status { bool pst; };h]h)struct phy_plca_status { bool pst; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(h **Members**h]j)}(hjh]hMembers}(hj‹hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(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)}(hjߋh]hpst}(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)}(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.}(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&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubjX)}(h**Description**h]j)}(hj!h]h Description}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj khhubjX)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj khhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_led (C struct) c.phy_ledhNtauh1hhj khhhNhNubh)}(hhh](h)}(hphy_ledh]h)}(hstruct phy_ledh](h)}(hjh]hstruct}(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 }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhjlhMubj)}(hphy_ledh]j%)}(hjYh]hphy_led}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[hhhjlhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjlhMubah}(h]jRah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhMhjThhubjS)}(hhh]jX)}(hAn LED driven by the PHYh]hAn LED driven by the PHY}(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&]uh1jRhjThhhjlhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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}(hjŌhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjU)}(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; };}hjތsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(h **Members**h]j)}(hjh]hMembers}(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``list`` List of LEDs h](j)}(h``list``h]j)}(hjh]hlist}(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.hhMhjubj)}(hhh]jX)}(h List of LEDsh]h List of LEDs}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubj)}(h'``phydev`` PHY this LED is attached to h](j)}(h ``phydev``h]j)}(hjGh]hphydev}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjAubj)}(hhh]jX)}(hPHY this LED is attached toh]hPHY this LED is attached to}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubj)}(h*``led_cdev`` Standard LED class structure h](j)}(h ``led_cdev``h]j)}(hjh]hled_cdev}(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.hhMhjzubj)}(hhh]jX)}(hStandard LED class structureh]hStandard LED class structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``index`` Number of the LEDh](j)}(h ``index``h]j)}(hjh]hindex}(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)}(hNumber of the LEDh]hNumber of the LED}(hjҍhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjύubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj΍hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mse_capability (C struct)c.phy_mse_capabilityhNtauh1hhj khhhNhNubh)}(hhh](h)}(hphy_mse_capabilityh]h)}(hstruct phy_mse_capabilityh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(hphy_mse_capabilityh]j%)}(hj h]hphy_mse_capability}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhjhhubjS)}(hhh]jX)}(h=Capabilities of Mean Square Error (MSE) measurement interfaceh]h=Capabilities of Mean Square Error (MSE) measurement interface}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjmjxjmjyjzj{uh1hhhhj khNhNubj})}(hX[**Definition**:: struct phy_mse_capability { u64 max_average_mse; u64 max_peak_mse; u64 refresh_rate_ps; u64 num_symbols; u32 supported_caps; }; **Members** ``max_average_mse`` The maximum value for an average MSE snapshot. This defines the scale for the measurement. If the PHY_MSE_CAP_AVG capability is supported, this value MUST be greater than 0. (vendor-specific units). ``max_peak_mse`` The maximum value for a peak MSE snapshot. If either PHY_MSE_CAP_PEAK or PHY_MSE_CAP_WORST_PEAK is supported, this value MUST be greater than 0. (vendor-specific units). ``refresh_rate_ps`` The typical interval, in picoseconds, between hardware updates of the MSE values. This is an estimate, and callers should not assume synchronous sampling. (vendor-specific units). ``num_symbols`` The number of symbols aggregated per hardware sample to calculate the MSE. (vendor-specific units). ``supported_caps`` A bitmask of PHY_MSE_CAP_* values indicating which measurement types (e.g., average, peak) and channels (e.g., per-pair or link-wide) are supported.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh:}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjqubjU)}(hstruct phy_mse_capability { u64 max_average_mse; u64 max_peak_mse; u64 refresh_rate_ps; u64 num_symbols; u32 supported_caps; };h]hstruct phy_mse_capability { u64 max_average_mse; u64 max_peak_mse; u64 refresh_rate_ps; u64 num_symbols; u32 supported_caps; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjqubjX)}(h **Members**h]j)}(hjh]hMembers}(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.hhMhjqubj)}(hhh](j)}(h``max_average_mse`` The maximum value for an average MSE snapshot. This defines the scale for the measurement. If the PHY_MSE_CAP_AVG capability is supported, this value MUST be greater than 0. (vendor-specific units). h](j)}(h``max_average_mse``h]j)}(hjŽh]hmax_average_mse}(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.hhMhjubj)}(hhh]jX)}(hThe maximum value for an average MSE snapshot. This defines the scale for the measurement. If the PHY_MSE_CAP_AVG capability is supported, this value MUST be greater than 0. (vendor-specific units).h]hThe maximum value for an average MSE snapshot. This defines the scale for the measurement. If the PHY_MSE_CAP_AVG capability is supported, this value MUST be greater than 0. (vendor-specific units).}(hjێhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj؎ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj׎hMhjubj)}(h``max_peak_mse`` The maximum value for a peak MSE snapshot. If either PHY_MSE_CAP_PEAK or PHY_MSE_CAP_WORST_PEAK is supported, this value MUST be greater than 0. (vendor-specific units). h](j)}(h``max_peak_mse``h]j)}(hjh]h max_peak_mse}(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 maximum value for a peak MSE snapshot. If either PHY_MSE_CAP_PEAK or PHY_MSE_CAP_WORST_PEAK is supported, this value MUST be greater than 0. (vendor-specific units).h]hThe maximum value for a peak MSE snapshot. If either PHY_MSE_CAP_PEAK or PHY_MSE_CAP_WORST_PEAK is supported, this value MUST be greater than 0. (vendor-specific units).}(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&]uh1jhjhMhjubj)}(h``refresh_rate_ps`` The typical interval, in picoseconds, between hardware updates of the MSE values. This is an estimate, and callers should not assume synchronous sampling. (vendor-specific units). h](j)}(h``refresh_rate_ps``h]j)}(hj6h]hrefresh_rate_ps}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj0ubj)}(hhh]jX)}(hThe typical interval, in picoseconds, between hardware updates of the MSE values. This is an estimate, and callers should not assume synchronous sampling. (vendor-specific units).h]hThe typical interval, in picoseconds, between hardware updates of the MSE values. This is an estimate, and callers should not assume synchronous sampling. (vendor-specific units).}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjubj)}(ht``num_symbols`` The number of symbols aggregated per hardware sample to calculate the MSE. (vendor-specific units). h](j)}(h``num_symbols``h]j)}(hjph]h num_symbols}(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.hhMhjjubj)}(hhh]jX)}(hcThe number of symbols aggregated per hardware sample to calculate the MSE. (vendor-specific units).h]hcThe number of symbols aggregated per hardware sample to calculate the MSE. (vendor-specific units).}(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&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``supported_caps`` A bitmask of PHY_MSE_CAP_* values indicating which measurement types (e.g., average, peak) and channels (e.g., per-pair or link-wide) are supported.h](j)}(h``supported_caps``h]j)}(hjh]hsupported_caps}(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)}(hA bitmask of PHY_MSE_CAP_* values indicating which measurement types (e.g., average, peak) and channels (e.g., per-pair or link-wide) are supported.h]hA bitmask of PHY_MSE_CAP_* values indicating which measurement types (e.g., average, peak) and channels (e.g., per-pair or link-wide) are supported.}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubjX)}(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.hhMhj khhubjX)}(hStandardization notes:h]hStandardization notes:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj khhubjE)}(hhh](jE)}(hPresence of MSE/SQI/pMSE is defined by OPEN Alliance specs, but numeric scaling, refresh/update rate and aggregation windows are not fixed and are vendor-/product-specific. (OA 100BASE-T1 TC1 v1.0 6.1.*; OA 1000BASE-T1 TC12 v2.2 6.1.*) h]jX)}(hPresence of MSE/SQI/pMSE is defined by OPEN Alliance specs, but numeric scaling, refresh/update rate and aggregation windows are not fixed and are vendor-/product-specific. (OA 100BASE-T1 TC1 v1.0 6.1.*; OA 1000BASE-T1 TC12 v2.2 6.1.*)h]hPresence of MSE/SQI/pMSE is defined by OPEN Alliance specs, but numeric scaling, refresh/update rate and aggregation windows are not fixed and are vendor-/product-specific. (OA 100BASE-T1 TC1 v1.0 6.1.*; OA 1000BASE-T1 TC12 v2.2 6.1.*)}(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&]uh1jEhjubjE)}(hTypical recommendations: 2^16 symbols and 0..511 scaling for MSE; pMSE only defined for 100BASE-T1 (sliding window example), others are vendor extensions. Drivers must report actual scale/limits here. h]jX)}(hTypical recommendations: 2^16 symbols and 0..511 scaling for MSE; pMSE only defined for 100BASE-T1 (sliding window example), others are vendor extensions. Drivers must report actual scale/limits here.h]hTypical recommendations: 2^16 symbols and 0..511 scaling for MSE; pMSE only defined for 100BASE-T1 (sliding window example), others are vendor extensions. Drivers must report actual scale/limits here.}(hj2hhhNhNubah}(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&]uh1jEhjubeh}(h]h ]h"]h$]h&]j]Fj*uh1jEhj'hMhj khhubjX)}(hX Describes the MSE measurement capabilities for the current link mode. These properties are dynamic and may change when link settings are modified. Callers should re-query this capability after any link state change to ensure they have the most up-to-date information.h]hX Describes the MSE measurement capabilities for the current link mode. These properties are dynamic and may change when link settings are modified. Callers should re-query this capability after any link state change to ensure they have the most up-to-date information.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj khhubjX)}(hXCallers should only request measurements for channels and types that are indicated as supported by the **supported_caps** bitmask. If **supported_caps** is 0, the device provides no MSE diagnostics, and driver operations should typically return -EOPNOTSUPP.h](hgCallers should only request measurements for channels and types that are indicated as supported by the }(hj\hhhNhNubj)}(h**supported_caps**h]hsupported_caps}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh bitmask. If }(hj\hhhNhNubj)}(h**supported_caps**h]hsupported_caps}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubhi is 0, the device provides no MSE diagnostics, and driver operations should typically return -EOPNOTSUPP.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj khhubjX)}(hSnapshot values for average and peak MSE can be normalized to a 0..1 ratio by dividing the raw snapshot by the corresponding **max_average_mse** or **max_peak_mse** value.h](h}Snapshot values for average and peak MSE can be normalized to a 0..1 ratio by dividing the raw snapshot by the corresponding }(hjhhhNhNubj)}(h**max_average_mse**h]hmax_average_mse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh or }(hjhhhNhNubj)}(h**max_peak_mse**h]h max_peak_mse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh value.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj khhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mse_snapshot (C struct)c.phy_mse_snapshothNtauh1hhj khhhNhNubh)}(hhh](h)}(hphy_mse_snapshoth]h)}(hstruct phy_mse_snapshoth](h)}(hjh]hstruct}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjאhhhjhMubj)}(hphy_mse_snapshoth]j%)}(hjՐh]hphy_mse_snapshot}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjאhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjӐhhhjhMubah}(h]jΐah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjАhhubjS)}(hhh]jX)}(h1A snapshot of Mean Square Error (MSE) diagnosticsh]h1A snapshot of Mean Square Error (MSE) diagnostics}(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&]uh1jRhjАhhhjhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhj khNhNubj})}(hX**Definition**:: struct phy_mse_snapshot { u64 average_mse; u64 peak_mse; u64 worst_peak_mse; }; **Members** ``average_mse`` The average MSE value over the measurement window. OPEN Alliance references MSE as a DCQ metric; recommends 2^16 symbols and 0..511 scaling. Exact scale and refresh are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.1; 1000BASE-T1 TC12 v2.2 6.1.1). ``peak_mse`` The peak MSE value observed within the measurement window. For 100BASE-T1, "pMSE" is optional and may be implemented via a sliding 128-symbol window with periodic capture; not standardized for 1000BASE-T1. (100BASE-T1 TC1 v1.0 6.1.3, Table "DCQ.peakMSE"). ``worst_peak_mse`` A latched high-water mark of the peak MSE since last read (read-to-clear if implemented). OPEN Alliance shows a latched "worst case peak MSE" for 100BASE-T1 pMSE; availability/semantics outside that are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.3, DCQ.peakMSE high byte; 1000BASE-T1 TC12 v2.2 treats DCQ details as vendor-specific.)h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjAhhhNhNubah}(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.hhM*hj9ubjU)}(h[struct phy_mse_snapshot { u64 average_mse; u64 peak_mse; u64 worst_peak_mse; };h]h[struct phy_mse_snapshot { u64 average_mse; u64 peak_mse; u64 worst_peak_mse; };}hjZsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM,hj9ubjX)}(h **Members**h]j)}(hjkh]hMembers}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2hj9ubj)}(hhh](j)}(hX``average_mse`` The average MSE value over the measurement window. OPEN Alliance references MSE as a DCQ metric; recommends 2^16 symbols and 0..511 scaling. Exact scale and refresh are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.1; 1000BASE-T1 TC12 v2.2 6.1.1). h](j)}(h``average_mse``h]j)}(hjh]h average_mse}(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.hhM2hjubj)}(hhh]jX)}(hThe average MSE value over the measurement window. OPEN Alliance references MSE as a DCQ metric; recommends 2^16 symbols and 0..511 scaling. Exact scale and refresh are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.1; 1000BASE-T1 TC12 v2.2 6.1.1).h]hThe average MSE value over the measurement window. OPEN Alliance references MSE as a DCQ metric; recommends 2^16 symbols and 0..511 scaling. Exact scale and refresh are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.1; 1000BASE-T1 TC12 v2.2 6.1.1).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubj)}(hX ``peak_mse`` The peak MSE value observed within the measurement window. For 100BASE-T1, "pMSE" is optional and may be implemented via a sliding 128-symbol window with periodic capture; not standardized for 1000BASE-T1. (100BASE-T1 TC1 v1.0 6.1.3, Table "DCQ.peakMSE"). h](j)}(h ``peak_mse``h]j)}(hjđh]hpeak_mse}(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.hhM7hjubj)}(hhh]jX)}(hThe peak MSE value observed within the measurement window. For 100BASE-T1, "pMSE" is optional and may be implemented via a sliding 128-symbol window with periodic capture; not standardized for 1000BASE-T1. (100BASE-T1 TC1 v1.0 6.1.3, Table "DCQ.peakMSE").h]hXThe peak MSE value observed within the measurement window. For 100BASE-T1, “pMSE” is optional and may be implemented via a sliding 128-symbol window with periodic capture; not standardized for 1000BASE-T1. (100BASE-T1 TC1 v1.0 6.1.3, Table “DCQ.peakMSE”).}(hjݑhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4hjڑubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjّhM7hjubj)}(hX_``worst_peak_mse`` A latched high-water mark of the peak MSE since last read (read-to-clear if implemented). OPEN Alliance shows a latched "worst case peak MSE" for 100BASE-T1 pMSE; availability/semantics outside that are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.3, DCQ.peakMSE high byte; 1000BASE-T1 TC12 v2.2 treats DCQ details as vendor-specific.)h](j)}(h``worst_peak_mse``h]j)}(hjh]hworst_peak_mse}(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)}(hXLA latched high-water mark of the peak MSE since last read (read-to-clear if implemented). OPEN Alliance shows a latched "worst case peak MSE" for 100BASE-T1 pMSE; availability/semantics outside that are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.3, DCQ.peakMSE high byte; 1000BASE-T1 TC12 v2.2 treats DCQ details as vendor-specific.)h]hXPA latched high-water mark of the peak MSE since last read (read-to-clear if implemented). OPEN Alliance shows a latched “worst case peak MSE” for 100BASE-T1 pMSE; availability/semantics outside that are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.3, DCQ.peakMSE high byte; 1000BASE-T1 TC12 v2.2 treats DCQ details as vendor-specific.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjubeh}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubjX)}(h**Description**h]j)}(hjAh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hj khhubjX)}(h]Holds a set of MSE diagnostic values that were all captured from a single measurement window.h]h]Holds a set of MSE diagnostic values that were all captured from a single measurement window.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hj khhubjX)}(h{Values are raw, device-scaled and not normalized. Use struct phy_mse_capability to interpret the scale and sampling window.h]h{Values are raw, device-scaled and not normalized. Use struct phy_mse_capability to interpret the scale and sampling window.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hj khhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_driver (C struct) c.phy_driverhNtauh1hhj khhhNhNubh)}(hhh](h)}(h phy_driverh]h)}(hstruct phy_driverh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM0ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM0ubj)}(h phy_driverh]j%)}(hjh]h phy_driver}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM0ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM0ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM0hjhhubjS)}(hhh]jX)}(h*Driver structure for a particular PHY typeh]h*Driver structure for a particular PHY type}(hjВhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMEhj͒hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM0ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX9**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_mse_capability)(struct phy_device *dev, struct phy_mse_capability *cap); int (*get_mse_snapshot)(struct phy_device *dev, enum phy_mse_channel channel, struct phy_mse_snapshot *snapshot); 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_mse_capability`` Get capabilities and scale of MSE measurement **dev**: PHY device **cap**: Output (filled on success) Fill **cap** with the PHY's MSE capability for the current link mode: scale limits (max_average_mse, max_peak_mse), update interval (refresh_rate_ps), sample length (num_symbols) and the capability bitmask (supported_caps). Implementations may defer capability report until hardware has converged; in that case they should return -EAGAIN and allow the caller to retry later. Return: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if the capability information is not yet available. ``get_mse_snapshot`` Retrieve a snapshot of MSE diagnostic values **dev**: PHY device **channel**: Channel identifier (PHY_MSE_CHANNEL_*) **snapshot**: Output (filled on success) Fill **snapshot** with a correlated set of MSE values from the most recent measurement window. Callers must validate **channel** against supported_caps returned by get_mse_capability(). Drivers must not coerce **channel**; if the requested selector is not implemented by the device or current link mode, the operation must fail. worst_peak_mse is latched and must be treated as read-to-clear. Return: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if measurements are not yet available. ``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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMIhjubjU)}(hXstruct 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_mse_capability)(struct phy_device *dev, struct phy_mse_capability *cap); int (*get_mse_snapshot)(struct phy_device *dev, enum phy_mse_channel channel, struct phy_mse_snapshot *snapshot); 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]hXstruct 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_mse_capability)(struct phy_device *dev, struct phy_mse_capability *cap); int (*get_mse_snapshot)(struct phy_device *dev, enum phy_mse_channel channel, struct phy_mse_snapshot *snapshot); 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 sbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhjubjX)}(h **Members**h]j)}(hjh]hMembers}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h,``mdiodrv`` Data common to all MDIO devices h](j)}(h ``mdiodrv``h]j)}(hj=h]hmdiodrv}(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.hhMHhj7ubj)}(hhh]jX)}(hData common to all MDIO devicesh]hData common to all MDIO devices}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMHhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMHhj4ubj)}(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)}(hjvh]hphy_id}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhjpubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMIhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMKhj4ubj)}(h,``name`` The friendly name of this PHY type h](j)}(h``name``h]j)}(hjh]hname}(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.hhMLhjubj)}(hhh]jX)}(h"The friendly name of this PHY typeh]h"The friendly name of this PHY type}(hjɓhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjœhMLhjƓubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjœhMLhj4ubj)}(h9``phy_id_mask`` Defines the important bits of the phy_id h](j)}(h``phy_id_mask``h]j)}(hjh]h phy_id_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMMhjubj)}(hhh]jX)}(h(Defines the important bits of the phy_idh]h(Defines the important bits of the phy_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhj4ubj)}(hU``features`` A mandatory list of features (speed, duplex, etc) supported by this PHY h](j)}(h ``features``h]j)}(hj"h]hfeatures}(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.hhMOhjubj)}(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}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMNhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMOhj4ubj)}(hY``flags`` A bitfield defining certain other features this PHY supports (like interrupts) h](j)}(h ``flags``h]j)}(hj\h]hflags}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMQhjVubj)}(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)}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMPhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMQhj4ubj)}(h#``driver_data`` Static driver data h](j)}(h``driver_data``h]j)}(hjh]h driver_data}(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.hhMRhjubj)}(hhh]jX)}(hStatic driver datah]hStatic driver data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhj4ubj)}(h4``soft_reset`` Called to issue a PHY software reset h](j)}(h``soft_reset``h]j)}(hjϔh]h soft_reset}(hjєhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͔ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMfhjɔubj)}(hhh]jX)}(h$Called to issue a PHY software reseth]h$Called to issue a PHY software reset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjɔubeh}(h]h ]h"]h$]h&]uh1jhjhMfhj4ubj)}(hF``config_init`` Called to initialize the PHY, including after a reset h](j)}(h``config_init``h]j)}(hjh]h config_init}(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.hhMlhjubj)}(hhh]jX)}(h5Called to initialize the PHY, including after a reseth]h5Called to initialize the PHY, including after a reset}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhj4ubj)}(hV``probe`` Called during discovery. Used to set up device-specific structures, if any h](j)}(h ``probe``h]j)}(hjBh]hprobe}(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.hhMrhj<ubj)}(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}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMqhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMrhj4ubj)}(hl``get_features`` Probe the hardware to determine what abilities it has. Should only set phydev->supported. h](j)}(h``get_features``h]j)}(hj|h]h get_features}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMxhjvubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMxhj4ubj)}(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)}(hjh]h inband_caps}(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)}(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.}(hjϕhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hj̕ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˕hMhj4ubj)}(h5``config_inband`` configure in-band mode for the PHY h](j)}(h``config_inband``h]j)}(hjh]h config_inband}(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"configure in-band mode for the PHYh]h"configure in-band mode for the PHY}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(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)h]hget_rate_matching}(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)}(hXGet the supported type of rate matching for a particular phy interface. This is used by phy consumers to determine whether to advertise lower-speed modes for that interface. It is assumed that if a rate matching mode is supported on an interface, then that interface's rate can be adapted to all slower link speeds supported by the phy. If the interface is not supported, this should return ``RATE_MATCH_NONE``.h](hXGet the supported type of rate matching for a particular phy interface. This is used by phy consumers to determine whether to advertise lower-speed modes for that interface. It is assumed that if a rate matching mode is supported on an interface, then that interface’s rate can be adapted to all slower link speeds supported by the phy. If the interface is not supported, this should return }(hjBhhhNhNubj)}(h``RATE_MATCH_NONE``h]hRATE_MATCH_NONE}(hjJhhhNhNubah}(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.hhMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj4ubj)}(h9``suspend`` Suspend the hardware, saving state if needed h](j)}(h ``suspend``h]j)}(hjuh]hsuspend}(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)}(h,Suspend the hardware, saving state if neededh]h,Suspend the hardware, saving state if needed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(h:``resume`` Resume the hardware, restoring state if needed h](j)}(h ``resume``h]j)}(hjh]hresume}(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.Resume the hardware, restoring state if neededh]h.Resume the hardware, restoring state if needed}(hjǖhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjÖhMhjĖubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjÖhMhj4ubj)}(h``config_aneg`` Configures the advertisement and resets autonegotiation if phydev->autoneg is on, forces the speed to the current settings in phydev if phydev->autoneg is off h](j)}(h``config_aneg``h]j)}(hjh]h config_aneg}(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)}(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}(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&]uh1jhjhMhj4ubj)}(h5``aneg_done`` Determines the auto negotiation result h](j)}(h ``aneg_done``h]j)}(hj!h]h aneg_done}(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.hhMhjubj)}(hhh]jX)}(h&Determines the auto negotiation resulth]h&Determines the auto negotiation result}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj4ubj)}(h;``read_status`` Determines the negotiated speed and duplex h](j)}(h``read_status``h]j)}(hjZh]h read_status}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjTubj)}(hhh]jX)}(h*Determines the negotiated speed and duplexh]h*Determines the negotiated speed and duplex}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhj4ubj)}(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)}(hjh]h config_intr}(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)}(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.}(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&]uh1jhjhMhj4ubj)}(h9``handle_interrupt`` Override default interrupt handling h](j)}(h``handle_interrupt``h]j)}(hj͗h]hhandle_interrupt}(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#Override default interrupt handlingh]h#Override default interrupt handling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjǗubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(h*``remove`` Clears up any memory if needed h](j)}(h ``remove``h]j)}(hjh]hremove}(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)}(hClears up any memory if neededh]hClears up any memory if needed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(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)}(hj?h]hmatch_phy_device}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj9ubj)}(hhh]jX)}(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.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhj4ubj)}(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)}(hjyh]hset_wol}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjsubj)}(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.}(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&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(hJ``get_wol`` See set_wol, but for checking whether Wake on LAN is enabled. h](j)}(h ``get_wol``h]j)}(hjh]hget_wol}(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=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.}(hj̘hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjɘubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȘhMhj4ubj)}(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)}(hjh]hlink_change_notify}(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)}(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.}(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&]uh1jhjhMhj4ubj)}(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)}(hj'h]hread_mmd}(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)}(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.}(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&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhj4ubj)}(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)}(hjah]h write_mmd}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj[ubj)}(hhh]jX)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhj4ubj)}(h:``read_page`` Return the current PHY register page number h](j)}(h ``read_page``h]j)}(hjh]h read_page}(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+Return the current PHY register page numberh]h+Return the current PHY register page number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(h8``write_page`` Set the current PHY register page number h](j)}(h``write_page``h]j)}(hjԙh]h write_page}(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(Set the current PHY register page numberh]h(Set the current PHY register page number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjΙubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(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 h]h module_info}(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.hhMhjubj)}(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&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj4ubj)}(hE``module_eeprom`` Get the eeprom information from the plug-in module h](j)}(h``module_eeprom``h]j)}(hjGh]h module_eeprom}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjAubj)}(hhh]jX)}(h2Get the eeprom information from the plug-in moduleh]h2Get the eeprom information from the plug-in module}(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&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj4ubj)}(h(``cable_test_start`` Start a cable test h](j)}(h``cable_test_start``h]j)}(hjh]hcable_test_start}(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)}(hStart a cable testh]hStart a cable test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(h4``cable_test_tdr_start`` Start a raw TDR cable test h](j)}(h``cable_test_tdr_start``h]j)}(hjh]hcable_test_tdr_start}(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)}(hStart a raw TDR cable testh]hStart a raw TDR cable test}(hjӚhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjϚhMhjКubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϚhMhj4ubj)}(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)}(hjh]hcable_test_get_status}(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)}(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 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj4ubj)}(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)}(hj-h]h get_phy_stats}(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)}(hRetrieve PHY statistics. **dev**: The PHY device for which the statistics are retrieved. **eth_stats**: structure where Ethernet PHY stats will be stored. **stats**: structure where additional PHY-specific stats will be stored.h](hRetrieve PHY statistics. }(hjFhhhNhNubj)}(h**dev**h]hdev}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh9: The PHY device for which the statistics are retrieved. }(hjFhhhNhNubj)}(h **eth_stats**h]h eth_stats}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh5: structure where Ethernet PHY stats will be stored. }(hjFhhhNhNubj)}(h **stats**h]hstats}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh?: structure where additional PHY-specific stats will be stored.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjCubjX)}(hXFRetrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace.h](h|Retrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with }(hjhhhNhNubj[)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jZhjubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hjhhhNhNubj[)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jZhjubh' and will not be returned to userspace.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjCubeh}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj4ubj)}(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)}(hjЛh]hget_link_stats}(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)}(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. }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9: The PHY device for which the statistics are retrieved. }(hjhhhNhNubj)}(h**link_stats**h]h link_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5: structure where link-specific stats will be stored.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM!hjubjX)}(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 }(hjhhhNhNubj[)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jZhjubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hjhhhNhNubj[)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jZhjubh' and will not be returned to userspace.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM%hjubeh}(h]h ]h"]h$]h&]uh1jhjʛubeh}(h]h ]h"]h$]h&]uh1jhjhM)hj4ubj)}(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)}(hjah]h update_stats}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hj[ubj)}(hhh](jX)}(hhTrigger periodic statistics updates. **dev**: The PHY device for which statistics updates are triggered.h](h%Trigger periodic statistics updates. }(hjzhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh<: The PHY device for which statistics updates are triggered.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hjwubjX)}(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 }(hjhhhNhNubj[)}(h`get_phy_stats`h]h get_phy_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jZhjubh and }(hjhhhNhNubj[)}(h`get_link_stats`h]hget_link_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jZhjubh interfaces.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2hjwubjX)}(h9Return: 0 on success or a negative error code on failure.h]h9Return: 0 on success or a negative error code on failure.}(hjΜhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhM;hjwubeh}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhM;hj4ubj)}(h0``get_sset_count`` Number of statistic counters h](j)}(h``get_sset_count``h]j)}(hjh]hget_sset_count}(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)}(hNumber of statistic countersh]hNumber of statistic counters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hj4ubj)}(h0``get_strings`` Names of the statistic counters h](j)}(h``get_strings``h]j)}(hj'h]h get_strings}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMAhj!ubj)}(hhh]jX)}(hNames of the statistic countersh]hNames of the statistic counters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hMAhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMAhj4ubj)}(h2``get_stats`` Return the statistic counter values h](j)}(h ``get_stats``h]j)}(hj`h]h get_stats}(hjbhhhNhNubah}(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.hhMChjZubj)}(hhh]jX)}(h#Return the statistic counter valuesh]h#Return the statistic counter values}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMChjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMChj4ubj)}(h.``get_tunable`` Return the value of a tunable h](j)}(h``get_tunable``h]j)}(hjh]h get_tunable}(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)}(hReturn the value of a tunableh]hReturn the value of a tunable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhj4ubj)}(h+``set_tunable`` Set the value of a tunable h](j)}(h``set_tunable``h]j)}(hjҝh]h set_tunable}(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.hhMKhj̝ubj)}(hhh]jX)}(hSet the value of a tunableh]hSet the value of a tunable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhj̝ubeh}(h]h ]h"]h$]h&]uh1jhjhMKhj4ubj)}(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 h]h set_loopback}(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.hhMVhjubj)}(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.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMPhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMVhj4ubj)}(h.``get_sqi`` Get the signal quality indication h](j)}(h ``get_sqi``h]j)}(hjEh]hget_sqi}(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.hhMYhj?ubj)}(hhh]jX)}(h!Get the signal quality indicationh]h!Get the signal quality indication}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMYhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMYhj4ubj)}(h:``get_sqi_max`` Get the maximum signal quality indication h](j)}(h``get_sqi_max``h]j)}(hj~h]h get_sqi_max}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[hjxubj)}(hhh]jX)}(h)Get the maximum signal quality indicationh]h)Get the maximum signal quality indication}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM[hj4ubj)}(hX``get_mse_capability`` Get capabilities and scale of MSE measurement **dev**: PHY device **cap**: Output (filled on success) Fill **cap** with the PHY's MSE capability for the current link mode: scale limits (max_average_mse, max_peak_mse), update interval (refresh_rate_ps), sample length (num_symbols) and the capability bitmask (supported_caps). Implementations may defer capability report until hardware has converged; in that case they should return -EAGAIN and allow the caller to retry later. Return: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if the capability information is not yet available. h](j)}(h``get_mse_capability``h]j)}(hjh]hget_mse_capability}(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.hhMohjubj)}(hhh](jX)}(hhGet capabilities and scale of MSE measurement **dev**: PHY device **cap**: Output (filled on success)h](h.Get capabilities and scale of MSE measurement }(hjОhhhNhNubj)}(h**dev**h]hdev}(hj؞hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjОubh: PHY device }(hjОhhhNhNubj)}(h**cap**h]hcap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjОubh: Output (filled on success)}(hjОhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hj͞ubjX)}(hFill **cap** with the PHY's MSE capability for the current link mode: scale limits (max_average_mse, max_peak_mse), update interval (refresh_rate_ps), sample length (num_symbols) and the capability bitmask (supported_caps).h](hFill }(hjhhhNhNubj)}(h**cap**h]hcap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with the PHY’s MSE capability for the current link mode: scale limits (max_average_mse, max_peak_mse), update interval (refresh_rate_ps), sample length (num_symbols) and the capability bitmask (supported_caps).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMchj͞ubjX)}(hImplementations may defer capability report until hardware has converged; in that case they should return -EAGAIN and allow the caller to retry later.h]hImplementations may defer capability report until hardware has converged; in that case they should return -EAGAIN and allow the caller to retry later.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhhj͞ubjX)}(hReturn: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if the capability information is not yet available.h]hReturn: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if the capability information is not yet available.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMlhj͞ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̞hMohj4ubj)}(hX``get_mse_snapshot`` Retrieve a snapshot of MSE diagnostic values **dev**: PHY device **channel**: Channel identifier (PHY_MSE_CHANNEL_*) **snapshot**: Output (filled on success) Fill **snapshot** with a correlated set of MSE values from the most recent measurement window. Callers must validate **channel** against supported_caps returned by get_mse_capability(). Drivers must not coerce **channel**; if the requested selector is not implemented by the device or current link mode, the operation must fail. worst_peak_mse is latched and must be treated as read-to-clear. Return: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if measurements are not yet available. h](j)}(h``get_mse_snapshot``h]j)}(hjTh]hget_mse_snapshot}(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)}(hRetrieve a snapshot of MSE diagnostic values **dev**: PHY device **channel**: Channel identifier (PHY_MSE_CHANNEL_*) **snapshot**: Output (filled on success)h](h-Retrieve a snapshot of MSE diagnostic values }(hjmhhhNhNubj)}(h**dev**h]hdev}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh: PHY device }(hjmhhhNhNubj)}(h **channel**h]hchannel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh*: Channel identifier (PHY_MSE_CHANNEL_*) }(hjmhhhNhNubj)}(h **snapshot**h]hsnapshot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh: Output (filled on success)}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhjjubjX)}(h^Fill **snapshot** with a correlated set of MSE values from the most recent measurement window.h](hFill }(hjhhhNhNubj)}(h **snapshot**h]hsnapshot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhM with a correlated set of MSE values from the most recent measurement window.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhjjubjX)}(hCallers must validate **channel** against supported_caps returned by get_mse_capability(). Drivers must not coerce **channel**; if the requested selector is not implemented by the device or current link mode, the operation must fail.h](hCallers must validate }(hjӟhhhNhNubj)}(h **channel**h]hchannel}(hj۟hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӟubhR against supported_caps returned by get_mse_capability(). Drivers must not coerce }(hjӟhhhNhNubj)}(h **channel**h]hchannel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӟubhk; if the requested selector is not implemented by the device or current link mode, the operation must fail.}(hjӟhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hjjubjX)}(h?worst_peak_mse is latched and must be treated as read-to-clear.h]h?worst_peak_mse is latched and must be treated as read-to-clear.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjjubjX)}(hReturn: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if measurements are not yet available.h]hReturn: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if measurements are not yet available.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjjubeh}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhj4ubj)}(h7``get_plca_cfg`` Return the current PLCA configuration h](j)}(h``get_plca_cfg``h]j)}(hj6h]h get_plca_cfg}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj0ubj)}(hhh]jX)}(h%Return the current PLCA configurationh]h%Return the current PLCA configuration}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhj4ubj)}(h,``set_plca_cfg`` Set the PLCA configuration h](j)}(h``set_plca_cfg``h]j)}(hjoh]h set_plca_cfg}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjiubj)}(hhh]jX)}(hSet the PLCA configurationh]hSet the PLCA configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(h8``get_plca_status`` Return the current PLCA status info h](j)}(h``get_plca_status``h]j)}(hjh]hget_plca_status}(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#Return the current PLCA status infoh]h#Return the current PLCA status info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(h``led_brightness_set`` Set a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL. h](j)}(h``led_brightness_set``h]j)}(hjh]hled_brightness_set}(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)}(hSet a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL.h]hSet a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL.}(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&]uh1jhjhMhj4ubj)}(hX/``led_blink_set`` Set a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can't match the values specified exactly. h](j)}(h``led_blink_set``h]j)}(hjh]h led_blink_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.hhMhjubj)}(hhh]jX)}(hXSet a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can't match the values specified exactly.h]hXSet a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can’t match the values specified exactly.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj4ubj)}(h``led_hw_is_supported`` Can the HW support the given rules. **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The core is interested in these rules Return 0 if yes, -EOPNOTSUPP if not, or an error code. h](j)}(h``led_hw_is_supported``h]j)}(hjUh]hled_hw_is_supported}(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)}(hCan the HW support the given rules. **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The core is interested in these rulesh](h$Can the HW support the given rules. }(hjnhhhNhNubj)}(h**dev**h]hdev}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh: PHY device which has the LED }(hjnhhhNhNubj)}(h **index**h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh: Which LED of the PHY device }(hjnhhhNhNubj)}(h **rules**h]hrules}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh& The core is interested in these rules}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjkubjX)}(h7Return 0 if yes, -EOPNOTSUPP if not, or an error code.h]h7Return 0 if yes, -EOPNOTSUPP if not, or an error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMhjkubeh}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhj4ubj)}(h``led_hw_control_set`` Set the HW to control the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The rules used to control the LED Returns 0, or a an error code. h](j)}(h``led_hw_control_set``h]j)}(hjӡh]hled_hw_control_set}(hjաhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѡubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj͡ubj)}(hhh](jX)}(hSet the HW to control the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The rules used to control the LEDh](hSet the HW to control the LED }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: PHY device which has the LED }(hjhhhNhNubj)}(h **index**h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: Which LED of the PHY device }(hjhhhNhNubj)}(h **rules**h]hrules}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" The rules used to control the LED}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(hReturns 0, or a an error code.h]hReturns 0, or a an error code.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj͡ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(hXq``led_hw_control_get`` Get how the HW is controlling the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** Pointer to the rules used to control the LED Set ***rules** to how the HW is currently blinking. Returns 0 on success, or a error code if the current blinking cannot be represented in rules, or some other error happens. h](j)}(h``led_hw_control_get``h]j)}(hjQh]hled_hw_control_get}(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.hhMhjKubj)}(hhh](jX)}(hGet how the HW is controlling the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** Pointer to the rules used to control the LEDh](h&Get how the HW is controlling the LED }(hjjhhhNhNubj)}(h**dev**h]hdev}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh: PHY device which has the LED }(hjjhhhNhNubj)}(h **index**h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh: Which LED of the PHY device }(hjjhhhNhNubj)}(h **rules**h]hrules}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh- Pointer to the rules used to control the LED}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjgubjX)}(hSet ***rules** to how the HW is currently blinking. Returns 0 on success, or a error code if the current blinking cannot be represented in rules, or some other error happens.h](hSet }(hjhhhNhNubj)}(h ***rules**h]h*rules}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjgubeh}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhj4ubj)}(hX)``led_polarity_set`` Set the LED polarity modes **dev**: PHY device which has the LED **index**: Which LED of the PHY device **modes**: bitmap of LED polarity modes Configure LED with all the required polarity modes in **modes** to make it correctly turn ON or OFF. Returns 0, or an error code. h](j)}(h``led_polarity_set``h]j)}(hjh]hled_polarity_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.hhMhjܢubj)}(hhh](jX)}(hSet the LED polarity modes **dev**: PHY device which has the LED **index**: Which LED of the PHY device **modes**: bitmap of LED polarity modesh](hSet the LED polarity modes }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: PHY device which has the LED }(hjhhhNhNubj)}(h **index**h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: Which LED of the PHY device }(hjhhhNhNubj)}(h **modes**h]hmodes}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: bitmap of LED polarity modes}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(hdConfigure LED with all the required polarity modes in **modes** to make it correctly turn ON or OFF.h](h6Configure LED with all the required polarity modes in }(hj@hhhNhNubj)}(h **modes**h]hmodes}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh% to make it correctly turn ON or OFF.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(hReturns 0, or an error code.h]hReturns 0, or an error code.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjܢubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(hXX``get_next_update_time`` Get the time until the next update event **dev**: PHY device Callback to determine the time (in jiffies) until the next update event for the PHY state machine. Allows PHY drivers to dynamically adjust polling intervals based on link state or other conditions. Returns the time in jiffies until the next update event.h](j)}(h``get_next_update_time``h]j)}(hjh]hget_next_update_time}(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)}(hh]hu32 mask}(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.hhMhj8ubj)}(hhh]jX)}(h5the PHY ID mask, set bits are significant in matchingh]h5the PHY ID mask, set bits are significant in matching}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjå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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(hReturn true if the bits from **id1** and **id2** specified by **mask** match. This uses an equivalent test to (**id** & **mask**) == (**phy_id** & **mask**).h](hReturn true if the bits from }(hjhhhNhNubj)}(h**id1**h]hid1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**id2**h]hid2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh specified by }(hjhhhNhNubj)}(h**mask**h]hmask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) match. This uses an equivalent test to (}(hjhhhNhNubj)}(h**id**h]hid}(hjͦhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh & }(hjhhhNhNubj)}(h**mask**h]hmask}(hjߦhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) == (}(hjhhhNhNubj)}(h **phy_id**h]hphy_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh & }hjsbj)}(h**mask**h]hmask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh).}(hjhhhNhNubeh}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_id_compare_vendor (C function)c.phy_id_compare_vendorhNtauh1hhj khhhNhNubh)}(hhh](h)}(h4bool phy_id_compare_vendor (u32 id, u32 vendor_mask)h]h)}(h3bool phy_id_compare_vendor(u32 id, u32 vendor_mask)h](j)}(hjTh]hbool}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhjIhMubj)}(hphy_id_compare_vendorh]j%)}(hphy_id_compare_vendorh]hphy_id_compare_vendor}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhjIhMubj)}(h(u32 id, u32 vendor_mask)h](j)}(hu32 idh](h)}(hhh]j%)}(hu32h]hu32}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j')}jj^sbc.phy_id_compare_vendorasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj%)}(hidh]hid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hu32 vendor_maskh](h)}(hhh]j%)}(hu32h]hu32}(hjŧhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj§ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjǧmodnameN classnameNjj!)}j$]jc.phy_id_compare_vendorasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h vendor_maskh]h vendor_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhj8hhhjIhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4hhhjIhMubah}(h]j/ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjIhMhj1hhubjS)}(hhh]jX)}(h#compare **id** with **vendor** maskh](hcompare }(hjhhhNhNubj)}(h**id**h]hid}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with }(hjhhhNhNubj)}(h **vendor**h]hvendor}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh mask}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhjIhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjWjxjWjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``u32 id`` PHY ID ``u32 vendor_mask`` PHY Vendor mask **Return** true if the bits from **id** match **vendor** using the generic PHY Vendor mask.h](jX)}(h**Parameters**h]j)}(hjah]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj[ubj)}(hhh](j)}(h``u32 id`` PHY ID h](j)}(h ``u32 id``h]j)}(hjh]hu32 id}(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.hhMhjzubj)}(hhh]jX)}(hPHY IDh]hPHY ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjwubj)}(h$``u32 vendor_mask`` PHY Vendor mask h](j)}(h``u32 vendor_mask``h]j)}(hjh]hu32 vendor_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hPHY Vendor maskh]hPHY Vendor mask}(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 **Return**h]j)}(hjh]hReturn}(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[ubjX)}(hPtrue if the bits from **id** match **vendor** using the generic PHY Vendor mask.h](htrue if the bits from }(hj hhhNhNubj)}(h**id**h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh match }(hj hhhNhNubj)}(h **vendor**h]hvendor}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh# using the generic PHY Vendor mask.}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_id_compare_model (C function)c.phy_id_compare_modelhNtauh1hhj khhhNhNubh)}(hhh](h)}(h2bool phy_id_compare_model (u32 id, u32 model_mask)h]h)}(h1bool phy_id_compare_model(u32 id, u32 model_mask)h](j)}(hjTh]hbool}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjjhMubj)}(hphy_id_compare_modelh]j%)}(hphy_id_compare_modelh]hphy_id_compare_model}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjjhMubj)}(h(u32 id, u32 model_mask)h](j)}(hu32 idh](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_id_compare_modelasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hidh]hid}(hjʩhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu32 model_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_id_compare_modelasbuh1hhjߩubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjߩubj%)}(h model_maskh]h model_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjߩubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjjhMubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhMhjRhhubjS)}(hhh]jX)}(h"compare **id** with **model** maskh](hcompare }(hj<hhhNhNubj)}(h**id**h]hid}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh with }(hj<hhhNhNubj)}(h **model**h]hmodel}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh mask}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj9hhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``u32 id`` PHY ID ``u32 model_mask`` PHY Model mask **Return** true if the bits from **id** match **model** using the generic PHY Model mask.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)}(h``u32 id`` PHY ID h](j)}(h ``u32 id``h]j)}(hjh]hu32 id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hPHY IDh]hPHY ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``u32 model_mask`` PHY Model mask h](j)}(h``u32 model_mask``h]j)}(hjڪh]hu32 model_mask}(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)}(hPHY Model maskh]hPHY Model mask}(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&]uh1jhj|ubjX)}(h **Return**h]j)}(hjh]hReturn}(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|ubjX)}(hNtrue if the bits from **id** match **model** using the generic PHY Model mask.h](htrue if the bits from }(hj+hhhNhNubj)}(h**id**h]hid}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh match }(hj+hhhNhNubj)}(h **model**h]hmodel}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh" using the generic PHY Model mask.}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphydev_id_compare (C function)c.phydev_id_comparehNtauh1hhj khhhNhNubh)}(hhh](h)}(h:bool phydev_id_compare (struct phy_device *phydev, u32 id)h]h)}(h9bool phydev_id_compare(struct phy_device *phydev, u32 id)h](j)}(hjTh]hbool}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhjhMubj)}(hphydev_id_compareh]j%)}(hphydev_id_compareh]hphydev_id_compare}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzhhhjhMubj)}(h#(struct phy_device *phydev, u32 id)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.phydev_id_compareasbuh1hhjubj)}(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)}(hu32 idh](h)}(hhh]j%)}(hu32h]hu32}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]jc.phydev_id_compareasbuh1hhj(ubj)}(h h]h }(hjMhhhNhNubah}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjzhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvhhhjhMubah}(h]jqah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjshhubjS)}(hhh]jX)}(h*compare **id** with the PHY's Clause 22 IDh](hcompare }(hjhhhNhNubj)}(h**id**h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with the PHY’s Clause 22 ID}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjshhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX2**Parameters** ``struct phy_device *phydev`` the PHY device ``u32 id`` the PHY ID to be matched **Description** Compare the **phydev** clause 22 ID with the provided **id** and return true or false depending whether it matches, using the bound driver mask. The **phydev** must be bound to a driver.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h-``struct phy_device *phydev`` the PHY device h](j)}(h``struct phy_device *phydev``h]j)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjҬubeh}(h]h ]h"]h$]h&]uh1jhjhMhjϬubj)}(h$``u32 id`` the PHY ID to be matched h](j)}(h ``u32 id``h]j)}(hjh]hu32 id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubj)}(hhh]jX)}(hthe PHY ID to be matchedh]hthe PHY ID to be matched}(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&]uh1jhjubjX)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(hCompare the **phydev** clause 22 ID with the provided **id** and return true or false depending whether it matches, using the bound driver mask. The **phydev** must be bound to a driver.h](h Compare the }(hjbhhhNhNubj)}(h **phydev**h]hphydev}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh clause 22 ID with the provided }(hjbhhhNhNubj)}(h**id**h]hid}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubhY and return true or false depending whether it matches, using the bound driver mask. The }(hjbhhhNhNubj)}(h **phydev**h]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh must be bound to a driver.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_is_started (C function)c.phy_is_startedhNtauh1hhj khhhNhNubh)}(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.hhM/ubj)}(h h]h }(hjխhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjíhhhjԭhM/ubj)}(hphy_is_startedh]j%)}(hphy_is_startedh]hphy_is_started}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjíhhhjԭhM/ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(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_is_startedasbuh1hhjubj)}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjíhhhjԭhM/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjԭhM/ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjԭhM/hjhhubjS)}(hhh]jX)}(h4Convenience function to check whether PHY is startedh]h4Convenience function to check whether PHY is started}(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{uh1hhhhj khNhNubj})}(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.hhM3hjubj)}(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.hhM5hjubj)}(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.hhM0hjݮubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjܮhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_driver_is_genphy (C function)c.phy_driver_is_genphyhNtauh1hhj khhhNhNubh)}(hhh](h)}(h5bool phy_driver_is_genphy (struct phy_device *phydev)h]h)}(h4bool phy_driver_is_genphy(struct phy_device *phydev)h](j)}(hjTh]hbool}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj.hM8ubj)}(hphy_driver_is_genphyh]j%)}(hphy_driver_is_genphyh]hphy_driver_is_genphy}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj.hM8ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j')}jjCsbc.phy_driver_is_genphyasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj.hM8ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj.hM8ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hM8hjhhubjS)}(hhh]jX)}(hUConvenience function to check whether PHY is driven by one of the generic PHY driversh]hUConvenience function to check whether PHY is driven by one of the generic PHY drivers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8hjݯhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj.hM8ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct **Return** true if PHY is driven by one of the genphy driversh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<hjubj)}(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&]uh1jWhj6hM:hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM:hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hj\h]hReturn}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<hjubjX)}(h2true if PHY is driven by one of the genphy driversh]h2true if PHY is driven by one of the genphy drivers}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_disable_eee_mode (C function)c.phy_disable_eee_modehNtauh1hhj khhhNhNubh)}(hhh](h)}(hDvoid phy_disable_eee_mode (struct phy_device *phydev, u32 link_mode)h]h)}(hCvoid phy_disable_eee_mode(struct phy_device *phydev, u32 link_mode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMCubj)}(hphy_disable_eee_modeh]j%)}(hphy_disable_eee_modeh]hphy_disable_eee_mode}(hj°hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMCubj)}(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 }(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_disable_eee_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}(hj7hhhNhNubah}(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}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]jc.phy_disable_eee_modeasbuh1hhjLubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj%)}(h link_modeh]h link_mode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjְubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMCubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMChjhhubjS)}(hhh]jX)}(hDon't advertise an EEE mode.h]hDon’t advertise an EEE mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hv**Parameters** ``struct phy_device *phydev`` The phy_device struct ``u32 link_mode`` The EEE mode to be disabledh](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.hhMGhjű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.hhMDhjubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(h-``u32 link_mode`` The EEE mode to be disabledh](j)}(h``u32 link_mode``h]j)}(hj#h]h u32 link_mode}(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.hhMFhjubj)}(hhh]jX)}(hThe EEE mode to be disabledh]hThe EEE mode to be disabled}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMEhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMFhjubeh}(h]h ]h"]h$]h&]uh1jhjűubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_can_wakeup (C function)c.phy_can_wakeuphNtauh1hhj khhhNhNubh)}(hhh](h)}(h/bool phy_can_wakeup (struct phy_device *phydev)h]h)}(h.bool phy_can_wakeup(struct phy_device *phydev)h](j)}(hjTh]hbool}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMPubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjhMPubj)}(hphy_can_wakeuph]j%)}(hphy_can_wakeuph]hphy_can_wakeup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjhMPubj)}(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_can_wakeupasbuh1hhjubj)}(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=uh1jhjyhhhjhMPubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjuhhhjhMPubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMPhjrhhubjS)}(hhh]jX)}(h9indicate whether PHY has driver model wakeup capabilitiesh]h9indicate whether PHY has driver model wakeup capabilities}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMPhj9hhubah}(h]h ]h"]h$]h&]uh1jRhjrhhhjhMPubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct **Return** true/false depending on the PHY driver's device_set_wakeup_capable() setting.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.hhMThjXubj)}(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}(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.hhMQhjwubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjtubah}(h]h ]h"]h$]h&]uh1jhjXubjX)}(h **Return**h]j)}(hjh]hReturn}(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.hhMShjXubjX)}(hMtrue/false depending on the PHY driver's device_set_wakeup_capable() setting.h]hOtrue/false depending on the PHY driver’s device_set_wakeup_capable() setting.}(hjγhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_may_wakeup (C function)c.phy_may_wakeuphNtauh1hhj khhhNhNubh)}(hhh](h)}(h/bool phy_may_wakeup (struct phy_device *phydev)h]h)}(h.bool phy_may_wakeup(struct phy_device *phydev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hM\ubj)}(hphy_may_wakeuph]j%)}(hphy_may_wakeuph]hphy_may_wakeup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hM\ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]j')}jjsbc.phy_may_wakeupasbuh1hhj5ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubah}(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'indicate whether PHY has wakeup enabledh]h'indicate whether PHY has wakeup enabled}(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&]jvjqjwjԴjxjԴjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct **Return** true/false depending on the PHY driver's device_set_wakeup_enabled() setting if using the driver model, otherwise the legacy determination.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`hjشubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hjubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjشubjX)}(h **Return**h]j)}(hj8h]hReturn}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hjشubjX)}(htrue/false depending on the PHY driver's device_set_wakeup_enabled() setting if using the driver model, otherwise the legacy determination.h]htrue/false depending on the PHY driver’s device_set_wakeup_enabled() setting if using the driver model, otherwise the legacy determination.}(hjNhhhNhNubah}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read (C function) c.phy_readhNtauh1hhj khhhNhNubh)}(hhh](h)}(h4int phy_read (struct phy_device *phydev, u32 regnum)h]h)}(h3int phy_read(struct phy_device *phydev, u32 regnum)h](j)}(hinth]hint}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjhMhubj)}(hphy_readh]j%)}(hphy_readh]hphy_read}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjhMhubj)}(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 }(hjǵhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjصhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjյubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjڵmodnameN classnameNjj!)}j$]j')}jjsb c.phy_readasbuh1hhjubj)}(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 reftargetj1modnameN classnameNjj!)}j$]j c.phy_readasbuh1hhj(ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj%)}(hregnumh]hregnum}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjyhhhjhMhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjuhhhjhMhubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhhjrhhubjS)}(hhh]jX)}(h5Convenience function for reading a given PHY registerh]h5Convenience function for reading a given PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhhjhhubah}(h]h ]h"]h$]h&]uh1jRhjrhhhjhMhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to read **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMlhjubj)}(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.hhMihjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj߶hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj۶hMihjܶubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj۶hMihjubj)}(h'``u32 regnum`` register number 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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhjubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(hj:h]hNOTE}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(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.}(hjPhhhNhNubah}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read (C function) c.__phy_readhNtauh1hhj khhhNhNubh)}(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}(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_readh]j%)}(h __phy_readh]h __phy_read}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj{hhhjhMubj)}(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 }(hjɷhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjڷhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj׷ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjܷmodnameN classnameNjj!)}j$]j')}jjsb c.__phy_readasbuh1hhjubj)}(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}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j c.__phy_readasbuh1hhj*ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj%)}(hregnumh]hregnum}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj{hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjwhhhjhMubah}(h]jrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjthhubjS)}(hhh]jX)}(h5convenience function for reading a given PHY registerh]h5convenience function for reading a given PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjthhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to read **Description** The caller must have taken the MDIO bus lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjȸh]hstruct phy_device *phydev}(hjʸhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƸubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj¸ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjݸhMhj޸ubah}(h]h ]h"]h$]h&]uh1jhj¸ubeh}(h]h ]h"]h$]h&]uh1jhjݸhMhjubj)}(h'``u32 regnum`` register number to read 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 readh]hregister number 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)}(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.}(hjRhhhNhNubah}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write (C function) c.phy_writehNtauh1hhj khhhNhNubh)}(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&]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_writeh]j%)}(h phy_writeh]h phy_write}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj˹hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjܹhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjٹubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj޹modnameN classnameNjj!)}j$]j')}jjsb c.phy_writeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j c.phy_writeasbuh1hhj,ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj%)}(hregnumh]hregnum}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j c.phy_writeasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj}hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjhMubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjvhhubjS)}(hhh]jX)}(h5Convenience function for writing a given PHY registerh]h5Convenience function for writing a given 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&]uh1jRhjvhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(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'hMhj ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjKh]h u32 regnum}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjEubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj ubj)}(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.hhMhj~ubj)}(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&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj 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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(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.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write (C function) c.__phy_writehNtauh1hhj khhhNhNubh)}(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.hhMubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(h __phy_writeh]j%)}(h __phy_writeh]h __phy_write}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMubj)}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}jj5sb c.__phy_writeasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(h 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$]j c.__phy_writeasbuh1hhjubj)}(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=uh1jhjGubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.__phy_writeasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhjhhubjS)}(hhh]jX)}(h5Convenience function for writing a given PHY registerh]h5Convenience function for writing a given PHY register}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj_hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhj khNhNubj})}(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)}(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)}(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`` 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.hhMhjubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hj.hhhNhNubj)}(h **regnum**h]hregnum}(hj6hhhNhNubah}(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*hMhjubeh}(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)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_modify_changed (C function)c.__phy_modify_changedhNtauh1hhj khhhNhNubh)}(hhh](h)}(hSint __phy_modify_changed (struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h]h)}(hRint __phy_modify_changed(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__phy_modify_changedh]j%)}(h__phy_modify_changedh]h__phy_modify_changed}(hjľhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]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_modify_changedasbuh1hhjܾ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}(hj9hhhNhNubah}(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}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]jc.__phy_modify_changedasbuh1hhjNubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjؾubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_modify_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(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=uh1jhjؾubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_modify_changedasbuh1hhj޿ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj޿ubj%)}(hseth]hset}(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)}(h1Convenience function for modifying a PHY registerh]h1Convenience function for modifying a PHY register}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj8hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``u32 regnum`` register number ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Description** Unlocked helper function which allows a PHY register to be modified as new register value = (old register value & ~mask) | set Returns negative errno, 0 if there was no change, and 1 in case of changeh](jX)}(h**Parameters**h]j)}(hj]h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjWubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj|h]hstruct phy_device *phydev}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjvubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(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&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhjsubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hregister numberh]hregister number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjsubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj h]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.hhMhjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of 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"hMhjsubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjFh]hu16 set}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj@ubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjsubeh}(h]h ]h"]h$]h&]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.hhMhjWubjX)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjWubjX)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_read_mmd_poll_timeout (C macro)c.phy_read_mmd_poll_timeouthNtauh1hhj khhhNhNubh)}(hhh](h)}(hphy_read_mmd_poll_timeouth]h)}(hphy_read_mmd_poll_timeouth]j)}(hphy_read_mmd_poll_timeouth]j%)}(hjh]hphy_read_mmd_poll_timeout}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubah}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqmacroeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubjX)}(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)}(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 khhubj )}(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}(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 hj3hMhj khhubj})}(hX**Parameters** ``phydev`` The phy_device struct ``devaddr`` The MMD to read from ``regnum`` The register on the MMD to read ``val`` Variable to read the register into ``cond`` Break condition (usually involving **val**) ``sleep_us`` Maximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations. ``timeout_us`` Timeout in us, 0 means never timeout ``sleep_before_read`` if it is true, sleep **sleep_us** before read. **Return** 0 on success and -ETIMEDOUT upon a timeout. In either case, the last read value at **args** is stored in **val**. Must not be called from atomic context if sleep_us or timeout_us are used.h](jX)}(h**Parameters**h]j)}(hj@h]h Parameters}(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.hhMhj:ubj)}(hhh](j)}(h!``phydev`` The phy_device struct h](j)}(h ``phydev``h]j)}(hj_h]hphydev}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjYubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjVubj)}(h!``devaddr`` The MMD to read from h](j)}(h ``devaddr``h]j)}(hjh]hdevaddr}(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 MMD to read fromh]hThe MMD to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjVubj)}(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&]uh1jhjhMhjVubj)}(h+``val`` Variable to read the register into h](j)}(h``val``h]j)}(hj h]hval}(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.hhMhjubj)}(hhh]jX)}(h"Variable to read the register intoh]h"Variable to read the register into}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjVubj)}(h5``cond`` Break condition (usually involving **val**) h](j)}(h``cond``h]j)}(hjCh]hcond}(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.hhMhj=ubj)}(hhh]jX)}(h+Break condition (usually involving **val**)h](h#Break condition (usually involving }(hj\hhhNhNubj)}(h**val**h]hval}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh)}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjVubj)}(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)}(hjh]hsleep_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)}(hMaximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations.h]hMaximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjVubj)}(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&]uh1jhjhMhjVubj)}(hE``sleep_before_read`` if it is true, sleep **sleep_us** before read. h](j)}(h``sleep_before_read``h]j)}(hjh]hsleep_before_read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(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}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before read.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjVubeh}(h]h ]h"]h$]h&]uh1jhj:ubjX)}(h **Return**h]j)}(hjNh]hReturn}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj:ubjX)}(h0 on success and -ETIMEDOUT upon a timeout. In either case, the last read value at **args** is stored in **val**. Must not be called from atomic context if sleep_us or timeout_us are used.h](hS0 on success and -ETIMEDOUT upon a timeout. In either case, the last read value at }(hjdhhhNhNubj)}(h**args**h]hargs}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh is stored in }(hjdhhhNhNubj)}(h**val**h]hval}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubhL. Must not be called from atomic context if sleep_us or timeout_us are used.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits (C function)c.__phy_set_bitshNtauh1hhj khhhNhNubh)}(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.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(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=uh1jhjhhhjhM ubj)}(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')}jjsbc.__phy_set_bitsasbuh1hhjubj)}(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 u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j.c.__phy_set_bitsasbuh1hhjbubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j.c.__phy_set_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=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)}(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.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` bits to set **Description** The caller must have taken the MDIO bus lock.h](jX)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]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)}(hjHh]hstruct phy_device *phydev}(hjJhhhNhNubah}(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 hjBubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hM hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hM hj?ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj{ubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM hj?ubj)}(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.hhM hjubj)}(hhh]jX)}(h bits to seth]h bits to set}(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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj#ubjX)}(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.hhMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_clear_bits (C function)c.__phy_clear_bitshNtauh1hhj khhhNhNubh)}(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}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6hhhjHhMubj)}(h__phy_clear_bitsh]j%)}(h__phy_clear_bitsh]h__phy_clear_bits}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6hhhjHhMubj)}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(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_bitsasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN 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=uh1jhjoubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]jc.__phy_clear_bitsasbuh1hhj-ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj%)}(hvalh]hval}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubeh}(h]h ]h"]h$]h&]j<j=uh1jhj6hhhjHhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2hhhjHhMubah}(h]j-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjHhMhj/hhubjS)}(hhh]jX)}(h8Convenience function for clearing bits in a PHY registerh]h8Convenience function for clearing bits in a PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj/hhhjHhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` bits to clear **Description** The caller must have taken the MDIO bus lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``u16 val`` bits to clear h](j)}(h ``u16 val``h]j)}(hj=h]hu16 val}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj7ubj)}(hhh]jX)}(h bits to clearh]h bits to clear}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjxh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits (C function)c.phy_set_bitshNtauh1hhj khhhNhNubh)}(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.hhM%ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM%ubj)}(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=uh1jhjhhhjhM%ubj)}(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')}jjsbc.phy_set_bitsasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j4c.phy_set_bitsasbuh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(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$]j4c.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=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)}(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.hhM%hj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM%ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%jxj%jyjzj{uh1hhhhj khNhNubj})}(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)}(hj/h]h Parameters}(hj1hhhNhNubah}(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)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjNh]hstruct phy_device *phydev}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM&hjHubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchM&hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM&hjEubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjEubj)}(h``u16 val`` bits to seth](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM)hjubj)}(hhh]jX)}(h bits to seth]h bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjEubeh}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits (C function)c.phy_clear_bitshNtauh1hhj khhhNhNubh)}(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.hhM0ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj(hM0ubj)}(hphy_clear_bitsh]j%)}(hphy_clear_bitsh]hphy_clear_bits}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj(hM0ubj)}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]j')}jj=sbc.phy_clear_bitsasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_clear_bitsasbuh1hhjubj)}(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=uh1jhjOubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_clear_bitsasbuh1hhj ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hvalh]hval}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj(hM0ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj(hM0ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(hM0hjhhubjS)}(hhh]jX)}(h8Convenience function for clearing bits in a PHY registerh]h8Convenience function for clearing bits in a PHY register}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM0hjghhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj(hM0ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(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.hhM4hjubj)}(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.hhM1hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(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.hhM2hjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubj)}(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.hhM4hjubj)}(hhh]jX)}(h bits to clearh]h bits to clear}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM3hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM4hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits_mmd (C function)c.__phy_set_bits_mmdhNtauh1hhj khhhNhNubh)}(hhh](h)}(hRint __phy_set_bits_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]h)}(hQint __phy_set_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hinth]hint}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhhjhM;ubj)}(h__phy_set_bits_mmdh]j%)}(h__phy_set_bits_mmdh]h__phy_set_bits_mmd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjshhhjhM;ubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_set_bits_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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj%)}(hdevadh]hdevad}(hjBhhhNhNubah}(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_bits_mmdasbuh1hhjWubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(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_bits_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjshhhjhM;ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjohhhjhM;ubah}(h]jjah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM;hjlhhubjS)}(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.hhM;hjhhubah}(h]h ]h"]h$]h&]uh1jRhjlhhhjhM;ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM?hjubj)}(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.hhM=hj7ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhM=hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM=hj4ubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjvh]h int devad}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjpubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM>hj4ubj)}(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.hhM?hjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hj4ubj)}(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.hhM@hjubj)}(hhh]jX)}(h bits to seth]h bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hj4ubeh}(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.hhMBhjubjX)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMAhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_clear_bits_mmd (C function)c.__phy_clear_bits_mmdhNtauh1hhj khhhNhNubh)}(hhh](h)}(hTint __phy_clear_bits_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]h)}(hSint __phy_clear_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hinth]hint}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhjvhMKubj)}(h__phy_clear_bits_mmdh]j%)}(h__phy_clear_bits_mmdh]h__phy_clear_bits_mmd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjdhhhjvhMKubj)}(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')}jjsbc.__phy_clear_bits_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)}(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}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]jc.__phy_clear_bits_mmdasbuh1hhjHubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj%)}(hregnumh]hregnum}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=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_clear_bits_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjdhhhjvhMKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`hhhjvhMKubah}(h]j[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhMKhj]hhubjS)}(hhh]jX)}(h;Convenience function for clearing bits in a register on MMDh]h;Convenience function for clearing bits in a register on MMD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhjhhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhjvhMKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOhj ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj.h]hstruct phy_device *phydev}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMMhj(ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMMhj%ubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjgh]h int devad}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMNhjaubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMNhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMNhj%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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOhjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhj%ubj)}(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.hhMPhjubj)}(hhh]jX)}(h bits to clearh]h bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhj%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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhj ubjX)}(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.hhMQhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits_mmd (C function)c.phy_set_bits_mmdhNtauh1hhj khhhNhNubh)}(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}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[ubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUhhhjghM[ubj)}(hphy_set_bits_mmdh]j%)}(hphy_set_bits_mmdh]hphy_set_bits_mmd}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjUhhhjghM[ubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj|sbc.phy_set_bits_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)}(h int devadh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdevadh]hdevad}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]jc.phy_set_bits_mmdasbuh1hhj9ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj%)}(hregnumh]hregnum}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(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_bits_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjUhhhjghM[ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjQhhhjghM[ubah}(h]jLah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjghM[hjNhhubjS)}(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.hhM[hjhhubah}(h]h ]h"]h$]h&]uh1jRhjNhhhjghM[ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 val`` bits to seth](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]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}(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}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hM]hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM]hjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjXh]h int devad}(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.hhM^hjRubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhM^hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM^hjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM_hjubj)}(h``u16 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.hhMahjubj)}(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.hhM`hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits_mmd (C function)c.phy_clear_bits_mmdhNtauh1hhj khhhNhNubh)}(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}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMiubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj2hMiubj)}(hphy_clear_bits_mmdh]j%)}(hphy_clear_bits_mmdh]hphy_clear_bits_mmd}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj2hMiubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj]ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjGsbc.phy_clear_bits_mmdasbuh1hhj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(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=uh1jhjYubj)}(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_clear_bits_mmdasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]jc.phy_clear_bits_mmdasbuh1hhjLubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj2hMiubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj2hMiubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj2hMihjhhubjS)}(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.hhMihjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj2hMiubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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.hhMmhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMkhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubj)}(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.hhMlhjubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMlhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMlhjubj)}(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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMmhjVubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMmhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMmhjubj)}(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.hhMohjubj)}(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.hhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interrupt_is_valid (C function)c.phy_interrupt_is_validhNtauh1hhj khhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMwubj)}(hphy_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=uh1jhjhhhjhMwubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(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_interrupt_is_validasbuh1hhj'ubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMwubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMwubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMwhjhhubjS)}(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.hhMwhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMwubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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.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.hhMxhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(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**NOTE**h]j)}(hj*h]hNOTE}(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.hhMzhjubjX)}(hLmust be kept in sync with addition/removal of PHY_POLL and PHY_MAC_INTERRUPTh]hLmust be kept in sync with addition/removal of PHY_POLL and PHY_MAC_INTERRUPT}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_polling_mode (C function)c.phy_polling_modehNtauh1hhj khhhNhNubh)}(hhh](h)}(h1bool phy_polling_mode (struct phy_device *phydev)h]h)}(h0bool phy_polling_mode(struct phy_device *phydev)h](j)}(hjTh]hbool}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhhj|hMubj)}(hphy_polling_modeh]j%)}(hphy_polling_modeh]hphy_polling_mode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjkhhhj|hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_polling_modeasbuh1hhjubj)}(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=uh1jhjkhhhj|hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjghhhj|hMubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|hMhjdhhubjS)}(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}(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&]uh1jRhjdhhhj|hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFjxjFjyjzj{uh1hhhhj khNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjoh]hstruct phy_device *phydev}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjiubj)}(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&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_hwtstamp (C function)c.phy_has_hwtstamphNtauh1hhj khhhNhNubh)}(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.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(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=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%modnameN classnameNjj!)}j$]j')}jjsbc.phy_has_hwtstampasbuh1hhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjQhhhNhNubah}(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-Tests whether a PHY time stamp configuration.h]h-Tests whether a PHY time stamp configuration.}(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{uh1hhhhj khNhNubj})}(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}(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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_rxtstamp (C function)c.phy_has_rxtstamphNtauh1hhj khhhNhNubh)}(hhh](h)}(h1bool phy_has_rxtstamp (struct phy_device *phydev)h]h)}(h0bool phy_has_rxtstamp(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.hhMubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj0hMubj)}(hphy_has_rxtstamph]j%)}(hphy_has_rxtstamph]hphy_has_rxtstamp}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj0hMubj)}(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 reftargetjmodnameN classnameNjj!)}j$]j')}jjEsbc.phy_has_rxtstampasbuh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj0hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj0hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hMhjhhubjS)}(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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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.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.hhMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_tsinfo (C function)c.phy_has_tsinfohNtauh1hhj khhhNhNubh)}(hhh](h)}(h/bool phy_has_tsinfo (struct phy_device *phydev)h]h)}(h.bool phy_has_tsinfo(struct phy_device *phydev)h](j)}(hjTh]hbool}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjhMubj)}(hphy_has_tsinfoh]j%)}(hphy_has_tsinfoh]hphy_has_tsinfo}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_has_tsinfoasbuh1hhjubj)}(h h]h }(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=uh1jhjyhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjuhhhjhMubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjrhhubjS)}(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.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj9hhubah}(h]h ]h"]h$]h&]uh1jRhjrhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{uh1hhhhj khNhNubj})}(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.hhMhjXubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj}h]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjwubj)}(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&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_txtstamp (C function)c.phy_has_txtstamphNtauh1hhj khhhNhNubh)}(hhh](h)}(h1bool phy_has_txtstamp (struct phy_device *phydev)h]h)}(h0bool phy_has_txtstamp(struct phy_device *phydev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_has_txtstamph]j%)}(hphy_has_txtstamph]hphy_has_txtstamp}(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}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j')}jjsbc.phy_has_txtstampasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(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=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)}(h4Tests whether a PHY supports transmit time stamping.h]h4Tests whether a PHY supports transmit time stamping.}(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{uh1hhhhj khNhNubj})}(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}(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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_is_default_hwtstamp (C function)c.phy_is_default_hwtstamphNtauh1hhj khhhNhNubh)}(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}(hj1hhhNhNubah}(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_default_hwtstamph]j%)}(hphy_is_default_hwtstamph]hphy_is_default_hwtstamp}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj>hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjSsbc.phy_is_default_hwtstampasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubah}(h]h ]h"]h$]h&]j<j=uh1jhj-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)Is the PHY hwtstamp the default timestamph]h)Is the PHY hwtstamp the default timestamp}(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&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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.hhMhj ubj)}(hhh]j)}(h4``struct phy_device *phydev`` Pointer to phy_device h](j)}(h``struct phy_device *phydev``h]j)}(hj1h]hstruct phy_device *phydev}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj+ubj)}(hhh]jX)}(hPointer to phy_deviceh]hPointer to phy_device}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjlh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubjX)}(h **Return**h]j)}(hjh]hReturn}(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 ubjX)}(h9True if phy is the default hw timestamp, false otherwise.h]h9True if phy is the default hw timestamp, false otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_on_sfp (C function) c.phy_on_sfphNtauh1hhj khhhNhNubh)}(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}(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}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j')}jjsb c.phy_on_sfpasbuh1hhjubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj 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=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}(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{uh1hhhhj khNhNubj})}(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}(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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_rgmii (C function)c.phy_interface_mode_is_rgmiihNtauh1hhj khhhNhNubh)}(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}(hj2hhhNhNubah}(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_interface_mode_is_rgmiih]j%)}(hphy_interface_mode_is_rgmiih]hphy_interface_mode_is_rgmii}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj?hMubj)}(h(phy_interface_t mode)h]j)}(hphy_interface_t modeh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]j')}jjTsbc.phy_interface_mode_is_rgmiiasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj%)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubah}(h]h ]h"]h$]h&]j<j=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)}(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&]uh1jRhj'hhhj?hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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}(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.hhMhjubj)}(hhh]jX)}(h"the :c:type:`phy_interface_t` enumh](hthe }(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.hhMhj#ubh enum}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjJhMhj 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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_8023z (C function)c.phy_interface_mode_is_8023zhNtauh1hhj khhhNhNubh)}(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}(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_8023zh]j%)}(hphy_interface_mode_is_8023zh]hphy_interface_mode_is_8023z}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(phy_interface_t mode)h]j)}(hphy_interface_t modeh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_interface_mode_is_8023zasbuh1hhjubj)}(h h]h }(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhj|hhubjS)}(hhh]jX)}(h2does the PHY interface mode use 802.3z negotiationh]h2does the PHY interface mode use 802.3z negotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj|hhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``phy_interface_t mode`` one of :c:type:`enum phy_interface_t ` **Description** Returns true if the PHY interface mode uses the 16-bit negotiation word as defined in 802.3z. (See 802.3-2015 37.2.1 Config_Reg encoding)h](jX)}(h**Parameters**h]j)}(hj@h]h Parameters}(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.hhMhj:ubj)}(hhh]j)}(hQ``phy_interface_t mode`` one of :c:type:`enum phy_interface_t ` h](j)}(h``phy_interface_t mode``h]j)}(hj_h]hphy_interface_t mode}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjYubj)}(hhh]jX)}(h7one of :c:type:`enum phy_interface_t `h](hone of }(hjxhhhNhNubh)}(h0:c:type:`enum phy_interface_t `h]j)}(hjh]henum phy_interface_t}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjthMhjxubeh}(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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj:ubjX)}(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.hhMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interface_is_rgmii (C function)c.phy_interface_is_rgmiihNtauh1hhj khhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(hphy_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=uh1jhjhhhj hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]j')}jj sbc.phy_interface_is_rgmiiasbuh1hhj6ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubah}(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)}(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&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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.hhM hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_is_pseudo_fixed_link (C function)c.phy_is_pseudo_fixed_linkhNtauh1hhj khhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjehM ubj)}(hphy_is_pseudo_fixed_linkh]j%)}(hphy_is_pseudo_fixed_linkh]hphy_is_pseudo_fixed_link}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjehM 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')}jjzsbc.phy_is_pseudo_fixed_linkasbuh1hhjubj)}(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=uh1jhjThhhjehM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhjehM ubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjehM hjMhhubjS)}(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.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhjehM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhj khNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj3ubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_module_driver (C macro)c.phy_module_driverhNtauh1hhj khhhNhNubh)}(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.hhMg ubah}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMg ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMg hjhhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjhhhjhMg ubeh}(h]h ](jqmacroeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubjX)}(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.hhMi hj khhubj )}(h)Helper macro for registering PHY drivers h]jX)}(h(Helper macro for registering PHY driversh]h(Helper macro for registering PHY drivers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMg hjubah}(h]h ]h"]h$]h&]uh1j hjhMg hj khhubj})}(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.hhMk hjubj)}(hhh](j)}(h3``__phy_drivers`` array of PHY drivers to register h](j)}(h``__phy_drivers``h]j)}(hj<h]h __phy_drivers}(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.hhMh hj6ubj)}(hhh]jX)}(h array of PHY drivers to registerh]h array of PHY drivers to register}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMh hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMh hj3ubj)}(h(``__count`` Numbers of members in array h](j)}(h ``__count``h]j)}(hjuh]h__count}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMi hjoubj)}(hhh]jX)}(hNumbers of members in arrayh]hNumbers of members in array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMi hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMi 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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMk 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.hhMj hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_unregister_fixup (C function)c.phy_unregister_fixuphNtauh1hhj khhhNhNubh)}(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}(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_unregister_fixuph]j%)}(hphy_unregister_fixuph]hphy_unregister_fixup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h3(const char *bus_id, u32 phy_uid, u32 phy_uid_mask)h](j)}(hconst char *bus_idh](h)}(hjh]hconst}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj)}(hcharh]hchar}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hbus_idh]hbus_id}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubj)}(h u32 phy_uidh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_unregister_fixupasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hphy_uidh]hphy_uid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubj)}(hu32 phy_uid_maskh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_unregister_fixupasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h phy_uid_maskh]h phy_uid_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h remove a phy_fixup from the listh]h remove a phy_fixup from the list}(hj2hhhNhNubah}(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&]jvjqjwjJjxjJjyjzj{uh1hhhhj khNhNubj})}(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)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjNubj)}(hhh](j)}(hX``const char *bus_id`` A string matches fixup->bus_id (or PHY_ANY_ID) in phy_fixup_list h](j)}(h``const char *bus_id``h]j)}(hjsh]hconst char *bus_id}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjmubj)}(hhh]jX)}(h@A string matches fixup->bus_id (or PHY_ANY_ID) in phy_fixup_listh]h@A string matches fixup->bus_id (or PHY_ANY_ID) in phy_fixup_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjubj)}(hR``u32 phy_uid`` A phy id matches fixup->phy_id (or PHY_ANY_UID) in phy_fixup_list h](j)}(h``u32 phy_uid``h]j)}(hjh]h u32 phy_uid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hAA phy id matches fixup->phy_id (or PHY_ANY_UID) in phy_fixup_listh]hAA phy id matches fixup->phy_id (or PHY_ANY_UID) in phy_fixup_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjubj)}(hL``u32 phy_uid_mask`` Applied to phy_uid and fixup->phy_uid before comparisonh](j)}(h``u32 phy_uid_mask``h]j)}(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}(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&]uh1jhjhMhjjubeh}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_match_phy_device (C function)c.genphy_match_phy_devicehNtauh1hhj khhhNhNubh)}(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}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM3ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhjMhM3ubj)}(hgenphy_match_phy_deviceh]j%)}(hgenphy_match_phy_deviceh]hgenphy_match_phy_device}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhjMhM3ubj)}(h<(struct phy_device *phydev, const struct phy_driver *phydrv)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubh)}(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')}jjbsbc.genphy_match_phy_deviceasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubj)}(hconst struct phy_driver *phydrvh](h)}(hjh]hconst}(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_driverh]h phy_driver}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)modnameN classnameNjj!)}j$]jc.genphy_match_phy_deviceasbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydrvh]hphydrv}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubeh}(h]h ]h"]h$]h&]j<j=uh1jhj;hhhjMhM3ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhjMhM3ubah}(h]j2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjMhM3hj4hhubjS)}(hhh]jX)}(h$match a PHY device with a PHY driverh]h$match a PHY device with a PHY driver}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM3hjhhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhjMhM3ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``const struct phy_driver *phydrv`` target phy_driver struct **Description** Checks whether the given PHY device matches the specified PHY driver. For Clause 45 PHYs, iterates over the available device identifiers and compares them against the driver's expected PHY ID, applying the provided mask. For Clause 22 PHYs, a direct ID comparison is performed. **Return** 1 if the PHY device matches the driver, 0 otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM7hjubj)}(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.chM4hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubj)}(h=``const struct phy_driver *phydrv`` target phy_driver struct h](j)}(h#``const struct phy_driver *phydrv``h]j)}(hjh]hconst struct phy_driver *phydrv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM5hjubj)}(hhh]jX)}(htarget phy_driver structh]htarget phy_driver struct}(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}(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.chM7hjubjX)}(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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM7hjubjX)}(h **Return**h]j)}(hjfh]hReturn}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM=hjubjX)}(h41 if the PHY device matches the driver, 0 otherwise.h]h41 if the PHY device matches the driver, 0 otherwise.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM=hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_device (C function)c.get_phy_devicehNtauh1hhj khhhNhNubh)}(hhh](h)}(hOstruct phy_device * get_phy_device (struct mii_bus *bus, int addr, bool is_c45)h]h)}(hMstruct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMKubh)}(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_deviceasbuh1hhjhhhjhMKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMKubj)}(hget_phy_deviceh]j%)}(hjh]hget_phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMKubj)}(h,(struct mii_bus *bus, int addr, bool is_c45)h](j)}(hstruct mii_bus *bush](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%)}(hmii_bush]hmii_bus}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jc.get_phy_deviceasbuh1hhj!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%)}(hbush]hbus}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint addrh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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=uh1jhjhhhjhMKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMKhjhhubjS)}(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.chMKhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhj khNhNubj})}(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)}(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.chMOhj=ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjbh]hstruct mii_bus *bus}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMMhj\ubj)}(hhh]jX)}(hthe target MII bush]hthe target MII bus}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMMhjYubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hjh]hint addr}(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.chMNhjubj)}(hhh]jX)}(hPHY address on the MII bush]hPHY address on the MII bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjYubj)}(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.chMOhjubj)}(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&]uh1jWhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjYubeh}(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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMQhj=ubjX)}(h'Probe for a PHY at **addr** on **bus**.h](hProbe for a PHY at }(hj%hhhNhNubj)}(h**addr**h]haddr}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh on }(hj%hhhNhNubj)}(h**bus**h]hbus}(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:128: ./drivers/net/phy/phy_device.chMPhj=ubjX)}(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 }(hjXhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjbh]hstruct phy_device}(hjdhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMRhjXubh.}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMRhj=ubjX)}(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 }(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.chMUhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMUhj=ubjX)}(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.chMYhjubh on success, }(hjhhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if there is no PHY present, or }(hjhhhNhNubj)}(h``-EIO``h]h-EIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on bus access error.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMYhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_device_register (C function)c.phy_device_registerhNtauh1hhj khhhNhNubh)}(hhh](h)}(h3int phy_device_register (struct phy_device *phydev)h]h)}(h2int phy_device_register(struct phy_device *phydev)h](j)}(hinth]hint}(hj2hhhNhNubah}(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 }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj@hMubj)}(hphy_device_registerh]j%)}(hphy_device_registerh]hphy_device_register}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj@hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjUsbc.phy_device_registerasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubah}(h]h ]h"]h$]h&]j<j=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'Register the phy device on the MDIO bush]h'Register the phy device on the MDIO bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj'hhhj@hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj khNhNubj})}(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)}(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:128: ./drivers/net/phy/phy_device.chMhj-ubj)}(hhh]jX)}(h0phy_device structure to be added to the MDIO bush]h0phy_device structure to be added to the MDIO bus}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_device_remove (C function)c.phy_device_removehNtauh1hhj khhhNhNubh)}(hhh](h)}(h2void phy_device_remove (struct phy_device *phydev)h]h)}(h1void phy_device_remove(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_device_removeh]j%)}(hphy_device_removeh]hphy_device_remove}(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_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}(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;Remove a previously registered phy device from the MDIO bush]h;Remove a previously registered phy device from the MDIO bus}(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{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` phy_device structure to remove **Description** This doesn't free the phy_device itself, it merely reverses the effects of phy_device_register(). Use phy_device_free() to free the device after calling this function.h](jX)}(h**Parameters**h]j)}(hjoh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjiubj)}(hhh]j)}(h=``struct phy_device *phydev`` phy_device structure to remove h](j)}(h``struct phy_device *phydev``h]j)}(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)}(hphy_device structure to removeh]hphy_device structure to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjiubjX)}(hThis doesn't free the phy_device itself, it merely reverses the effects of phy_device_register(). Use phy_device_free() to free the device after calling this function.h]hThis doesn’t free the phy_device itself, it merely reverses the effects of phy_device_register(). Use phy_device_free() to free the device after calling this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_c45_ids (C function)c.phy_get_c45_idshNtauh1hhj khhhNhNubh)}(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&]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_get_c45_idsh]j%)}(hphy_get_c45_idsh]hphy_get_c45_ids}(hj/hhhNhNubah}(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}(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_get_c45_idsasbuh1hhjGubj)}(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=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"Read 802.3-c45 IDs for phy device.h]h"Read 802.3-c45 IDs for phy device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` phy_device structure to read 802.3-c45 IDs **Description** Returns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(hI``struct phy_device *phydev`` phy_device structure to read 802.3-c45 IDs h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj ubj)}(hhh]jX)}(h*phy_device structure to read 802.3-c45 IDsh]h*phy_device structure to read 802.3-c45 IDs}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjJh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjX)}(hmReturns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid.h](hReturns zero on success, }(hj`hhhNhNubj)}(h``-EIO``h]h-EIO}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh on bus access error, or }(hj`hhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh, if the “devices in package” is invalid.}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_find_next (C function)c.phy_find_nexthNtauh1hhj khhhNhNubh)}(hhh](h)}(hOstruct phy_device * phy_find_next (struct mii_bus *bus, struct phy_device *pos)h]h)}(hMstruct phy_device *phy_find_next(struct mii_bus *bus, struct phy_device *pos)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_find_nextsbc.phy_find_nextasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(h phy_find_nexth]j%)}(hjh]h phy_find_next}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h-(struct mii_bus *bus, struct phy_device *pos)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}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]jc.phy_find_nextasbuh1hhj)ubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)ubj%)}(hbush]hbus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubj)}(hstruct phy_device *posh](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_find_nextasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hposh]hpos}(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$finds the next PHY device on the bush]h$finds the next PHY device on the bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct mii_bus *bus`` the target MII bus ``struct phy_device *pos`` cursor **Return** next phy_device on the bus, or NULLh](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.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}(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.chMhjYubj)}(hhh]jX)}(hthe target MII bush]hthe target MII bus}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjVubj)}(h"``struct phy_device *pos`` cursor h](j)}(h``struct phy_device *pos``h]j)}(hjh]hstruct phy_device *pos}(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)}(hcursorh]hcursor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjVubeh}(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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj:ubjX)}(h#next phy_device on the bus, or NULLh]h#next phy_device on the bus, or NULL}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect_direct (C function)c.phy_connect_directhNtauh1hhj khhhNhNubh)}(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.chMubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj&hMubj)}(hphy_connect_directh]j%)}(hphy_connect_directh]hphy_connect_direct}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj&hMubj)}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]j')}jj;sbc.phy_connect_directasbuh1hhjQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubj)}(h#void (*handler)(struct net_device*)h](j)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hjh]h(}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hhandlerh]hhandler}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubj;)}(hjh]h)}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(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_directasbuh1hhj3ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubj)}(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=uh1jhjMubeh}(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)}(h3connect an ethernet device to a specific phy_deviceh]h3connect an ethernet device to a specific phy_device}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjLhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj&hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjgjxjgjyjzj{uh1hhhhj khNhNubj})}(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)}(hjqh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjkubj)}(hhh](j)}(h9``struct net_device *dev`` the network device to connect h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hthe network device to connecth]hthe network device to connect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h<``struct phy_device *phydev`` the pointer to the phy device h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hthe pointer to the phy deviceh]hthe pointer to the phy device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hZ``void (*handler)(struct net_device *)`` callback function for state change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hjh]h$void (*handler)(struct net_device *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.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&]uh1jhjhMhjubj)}(h4``phy_interface_t interface`` PHY device's interfaceh](j)}(h``phy_interface_t interface``h]j)}(hj;h]hphy_interface_t interface}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj5ubj)}(hhh]jX)}(hPHY device's interfaceh]hPHY device’s interface}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjubeh}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect (C function) c.phy_connecthNtauh1hhj khhhNhNubh)}(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.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM 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')}j phy_connectsb c.phy_connectasbuh1hhjhhhjhM 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 phy_connecth]j%)}(hjh]h phy_connect}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(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&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(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_connectasbuh1hhj 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%)}(hdevh]hdev}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *bus_idh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hbus_idh]hbus_id}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h#void (*handler)(struct net_device*)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(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(}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubh)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(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 c.phy_connectasbuh1hhjubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.phy_connectasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(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.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj khNhNubj})}(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)}(hj5h]hstruct net_device *dev}(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.chMhj/ubj)}(hhh]jX)}(hthe network device to connecth]hthe network device to connect}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj,ubj)}(hB``const char *bus_id`` the id string of the PHY device to connect h](j)}(h``const char *bus_id``h]j)}(hjnh]hconst char *bus_id}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhubj)}(hhh]jX)}(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&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubj)}(hZ``void (*handler)(struct net_device *)`` callback function for state change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hjh]h$void (*handler)(struct net_device *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(h0callback function for state change notificationsh]h0callback function for state change notifications}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubj)}(h5``phy_interface_t interface`` PHY device's interface h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hPHY device's interfaceh]hPHY device’s interface}(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.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}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj4ubj)}(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.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjGubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disconnect (C function)c.phy_disconnecthNtauh1hhj khhhNhNubh)}(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.chM7ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM7ubj)}(hphy_disconnecth]j%)}(hphy_disconnecth]hphy_disconnect}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM7ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_disconnectasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(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=uh1jhjhhhjhM7ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM7ubah}(h]j~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM7hjhhubjS)}(hhh]jX)}(h?disable interrupts, stop state machine, and detach a PHY deviceh]h?disable interrupts, stop state machine, and detach a PHY device}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM7hjHhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM7ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhj khNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](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)}(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.chM=hjubj)}(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.chM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_sfp_connect_phy (C function)c.phy_sfp_connect_phyhNtauh1hhj khhhNhNubh)}(hhh](h)}(h@int phy_sfp_connect_phy (void *upstream, struct phy_device *phy)h]h)}(h?int phy_sfp_connect_phy(void *upstream, struct phy_device *phy)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_sfp_connect_phyh]j%)}(hphy_sfp_connect_phyh]hphy_sfp_connect_phy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h((void *upstream, struct phy_device *phy)h](j)}(hvoid *upstreamh](j)}(hvoidh]hvoid}(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%)}(hupstreamh]hupstream}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct phy_device *phyh](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')}jj sbc.phy_sfp_connect_phyasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hphyh]hphy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(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)}(h0Connect the SFP module's PHY to the upstream PHYh]h2Connect the SFP module’s PHY to the upstream PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hj)h]hvoid *upstream}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj#ubj)}(hhh]jX)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj ubj)}(hB``struct phy_device *phy`` pointer to the SFP module's phy device h](j)}(h``struct phy_device *phy``h]j)}(hjbh]hstruct phy_device *phy}(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.chMhj\ubj)}(hhh]jX)}(h&pointer to the SFP module's phy deviceh]h(pointer to the SFP module’s phy device}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhj 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)}(hThis helper allows keeping track of PHY devices on the link. It adds the SFP module's phy to the phy namespace of the upstream phyh]hThis helper allows keeping track of PHY devices on the link. It adds the SFP module’s phy to the phy namespace of the upstream phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjX)}(h.0 on success, otherwise a negative error code.h]h.0 on success, otherwise a negative error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_sfp_disconnect_phy (C function)c.phy_sfp_disconnect_phyhNtauh1hhj khhhNhNubh)}(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}(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_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=uh1jhjhhhjhMubj)}(h((void *upstream, struct phy_device *phy)h](j)}(hvoid *upstreamh](j)}(hvoidh]hvoid}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hupstreamh]hupstream}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubj)}(hstruct phy_device *phyh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj,sbc.phy_sfp_disconnect_phyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphyh]hphy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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)}(h5Disconnect the SFP module's PHY from the upstream PHYh]h7Disconnect the SFP module’s PHY from the upstream PHY}(hj hhhNhNubah}(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{uh1hhhhj khNhNubj})}(hX**Parameters** ``void *upstream`` pointer to the upstream phy device ``struct phy_device *phy`` pointer to the SFP module's phy device **Description** This helper allows keeping track of PHY devices on the link. It removes the SFP module's phy to the phy namespace of the upstream phy. As the module phy will be destroyed, re-inserting the same module will add a new phy with a new index.h](jX)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj'ubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hjLh]hvoid *upstream}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjFubj)}(hhh]jX)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjCubj)}(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&]uh1jhjhMhjCubeh}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_sfp_attach (C function)c.phy_sfp_attachhNtauh1hhj khhhNhNubh)}(hhh](h)}(h9void phy_sfp_attach (void *upstream, struct sfp_bus *bus)h]h)}(h8void phy_sfp_attach(void *upstream, struct sfp_bus *bus)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.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}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>ubj%)}(hupstreamh]hupstream}(hjkhhhNhNubah}(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_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{uh1hhhhj khNhNubj})}(h**Parameters** ``void *upstream`` pointer to the phy device ``struct sfp_bus *bus`` sfp bus representing cage being attached **Description** This is used to fill in the sfp_upstream_ops .attach member.h](jX)}(h**Parameters**h]j)}(hj) h]h Parameters}(hj+ hhhNhNubah}(h]h ]h"]h$]h&]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)}(hjH h]hvoid *upstream}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjB ubj)}(hhh]jX)}(hpointer to the phy deviceh]hpointer to the phy device}(hja hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj] hMhj^ ubah}(h]h ]h"]h$]h&]uh1jhjB ubeh}(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)}(hj h]hstruct sfp_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:128: ./drivers/net/phy/phy_device.chMhj{ ubj)}(hhh]jX)}(h(sfp bus representing cage being attachedh]h(sfp bus representing cage being 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? ubeh}(h]h ]h"]h$]h&]uh1jhj# ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj# ubjX)}(h hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj: 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%)}(hupstreamh]hupstream}(hjg hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj: ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6 ubj)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj| ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj| ubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jj$ sbc.phy_sfp_detachasbuh1hhj| 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=uh1jhj6 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)}(h7detach the SFP bus from the PHY upstream network deviceh]h7detach the SFP bus from 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.chM)hj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hM)ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj khNhNubj})}(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.chM-hj ubj)}(hhh](j)}(h-``void *upstream`` pointer to the phy device h](j)}(h``void *upstream``h]j)}(hjD h]hvoid *upstream}(hjF hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB 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)}(hpointer to the phy deviceh]hpointer to the phy device}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjY hM*hjZ ubah}(h]h ]h"]h$]h&]uh1jhj> ubeh}(h]h ]h"]h$]h&]uh1jhjY hM*hj; ubj)}(hA``struct sfp_bus *bus`` sfp bus representing cage being attached 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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+hjw ubj)}(hhh]jX)}(h(sfp bus representing cage being attachedh]h(sfp bus representing cage being attached}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM+hj ubah}(h]h ]h"]h$]h&]uh1jhjw 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:128: ./drivers/net/phy/phy_device.chM-hj ubjX)}(hh]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6 ubj%)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6 ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2 ubj)}(h"const struct sfp_upstream_ops *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%)}(hsfp_upstream_opsh]hsfp_upstream_ops}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jt c.phy_sfp_probeasbuh1hhj 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%)}(hopsh]hops}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2 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)}(h0probe for a SFP cage attached to this PHY deviceh]h0probe for a SFP cage attached to this PHY device}(hjH hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM:hjE hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hM:ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj` jxj` jyjzj{uh1hhhhj khNhNubj})}(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)}(hjj h]h Parameters}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM>hjd ubj)}(hhh](j)}(h4``struct phy_device *phydev`` Pointer to phy_device h](j)}(h``struct phy_device *phydev``h]j)}(hj h]hstruct phy_device *phydev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM;hj ubj)}(hhh]jX)}(hPointer to phy_deviceh]hPointer to 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;hj ubj)}(h@``const struct sfp_upstream_ops *ops`` SFP's upstream operationsh](j)}(h&``const struct sfp_upstream_ops *ops``h]j)}(hj h]h"const struct sfp_upstream_ops *ops}(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)}(hSFP's upstream operationsh]hSFP’s upstream operations}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM<hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM=hj ubeh}(h]h ]h"]h$]h&]uh1jhjd ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_attach_direct (C function)c.phy_attach_directhNtauh1hhj khhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMXubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj*hMXubj)}(hphy_attach_directh]j%)}(hphy_attach_directh]hphy_attach_direct}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj*hMXubj)}(hY(struct net_device *dev, struct phy_device *phydev, u32 flags, phy_interface_t interface)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j')}jj?sbc.phy_attach_directasbuh1hhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_attach_directasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(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=uh1jhjQubj)}(h u32 flagsh](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_attach_directasbuh1hhj7ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj%)}(hflagsh]hflags}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(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=uh1jhjQubeh}(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)}(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.chMXhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj*hMXubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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.chM\hjubj)}(hhh](j)}(h4``struct net_device *dev`` network device to attach 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.chMYhjubj)}(hhh]jX)}(hnetwork device to attachh]hnetwork device to attach}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMYhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMYhjubj)}(h>``struct phy_device *phydev`` Pointer to phy_device to attach h](j)}(h``struct phy_device *phydev``h]j)}(hjVh]hstruct phy_device *phydev}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMZhjPubj)}(hhh]jX)}(hPointer to phy_device to attachh]hPointer to phy_device to attach}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMZhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMZhjubj)}(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.chM[hjubj)}(hhh]jX)}(hPHY device's dev_flagsh]hPHY device’s dev_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjubj)}(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.chM\hjubj)}(hhh]jX)}(hPHY device's interfaceh]hPHY device’s interface}(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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM^hjubj)}(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.chMchjubj)}(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.}(hj2hhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_attach (C function) c.phy_attachhNtauh1hhj khhhNhNubh)}(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}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjohhh]/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 hjohhhjhMubh)}(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_attachasbuh1hhjohhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjohhhjhMubj)}(h phy_attachh]j%)}(hjh]h phy_attach}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjohhhjhMubj)}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j c.phy_attachasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *bus_idh](h)}(hjh]hconst}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj)}(hcharh]hchar}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hbus_idh]hbus_id}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(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=uh1jhjohhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhjhMubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhhubjS)}(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&]uh1jRhjhhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+jxj+jyjzj{uh1hhhhj khNhNubj})}(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)}(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)}(h4``struct net_device *dev`` network device to attach 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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjNubj)}(hhh]jX)}(hnetwork device to attachh]hnetwork device to attach}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjKubj)}(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&]uh1jhjhMhjKubj)}(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.chM hjubj)}(hhh]jX)}(hPHY device's interfaceh]hPHY device’s interface}(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)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj/ubj)}(hhh]j)}(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}(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)}(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.}(hj0hhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM hjubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_detach (C function) c.phy_detachhNtauh1hhj khhhNhNubh)}(hhh](h)}(h+void phy_detach (struct phy_device *phydev)h]h)}(h*void phy_detach(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmhhh]/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 hjmhhhjhM,ubj)}(h phy_detachh]j%)}(h phy_detachh]h phy_detach}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhjhM,ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.phy_detachasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(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=uh1jhjmhhhjhM,ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhjhM,ubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM,hjfhhubjS)}(hhh]jX)}(h+detach a PHY device from its network deviceh]h+detach a PHY device from its network device}(hj1hhhNhNubah}(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&]uh1jRhjfhhhjhM,ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhj khNhNubj})}(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)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0hjMubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct 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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM-hjlubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjiubah}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM/hjMubjX)}(hThis detaches the phy device from its network device and the phy driver, and drops the reference count taken in phy_attach_direct().h]hThis detaches the phy device from its network device and the phy driver, and drops the reference count taken in phy_attach_direct().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM.hjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_reset_after_clk_enable (C function)c.phy_reset_after_clk_enablehNtauh1hhj khhhNhNubh)}(hhh](h)}(h:int phy_reset_after_clk_enable (struct phy_device *phydev)h]h)}(h9int phy_reset_after_clk_enable(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_reset_after_clk_enableh]j%)}(hphy_reset_after_clk_enableh]hphy_reset_after_clk_enable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]j')}jjsbc.phy_reset_after_clk_enableasbuh1hhj+ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj;)}(hj>h]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'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)}(hperform a PHY reset if neededh]hperform a PHY reset if needed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX8**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Some PHYs are known to need a reset after their refclk was enabled. This function evaluates the flags and perform the reset if it's needed. Returns < 0 on error, 0 if the phy wasn't reset and 1 if the phy was reset.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(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)}(hj.h]h Description}(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.chMhjubj)}(hhh]j)}(hSome PHYs are known to need a reset after their refclk was enabled. This function evaluates the flags and perform the reset if it's needed. Returns < 0 on error, 0 if the phy wasn't reset and 1 if the phy was reset.h](j)}(h:Some PHYs are known to need a reset after their refclk wash]h:Some PHYs are known to need a reset after their refclk was}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjGubj)}(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.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjZubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjDubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_setup_forced (C function)c.genphy_setup_forcedhNtauh1hhj khhhNhNubh)}(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.chM$ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM$ubj)}(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=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.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}(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.configures/forces speed/duplex from **phydev**h](h$configures/forces speed/duplex from }(hj^hhhNhNubj)}(h **phydev**h]hphydev}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM$hj[hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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.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'hjubj)}(hhh]j)}(hConfigures MII_BMCR to force speed/duplex to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().h](j)}(h)Configures MII_BMCR to force speed/duplexh]h)Configures MII_BMCR to force speed/duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM(hjubj)}(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&]uh1jWhjhM(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_restart_aneg (C function)c.genphy_restart_aneghNtauh1hhj khhhNhNubh)}(hhh](h)}(h3int genphy_restart_aneg (struct phy_device *phydev)h]h)}(h2int genphy_restart_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjShhhjehMubj)}(hgenphy_restart_anegh]j%)}(hgenphy_restart_anegh]hgenphy_restart_aneg}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjShhhjehMubj)}(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')}jjzsbc.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=uh1jhjShhhjehMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOhhhjehMubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjehMhjLhhubjS)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhjehMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhj khNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj3ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](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:128: ./drivers/net/phy/phy_device.chMhjRubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_check_and_restart_aneg (C function)c.genphy_check_and_restart_aneghNtauh1hhj khhhNhNubh)}(hhh](h)}(hKint genphy_check_and_restart_aneg (struct phy_device *phydev, bool restart)h]h)}(hJint genphy_check_and_restart_aneg(struct phy_device *phydev, bool restart)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hgenphy_check_and_restart_anegh]j%)}(hgenphy_check_and_restart_anegh]hgenphy_check_and_restart_aneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h)(struct phy_device *phydev, bool restart)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_check_and_restart_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}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool restarth](j)}(hjTh]hbool}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj%)}(hrestarth]hrestart}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool restart`` whether aneg restart is requested **Description** Check, and restart auto-negotiation if needed.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]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!whether aneg restart is requestedh]h!whether aneg restart is requested}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj[h]h Description}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjX)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__genphy_config_aneg (C function)c.__genphy_config_aneghNtauh1hhj khhhNhNubh)}(hhh](h)}(hBint __genphy_config_aneg (struct phy_device *phydev, bool changed)h]h)}(hAint __genphy_config_aneg(struct phy_device *phydev, bool changed)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__genphy_config_anegh]j%)}(h__genphy_config_anegh]h__genphy_config_aneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h)(struct phy_device *phydev, bool changed)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool changedh](j)}(hjTh]hbool}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj%)}(hchangedh]hchanged}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h&restart auto-negotiation or write BMCRh]h&restart auto-negotiation or write BMCR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool changed`` whether autoneg is requested **Description** If auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h.``bool changed`` whether autoneg is requested h](j)}(h``bool changed``h]j)}(hjh]h bool changed}(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.chMhjubj)}(hhh]jX)}(hwhether autoneg is requestedh]hwhether autoneg is requested}(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)}(hjIh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(hIf auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.h](j)}(h0If auto-negotiation is enabled, we configure theh]h0If auto-negotiation is enabled, we configure the}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjbubj)}(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.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjthMhj_ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_config_aneg (C function)c.genphy_c37_config_aneghNtauh1hhj khhhNhNubh)}(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 }(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=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}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjuhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hX2**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** If auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(hIf auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.h](j)}(h0If auto-negotiation is enabled, we configure theh]h0If auto-negotiation is enabled, we configure the}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_aneg_done (C function)c.genphy_aneg_donehNtauh1hhj khhhNhNubh)}(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}(hjd 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 }(hjs hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj` hhhjr hM ubj)}(hgenphy_aneg_doneh]j%)}(hgenphy_aneg_doneh]hgenphy_aneg_done}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj` hhhjr 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.genphy_aneg_doneasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhj` hhhjr 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)}(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.chM hj!!hhubah}(h]h ]h"]h$]h&]uh1jRhjY hhhjr hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjh]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjH"ubj%)}(hphydevh]hphydev}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjD"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 update link status in **phydev**h](hupdate link status in }(hj"hhhNhNubj)}(h **phydev**h]hphydev}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM, hj"hhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj"hM, ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"jxj"jyjzj{uh1hhhhj khNhNubj})}(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)}(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.chM0 hj"ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj#h]hstruct phy_device *phydev}(hj #hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM- hj#ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj7#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3#hM- hj4#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj3#hM- hj#ubah}(h]h ]h"]h$]h&]uh1jhj"ubjX)}(h**Description**h]j)}(hjY#h]h Description}(hj[#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW#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)}(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}(hjv#hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0 hjr#ubj)}(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.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hM0 hj#ubah}(h]h ]h"]h$]h&]uh1jhjr#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM0 hjo#ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_read_status_fixed (C function)c.genphy_read_status_fixedhNtauh1hhj khhhNhNubh)}(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}(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 }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#hhhj#hM ubj)}(hgenphy_read_status_fixedh]j%)}(hgenphy_read_status_fixedh]hgenphy_read_status_fixed}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj#hhhj#hM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(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_read_status_fixedasbuh1hhj$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%)}(hphydevh]hphydev}(hj^$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubah}(h]h ]h"]h$]h&]j<j=uh1jhj#hhhj#hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj#hM ubah}(h]j#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#hM hj#hhubjS)}(hhh]jX)}(h'read the link parameters for !aneg modeh]h'read the link parameters for !aneg mode}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj$hhubah}(h]h ]h"]h$]h&]uh1jRhj#hhhj#hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhj khNhNubj})}(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)}(hj$h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj$ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(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)}(htarget phy_device structh]htarget phy_device struct}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hM hj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM hj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubjX)}(h**Description**h]j)}(hj%h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj$ubjX)}(hZRead the current duplex and speed state for a PHY operating with autonegotiation disabled.h]hZRead the current duplex and speed state for a PHY operating with autonegotiation disabled.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_read_status (C function)c.genphy_read_statushNtauh1hhj khhhNhNubh)}(hhh](h)}(h2int genphy_read_status (struct phy_device *phydev)h]h)}(h1int genphy_read_status(struct phy_device *phydev)h](j)}(hinth]hint}(hjI%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE%hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjX%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjE%hhhjW%hM ubj)}(hgenphy_read_statush]j%)}(hgenphy_read_statush]hgenphy_read_status}(hjj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjE%hhhjW%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')}jjl%sbc.genphy_read_statusasbuh1hhj%ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj;)}(hj>h]h*}(hj%hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%ubj%)}(hphydevh]hphydev}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~%ubah}(h]h ]h"]h$]h&]j<j=uh1jhjE%hhhjW%hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjA%hhhjW%hM ubah}(h]j<%ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjW%hM hj>%hhubjS)}(hhh]jX)}(h3check the link status and update current link stateh]h3check the link status and update current link state}(hj &hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj&hhubah}(h]h ]h"]h$]h&]uh1jRhj>%hhhjW%hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!&jxj!&jyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Check the link, then figure out the current state by comparing what we advertise with what the link partner advertises. Start by checking the gigabit possibilities, then move on to 10/100.h](jX)}(h**Parameters**h]j)}(hj+&h]h Parameters}(hj-&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)&ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj%&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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjD&ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjc&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_&hM hj`&ubah}(h]h ]h"]h$]h&]uh1jhjD&ubeh}(h]h ]h"]h$]h&]uh1jhj_&hM hjA&ubah}(h]h ]h"]h$]h&]uh1jhj%&ubjX)}(h**Description**h]j)}(hj&h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj%&ubj)}(hhh]j)}(hCheck the link, then figure out the current state by comparing what we advertise with what the link partner advertises. 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}(hj&hhhNhNubah}(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)}(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.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hM hj&ubah}(h]h ]h"]h$]h&]uh1jhj%&ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_read_status (C function)c.genphy_c37_read_statushNtauh1hhj khhhNhNubh)}(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}(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 }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&hhhj'hM ubj)}(hgenphy_c37_read_statush]j%)}(hgenphy_c37_read_statush]hgenphy_c37_read_status}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj&hhhj'hM ubj)}(h*(struct phy_device *phydev, bool *changed)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj2'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}(hjP'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjM'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjR'modnameN classnameNjj!)}j$]j')}jj'sbc.genphy_c37_read_statusasbuh1hhj.'ubj)}(h h]h }(hjp'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 bool *changedh](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%)}(hchangedh]hchanged}(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)}(h3check the link status and update current link stateh]h3check the link status and update current link state}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj'hhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj'hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool *changed`` pointer where to store if link changed **Description** Check the link, then figure out the current state by comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode. If link has changed, **changed** is set to true, false otherwise.h](jX)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj(ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj7(h]hstruct phy_device *phydev}(hj9(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5(ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj1(ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjP(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjL(hM hjM(ubah}(h]h ]h"]h$]h&]uh1jhj1(ubeh}(h]h ]h"]h$]h&]uh1jhjL(hM hj.(ubj)}(h9``bool *changed`` pointer where to store if link changed h](j)}(h``bool *changed``h]j)}(hjp(h]h bool *changed}(hjr(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn(ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjj(ubj)}(hhh]jX)}(h&pointer where to store if link changedh]h&pointer where to store if link changed}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hM hj(ubah}(h]h ]h"]h$]h&]uh1jhjj(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:128: ./drivers/net/phy/phy_device.chM hj(ubj)}(hhh]j)}(hCheck the link, then figure out the current state by comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode. If link has changed, **changed** is set to true, false otherwise.h](j)}(h1Check the link, then figure out the current stateh]h1Check the link, then figure out the current state}(hj(hhhNhNubah}(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)}(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.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj(ubjX)}(hAIf link has changed, **changed** is set to true, false otherwise.h](hIf link has changed, }(hj(hhhNhNubj)}(h **changed**h]hchanged}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh! is set to true, false otherwise.}(hj(hhhNhNubeh}(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 ]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 khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_soft_reset (C function)c.genphy_soft_resethNtauh1hhj khhhNhNubh)}(hhh](h)}(h1int genphy_soft_reset (struct phy_device *phydev)h]h)}(h0int genphy_soft_reset(struct phy_device *phydev)h](j)}(hinth]hint}(hj<)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8)hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM! ubj)}(h h]h }(hjK)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8)hhhjJ)hM! ubj)}(hgenphy_soft_reseth]j%)}(hgenphy_soft_reseth]hgenphy_soft_reset}(hj])hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjY)ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8)hhhjJ)hM! ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjy)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhju)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hju)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_soft_resetasbuh1hhju)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hju)ubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hju)ubj%)}(hphydevh]hphydev}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hju)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjq)ubah}(h]h ]h"]h$]h&]j<j=uh1jhj8)hhhjJ)hM! ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4)hhhjJ)hM! ubah}(h]j/)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJ)hM! hj1)hhubjS)}(hhh]jX)}(h)software reset the PHY via BMCR_RESET bith]h)software reset the PHY via BMCR_RESET bit}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM! hj)hhubah}(h]h ]h"]h$]h&]uh1jRhj1)hhhjJ)hM! ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhj khNhNubj})}(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% hj*ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj=*h]hstruct phy_device *phydev}(hj?*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;*ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM" hj7*ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjV*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjR*hM" hjS*ubah}(h]h ]h"]h$]h&]uh1jhj7*ubeh}(h]h ]h"]h$]h&]uh1jhjR*hM" hj4*ubah}(h]h ]h"]h$]h&]uh1jhj*ubjX)}(h**Description**h]j)}(hjx*h]h Description}(hjz*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv*ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM$ hj*ubjX)}(hhPerform a software PHY reset using the standard BMCR_RESET bit and poll for the reset bit to be cleared.h]hhPerform a software PHY reset using the standard BMCR_RESET bit and poll for the reset bit to be cleared.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM$ hj*ubjX)}(h **Return**h]j)}(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' hj*ubjX)}(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' hj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_read_abilities (C function)c.genphy_read_abilitieshNtauh1hhj khhhNhNubh)}(hhh](h)}(h5int genphy_read_abilities (struct phy_device *phydev)h]h)}(h4int genphy_read_abilities(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:128: ./drivers/net/phy/phy_device.chMU ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhhj*hMU ubj)}(hgenphy_read_abilitiesh]j%)}(hgenphy_read_abilitiesh]hgenphy_read_abilities}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj*hMU 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 reftargetjA+modnameN classnameNjj!)}j$]j')}jj+sbc.genphy_read_abilitiesasbuh1hhj+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%)}(hphydevh]hphydev}(hjz+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*hMU ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj*hhhj*hMU ubah}(h]j*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*hMU hj*hhubjS)}(hhh]jX)}(h+read PHY abilities from Clause 22 registersh]h+read PHY abilities from Clause 22 registers}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMU hj+hhubah}(h]h ]h"]h$]h&]uh1jRhj*hhhj*hMU ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+jxj+jyjzj{uh1hhhhj khNhNubj})}(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)}(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.chMY hj+ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj+h]hstruct phy_device *phydev}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMV hj+ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMV hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMV hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubjX)}(h**Description**h]j)}(hj ,h]h Description}(hj",hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMX hj+ubjX)}(hFReads the PHY's abilities and populates phydev->supported accordingly.h]hHReads the PHY’s abilities and populates phydev->supported accordingly.}(hj6,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMX hj+ubjX)}(h **Return**h]j)}(hjG,h]hReturn}(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.chM[ hj+ubjX)}(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[ hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_remove_link_mode (C function)c.phy_remove_link_modehNtauh1hhj khhhNhNubh)}(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}(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 }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,hhhj,hM ubj)}(hphy_remove_link_modeh]j%)}(hphy_remove_link_modeh]hphy_remove_link_mode}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhj,hM ubj)}(h*(struct phy_device *phydev, 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_remove_link_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_remove_link_modeasbuh1hhj7-ubj)}(h h]h }(hj\-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7-ubj%)}(h link_modeh]h link_mode}(hjj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7-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)}(hRemove a supported link modeh]hRemove a supported link mode}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj-hhubah}(h]h ]h"]h$]h&]uh1jRhj,hhhj,hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-jxj-jyjzj{uh1hhhhj khNhNubj})}(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)}(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)}(hL``struct phy_device *phydev`` phy_device structure to remove link mode from 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)}(h-phy_device structure to remove link mode fromh]h-phy_device structure to remove link mode 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*``u32 link_mode`` Link mode to be removed h](j)}(h``u32 link_mode``h]j)}(hj.h]h u32 link_mode}(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)}(hLink mode to be removedh]hLink mode to be removed}(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)}(hjI.h]h Description}(hjK.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG.ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj-ubjX)}(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.}(hj_.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_advertise_supported (C function)c.phy_advertise_supportedhNtauh1hhj khhhNhNubh)}(hhh](h)}(h8void phy_advertise_supported (struct phy_device *phydev)h]h)}(h7void phy_advertise_supported(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj.hM ubj)}(hphy_advertise_supportedh]j%)}(hphy_advertise_supportedh]hphy_advertise_supported}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj.hM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(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_advertise_supportedasbuh1hhj.ubj)}(h h]h }(hj /hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hphydevh]hphydev}(hj$/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubah}(h]h ]h"]h$]h&]j<j=uh1jhj.hhhj.hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhj.hM ubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hM hj.hhubjS)}(hhh]jX)}(hAdvertise all supported modesh]hAdvertise all supported modes}(hjN/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjK/hhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhj.hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjf/jxjf/jyjzj{uh1hhhhj khNhNubj})}(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)}(hjp/h]h Parameters}(hjr/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn/ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjj/ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj/h]hstruct phy_device *phydev}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj/ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hM hj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hM hj/ubah}(h]h ]h"]h$]h&]uh1jhjj/ubjX)}(h**Description**h]j)}(hj/h]h Description}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjj/ubjX)}(hNCalled to advertise all supported modes, doesn't touch pause mode advertising.h]hPCalled to advertise all supported modes, doesn’t touch pause mode advertising.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_advertise_eee_all (C function)c.phy_advertise_eee_allhNtauh1hhj khhhNhNubh)}(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}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 0hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 0hhhj0hM ubj)}(hphy_advertise_eee_allh]j%)}(hphy_advertise_eee_allh]hphy_advertise_eee_all}(hj00hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj 0hhhj0hM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjL0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjH0ubj)}(h h]h }(hjY0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH0ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjg0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjl0modnameN classnameNjj!)}j$]j')}jj20sbc.phy_advertise_eee_allasbuh1hhjH0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH0ubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjH0ubj%)}(hphydevh]hphydev}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjD0ubah}(h]h ]h"]h$]h&]j<j=uh1jhj 0hhhj0hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0hhhj0hM ubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hM hj0hhubjS)}(hhh]jX)}(h!Advertise all supported EEE modesh]h!Advertise all supported EEE modes}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj0hhubah}(h]h ]h"]h$]h&]uh1jRhj0hhhj0hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhj khNhNubj})}(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)}(hj0h]h Parameters}(hj0hhhNhNubah}(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.chM hj0ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj1h]hstruct phy_device *phydev}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj 1ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj)1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%1hM hj&1ubah}(h]h ]h"]h$]h&]uh1jhj 1ubeh}(h]h ]h"]h$]h&]uh1jhj%1hM hj1ubah}(h]h ]h"]h$]h&]uh1jhj0ubjX)}(h**Description**h]j)}(hjK1h]h Description}(hjM1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI1ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj0ubjX)}(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.}(hja1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_support_eee (C function)c.phy_support_eeehNtauh1hhj khhhNhNubh)}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhj1hM ubj)}(hphy_support_eeeh]j%)}(hphy_support_eeeh]hphy_support_eee}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhj1hM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(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')}jj1sbc.phy_support_eeeasbuh1hhj1ubj)}(h h]h }(hj 2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hphydevh]hphydev}(hj&2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubah}(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$Set initial EEE policy configurationh]h$Set initial EEE policy configuration}(hjP2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjM2hhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhj1hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjh2jxjh2jyjzj{uh1hhhhj khNhNubj})}(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)}(hjr2h]h Parameters}(hjt2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp2ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjl2ubj)}(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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj2ubj)}(hhh]jX)}(hTarget phy_device structh]hTarget phy_device struct}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hM hj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hM hj2ubah}(h]h ]h"]h$]h&]uh1jhjl2ubjX)}(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:128: ./drivers/net/phy/phy_device.chM hjl2ubjX)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjl2ubjX)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjl2ubjX)}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjl2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disable_eee (C function)c.phy_disable_eeehNtauh1hhj khhhNhNubh)}(hhh](h)}(h0void phy_disable_eee (struct phy_device *phydev)h]h)}(h/void phy_disable_eee(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hj/3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+3hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj>3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+3hhhj=3hM ubj)}(hphy_disable_eeeh]j%)}(hphy_disable_eeeh]hphy_disable_eee}(hjP3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+3hhhj=3hM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjl3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjh3ubj)}(h h]h }(hjy3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh3ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j')}jjR3sbc.phy_disable_eeeasbuh1hhjh3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh3ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjh3ubj%)}(hphydevh]hphydev}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjd3ubah}(h]h ]h"]h$]h&]j<j=uh1jhj+3hhhj=3hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj'3hhhj=3hM ubah}(h]j"3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=3hM hj$3hhubjS)}(hhh]jX)}(hDisable EEE for the PHYh]hDisable EEE for the PHY}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj3hhubah}(h]h ]h"]h$]h&]uh1jRhj$3hhhj=3hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhj khNhNubj})}(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)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM! hj 4ubj)}(hhh]j)}(h7``struct phy_device *phydev`` Target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj04h]hstruct phy_device *phydev}(hj24hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.4ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj*4ubj)}(hhh]jX)}(hTarget phy_device structh]hTarget phy_device struct}(hjI4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjE4hM hjF4ubah}(h]h ]h"]h$]h&]uh1jhj*4ubeh}(h]h ]h"]h$]h&]uh1jhjE4hM hj'4ubah}(h]h ]h"]h$]h&]uh1jhj 4ubjX)}(h**Description**h]j)}(hjk4h]h Description}(hjm4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji4ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj 4ubjX)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj 4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_support_sym_pause (C function)c.phy_support_sym_pausehNtauh1hhj khhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM. ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhhj4hM. ubj)}(hphy_support_sym_pauseh]j%)}(hphy_support_sym_pauseh]hphy_support_sym_pause}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4hhhj4hM. ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj 5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj 5modnameN classnameNjj!)}j$]j')}jj4sbc.phy_support_sym_pauseasbuh1hhj4ubj)}(h h]h }(hj+5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hj95hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hphydevh]hphydev}(hjF5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubah}(h]h ]h"]h$]h&]j<j=uh1jhj4hhhj4hM. ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4hhhj4hM. ubah}(h]j4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4hM. hj4hhubjS)}(hhh]jX)}(h#Enable support of symmetrical pauseh]h#Enable support of symmetrical pause}(hjp5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM. hjm5hhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhj4hM. ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhj khNhNubj})}(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)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM2 hj5ubj)}(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}(hj5hhhNhNubah}(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/ hj5ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hM/ hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hM/ hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubjX)}(h**Description**h]j)}(hj5h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM1 hj5ubjX)}(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.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM1 hj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_support_asym_pause (C function)c.phy_support_asym_pausehNtauh1hhj khhhNhNubh)}(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}(hj16hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-6hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM< ubj)}(h h]h }(hj@6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-6hhhj?6hM< ubj)}(hphy_support_asym_pauseh]j%)}(hphy_support_asym_pauseh]hphy_support_asym_pause}(hjR6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjN6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-6hhhj?6hM< ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjn6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjj6ubj)}(h h]h }(hj{6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj6ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j')}jjT6sbc.phy_support_asym_pauseasbuh1hhjj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj6ubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjj6ubj%)}(hphydevh]hphydev}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjf6ubah}(h]h ]h"]h$]h&]j<j=uh1jhj-6hhhj?6hM< ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)6hhhj?6hM< ubah}(h]j$6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj?6hM< hj&6hhubjS)}(hhh]jX)}(hEnable support of asym pauseh]hEnable support of asym pause}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM< hj6hhubah}(h]h ]h"]h$]h&]uh1jRhj&6hhhj?6hM< ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj 7jxj 7jyjzj{uh1hhhhj khNhNubj})}(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)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM@ hj 7ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj27h]hstruct phy_device *phydev}(hj47hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj07ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM= hj,7ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjK7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjG7hM= hjH7ubah}(h]h ]h"]h$]h&]uh1jhj,7ubeh}(h]h ]h"]h$]h&]uh1jhjG7hM= hj)7ubah}(h]h ]h"]h$]h&]uh1jhj 7ubjX)}(h**Description**h]j)}(hjm7h]h Description}(hjo7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk7ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM? hj 7ubjX)}(h5Called by the MAC to indicate is supports Asym Pause.h]h5Called by the MAC to indicate is supports Asym Pause.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM? hj 7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_sym_pause (C function)c.phy_set_sym_pausehNtauh1hhj khhhNhNubh)}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMH ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhj7hMH ubj)}(hphy_set_sym_pauseh]j%)}(hphy_set_sym_pauseh]hphy_set_sym_pause}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhj7hMH ubj)}(h;(struct phy_device *phydev, bool rx, bool tx, bool autoneg)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj 8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j')}jj7sbc.phy_set_sym_pauseasbuh1hhj7ubj)}(h h]h }(hj-8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hj;8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hphydevh]hphydev}(hjH8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(hbool rxh](j)}(hjTh]hbool}(hja8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]8ubj)}(h h]h }(hjn8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]8ubj%)}(hrxh]hrx}(hj|8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(hbool txh](j)}(hjTh]hbool}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj%)}(htxh]htx}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(h bool autonegh](j)}(hjTh]hbool}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj%)}(hautonegh]hautoneg}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhj7hMH ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhj7hMH ubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hMH hj7hhubjS)}(hhh]jX)}(hConfigure symmetric Pauseh]hConfigure symmetric Pause}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMH hj 9hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhj7hMH ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&9jxj&9jyjzj{uh1hhhhj khNhNubj})}(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)}(hj09h]h Parameters}(hj29hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.9ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chML hj*9ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjO9h]hstruct phy_device *phydev}(hjQ9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM9ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMI hjI9ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjh9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjd9hMI hje9ubah}(h]h ]h"]h$]h&]uh1jhjI9ubeh}(h]h ]h"]h$]h&]uh1jhjd9hMI hjF9ubj)}(h(``bool rx`` Receiver Pause is supported h](j)}(h ``bool rx``h]j)}(hj9h]hbool rx}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMJ hj9ubj)}(hhh]jX)}(hReceiver Pause is supportedh]hReceiver Pause is supported}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMJ hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMJ hjF9ubj)}(h(``bool tx`` Transmit Pause is supported h](j)}(h ``bool tx``h]j)}(hj9h]hbool tx}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMK hj9ubj)}(hhh]jX)}(hTransmit Pause is supportedh]hTransmit Pause is supported}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMK hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMK hjF9ubj)}(h)``bool autoneg`` Auto neg should be used h](j)}(h``bool autoneg``h]j)}(hj9h]h bool autoneg}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chML hj9ubj)}(hhh]jX)}(hAuto neg should be usedh]hAuto neg should be used}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hML hj:ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj:hML hjF9ubeh}(h]h ]h"]h$]h&]uh1jhj*9ubjX)}(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.chMN hj*9ubjX)}(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.}(hjK:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMN hj*9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_asym_pause (C function)c.phy_set_asym_pausehNtauh1hhj khhhNhNubh)}(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}(hjz:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv:hhh]/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 hjv:hhhj:hM` ubj)}(hphy_set_asym_pauseh]j%)}(hphy_set_asym_pauseh]hphy_set_asym_pause}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjv:hhhj:hM` ubj)}(h-(struct phy_device *phydev, bool rx, bool tx)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]j')}jj:sbc.phy_set_asym_pauseasbuh1hhj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:ubj%)}(hphydevh]hphydev}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubj)}(hbool rxh](j)}(hjTh]hbool}(hj);hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%;ubj)}(h h]h }(hj6;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%;ubj%)}(hrxh]hrx}(hjD;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubj)}(hbool txh](j)}(hjTh]hbool}(hj];hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY;ubj)}(h h]h }(hjj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjY;ubj%)}(htxh]htx}(hjx;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjY;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjv:hhhj:hM` ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjr:hhhj:hM` ubah}(h]jm:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj:hM` hjo:hhubjS)}(hhh]jX)}(hConfigure Pause and Asym Pauseh]hConfigure Pause and Asym Pause}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM` hj;hhubah}(h]h ]h"]h$]h&]uh1jRhjo:hhhj:hM` ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhj khNhNubj})}(hX|**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool rx`` Receiver Pause is supported ``bool tx`` Transmit Pause is supported **Description** Configure advertised Pause support depending on if transmit and receiver pause is supported. If there has been a change in adverting, trigger a new autoneg. Generally called from the set_pauseparam .ndo.h](jX)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMd hj;ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj;h]hstruct phy_device *phydev}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMa hj;ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMa hj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMa hj;ubj)}(h(``bool rx`` Receiver Pause is supported h](j)}(h ``bool rx``h]j)}(hj<h]hbool rx}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMb hj<ubj)}(hhh]jX)}(hReceiver Pause is supportedh]hReceiver Pause is supported}(hj5<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1<hMb hj2<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj1<hMb hj;ubj)}(h(``bool tx`` Transmit Pause is supported h](j)}(h ``bool tx``h]j)}(hjU<h]hbool tx}(hjW<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS<ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMc hjO<ubj)}(hhh]jX)}(hTransmit Pause is supportedh]hTransmit Pause is supported}(hjn<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjj<hMc hjk<ubah}(h]h ]h"]h$]h&]uh1jhjO<ubeh}(h]h ]h"]h$]h&]uh1jhjj<hMc hj;ubeh}(h]h ]h"]h$]h&]uh1jhj;ubjX)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMe hj;ubjX)}(hConfigure advertised Pause support depending on if transmit and receiver pause is supported. If there has been a change in adverting, trigger a new autoneg. Generally called from the set_pauseparam .ndo.h]hConfigure advertised Pause support depending on if transmit and receiver pause is supported. If there has been a change in adverting, trigger a new autoneg. Generally called from the set_pauseparam .ndo.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMe hj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_validate_pause (C function)c.phy_validate_pausehNtauh1hhj khhhNhNubh)}(hhh](h)}(hRbool phy_validate_pause (struct phy_device *phydev, struct ethtool_pauseparam *pp)h]h)}(hQbool phy_validate_pause(struct phy_device *phydev, struct ethtool_pauseparam *pp)h](j)}(hjTh]hbool}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMx ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhj<hMx ubj)}(hphy_validate_pauseh]j%)}(hphy_validate_pauseh]hphy_validate_pause}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhj<hMx ubj)}(h:(struct phy_device *phydev, struct ethtool_pauseparam *pp)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj =ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj =ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj/=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1=modnameN classnameNjj!)}j$]j')}jj<sbc.phy_validate_pauseasbuh1hhj =ubj)}(h h]h }(hjO=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj =ubj;)}(hj>h]h*}(hj]=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj =ubj%)}(hphydevh]hphydev}(hjj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj =ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj =ubj)}(hstruct ethtool_pauseparam *pph](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hhh]j%)}(hethtool_pauseparamh]hethtool_pauseparam}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]jK=c.phy_validate_pauseasbuh1hhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(hpph]hpp}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj =ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj<hhhj<hMx ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhj<hMx ubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<hMx hj<hhubjS)}(hhh]jX)}(h3Test if the PHY/MAC support the pause configurationh]h3Test if the PHY/MAC support the pause configuration}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMx hj>hhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhj<hMx ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj>jxj>jyjzj{uh1hhhhj khNhNubj})}(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)}(hjE>h]hstruct phy_device *phydev}(hjG>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC>ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMy hj?>ubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hj^>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZ>hMy hj[>ubah}(h]h ]h"]h$]h&]uh1jhj?>ubeh}(h]h ]h"]h$]h&]uh1jhjZ>hMy hj<>ubj)}(h@``struct ethtool_pauseparam *pp`` requested pause configuration h](j)}(h!``struct ethtool_pauseparam *pp``h]j)}(hj~>h]hstruct ethtool_pauseparam *pp}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|>ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMz hjx>ubj)}(hhh]jX)}(hrequested pause configurationh]hrequested pause configuration}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMz hj>ubah}(h]h ]h"]h$]h&]uh1jhjx>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMz hj<>ubeh}(h]h ]h"]h$]h&]uh1jhj >ubjX)}(h**Description**h]j)}(hj>h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.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.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM| hj >ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_pause (C function)c.phy_get_pausehNtauh1hhj khhhNhNubh)}(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&]uh1jhj>hhh]/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 hj>hhhj ?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=uh1jhj>hhhj ?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&]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.phy_get_pauseasbuh1hhj7?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?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=uh1jhj3?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=uh1jhj3?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)}(hresolve negotiated pause modesh]hresolve negotiated pause modes}(hj@@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj=@hhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhj ?hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjX@jxjX@jyjzj{uh1hhhhj khNhNubj})}(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)}(hjb@h]h Parameters}(hjd@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)}(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 hjx@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.chM 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.chM hj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hM hjx@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.chM 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 AhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj Aubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj AhM hjx@ubeh}(h]h ]h"]h$]h&]uh1jhj\@ubjX)}(h**Description**h]j)}(hj0Ah]h Description}(hj2AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Aubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj\@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.}(hjFAhhhNhNubah}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_get_internal_delay (C function)c.phy_get_internal_delayhNtauh1hhj khhhNhNubh)}(hhh](h)}(hes32 phy_get_internal_delay (struct phy_device *phydev, const int *delay_values, int size, bool is_rx)h]h)}(hds32 phy_get_internal_delay(struct phy_device *phydev, const int *delay_values, int size, bool is_rx)h](h)}(hhh]j%)}(hs32h]hs32}(hjxAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzAmodnameN classnameNjj!)}j$]j')}jphy_get_internal_delaysbc.phy_get_internal_delayasbuh1hhjqAhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqAhhhjAhM ubj)}(hphy_get_internal_delayh]j%)}(hjAh]hphy_get_internal_delay}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjqAhhhjAhM ubj)}(hJ(struct phy_device *phydev, const int *delay_values, int size, bool is_rx)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(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$]jAc.phy_get_internal_delayasbuh1hhjAubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hphydevh]hphydev}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(hconst int *delay_valuesh](h)}(hjh]hconst}(hj7BhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3Bubj)}(h h]h }(hjDBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3Bubj)}(hinth]hint}(hjRBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3Bubj)}(h h]h }(hj`BhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3Bubj;)}(hj>h]h*}(hjnBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3Bubj%)}(h delay_valuesh]h delay_values}(hj{BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3Bubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(hint sizeh](j)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj%)}(hsizeh]hsize}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(h bool is_rxh](j)}(hjTh]hbool}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj%)}(his_rxh]his_rx}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubeh}(h]h ]h"]h$]h&]j<j=uh1jhjqAhhhjAhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjmAhhhjAhM ubah}(h]jhAah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhM hjjAhhubjS)}(hhh]jX)}(h'returns the index of the internal delayh]h'returns the index of the internal delay}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj Chhubah}(h]h ]h"]h$]h&]uh1jRhjjAhhhjAhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&Cjxj&Cjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` phy_device struct ``const int *delay_values`` array of delays the PHY supports ``int size`` the size of the delay array ``bool is_rx`` boolean to indicate to get the rx internal delay **Description** Returns the index within the array of internal delay passed in. If the device property is not present then the interface type is checked if the interface defines use of internal delay then a 1 is returned otherwise a 0 is returned. The array must be in ascending order. If PHY does not have an ascending order array then size = 0 and the value of the delay property is returned. Return -EINVAL if the delay is invalid or cannot be found.h](jX)}(h**Parameters**h]j)}(hj0Ch]h Parameters}(hj2ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Cubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj*Cubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjOCh]hstruct phy_device *phydev}(hjQChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMCubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjICubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hjhChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdChM hjeCubah}(h]h ]h"]h$]h&]uh1jhjICubeh}(h]h ]h"]h$]h&]uh1jhjdChM hjFCubj)}(h=``const int *delay_values`` array of delays the PHY supports h](j)}(h``const int *delay_values``h]j)}(hjCh]hconst int *delay_values}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjCubj)}(hhh]jX)}(h array of delays the PHY supportsh]h array of delays the PHY supports}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChM hjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChM hjFCubj)}(h)``int size`` the size of the delay array h](j)}(h ``int size``h]j)}(hjCh]hint size}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjCubj)}(hhh]jX)}(hthe size of the delay arrayh]hthe size of the delay array}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChM hjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChM hjFCubj)}(h@``bool is_rx`` boolean to indicate to get the rx internal delay h](j)}(h``bool is_rx``h]j)}(hjCh]h bool is_rx}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjCubj)}(hhh]jX)}(h0boolean to indicate to get the rx internal delayh]h0boolean to indicate to get the rx internal delay}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhM hjDubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjDhM hjFCubeh}(h]h ]h"]h$]h&]uh1jhj*CubjX)}(h**Description**h]j)}(hj5Dh]h Description}(hj7DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Dubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj*CubjX)}(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.}(hjKDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj*Cubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_get_tx_amplitude_gain (C function)c.phy_get_tx_amplitude_gainhNtauh1hhj khhhNhNubh)}(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}(hjzDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvDhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvDhhhjDhM ubj)}(hphy_get_tx_amplitude_gainh]j%)}(hphy_get_tx_amplitude_gainh]hphy_get_tx_amplitude_gain}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvDhhhjDhM 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}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDmodnameN classnameNjj!)}j$]j')}jjDsbc.phy_get_tx_amplitude_gainasbuh1hhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hphydevh]hphydev}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hstruct device *devh](h)}(hjh]hstruct}(hj)EhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%Eubj)}(h h]h }(hj6EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%Eubh)}(hhh]j%)}(hdeviceh]hdevice}(hjGEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjIEmodnameN classnameNjj!)}j$]jDc.phy_get_tx_amplitude_gainasbuh1hhj%Eubj)}(h h]h }(hjeEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%Eubj;)}(hj>h]h*}(hjsEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%Eubj%)}(hdevh]hdev}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%Eubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(h+enum ethtool_link_mode_bit_indices linkmodeh](h)}(hhh]henum}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hethtool_link_mode_bit_indicesh]hethtool_link_mode_bit_indices}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jDc.phy_get_tx_amplitude_gainasbuh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj%)}(hlinkmodeh]hlinkmode}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hu32 *valh](h)}(hhh]j%)}(hu32h]hu32}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]jDc.phy_get_tx_amplitude_gainasbuh1hhjEubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hj+FhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hvalh]hval}(hj8FhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubeh}(h]h ]h"]h$]h&]j<j=uh1jhjvDhhhjDhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrDhhhjDhM ubah}(h]jmDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhM hjoDhhubjS)}(hhh]jX)}(h#stores tx amplitude gain in **val**h](hstores tx amplitude gain in }(hjbFhhhNhNubj)}(h**val**h]hval}(hjjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbFubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj_Fhhubah}(h]h ]h"]h$]h&]uh1jRhjoDhhhjDhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFjxjFjyjzj{uh1hhhhj khNhNubj})}(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)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjFubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjFh]hstruct phy_device *phydev}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjFubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhM hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM hjFubj)}(h<``struct device *dev`` pointer to the devices device struct h](j)}(h``struct device *dev``h]j)}(hjFh]hstruct device *dev}(hjFhhhNhNubah}(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 hjFubj)}(hhh]jX)}(h$pointer to the devices device structh]h$pointer to the devices device struct}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhM hjGubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM hjFubj)}(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)}(hj#Gh]h+enum ethtool_link_mode_bit_indices linkmode}(hj%GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Gubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjGubj)}(hhh]jX)}(hh]h*}(hjeHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hphydevh]hphydev}(hjrHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubj)}(hstruct device *devh](h)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(hdeviceh]hdevice}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]jSHc.phy_get_mac_terminationasbuh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hdevh]hdev}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubj)}(hu32 *valh](h)}(hhh]j%)}(hu32h]hu32}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]jSHc.phy_get_mac_terminationasbuh1hhjHubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hj*IhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hvalh]hval}(hj7IhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(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)}(h!stores MAC termination in **val**h](hstores MAC termination in }(hjaIhhhNhNubj)}(h**val**h]hval}(hjiIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaIubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj^Ihhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhjGhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhj khNhNubj})}(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)}(hjIh]h Parameters}(hjIhhhNhNubah}(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.chM" hjIubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct 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&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjIubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhM hjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhM hjIubj)}(h<``struct device *dev`` pointer to the devices device struct h](j)}(h``struct device *dev``h]j)}(hjIh]hstruct device *dev}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjIubj)}(hhh]jX)}(h$pointer to the devices device structh]h$pointer to the devices device struct}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhM hjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhM hjIubj)}(h``u32 *val`` MAC termination h](j)}(h ``u32 *val``h]j)}(hj"Jh]hu32 *val}(hj$JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Jubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM! hjJubj)}(hhh]jX)}(hMAC terminationh]hMAC termination}(hj;JhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7JhM! hj8Jubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj7JhM! hjIubeh}(h]h ]h"]h$]h&]uh1jhjIubjX)}(h **Return**h]j)}(hj]Jh]hReturn}(hj_JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[Jubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM# hjIubjX)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hjsJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM# hjIubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$fwnode_mdio_find_device (C function)c.fwnode_mdio_find_devicehNtauh1hhj khhhNhNubh)}(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}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJhhhjJhM ubh)}(hhh]j%)}(h mdio_deviceh]h mdio_device}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]j')}jfwnode_mdio_find_devicesbc.fwnode_mdio_find_deviceasbuh1hhjJhhhjJhM ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJhhhjJhM ubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJhhhjJhM ubj)}(hfwnode_mdio_find_deviceh]j%)}(hjJh]hfwnode_mdio_find_device}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJhhhjJhM ubj)}(h(struct fwnode_handle *fwnode)h]j)}(hstruct fwnode_handle *fwnodeh](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hj)KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hj:KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7Kubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjh]h*}(hjfKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hfwnodeh]hfwnode}(hjsKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubah}(h]h ]h"]h$]h&]j<j=uh1jhjJhhhjJhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhjJhM ubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJhM hjJhhubjS)}(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 hjKhhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhjJhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{uh1hhhhj khNhNubj})}(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)}(hjKh]h Parameters}(hjKhhhNhNubah}(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 hjKubj)}(hhh]j)}(hE``struct fwnode_handle *fwnode`` pointer to the mdio_device's fwnode h](j)}(h ``struct fwnode_handle *fwnode``h]j)}(hjKh]hstruct fwnode_handle *fwnode}(hjKhhhNhNubah}(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.chM hjKubj)}(hhh]jX)}(h#pointer to the mdio_device's fwnodeh]h%pointer to the mdio_device’s fwnode}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhM hjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhM hjKubah}(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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjKubjX)}(hIf successful, returns a pointer to the mdio_device with the embedded struct device refcount incremented by one, or NULL on failure. The caller should call put_device() on the mdio_device after its use.h]hIf successful, returns a pointer to the mdio_device with the embedded struct device refcount incremented by one, or NULL on failure. The caller should call put_device() on the mdio_device after its use.}(hj/LhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjKubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#fwnode_phy_find_device (C function)c.fwnode_phy_find_devicehNtauh1hhj khhhNhNubh)}(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^LhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZLhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjlLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZLhhhjkLhM ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj}LhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j')}jfwnode_phy_find_devicesbc.fwnode_phy_find_deviceasbuh1hhjZLhhhjkLhM ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZLhhhjkLhM ubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZLhhhjkLhM ubj)}(hfwnode_phy_find_deviceh]j%)}(hjLh]hfwnode_phy_find_device}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZLhhhjkLhM ubj)}(h"(struct fwnode_handle *phy_fwnode)h]j)}(h struct fwnode_handle *phy_fwnodeh](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]jLc.fwnode_phy_find_deviceasbuh1hhjLubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hj"MhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(h phy_fwnodeh]h phy_fwnode}(hj/MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubah}(h]h ]h"]h$]h&]j<j=uh1jhjZLhhhjkLhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVLhhhjkLhM ubah}(h]jQLah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkLhM hjSLhhubjS)}(hhh]jX)}(h)For provided phy_fwnode, find phy_device.h]h)For provided phy_fwnode, find phy_device.}(hjYMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjVMhhubah}(h]h ]h"]h$]h&]uh1jRhjSLhhhjkLhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqMjxjqMjyjzj{uh1hhhhj khNhNubj})}(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{Mh]h Parameters}(hj}MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyMubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjuMubj)}(hhh]j)}(hB``struct fwnode_handle *phy_fwnode`` Pointer to the phy's fwnode. h](j)}(h$``struct fwnode_handle *phy_fwnode``h]j)}(hjMh]h struct fwnode_handle *phy_fwnode}(hjMhhhNhNubah}(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.chM hjMubj)}(hhh]jX)}(hPointer to the phy's fwnode.h]hPointer to the phy’s fwnode.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhM hjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhM hjMubah}(h]h ]h"]h$]h&]uh1jhjuMubjX)}(h**Description**h]j)}(hjMh]h Description}(hjMhhhNhNubah}(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.chM hjuMubjX)}(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.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjuMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h fwnode_get_phy_node (C function)c.fwnode_get_phy_nodehNtauh1hhj khhhNhNubh)}(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}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM1 ubj)}(h h]h }(hj(NhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhj'NhM1 ubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hj9NhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6Nubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;NmodnameN classnameNjj!)}j$]j')}jfwnode_get_phy_nodesbc.fwnode_get_phy_nodeasbuh1hhjNhhhj'NhM1 ubj)}(h h]h }(hjZNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhj'NhM1 ubj;)}(hj>h]h*}(hjhNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNhhhj'NhM1 ubj)}(hfwnode_get_phy_nodeh]j%)}(hjWNh]hfwnode_get_phy_node}(hjyNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhj'NhM1 ubj)}(h$(const struct fwnode_handle *fwnode)h]j)}(h"const struct fwnode_handle *fwnodeh](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 fwnode_handleh]h fwnode_handle}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]jUNc.fwnode_get_phy_nodeasbuh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hfwnodeh]hfwnode}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubah}(h]h ]h"]h$]h&]j<j=uh1jhjNhhhj'NhM1 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjNhhhj'NhM1 ubah}(h]j Nah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'NhM1 hjNhhubjS)}(hhh]jX)}(h+Get the phy_node using the named reference.h]h+Get the phy_node using the named reference.}(hj0OhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM1 hj-Ohhubah}(h]h ]h"]h$]h&]uh1jRhjNhhhj'NhM1 ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjHOjxjHOjyjzj{uh1hhhhj khNhNubj})}(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)}(hjROh]h Parameters}(hjTOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPOubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM5 hjLOubj)}(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)}(hjqOh]h"const struct fwnode_handle *fwnode}(hjsOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoOubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM2 hjkOubj)}(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.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhM2 hjOubah}(h]h ]h"]h$]h&]uh1jhjkOubeh}(h]h ]h"]h$]h&]uh1jhjOhM2 hjhOubah}(h]h ]h"]h$]h&]uh1jhjLOubjX)}(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:128: ./drivers/net/phy/phy_device.chM4 hjLOubjX)}(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.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM3 hjLOubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_uses_state_machine (C function)c.phy_uses_state_machinehNtauh1hhj khhhNhNubh)}(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}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhhhjOhMubj)}(hphy_uses_state_machineh]j%)}(hphy_uses_state_machineh]hphy_uses_state_machine}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Pubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOhhhjOhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj-PhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)Pubj)}(h h]h }(hj:PhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)Pubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjKPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMPmodnameN classnameNjj!)}j$]j')}jjPsbc.phy_uses_state_machineasbuh1hhj)Pubj)}(h h]h }(hjkPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)Pubj;)}(hj>h]h*}(hjyPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)Pubj%)}(hphydevh]hphydev}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)Pubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%Pubah}(h]h ]h"]h$]h&]j<j=uh1jhjOhhhjOhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOhhhjOhMubah}(h]jOah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjOhMhjOhhubjS)}(hhh]jX)}(h3test whether consumer driver uses PAL state machineh]h3test whether consumer driver uses PAL state machine}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjPhhubah}(h]h ]h"]h$]h&]uh1jRhjOhhhjOhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjPjxjPjyjzj{uh1hhhhj khNhNubj})}(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)}(hjPh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjPubj)}(hhh]j)}(h>``struct phy_device *phydev`` the target PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjPh]hstruct phy_device *phydev}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjPubj)}(hhh]jX)}(hthe target PHY device structureh]hthe target PHY device structure}(hj QhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubjX)}(h**Description**h]j)}(hj,Qh]h Description}(hj.QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Qubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjPubjX)}(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().}(hjBQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjPubjX)}(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.}(hjQQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjPubjX)}(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.}(hj`QhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hjPubjX)}(h **Return**h]j)}(hjqQh]hReturn}(hjsQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoQubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM$hjPubjX)}(hCtrue if consumer calls phy_start() and phy_stop(), false otherwise.h]hCtrue if consumer calls phy_start() and phy_stop(), false otherwise.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM%hjPubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_register_fixup (C function)c.phy_register_fixuphNtauh1hhj khhhNhNubh)}(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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjQhMubj)}(hphy_register_fixuph]j%)}(hphy_register_fixuph]hphy_register_fixup}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjQhMubj)}(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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(hcharh]hchar}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hj*RhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hbus_idh]hbus_id}(hj7RhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(h u32 phy_uidh](h)}(hhh]j%)}(hu32h]hu32}(hjSRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjURmodnameN classnameNjj!)}j$]j')}jjQsbc.phy_register_fixupasbuh1hhjLRubj)}(h h]h }(hjsRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLRubj%)}(hphy_uidh]hphy_uid}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hu32 phy_uid_maskh](h)}(hhh]j%)}(hu32h]hu32}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]joRc.phy_register_fixupasbuh1hhjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj%)}(h phy_uid_maskh]h phy_uid_mask}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hint (*run)(struct phy_device*)h](j)}(hinth]hint}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hjh]h(}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj;)}(hj>h]h*}(hj ShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hrunh]hrun}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubj;)}(hjh]h)}(hj&ShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj;)}(hjh]h(}(hj3ShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubh)}(hjh]hstruct}(hj@ShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjMShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj^ShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[Subah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`SmodnameN classnameNjj!)}j$]joRc.phy_register_fixupasbuh1hhjRubj;)}(hj>h]h*}(hj|ShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj;)}(hjh]h)}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubeh}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhjQhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjQhhhjQhMubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhMhjQhhubjS)}(hhh]jX)}(h/creates a new phy_fixup and adds it to the listh]h/creates a new phy_fixup and adds it to the list}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjShhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhjQhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhj khNhNubj})}(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)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjSubj)}(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)}(hjSh]hconst char *bus_id}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjSubj)}(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 ThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhj Tubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjThMhjSubj)}(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,Th]h u32 phy_uid}(hj.ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Tubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj&Tubj)}(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}(hjEThhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjBTubah}(h]h ]h"]h$]h&]uh1jhj&Tubeh}(h]h ]h"]h$]h&]uh1jhjAThMhjSubj)}(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)}(hjfTh]hu32 phy_uid_mask}(hjhThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdTubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj`Tubj)}(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}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj|Tubah}(h]h ]h"]h$]h&]uh1jhj`Tubeh}(h]h ]h"]h$]h&]uh1jhj{ThMhjSubj)}(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)}(hjTh]hint (*run)(struct phy_device *)}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjTubj)}(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}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjSubeh}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_c45_ids (C function)c.get_phy_c45_idshNtauh1hhj khhhNhNubh)}(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}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hj UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjUhMubj)}(hget_phy_c45_idsh]j%)}(hget_phy_c45_idsh]hget_phy_c45_ids}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjUhMubj)}(hC(struct mii_bus *bus, int addr, struct phy_c45_device_ids *c45_ids)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj7UhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3Uubj)}(h h]h }(hjDUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3Uubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjUUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWUmodnameN classnameNjj!)}j$]j')}jjUsbc.get_phy_c45_idsasbuh1hhj3Uubj)}(h h]h }(hjuUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3Uubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3Uubj%)}(hbush]hbus}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3Uubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/Uubj)}(hint addrh](j)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj%)}(haddrh]haddr}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/Uubj)}(h"struct phy_c45_device_ids *c45_idsh](h)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(hphy_c45_device_idsh]hphy_c45_device_ids}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]jqUc.get_phy_c45_idsasbuh1hhjUubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hj(VhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hc45_idsh]hc45_ids}(hj5VhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/Uubeh}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjUhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjUhMubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjUhMhjThhubjS)}(hhh]jX)}(h/reads the specified addr for its 802.3-c45 IDs.h]h/reads the specified addr for its 802.3-c45 IDs.}(hj_VhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj\Vhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjUhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwVjxjwVjyjzj{uh1hhhhj khNhNubj})}(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)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj{Vubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjVh]hstruct mii_bus *bus}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjVubj)}(hhh]jX)}(hthe target MII bush]hthe target MII bus}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjVubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hjVh]hint addr}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjVubj)}(hhh]jX)}(hPHY address on the MII bush]hPHY address on the MII bus}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjVubj)}(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)}(hjWh]h"struct phy_c45_device_ids *c45_ids}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj Wubj)}(hhh]jX)}(h&where to store the c45 ID information.h]h&where to store the c45 ID information.}(hj+WhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'WhMhj(Wubah}(h]h ]h"]h$]h&]uh1jhj Wubeh}(h]h ]h"]h$]h&]uh1jhj'WhMhjVubeh}(h]h ]h"]h$]h&]uh1jhj{VubjX)}(h**Description**h]j)}(hjMWh]h Description}(hjOWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKWubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj{VubjX)}(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 }(hjcWhhhNhNubj)}(h **c45_ids**h]hc45_ids}(hjkWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcWubh.}(hjcWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj{VubjX)}(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, }(hjWhhhNhNubj)}(h``-EIO``h]h-EIO}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh on bus access error, or }(hjWhhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubhB if the “devices in package” is invalid or no device responds.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj{Vubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_c22_id (C function)c.get_phy_c22_idhNtauh1hhj khhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhh]/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 hjWhhhjWhMubj)}(hget_phy_c22_idh]j%)}(hget_phy_c22_idh]hget_phy_c22_id}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjWhMubj)}(h,(struct mii_bus *bus, int addr, u32 *phy_id)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hj!XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj2XhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/Xubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4XmodnameN classnameNjj!)}j$]j')}jjWsbc.get_phy_c22_idasbuh1hhjXubj)}(h h]h }(hjRXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hj`XhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hbush]hbus}(hjmXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Xubj)}(hint addrh](j)}(hinth]hint}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(haddrh]haddr}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Xubj)}(h u32 *phy_idh](h)}(hhh]j%)}(hu32h]hu32}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]jNXc.get_phy_c22_idasbuh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hphy_idh]hphy_id}(hjXhhhNhNubah}(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.reads the specified addr for its clause 22 ID.h]h.reads the specified addr for its clause 22 ID.}(hj!YhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjWhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9Yjxj9Yjyjzj{uh1hhhhj khNhNubj})}(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)}(hjCYh]h Parameters}(hjEYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAYubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj=Yubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjbYh]hstruct mii_bus *bus}(hjdYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Yubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj\Yubj)}(hhh]jX)}(hthe target MII bush]hthe target MII bus}(hj{YhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwYhMhjxYubah}(h]h ]h"]h$]h&]uh1jhj\Yubeh}(h]h ]h"]h$]h&]uh1jhjwYhMhjYYubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hjYh]hint addr}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjYubj)}(hhh]jX)}(hPHY address on the MII bush]hPHY address on the MII bus}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjYYubj)}(h1``u32 *phy_id`` where to store the ID retrieved. h](j)}(h``u32 *phy_id``h]j)}(hjYh]h u32 *phy_id}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjYubj)}(hhh]jX)}(h where to store the ID retrieved.h]h where to store the ID retrieved.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjYYubeh}(h]h ]h"]h$]h&]uh1jhj=YubjX)}(h**Description**h]j)}(hjZh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Zubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj=YubjX)}(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%ZhhhNhNubj)}(h**addr**h]haddr}(hj-ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Zubh on the }(hj%ZhhhNhNubj)}(h**bus**h]hbus}(hj?ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Zubh, placing it in }(hj%ZhhhNhNubj)}(h **phy_id**h]hphy_id}(hjQZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Zubh6. Return zero on successful read and the ID is valid, }(hj%ZhhhNhNubj)}(h``-EIO``h]h-EIO}(hjcZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Zubh on bus access error, or }(hj%ZhhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjuZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Zubh% if no device responds or invalid ID.}(hj%ZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj=Yubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_prepare_link (C function)c.phy_prepare_linkhNtauh1hhj khhhNhNubh)}(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}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhjZhMubj)}(hphy_prepare_linkh]j%)}(hphy_prepare_linkh]hphy_prepare_link}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhjZhMubj)}(h@(struct phy_device *phydev, void (*handler)(struct net_device*))h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(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')}jjZsbc.phy_prepare_linkasbuh1hhjZubj)}(h h]h }(hj)[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hj7[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hphydevh]hphydev}(hjD[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubj)}(h#void (*handler)(struct net_device*)h](j)}(hvoidh]hvoid}(hj][hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY[ubj)}(h h]h }(hjk[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjY[ubj;)}(hjh]h(}(hjy[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjY[ubj;)}(hj>h]h*}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjY[ubj%)}(hhandlerh]hhandler}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjY[ubj;)}(hjh]h)}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjY[ubj;)}(hjh]h(}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjY[ubh)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjY[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjY[ubh)}(hhh]j%)}(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_linkasbuh1hhjY[ubj;)}(hj>h]h*}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjY[ubj;)}(hjh]h)}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjY[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubeh}(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-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.chMhj*\hhubah}(h]h ]h"]h$]h&]uh1jRhjZhhhjZhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjE\jxjE\jyjzj{uh1hhhhj khNhNubj})}(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)}(hjO\h]h Parameters}(hjQ\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM\ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjI\ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjn\h]hstruct phy_device *phydev}(hjp\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl\ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjh\ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMhj\ubah}(h]h ]h"]h$]h&]uh1jhjh\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMhje\ubj)}(h```void (*handler)(struct net_device *)`` callback function for link status change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hj\h]h$void (*handler)(struct net_device *)}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj\ubj)}(hhh]jX)}(h6callback function for link status change notificationsh]h6callback function for link status change notifications}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMhje\ubeh}(h]h ]h"]h$]h&]uh1jhjI\ubjX)}(h**Description**h]j)}(hj\h]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjI\ubj)}(hhh]j)}(hXTells the PHY infrastructure to handle the gory details on monitoring link status (whether through polling or an interrupt), and to call back to the connected device driver when the link status changes. If you want to monitor your own link state, don't call this function.h](j)}(h*Tells the PHY infrastructure to handle theh]h*Tells the PHY infrastructure to handle the}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj\ubj)}(hhh]jX)}(hgory details on monitoring link status (whether through polling or an interrupt), and to call back to the connected device driver when the link status changes. If you want to monitor your own link state, don't call this function.h]hgory details on monitoring link status (whether through polling or an interrupt), and to call back to the connected device driver when the link status changes. If you want to monitor your own link state, don’t call this function.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj]ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj ]hMhj\ubah}(h]h ]h"]h$]h&]uh1jhjI\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_poll_reset (C function)c.phy_poll_resethNtauh1hhj khhhNhNubh)}(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}(hjR]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjN]hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMJubj)}(h h]h }(hja]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjN]hhhj`]hMJubj)}(hphy_poll_reseth]j%)}(hphy_poll_reseth]hphy_poll_reset}(hjs]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjo]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjN]hhhj`]hMJubj)}(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')}jju]sbc.phy_poll_resetasbuh1hhj]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj;)}(hj>h]h*}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]ubj%)}(hphydevh]hphydev}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubah}(h]h ]h"]h$]h&]j<j=uh1jhjN]hhhj`]hMJubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJ]hhhj`]hMJubah}(h]jE]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`]hMJhjG]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.chMJhj^hhubah}(h]h ]h"]h$]h&]uh1jRhjG]hhhj`]hMJubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*^jxj*^jyjzj{uh1hhhhj khNhNubj})}(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)}(hj4^h]h Parameters}(hj6^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2^ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMNhj.^ubj)}(hhh]j)}(h5``struct phy_device *phydev`` The PHY device to poll h](j)}(h``struct phy_device *phydev``h]j)}(hjS^h]hstruct phy_device *phydev}(hjU^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ^ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMKhjM^ubj)}(hhh]jX)}(hThe PHY device to pollh]hThe PHY device to poll}(hjl^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjh^hMKhji^ubah}(h]h ]h"]h$]h&]uh1jhjM^ubeh}(h]h ]h"]h$]h&]uh1jhjh^hMKhjJ^ubah}(h]h ]h"]h$]h&]uh1jhj.^ubjX)}(h**Description**h]j)}(hj^h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMMhj.^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.chMXhj^ubj)}(hhh](jX)}(hpublished in 2008, a PHY reset may take up to 0.5 seconds. The MII BMCR register must be polled until the BMCR_RESET bit clears.h]hpublished in 2008, a PHY reset may take up to 0.5 seconds. The MII BMCR register must be polled until the BMCR_RESET bit clears.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMNhj^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.chMQhj^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)}(h *REQUIRE*h]hREQUIRE}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^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.chMThj^ubeh}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMXhj^ubah}(h]h ]h"]h$]h&]uh1jhj.^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_config_advert (C function)c.genphy_config_adverthNtauh1hhj khhhNhNubh)}(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.chMubj)}(h h]h }(hj=_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*_hhhj<_hMubj)}(hgenphy_config_adverth]j%)}(hgenphy_config_adverth]hgenphy_config_advert}(hjO_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjK_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*_hhhj<_hMubj)}(h8(struct phy_device *phydev, const unsigned long *advert)h](j)}(hstruct phy_device *phydevh](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 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_config_advertasbuh1hhjg_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%)}(hphydevh]hphydev}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjg_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjc_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*}(hj0`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=uh1jhjc_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)}(h2sanitize and advertise auto-negotiation parametersh]h2sanitize and advertise auto-negotiation parameters}(hjg`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjd`hhubah}(h]h ]h"]h$]h&]uh1jRhj#_hhhj<_hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`jxj`jyjzj{uh1hhhhj khNhNubj})}(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&]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}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj`ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj`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.chMhj`ubj)}(hhh]jX)}(h(auto-negotiation parameters to advertiseh]h(auto-negotiation parameters to advertise}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`ubjX)}(h**Description**h]j)}(hjah]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj`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,}(hj9ahhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj5aubj)}(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.}(hjKahhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjHaubah}(h]h ]h"]h$]h&]uh1jhj5aubeh}(h]h ]h"]h$]h&]uh1jhjGahMhj2aubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_c37_config_advert (C function)c.genphy_c37_config_adverthNtauh1hhj khhhNhNubh)}(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}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjahMubj)}(hgenphy_c37_config_adverth]j%)}(hgenphy_c37_config_adverth]hgenphy_c37_config_advert}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjahhhjahMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(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')}jjasbc.genphy_c37_config_advertasbuh1hhjaubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hphydevh]hphydev}(hj"bhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjaubah}(h]h ]h"]h$]h&]j<j=uh1jhjahhhjahMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjahhhjahMubah}(h]jaah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjahMhjahhubjS)}(hhh]jX)}(h2sanitize and advertise auto-negotiation parametersh]h2sanitize and advertise auto-negotiation parameters}(hjLbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjIbhhubah}(h]h ]h"]h$]h&]uh1jRhjahhhjahMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdbjxjdbjyjzj{uh1hhhhj khNhNubj})}(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)}(hjnbh]h Parameters}(hjpbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlbubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjhbubj)}(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}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjbubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jhjhbubjX)}(h**Description**h]j)}(hjbh]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjhbubj)}(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,}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjbubj)}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jhjhbubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_probe (C function) c.phy_probehNtauh1hhj khhhNhNubh)}(hhh](h)}(h"int phy_probe (struct device *dev)h]h)}(h!int phy_probe(struct device *dev)h](j)}(hinth]hint}(hj8chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4chhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMI ubj)}(h h]h }(hjGchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4chhhjFchMI ubj)}(h phy_probeh]j%)}(h phy_probeh]h phy_probe}(hjYchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4chhhjFchMI ubj)}(h(struct device *dev)h]j)}(hstruct device *devh](h)}(hjh]hstruct}(hjuchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqcubh)}(hhh]j%)}(hdeviceh]hdevice}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}jj[csb c.phy_probeasbuh1hhjqcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqcubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqcubj%)}(hdevh]hdev}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmcubah}(h]h ]h"]h$]h&]j<j=uh1jhj4chhhjFchMI ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0chhhjFchMI ubah}(h]j+cah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjFchMI hj-chhubjS)}(hhh]jX)}(hprobe and init a PHY deviceh]hprobe and init a PHY device}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMI hjchhubah}(h]h ]h"]h$]h&]uh1jRhj-chhhjFchMI ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdjxjdjyjzj{uh1hhhhj khNhNubj})}(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)}(hjdh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMM hjdubj)}(hhh]j)}(h0``struct device *dev`` device to probe and init h](j)}(h``struct device *dev``h]j)}(hj9dh]hstruct device *dev}(hj;dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7dubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMJ hj3dubj)}(hhh]jX)}(hdevice to probe and inith]hdevice to probe and init}(hjRdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNdhMJ hjOdubah}(h]h ]h"]h$]h&]uh1jhj3dubeh}(h]h ]h"]h$]h&]uh1jhjNdhMJ hj0dubah}(h]h ]h"]h$]h&]uh1jhjdubjX)}(h**Description**h]j)}(hjtdh]h Description}(hjvdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrdubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chML hjdubjX)}(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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMK hjdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_driver_register (C function)c.phy_driver_registerhNtauh1hhj khhhNhNubh)}(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}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhjdhM ubj)}(hphy_driver_registerh]j%)}(hphy_driver_registerh]hphy_driver_register}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjdhhhjdhM ubj)}(h5(struct phy_driver *new_driver, struct module *owner)h](j)}(hstruct phy_driver *new_driverh](h)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(h phy_driverh]h phy_driver}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j')}jjdsbc.phy_driver_registerasbuh1hhjdubj)}(h h]h }(hj4ehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjBehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(h new_driverh]h new_driver}(hjOehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubj)}(hstruct module *ownerh](h)}(hjh]hstruct}(hjhehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdeubj)}(h h]h }(hjuehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdeubh)}(hhh]j%)}(hmoduleh]hmodule}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j0ec.phy_driver_registerasbuh1hhjdeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdeubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdeubj%)}(hownerh]howner}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubeh}(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)}(h(register a phy_driver with the PHY layerh]h(register a phy_driver with the PHY layer}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hjehhubah}(h]h ]h"]h$]h&]uh1jRhjdhhhjdhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjfjxjfjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct phy_driver *new_driver`` new phy_driver to register ``struct module *owner`` module owning this PHYh](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:131: ./drivers/net/phy/phy_device.chM hjfubj)}(hhh](j)}(h=``struct phy_driver *new_driver`` new phy_driver to register h](j)}(h!``struct phy_driver *new_driver``h]j)}(hj*fh]hstruct phy_driver *new_driver}(hj,fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(fubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj$fubj)}(hhh]jX)}(hnew phy_driver to registerh]hnew phy_driver to register}(hjCfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?fhM hj@fubah}(h]h ]h"]h$]h&]uh1jhj$fubeh}(h]h ]h"]h$]h&]uh1jhj?fhM hj!fubj)}(h/``struct module *owner`` module owning this PHYh](j)}(h``struct module *owner``h]j)}(hjcfh]hstruct module *owner}(hjefhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjafubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj]fubj)}(hhh]jX)}(hmodule owning this PHYh]hmodule owning this PHY}(hj|fhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hjyfubah}(h]h ]h"]h$]h&]uh1jhj]fubeh}(h]h ]h"]h$]h&]uh1jhjxfhM hj!fubeh}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdio_find_bus (C function)c.mdio_find_bushNtauh1hhj khhhNhNubh)}(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}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMSubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjfhMSubh)}(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 mdio_find_bussbc.mdio_find_busasbuh1hhjfhhhjfhMSubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjfhMSubj;)}(hj>h]h*}(hj ghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfhhhjfhMSubj)}(h mdio_find_bush]j%)}(hjfh]h mdio_find_bus}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfhhhjfhMSubj)}(h(const char *mdio_name)h]j)}(hconst char *mdio_nameh](h)}(hjh]hconst}(hj7ghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3gubj)}(h h]h }(hjDghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3gubj)}(hcharh]hchar}(hjRghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3gubj)}(h h]h }(hj`ghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3gubj;)}(hj>h]h*}(hjnghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3gubj%)}(h mdio_nameh]h mdio_name}(hj{ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3gubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/gubah}(h]h ]h"]h$]h&]j<j=uh1jhjfhhhjfhMSubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfhhhjfhMSubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhMShjfhhubjS)}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMShjghhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjfhMSubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjgjxjgjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``const char *mdio_name`` The name of a mdiobus. **Return** 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)}(hjgh]h Parameters}(hjghhhNhNubah}(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.chMWhjgubj)}(hhh]j)}(h1``const char *mdio_name`` The name of a mdiobus. h](j)}(h``const char *mdio_name``h]j)}(hjgh]hconst char *mdio_name}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMThjgubj)}(hhh]jX)}(hThe name of a mdiobus.h]hThe name of a mdiobus.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMThjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMThjgubah}(h]h ]h"]h$]h&]uh1jhjgubjX)}(h **Return**h]j)}(hj!hh]hReturn}(hj#hhhhNhNubah}(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.chMVhjgubjX)}(ha 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]ha 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.}(hj7hhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMVhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hof_mdio_find_bus (C function)c.of_mdio_find_bushNtauh1hhj khhhNhNubh)}(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}(hjfhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbhhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMeubj)}(h h]h }(hjthhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhhjshhMeubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jof_mdio_find_bussbc.of_mdio_find_busasbuh1hhjbhhhhjshhMeubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhhjshhMeubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbhhhhjshhMeubj)}(hof_mdio_find_bush]j%)}(hjhh]hof_mdio_find_bus}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbhhhhjshhMeubj)}(h!(struct device_node *mdio_bus_np)h]j)}(hstruct device_node *mdio_bus_nph](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hhh]j%)}(h device_nodeh]h device_node}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]jhc.of_mdio_find_busasbuh1hhjhubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hj*ihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(h mdio_bus_nph]h mdio_bus_np}(hj7ihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubah}(h]h ]h"]h$]h&]j<j=uh1jhjbhhhhjshhMeubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^hhhhjshhMeubah}(h]jYhah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjshhMehj[hhhubjS)}(hhh]jX)}(h(Given an mii_bus node, find the mii_bus.h]h(Given an mii_bus node, find the mii_bus.}(hjaihhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMehj^ihhubah}(h]h ]h"]h$]h&]uh1jRhj[hhhhjshhMeubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjyijxjyijyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct device_node *mdio_bus_np`` Pointer to the mii_bus. **Return** 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. **Description** 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)}(hjih]h Parameters}(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.chMihj}iubj)}(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)}(hjih]hstruct device_node *mdio_bus_np}(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.chMfhjiubj)}(hhh]jX)}(hPointer to the mii_bus.h]hPointer to the mii_bus.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMfhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMfhjiubah}(h]h ]h"]h$]h&]uh1jhj}iubjX)}(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:134: ./drivers/net/phy/mdio_bus.chMhhj}iubjX)}(ha 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]ha 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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhhj}iubjX)}(h**Description**h]j)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMlhj}iubjX)}(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().}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMkhj}iubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_read (C function)c.__mdiobus_readhNtauh1hhj khhhNhNubh)}(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}(hjIjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjXjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEjhhhjWjhMubj)}(h__mdiobus_readh]j%)}(h__mdiobus_readh]h__mdiobus_read}(hjjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEjhhhjWjhMubj)}(h+(struct mii_bus *bus, int addr, 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}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j')}jjljsbc.__mdiobus_readasbuh1hhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hbush]hbus}(hjjhhhNhNubah}(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 }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj%)}(haddrh]haddr}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~jubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj0khhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-kubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2kmodnameN classnameNjj!)}j$]jjc.__mdiobus_readasbuh1hhj)kubj)}(h h]h }(hjNkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)kubj%)}(hregnumh]hregnum}(hj\khhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)kubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~jubeh}(h]h ]h"]h$]h&]j<j=uh1jhjEjhhhjWjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAjhhhjWjhMubah}(h]jjhhubjS)}(hhh]jX)}(h-Unlocked version of the mdiobus_read functionh]h-Unlocked version of the mdiobus_read function}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjkhhubah}(h]h ]h"]h$]h&]uh1jRhj>jhhhjWjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjkjxjkjyjzj{uh1hhhhj khNhNubj})}(hXZ**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to read **Return** The register value if successful, negative error code on failure **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)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjkubj)}(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)}(hjlh]hint addr}(hjlhhhNhNubah}(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}(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)}(hj9lh]h u32 regnum}(hj;lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7lubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj3lubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjRlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNlhMhjOlubah}(h]h ]h"]h$]h&]uh1jhj3lubeh}(h]h ]h"]h$]h&]uh1jhjNlhMhjkubeh}(h]h ]h"]h$]h&]uh1jhjkubjX)}(h **Return**h]j)}(hjtlh]hReturn}(hjvlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrlubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjkubjX)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjkubjX)}(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:134: ./drivers/net/phy/mdio_bus.chMhjkubjX)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjkubjX)}(h**NOTE**h]j)}(hjlh]hNOTE}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjkubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_write (C function)c.__mdiobus_writehNtauh1hhj khhhNhNubh)}(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}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhjmhMubj)}(h__mdiobus_writeh]j%)}(h__mdiobus_writeh]h__mdiobus_write}(hj(mhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$mubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhjmhMubj)}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjDmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@mubj)}(h h]h }(hjQmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@mubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjbmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_mubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmmodnameN classnameNjj!)}j$]j')}jj*msbc.__mdiobus_writeasbuh1hhj@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%)}(hbush]hbus}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWrite 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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjnubjX)}(h**NOTE**h]j)}(hjph]hNOTE}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj pubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjnubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hj%phhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__mdiobus_modify_changed (C function)c.__mdiobus_modify_changedhNtauh1hhj khhhNhNubh)}(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}(hjTphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPphhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjcphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPphhhjbphMubj)}(h__mdiobus_modify_changedh]j%)}(h__mdiobus_modify_changedh]h__mdiobus_modify_changed}(hjuphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPphhhjbphMubj)}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j')}jjwpsbc.__mdiobus_modify_changedasbuh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hbush]hbus}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hint addrh](j)}(hinth]hint}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj%)}(haddrh]haddr}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj;qhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8qubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=qmodnameN classnameNjj!)}j$]jpc.__mdiobus_modify_changedasbuh1hhj4qubj)}(h h]h }(hjYqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4qubj%)}(hregnumh]hregnum}(hjgqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4qubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]jpc.__mdiobus_modify_changedasbuh1hhj|qubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|qubj%)}(hmaskh]hmask}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|qubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]jpc.__mdiobus_modify_changedasbuh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj%)}(hseth]hset}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhjPphhhjbphMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLphhhjbphMubah}(h]jGpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbphMhjIphhubjS)}(hhh]jX)}(h/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hj!rhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjrhhubah}(h]h ]h"]h$]h&]uh1jRhjIphhhjbphMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9rjxj9rjyjzj{uh1hhhhj khNhNubj})}(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 **Return** 1 if the register was modified, 0 if no change was needed, negative on any error condition **Description** Read, modify, and if any change, write the register value back to the device. **NOTE** MUST NOT be called from interrupt context.h](jX)}(h**Parameters**h]j)}(hjCrh]h Parameters}(hjErhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjArubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj=rubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjbrh]hstruct mii_bus *bus}(hjdrhhhNhNubah}(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)}(hthe mii_bus structh]hthe mii_bus struct}(hj{rhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwrhMhjxrubah}(h]h ]h"]h$]h&]uh1jhj\rubeh}(h]h ]h"]h$]h&]uh1jhjwrhMhjYrubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjrh]hint addr}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjrubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjYrubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjrh]h u32 regnum}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjrubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjYrubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj sh]hu16 mask}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhj subah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjsubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj&shhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"shMhj#subah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhj"shMhjYrubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjFsh]hu16 set}(hjHshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj@subj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hj_shhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[shMhj\subah}(h]h ]h"]h$]h&]uh1jhj@subeh}(h]h ]h"]h$]h&]uh1jhj[shMhjYrubeh}(h]h ]h"]h$]h&]uh1jhj=rubjX)}(h **Return**h]j)}(hjsh]hReturn}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj=rubjX)}(hZ1 if the register was modified, 0 if no change was needed, negative on any error conditionh]hZ1 if the register was modified, 0 if no change was needed, negative on any error condition}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj=rubjX)}(h**Description**h]j)}(hjsh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj=rubjX)}(hMRead, modify, and if any change, write the register value back to the device.h]hMRead, modify, and if any change, write the register value back to the device.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj=rubjX)}(h**NOTE**h]j)}(hjsh]hNOTE}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj=rubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj=rubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_c45_read (C function)c.__mdiobus_c45_readhNtauh1hhj khhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj#thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhj"thMubj)}(h__mdiobus_c45_readh]j%)}(h__mdiobus_c45_readh]h__mdiobus_c45_read}(hj5thhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1tubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhj"thMubj)}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjQthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMtubj)}(h h]h }(hj^thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMtubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjothhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjltubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqtmodnameN classnameNjj!)}j$]j')}jj7tsbc.__mdiobus_c45_readasbuh1hhjMtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMtubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMtubj%)}(hbush]hbus}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjItubj)}(hint addrh](j)}(hinth]hint}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj%)}(haddrh]haddr}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjItubj)}(h int devadh](j)}(hinth]hint}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj%)}(hdevadh]hdevad}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjItubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj0uhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-uubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2umodnameN classnameNjj!)}j$]jtc.__mdiobus_c45_readasbuh1hhj)uubj)}(h h]h }(hjNuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)uubj%)}(hregnumh]hregnum}(hj\uhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)uubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjItubeh}(h]h ]h"]h$]h&]j<j=uh1jhjthhhj"thMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj thhhj"thMubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"thMhj thhubjS)}(hhh]jX)}(h1Unlocked version of the mdiobus_c45_read functionh]h1Unlocked version of the mdiobus_c45_read function}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjuhhubah}(h]h ]h"]h$]h&]uh1jRhj thhhj"thMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{uh1hhhhj khNhNubj})}(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 **Return** The register value if successful, negative error code on failure **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)}(hjuh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjuubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjuh]hstruct mii_bus *bus}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjuubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjuubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjvh]hint addr}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjuubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjuubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hj9vh]h int devad}(hj;vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7vubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj3vubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjRvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNvhMhjOvubah}(h]h ]h"]h$]h&]uh1jhj3vubeh}(h]h ]h"]h$]h&]uh1jhjNvhMhjuubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjrvh]h u32 regnum}(hjtvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpvubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjlvubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjlvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjuubeh}(h]h ]h"]h$]h&]uh1jhjuubjX)}(h **Return**h]j)}(hjvh]hReturn}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjuubjX)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjuubjX)}(h**Description**h]j)}(hjvh]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjuubjX)}(h=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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjuubjX)}(h**NOTE**h]j)}(hjvh]hNOTE}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjuubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __mdiobus_c45_write (C function)c.__mdiobus_c45_writehNtauh1hhj khhhNhNubh)}(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@whhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjywubj%)}(hbush]hbus}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjywubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuwubj)}(hint addrh](j)}(hinth]hint}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj%)}(haddrh]haddr}(hj xhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuwubj)}(h int devadh](j)}(hinth]hint}(hj$xhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj xubj)}(h h]h }(hj2xhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj xubj%)}(hdevadh]hdevad}(hj@xhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj xubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuwubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj\xhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^xmodnameN classnameNjj!)}j$]jwc.__mdiobus_c45_writeasbuh1hhjUxubj)}(h h]h }(hjzxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUxubj%)}(hregnumh]hregnum}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuwubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]jwc.__mdiobus_c45_writeasbuh1hhjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj%)}(hvalh]hval}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuwubeh}(h]h ]h"]h$]h&]j<j=uh1jhjWrite 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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM#hjyubjX)}(h**NOTE**h]j)}(hjzh]hNOTE}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM%hjyubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM&hjyubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h mdiobus_read_nested (C function)c.mdiobus_read_nestedhNtauh1hhj khhhNhNubh)}(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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMcubj)}(h h]h }(hj {hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhj {hMcubj)}(hmdiobus_read_nestedh]j%)}(hmdiobus_read_nestedh]hmdiobus_read_nested}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzhhhj {hMcubj)}(h+(struct mii_bus *bus, int addr, u32 regnum)h](j)}(hstruct mii_bus *bush](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%)}(hmii_bush]hmii_bus}(hjV{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjS{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjX{modnameN classnameNjj!)}j$]j')}jj{sbc.mdiobus_read_nestedasbuh1hhj4{ubj)}(h h]h }(hjv{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4{ubj;)}(hj>h]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4{ubj%)}(hbush]hbus}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0{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=uh1jhj0{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$]jr{c.mdiobus_read_nestedasbuh1hhj{ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj%)}(hregnumh]hregnum}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0{ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjzhhhj {hMcubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhj {hMcubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj {hMchjzhhubjS)}(hhh]jX)}(h+Nested version of the mdiobus_read functionh]h+Nested version of the mdiobus_read function}(hj8|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMchj5|hhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhj {hMcubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjP|jxjP|jyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to read **Return** The register value if successful, negative error code on failure **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)}(hjZ|h]h Parameters}(hj\|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX|ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMghjT|ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjy|h]hstruct mii_bus *bus}(hj{|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw|ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMdhjs|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&]uh1jhjs|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMdhjp|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|hMehjp|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.chMfhj|ubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hMfhj}ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj}hMfhjp|ubeh}(h]h ]h"]h$]h&]uh1jhjT|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:134: ./drivers/net/phy/mdio_bus.chMhhjT|ubjX)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hj<}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhhjT|ubjX)}(h**Description**h]j)}(hjM}h]h Description}(hjO}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK}ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMjhjT|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().}(hjc}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMihjT|ubjX)}(h**NOTE**h]j)}(hjt}h]hNOTE}(hjv}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr}ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMlhjT|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.chMmhjT|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_read (C function)c.mdiobus_readhNtauh1hhj khhhNhNubh)}(hhh](h)}(hh]h*}(hjB~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj}ubj%)}(hbush]hbus}(hjO~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubj)}(hint addrh](j)}(hinth]hint}(hjh~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjd~ubj)}(h h]h }(hjv~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd~ubj%)}(haddrh]haddr}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjd~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$]j0~c.mdiobus_readasbuh1hhj~ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj%)}(hregnumh]hregnum}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=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:Convenience function for reading a given MII mgmt registerh]h:Convenience function for reading a given MII mgmt register}(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}hhhj}hM~ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hXd**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to read **Return** The register value if successful, negative error code on failure **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:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj7h]hstruct mii_bus *bus}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj1ubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhj.ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjph]hint addr}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjjubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.ubj)}(h'``u32 regnum`` register number 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:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hregister number to readh]hregister number 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&]uh1jhjubjX)}(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:134: ./drivers/net/phy/mdio_bus.chMhjubjX)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.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:134: ./drivers/net/phy/mdio_bus.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.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_read (C function)c.mdiobus_c45_readhNtauh1hhj khhhNhNubh)}(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}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhh[/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 hjLhhhj^hMubj)}(hmdiobus_c45_readh]j%)}(hmdiobus_c45_readh]hmdiobus_c45_read}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhj^hMubj)}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)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$]j')}jjssbc.mdiobus_c45_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%)}(hbush]hbus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint addrh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj%)}(hdevadh]hdevad}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]jǀc.mdiobus_c45_readasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(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:Convenience function for reading a given MII mgmt registerh]h:Convenience function for reading a given MII mgmt register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhj^hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjځjxjځjyjzj{uh1hhhhj khNhNubj})}(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 **Return** The register value if successful, negative error code on failure **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: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)}(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:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhj6ubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjuh]h int devad}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjoubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``u32 regnum`` register number 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:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjÂhMhjubeh}(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&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjށubjX)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjhhhNhNubah}(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)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$mdiobus_c45_read_nested (C function)c.mdiobus_c45_read_nestedhNtauh1hhj khhhNhNubh)}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjchMubj)}(hmdiobus_c45_read_nestedh]j%)}(hmdiobus_c45_read_nestedh]hmdiobus_c45_read_nested}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjchMubj)}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)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$]j')}jjxsbc.mdiobus_c45_read_nestedasbuh1hhjubj)}(h h]h }(hjЃhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjރhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbush]hbus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint addrh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(haddrh]haddr}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj%)}(hdevadh]hdevad}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]j̃c.mdiobus_c45_read_nestedasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(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/Nested version of the mdiobus_c45_read functionh]h/Nested version of the mdiobus_c45_read function}(hjDŽhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjĄhhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhjchMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj߄jxj߄jyjzj{uh1hhhhj khNhNubj})}(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 **Return** The register value if successful, negative error code on failure **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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjAh]hint addr}(hjChhhNhNubah}(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}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjzh]h int devad}(hj|hhhNhNubah}(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.chMhjtubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``u32 regnum`` register number 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:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȅhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(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:134: ./drivers/net/phy/mdio_bus.chMhjubjX)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubjX)}(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:134: ./drivers/net/phy/mdio_bus.chMhjubjX)}(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.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:134: ./drivers/net/phy/mdio_bus.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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mdiobus_write_nested (C function)c.mdiobus_write_nestedhNtauh1hhj khhhNhNubh)}(hhh](h)}(hMint mdiobus_write_nested (struct mii_bus *bus, int addr, u32 regnum, u16 val)h]h)}(hLint mdiobus_write_nested(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j)}(hinth]hint}(hjhhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhjhMubj)}(hmdiobus_write_nestedh]j%)}(hmdiobus_write_nestedh]hmdiobus_write_nested}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhjhMubj)}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjˆhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj܆hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjنubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjކmodnameN classnameNjj!)}j$]j')}jjsbc.mdiobus_write_nestedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbush]hbus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint addrh](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj%)}(haddrh]haddr}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jc.mdiobus_write_nestedasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(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.mdiobus_write_nestedasbuh1hhjubj)}(h h]h }(hj·hhhNhNubah}(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=uh1jhj}hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjhMubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjvhhubjS)}(hhh]jX)}(h,Nested version of the mdiobus_write functionh]h,Nested version of the mdiobus_write function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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** **Return** Zero if successful, negative error code on failure **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj"ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjGh]hstruct mii_bus *bus}(hjIhhhNhNubah}(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.chMhjAubj)}(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&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh]hint addr}(hjhhhNhNubah}(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.chMhjzubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hj҈hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjΈhMhjψubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjΈhMhj>ubj)}(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:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hj hhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubeh}(h]h ]h"]h$]h&]uh1jhj"ubjX)}(h **Return**h]j)}(hj;h]hReturn}(hj=hhhNhNubah}(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.chMhj"ubjX)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj"ubjX)}(h**Description**h]j)}(hjbh]h Description}(hjdhhhNhNubah}(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]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().}(hjxhhhNhNubah}(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)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(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.}(hjhhhNhNubah}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_write (C function)c.mdiobus_writehNtauh1hhj khhhNhNubh)}(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}(hjΉhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjʉhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj݉hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjʉhhhj܉hMubj)}(h mdiobus_writeh]j%)}(h mdiobus_writeh]h mdiobus_write}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjʉhhhj܉hMubj)}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+modnameN classnameNjj!)}j$]j')}jjsbc.mdiobus_writeasbuh1hhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbush]hbus}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint addrh](j)}(hinth]hint}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(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$]jEc.mdiobus_writeasbuh1hhjubj)}(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=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$]jEc.mdiobus_writeasbuh1hhjubj)}(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=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:Convenience function for writing a given MII mgmt registerh]h:Convenience function for writing a given MII mgmt register}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjPhhubah}(h]h ]h"]h$]h&]uh1jRhjÉhhhj܉hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjkjxjkjyjzj{uh1hhhhj khNhNubj})}(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** **Return** Zero if successful, negative error code on failure **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjoubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](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:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhjNjubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjNjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj?h]hu16 val}(hjAhhhNhNubah}(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.chMhj9ubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjXhhhNhNubj)}(h **regnum**h]hregnum}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jWhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubeh}(h]h ]h"]h$]h&]uh1jhjoubjX)}(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:134: ./drivers/net/phy/mdio_bus.chMhjoubjX)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjoubjX)}(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:134: ./drivers/net/phy/mdio_bus.chMhjoubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjŌhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_write (C function)c.mdiobus_c45_writehNtauh1hhj khhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hmdiobus_c45_writeh]j%)}(hmdiobus_c45_writeh]hmdiobus_c45_write}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](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%)}(hmii_bush]hmii_bus}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j')}jjsbc.mdiobus_c45_writeasbuh1hhj-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%)}(hbush]hbus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(hint addrh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(h int devadh](j)}(hinth]hint}(hj؍hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjԍubj)}(h h]h }(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=uh1jhj)ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jkc.mdiobus_c45_writeasbuh1hhj ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hregnumh]hregnum}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]jkc.mdiobus_c45_writeasbuh1hhjQubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h:Convenience function for writing a given MII mgmt registerh]h:Convenience function for writing a given MII mgmt register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjƎjxjƎjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Return** Zero if successful, negative error code on failure **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjЎh]h Parameters}(hjҎhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjΎubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjʎubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](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:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(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`` device address to read 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:134: ./drivers/net/phy/mdio_bus.chMhj[ubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjӏh]hu16 val}(hjՏhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjяubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj͏ubj)}(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&]uh1jhj͏ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjʎubjX)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hj2hhhNhNubah}(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)}(hjCh]hNOTE}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM hjʎubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM hjʎubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%mdiobus_c45_write_nested (C function)c.mdiobus_c45_write_nestedhNtauh1hhj khhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hmdiobus_c45_write_nestedh]j%)}(hmdiobus_c45_write_nestedh]hmdiobus_c45_write_nested}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](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%)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.mdiobus_c45_write_nestedasbuh1hhjubj)}(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=uh1jhjubj)}(hint addrh](j)}(hinth]hint}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj%)}(haddrh]haddr}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(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.mdiobus_c45_write_nestedasbuh1hhjubj)}(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=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.mdiobus_c45_write_nestedasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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)}(h0Nested version of the mdiobus_c45_write functionh]h0Nested version of the mdiobus_c45_write function}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj?hhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZjxjZjyjzj{uh1hhhhj khNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Return** Zero if successful, negative error code on failure **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)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM hj^ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(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:134: ./drivers/net/phy/mdio_bus.chMhj}ubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjzubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjՒhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjђhMhjҒubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjђhMhjzubj)}(h%``int devad`` device address to read 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:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjzubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj.h]h u32 regnum}(hj0hhhNhNubah}(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)}(hregister number to writeh]hregister number to write}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChM hjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChM hjzubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjgh]hu16 val}(hjihhhNhNubah}(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.chM!hjaubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhj|hM!hj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hM!hjzubeh}(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&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM#hj^ubjX)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hjƓhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM#hj^ubjX)}(h**Description**h]j)}(hjדh]h Description}(hjٓhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjՓubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM%hj^ubjX)}(h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().h]h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM$hj^ubjX)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM'hj^ubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM(hj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_modify (C function)c.mdiobus_modifyhNtauh1hhj khhhNhNubh)}(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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMPubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?hhhjQhMPubj)}(hmdiobus_modifyh]j%)}(hmdiobus_modifyh]hmdiobus_modify}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?hhhjQhMPubj)}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](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%)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjfsbc.mdiobus_modifyasbuh1hhj|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%)}(hbush]hbus}(hjٔhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(hint addrh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(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.mdiobus_modifyasbuh1hhj#ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj%)}(hregnumh]hregnum}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]jc.mdiobus_modifyasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(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.mdiobus_modifyasbuh1hhjubj)}(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=uh1jhjxubeh}(h]h ]h"]h$]h&]j<j=uh1jhj?hhhjQhMPubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhjQhMPubah}(h]j6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhMPhj8hhubjS)}(hhh]jX)}(h?Convenience function for modifying a given mdio device registerh]h?Convenience function for modifying a given mdio device register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMPhj hhubah}(h]h ]h"]h$]h&]uh1jRhj8hhhjQhMPubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhj khNhNubj})}(hX**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 set **Return** 0 on success, negative on any error conditionh](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:134: ./drivers/net/phy/mdio_bus.chMThj,ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjQh]hstruct mii_bus *bus}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMRhjKubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMRhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMRhjHubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMShjubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjHubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMThjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjܖhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjؖhMThjٖubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjؖhMThjHubj)}(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:134: ./drivers/net/phy/mdio_bus.chMUhjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjHubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hj5h]hu16 set}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMVhj/ubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMVhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMVhjHubeh}(h]h ]h"]h$]h&]uh1jhj,ubjX)}(h **Return**h]j)}(hjph]hReturn}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMXhj,ubjX)}(h-0 on success, negative on any error conditionh]h-0 on success, negative on any error condition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMXhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_modify (C function)c.mdiobus_c45_modifyhNtauh1hhj khhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMgubj)}(h h]h }(hjėhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj×hMgubj)}(hmdiobus_c45_modifyh]j%)}(hmdiobus_c45_modifyh]hmdiobus_c45_modify}(hj֗hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjҗubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj×hMgubj)}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)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$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjؗsbc.mdiobus_c45_modifyasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbush]hbus}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint addrh](j)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]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}(hjјhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjΘubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjӘmodnameN classnameNjj!)}j$]j,c.mdiobus_c45_modifyasbuh1hhjʘubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjʘubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjʘubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j,c.mdiobus_c45_modifyasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j,c.mdiobus_c45_modifyasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj%)}(hseth]hset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj×hMgubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj×hMgubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj×hMghjhhubjS)}(hhh]jX)}(h?Convenience function for modifying a given mdio device registerh]h?Convenience function for modifying a given mdio device register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMghjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj×hMgubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjϙjxjϙjyjzj{uh1hhhhj khNhNubj})}(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 set **Return** 0 on success, negative on any error conditionh](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.chMkhjәubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](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:134: ./drivers/net/phy/mdio_bus.chMihjubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMihjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj1h]hint addr}(hj3hhhNhNubah}(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.chMjhj+ubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMjhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMjhjubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjjh]h int devad}(hjlhhhNhNubah}(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.chMkhjdubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMlhjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(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.chMmhj֚ubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhj֚ubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(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:134: ./drivers/net/phy/mdio_bus.chMnhjubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMnhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMnhjubeh}(h]h ]h"]h$]h&]uh1jhjәubjX)}(h **Return**h]j)}(hjPh]hReturn}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMphjәubjX)}(h-0 on success, negative on any error conditionh]h-0 on success, negative on any error condition}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMphjәubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#mdiobus_modify_changed (C function)c.mdiobus_modify_changedhNtauh1hhj khhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hmdiobus_modify_changedh]j%)}(hmdiobus_modify_changedh]hmdiobus_modify_changed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.mdiobus_modify_changedasbuh1hhjΛ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%)}(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}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj)}(h h]h }(hjRhhhNhNubah}(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$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~modnameN classnameNjj!)}j$]j c.mdiobus_modify_changedasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjʛubj)}(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$]j c.mdiobus_modify_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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 reftargetjmodnameN classnameNjj!)}j$]j c.mdiobus_modify_changedasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hj8hhhNhNubah}(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[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}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj_hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhj khNhNubj})}(hX@**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 set **Return** 1 if the register was modified, 0 if no change was needed, negative on any error conditionh](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: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)}(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:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj֝ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjNh]hu16 mask}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjHubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjubj)}(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:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj~ubjX)}(h **Return**h]j)}(hjžh]hReturn}(hjĞhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj~ubjX)}(hZ1 if the register was modified, 0 if no change was needed, negative on any error conditionh]hZ1 if the register was modified, 0 if no change was needed, negative on any error condition}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'mdiobus_c45_modify_changed (C function)c.mdiobus_c45_modify_changedhNtauh1hhj khhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hmdiobus_c45_modify_changedh]j%)}(hmdiobus_c45_modify_changedh]hmdiobus_c45_modify_changed}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j')}jj*sbc.mdiobus_c45_modify_changedasbuh1hhj@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%)}(hbush]hbus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(hint addrh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjğhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(haddrh]haddr}(hjҟhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(h int devadh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%modnameN classnameNjj!)}j$]j~c.mdiobus_c45_modify_changedasbuh1hhjubj)}(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=uh1jhj<ubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j~c.mdiobus_c45_modify_changedasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(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$]j~c.mdiobus_c45_modify_changedasbuh1hhjubj)}(h h]h }(hjѠhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hjߠhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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[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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhj khNhNubj})}(hXh**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 set **Return** 1 if the register was modified, 0 if no change was needed, negative on any error conditionh](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)}(hjJh]hstruct mii_bus *bus}(hjLhhhNhNubah}(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.chMhjDubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubj)}(h%``int devad`` device address to read 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:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjաhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjѡhMhjҡubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjѡhMhjAubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjAubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj.h]hu16 mask}(hj0hhhNhNubah}(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 clearh]hbit mask of bits to clear}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjAubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjgh]hu16 set}(hjihhhNhNubah}(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.chMhjaubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhjAubeh}(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&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj%ubjX)}(hZ1 if the register was modified, 0 if no change was needed, negative on any error conditionh]hZ1 if the register was modified, 0 if no change was needed, negative on any error condition}(hjhhhNhNubah}(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|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_release (C function)c.mdiobus_releasehNtauh1hhj khhhNhNubh)}(hhh](h)}(h'void mdiobus_release (struct device *d)h]h)}(h&void mdiobus_release(struct device *d)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKhubj)}(hmdiobus_releaseh]j%)}(hmdiobus_releaseh]hmdiobus_release}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKhubj)}(h(struct device *d)h]j)}(hstruct device *dh](h)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hdeviceh]hdevice}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDmodnameN classnameNjj!)}j$]j')}jj sbc.mdiobus_releaseasbuh1hhj ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hj?wh]hd}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjߢhhhjhKhubah}(h]jڢah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhhjܢhhubjS)}(hhh]jX)}(hmii_bus device release callbackh]hmii_bus device release callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhhjhhubah}(h]h ]h"]h$]h&]uh1jRhjܢhhhjhKhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(h**Parameters** ``struct device *d`` the target struct device that contains the mii_bus **Description** called when the last reference to an mii_bus is dropped, to free the underlying memory.h](jX)}(h**Parameters**h]j)}(hjȣ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:137: ./drivers/net/phy/mdio_bus.chKlhj£ubj)}(hhh]j)}(hH``struct device *d`` the target struct device that contains the mii_bus h](j)}(h``struct device *d``h]j)}(hjh]hstruct device *d}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKihjubj)}(hhh]jX)}(h2the target struct device that contains the mii_bush]h2the target struct device that contains the mii_bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKihjޣubah}(h]h ]h"]h$]h&]uh1jhj£ubjX)}(h**Description**h]j)}(hj"h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKkhj£ubjX)}(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.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKkhj£ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)__mdiobus_c45_modify_changed (C function)c.__mdiobus_c45_modify_changedhNtauh1hhj khhhNhNubh)}(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}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjchhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chM?ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjchhhjuhM?ubj)}(h__mdiobus_c45_modify_changedh]j%)}(h__mdiobus_c45_modify_changedh]h__mdiobus_c45_modify_changed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjchhhjuhM?ubj)}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj¤hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjĤmodnameN classnameNjj!)}j$]j')}jjsbc.__mdiobus_c45_modify_changedasbuh1hhjubj)}(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=uh1jhjubj)}(hint addrh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(haddrh]haddr}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj%)}(hdevadh]hdevad}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(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.__mdiobus_c45_modify_changedasbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hj˥hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjȥubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjͥmodnameN classnameNjj!)}j$]jޤc.__mdiobus_c45_modify_changedasbuh1hhjĥubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjĥubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjĥubeh}(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.__mdiobus_c45_modify_changedasbuh1hhj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hseth]hset}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjchhhjuhM?ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj_hhhjuhM?ubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjuhM?hj\hhubjS)}(hhh]jX)}(h/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chM?hjfhhubah}(h]h ]h"]h$]h&]uh1jRhj\hhhjuhM?ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(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 **Return** 1 if the register was modified, 0 if no change was needed, negative on any error condition **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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMChjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](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:137: ./drivers/net/phy/mdio_bus.chM@hjubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjæhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMAhjݦubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjݦubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(h%``int devad`` device address to read 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:137: ./drivers/net/phy/mdio_bus.chMBhjubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMBhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMBhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjUh]h u32 regnum}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMChjOubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMChjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMChjubj)}(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:137: ./drivers/net/phy/mdio_bus.chMDhjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(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:137: ./drivers/net/phy/mdio_bus.chMEhjubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjܧhMEhjݧubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjܧhMEhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(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:137: ./drivers/net/phy/mdio_bus.chMGhjubjX)}(hZ1 if the register was modified, 0 if no change was needed, negative on any error conditionh]hZ1 if the register was modified, 0 if no change was needed, negative on any error condition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMGhjubjX)}(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:137: ./drivers/net/phy/mdio_bus.chMJhjubjX)}(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:137: ./drivers/net/phy/mdio_bus.chMIhjubjX)}(h**NOTE**h]j)}(hjPh]hNOTE}(hjRhhhNhNubah}(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.chMLhjubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj khhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdio_bus_match (C function)c.mdio_bus_matchhNtauh1hhj khhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hmdio_bus_matchh]j%)}(hmdio_bus_matchh]hmdio_bus_match}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h5(struct device *dev, const struct device_driver *drv)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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.mdio_bus_matchasbuh1hhjΨ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 struct device_driver *drvh](h)}(hjh]hconst}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@ubj)}(h h]h }(hjQhhhNhNubah}(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%)}(h device_driverh]h device_driver}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.mdio_bus_matchasbuh1hhj@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%)}(hdrvh]hdrv}(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=determine if given MDIO driver supports the given MDIO deviceh]h=determine if given MDIO driver supports the given MDIO device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjݩhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj khNhNubj})}(hXF**Parameters** ``struct device *dev`` target MDIO device ``const struct device_driver *drv`` given MDIO driver **Return** 1 if the driver supports the device, 0 otherwise **Description** 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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh](j)}(h*``struct device *dev`` target MDIO device h](j)}(h``struct device *dev``h]j)}(hj!h]hstruct device *dev}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jX)}(htarget MDIO deviceh]htarget MDIO device}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h6``const struct device_driver *drv`` given MDIO driver h](j)}(h#``const struct device_driver *drv``h]j)}(hjZh]hconst struct device_driver *drv}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjTubj)}(hhh]jX)}(hgiven MDIO driverh]hgiven MDIO driver}(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 **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:137: ./drivers/net/phy/mdio_bus.chMhjubjX)}(h01 if the driver supports the device, 0 otherwiseh]h01 if the driver supports the device, 0 otherwise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjubjX)}(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:137: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]j)}(hThis may require calling the devices own match function, since different classes of MDIO devices have different match criteria.h](j)}(h8This may require calling the devices own match function,h]h8This may require calling the devices own match function,}(hj٪hhhNhNubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjժubj)}(hhh]jX)}(hFsince different classes of MDIO devices have different match criteria.h]hFsince different classes of MDIO devices have different match criteria.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.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|hj khhhNhNubeh}(h] phy-supportah ]h"] phy supportah$]h&]uh1hhj-hhhhhKoubh)}(hhh](h)}(hPHYLINKh]hPHYLINK}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubj )}(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.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhhhKhj,ubah}(h]h ]h"]h$]h&]uh1j hhhKhjhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_link_state (C struct)c.phylink_link_statehNtauh1hhjhhhNhNubh)}(hhh](h)}(hphylink_link_stateh]h)}(hstruct phylink_link_stateh](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjjhKubj)}(hphylink_link_stateh]j%)}(hjWh]hphylink_link_state}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjjhKubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhKhjRhhubjS)}(hhh]jX)}(hlink state structureh]hlink state structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhhjhhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjjhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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}(hjëhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKlhjubjU)}(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; };}hjܫsbah}(h]h ]h"]h$]h&]j<j=uh1jThX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKnhjubjX)}(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.hhKzhjubj)}(hhh](j)}(hA``advertising`` ethtool bitmask containing advertised link modes h](j)}(h``advertising``h]j)}(hj h]h advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKjhjubj)}(hhh]jX)}(h0ethtool bitmask containing advertised link modesh]h0ethtool bitmask containing advertised link modes}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hKjhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hKjhjubj)}(hQ``lp_advertising`` ethtool bitmask containing link partner advertised link modes h](j)}(h``lp_advertising``h]j)}(hjEh]hlp_advertising}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKlhj?ubj)}(hhh]jX)}(h=ethtool bitmask containing link partner advertised link modesh]h=ethtool bitmask containing link partner advertised link modes}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKkhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhKlhjubj)}(hL``interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h ``interface``h]j)}(hjh]h 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.hhKmhjyubj)}(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_tuh1hhjhKmhjubh mode}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKmhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhKmhjubj)}(h4``speed`` link speed, one of the SPEED_* constants. h](j)}(h ``speed``h]j)}(hj۬h]hspeed}(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.hhKnhjլubj)}(hhh]jX)}(h)link speed, one of the SPEED_* constants.h]h)link speed, one of the SPEED_* constants.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKnhjubah}(h]h ]h"]h$]h&]uh1jhjլubeh}(h]h ]h"]h$]h&]uh1jhjhKnhjubj)}(h8``duplex`` link duplex mode, one of DUPLEX_* constants. h](j)}(h ``duplex``h]j)}(hjh]hduplex}(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.hhKohjubj)}(hhh]jX)}(h,link duplex mode, one of DUPLEX_* constants.h]h,link duplex mode, one of DUPLEX_* constants.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hKohj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hKohjubj)}(h@``pause`` link pause state, described by MLO_PAUSE_* constants. h](j)}(h ``pause``h]j)}(hjMh]hpause}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKphjGubj)}(hhh]jX)}(h5link pause state, described by MLO_PAUSE_* constants.h]h5link pause state, described by MLO_PAUSE_* constants.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhKphjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhKphjubj)}(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)}(hjh]h rate_matching}(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.hhKthjubj)}(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 (}(hjhhhNhNubj)}(h **speed**h]hspeed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **duplex**h]hduplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh2) and the speed/duplex of the phy interface mode (}(hjhhhNhNubj)}(h **interface**h]h interface}(hj˭hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) are different.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKthjubj)}(h!``link`` true if the link is up. h](j)}(h``link``h]j)}(hjh]hlink}(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.hhKuhjubj)}(hhh]jX)}(htrue if the link is up.h]htrue if the link is up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hKuhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKuhjubj)}(h6``an_complete`` true if autonegotiation has completed.h](j)}(h``an_complete``h]j)}(hj/h]h an_complete}(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.hhKuhj)ubj)}(hhh]jX)}(h&true if autonegotiation has completed.h]h&true if autonegotiation has completed.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKvhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhKuhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_config (C struct)c.phylink_confighNtauh1hhjhhhNhNubh)}(hhh](h)}(hphylink_configh]h)}(hstruct phylink_configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhK|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhK|ubj)}(hphylink_configh]j%)}(hjh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhK|ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhK|ubah}(h]j|ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhK|hj~hhubjS)}(hhh]jX)}(hPHYLINK configuration structureh]hPHYLINK configuration structure}(hjˮhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjȮhhubah}(h]h ]h"]h$]h&]uh1jRhj~hhhjhK|ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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; bool wol_phy_legacy; bool wol_phy_speed_ctrl; u32 wol_mac_support; }; **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 time ``wol_phy_legacy`` Use Wake-on-Lan with PHY even if phy_can_wakeup() is false ``wol_phy_speed_ctrl`` Use phy speed control on suspend/resume ``wol_mac_support`` Bitmask of MAC supported ``WAKE_*`` optionsh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjU)}(hXstruct phylink_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; bool wol_phy_legacy; bool wol_phy_speed_ctrl; u32 wol_mac_support; };h]hXstruct 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; bool wol_phy_legacy; bool wol_phy_speed_ctrl; u32 wol_mac_support; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjX)}(h **Members**h]j)}(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.hhKhjubj)}(hhh](j)}(h=``dev`` a pointer to a struct device associated with the MAC h](j)}(h``dev``h]j)}(hj8h]hdev}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj2ubj)}(hhh]jX)}(h4a pointer to a struct device associated with the MACh]h4a pointer to a struct device associated with the MAC}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhKhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhKhj/ubj)}(h,``type`` operation type of PHYLINK instance h](j)}(h``type``h]j)}(hjqh]htype}(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.hhKhjkubj)}(hhh]jX)}(h"operation type of PHYLINK instanceh]h"operation type of PHYLINK instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhKhj/ubj)}(hY``poll_fixed_state`` if true, starts link_poll, if MAC link is at ``MLO_AN_FIXED`` mode. h](j)}(h``poll_fixed_state``h]j)}(hjh]hpoll_fixed_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.hhKhjubj)}(hhh]jX)}(hCif true, starts link_poll, if MAC link is at ``MLO_AN_FIXED`` mode.h](h-if true, starts link_poll, if MAC link is at }(hjïhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hj˯hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjïubh mode.}(hjïhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj/ubj)}(hO``mac_managed_pm`` if true, indicate the MAC driver is responsible for PHY PM. h](j)}(h``mac_managed_pm``h]j)}(hjh]hmac_managed_pm}(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;if true, indicate the MAC driver is responsible for PHY PM.h]h;if true, indicate the MAC driver is responsible for PHY PM.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhj/ubj)}(h``mac_requires_rxc`` if true, the MAC always requires a receive clock from PHY. The PHY driver should start the clock signal as soon as possible and avoid stopping it during suspend events. h](j)}(h``mac_requires_rxc``h]j)}(hj/h]hmac_requires_rxc}(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.hhKhj)ubj)}(hhh]jX)}(hif true, the MAC always requires a receive clock from PHY. The PHY driver should start the clock signal as soon as possible and avoid stopping it during suspend events.h]hif true, the MAC always requires a receive clock from PHY. The PHY driver should start the clock signal as soon as possible and avoid stopping it during suspend events.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhKhj/ubj)}(h{``default_an_inband`` if true, defaults to MLO_AN_INBAND rather than MLO_AN_PHY. A fixed-link specification will override. h](j)}(h``default_an_inband``h]j)}(hjih]hdefault_an_inband}(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.hhKhjcubj)}(hhh]jX)}(hdif true, defaults to MLO_AN_INBAND rather than MLO_AN_PHY. A fixed-link specification will override.h]hdif true, defaults to MLO_AN_INBAND rather than MLO_AN_PHY. A fixed-link specification will override.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hKhj/ubj)}(hN``eee_rx_clk_stop_enable`` if true, PHY can stop the receive clock during LPI h](j)}(h``eee_rx_clk_stop_enable``h]j)}(hjh]heee_rx_clk_stop_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.hhKhjubj)}(hhh]jX)}(h2if true, PHY can stop the receive clock during LPIh]h2if true, PHY can stop the receive clock during LPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj/ubj)}(ht``get_fixed_state`` callback to execute to determine the fixed link state, if MAC link is at ``MLO_AN_FIXED`` mode. h](j)}(h``get_fixed_state``h]j)}(hjܰh]hget_fixed_state}(hjްhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڰubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjְubj)}(hhh]jX)}(h_callback to execute to determine the fixed link state, if MAC link is at ``MLO_AN_FIXED`` mode.h](hIcallback to execute to determine the fixed link state, if MAC link is at }(hjhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh mode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjְubeh}(h]h ]h"]h$]h&]uh1jhjhKhj/ubj)}(hf``supported_interfaces`` bitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/PCS. h](j)}(h``supported_interfaces``h]j)}(hj(h]hsupported_interfaces}(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)}(hLbitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/PCS.h]hLbitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/PCS.}(hjAhhhNhNubah}(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=hKhj/ubj)}(h[``lpi_interfaces`` bitmap describing which PHY interface modes can support LPI signalling. h](j)}(h``lpi_interfaces``h]j)}(hjbh]hlpi_interfaces}(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.hhKhj\ubj)}(hhh]jX)}(hGbitmap describing which PHY interface modes can support LPI signalling.h]hGbitmap describing which PHY interface modes can support LPI signalling.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhKhj/ubj)}(h:``mac_capabilities`` MAC pause/speed/duplex capabilities. h](j)}(h``mac_capabilities``h]j)}(hjh]hmac_capabilities}(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$MAC pause/speed/duplex capabilities.h]h$MAC pause/speed/duplex capabilities.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj/ubj)}(hA``lpi_capabilities`` MAC speeds which can support LPI signalling h](j)}(h``lpi_capabilities``h]j)}(hjձh]hlpi_capabilities}(hjױhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӱubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjϱubj)}(hhh]jX)}(h+MAC speeds which can support LPI signallingh]h+MAC speeds which can support LPI signalling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjϱubeh}(h]h ]h"]h$]h&]uh1jhjhKhj/ubj)}(h5``lpi_timer_default`` Default EEE LPI timer setting. h](j)}(h``lpi_timer_default``h]j)}(hjh]hlpi_timer_default}(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.hhKhjubj)}(hhh]jX)}(hDefault EEE LPI timer setting.h]hDefault EEE LPI timer setting.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hKhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hKhj/ubj)}(hP``eee_enabled_default`` If set, EEE will be enabled by phylink at creation time h](j)}(h``eee_enabled_default``h]j)}(hjGh]heee_enabled_default}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjAubj)}(hhh]jX)}(h7If set, EEE will be enabled by phylink at creation timeh]h7If set, EEE will be enabled by phylink at creation time}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hKhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hKhj/ubj)}(hN``wol_phy_legacy`` Use Wake-on-Lan with PHY even if phy_can_wakeup() is false h](j)}(h``wol_phy_legacy``h]j)}(hjh]hwol_phy_legacy}(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.hhKhjzubj)}(hhh]jX)}(h:Use Wake-on-Lan with PHY even if phy_can_wakeup() is falseh]h:Use Wake-on-Lan with PHY even if phy_can_wakeup() is false}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhKhj/ubj)}(h?``wol_phy_speed_ctrl`` Use phy speed control on suspend/resume h](j)}(h``wol_phy_speed_ctrl``h]j)}(hjh]hwol_phy_speed_ctrl}(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'Use phy speed control on suspend/resumeh]h'Use phy speed control on suspend/resume}(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?``wol_mac_support`` Bitmask of MAC supported ``WAKE_*`` optionsh](j)}(h``wol_mac_support``h]j)}(hjh]hwol_mac_support}(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+Bitmask of MAC supported ``WAKE_*`` optionsh](hBitmask of MAC supported }(hj hhhNhNubj)}(h ``WAKE_*``h]hWAKE_*}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh options}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj/ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mac_ops (C struct)c.phylink_mac_opshNtauh1hhjhhhNhNubh)}(hhh](h)}(hphylink_mac_opsh]h)}(hstruct phylink_mac_opsh](h)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhjkhKubj)}(hphylink_mac_opsh]j%)}(hjXh]hphylink_mac_ops}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhjkhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVhhhjkhKubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhKhjShhubjS)}(hhh]jX)}(hMAC operations structure.h]hMAC operations structure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjShhhjkhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Definition**:: struct phylink_mac_ops { unsigned long (*mac_get_caps)(struct phylink_config *config, phy_interface_t interface); struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, phy_interface_t interface); int (*mac_prepare)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_config)(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state); int (*mac_finish)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_link_down)(struct phylink_config *config, unsigned int mode, phy_interface_t interface); void (*mac_link_up)(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause); void (*mac_disable_tx_lpi)(struct phylink_config *config); int (*mac_enable_tx_lpi)(struct phylink_config *config, u32 timer, bool tx_clk_stop); int (*mac_wol_set)(struct phylink_config *config, u32 wolopts, const u8 *sopass); }; **Members** ``mac_get_caps`` Get MAC capabilities for interface mode. ``mac_select_pcs`` Select a PCS for the interface mode. ``mac_prepare`` prepare for a major reconfiguration of the interface. ``mac_config`` configure the MAC for the selected mode and state. ``mac_finish`` finish a major reconfiguration of the interface. ``mac_link_down`` take the link down. ``mac_link_up`` allow the link to come up. ``mac_disable_tx_lpi`` disable LPI. ``mac_enable_tx_lpi`` enable and configure LPI. ``mac_wol_set`` configure Wake-on-Lan settings at the MAC.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjijhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjU)}(hXstruct phylink_mac_ops { unsigned long (*mac_get_caps)(struct phylink_config *config, phy_interface_t interface); struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, phy_interface_t interface); int (*mac_prepare)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_config)(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state); int (*mac_finish)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_link_down)(struct phylink_config *config, unsigned int mode, phy_interface_t interface); void (*mac_link_up)(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause); void (*mac_disable_tx_lpi)(struct phylink_config *config); int (*mac_enable_tx_lpi)(struct phylink_config *config, u32 timer, bool tx_clk_stop); int (*mac_wol_set)(struct phylink_config *config, u32 wolopts, const u8 *sopass); };h]hXstruct phylink_mac_ops { unsigned long (*mac_get_caps)(struct phylink_config *config, phy_interface_t interface); struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, phy_interface_t interface); int (*mac_prepare)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_config)(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state); int (*mac_finish)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_link_down)(struct phylink_config *config, unsigned int mode, phy_interface_t interface); void (*mac_link_up)(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause); void (*mac_disable_tx_lpi)(struct phylink_config *config); int (*mac_enable_tx_lpi)(struct phylink_config *config, u32 timer, bool tx_clk_stop); int (*mac_wol_set)(struct phylink_config *config, u32 wolopts, const u8 *sopass); };}hjݳsbah}(h]h ]h"]h$]h&]j<j=uh1jThX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjX)}(h **Members**h]j)}(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.hhKhjubj)}(hhh](j)}(h:``mac_get_caps`` Get MAC capabilities for interface mode. h](j)}(h``mac_get_caps``h]j)}(hj h]h mac_get_caps}(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.hhKhjubj)}(hhh]jX)}(h(Get MAC capabilities for interface mode.h]h(Get MAC capabilities for interface mode.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hKhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hKhjubj)}(h8``mac_select_pcs`` Select a PCS for the interface mode. h](j)}(h``mac_select_pcs``h]j)}(hjFh]hmac_select_pcs}(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.hhKhj@ubj)}(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&]uh1jWhj[hKhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hKhjubj)}(hF``mac_prepare`` prepare for a major reconfiguration of the interface. h](j)}(h``mac_prepare``h]j)}(hjh]h mac_prepare}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjyubj)}(hhh]jX)}(h5prepare for a major reconfiguration of the interface.h]h5prepare for a major reconfiguration of the interface.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hB``mac_config`` configure the MAC for the selected mode and state. h](j)}(h``mac_config``h]j)}(hjh]h mac_config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʹhKhjubj)}(h@``mac_finish`` finish a major reconfiguration of the interface. h](j)}(h``mac_finish``h]j)}(hjh]h mac_finish}(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)}(h0finish a major reconfiguration of the interface.h]h0finish a major reconfiguration of the interface.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hKhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hKhjubj)}(h+``mac_link_up`` allow the link to come up. h](j)}(h``mac_link_up``h]j)}(hjch]h mac_link_up}(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.hhKhj]ubj)}(hhh]jX)}(hallow the link to come up.h]hallow the link to come up.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhKhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjubj)}(h$``mac_disable_tx_lpi`` disable LPI. h](j)}(h``mac_disable_tx_lpi``h]j)}(hjh]hmac_disable_tx_lpi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jX)}(h disable LPI.h]h disable LPI.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h0``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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjϵubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h:``mac_wol_set`` configure Wake-on-Lan settings at the MAC.h](j)}(h``mac_wol_set``h]j)}(hjh]h mac_wol_set}(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.hhKhjubj)}(hhh]jX)}(h*configure Wake-on-Lan settings at the MAC.h]h*configure Wake-on-Lan settings at the MAC.}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubjX)}(h**Description**h]j)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjhhubjX)}(h6The individual methods are described more fully below.h]h6The individual methods are described more fully below.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_get_caps (C function)c.mac_get_capshNtauh1hhjhhhNhNubh)}(hhh](h)}(hUunsigned long mac_get_caps (struct phylink_config *config, phy_interface_t interface)h]h)}(hTunsigned long mac_get_caps(struct phylink_config *config, phy_interface_t interface)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(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=uh1jhjhhhjhKubj)}(h:(struct phylink_config *config, phy_interface_t interface)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')}jjζsbc.mac_get_capsasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjAhhhNhNubah}(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$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j"c.mac_get_capsasbuh1hhjVubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h(Get MAC capabilities for interface mode.h]h(Get MAC capabilities for interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj˷jxj˷jyjzj{uh1hhhhjhNhNubj})}(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)}(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)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(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)}(h2``phy_interface_t interface`` PHY interface mode. h](j)}(h``phy_interface_t interface``h]j)}(hjPh]hphy_interface_t interface}(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.hhKhjJubj)}(hhh]jX)}(hPHY interface mode.h]hPHY interface mode.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehKhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehKhjubeh}(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.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.)}(hjhhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_select_pcs (C function)c.mac_select_pcshNtauh1hhjhhhNhNubh)}(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}(hjиhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj̸hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj)}(h h]h }(hj޸hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj̸hhhjݸhKubh)}(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_pcsasbuh1hhj̸hhhjݸhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj̸hhhjݸhKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj̸hhhjݸhKubj)}(hmac_select_pcsh]j%)}(hj h]hmac_select_pcs}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj̸hhhjݸhKubj)}(h:(struct phylink_config *config, phy_interface_t interface)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j c.mac_select_pcsasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.mac_select_pcsasbuh1hhjubj)}(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=uh1jhjBubeh}(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$Select a PCS for the interface mode.h]h$Select a PCS for the interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjŸhhhjݸhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+jxj+jyjzj{uh1hhhhjhNhNubj})}(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)}(hj5h]h Parameters}(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.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)}(hjTh]hstruct phylink_config *config}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjNubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjmhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjwh]hstruct phylink_config}(hjyhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjihKhjmubh.}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjihKhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihKhjKubj)}(h9``phy_interface_t interface`` PHY interface mode for PCS 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.hhKhjubj)}(hhh]jX)}(hPHY interface mode for PCSh]hPHY interface mode for PCS}(hjɺhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjźhKhjƺubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjźhKhjKubeh}(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.hhKhj/ubjX)}(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&]uh1jWhj(hKhj/ubjX)}(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.}(hj3hhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_prepare (C function) c.mac_preparehNtauh1hhjhhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhjphMubj)}(h mac_prepareh]j%)}(h mac_prepareh]h mac_prepare}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhjphMubj)}(hI(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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')}jjsb c.mac_prepareasbuh1hhjubj)}(h h]h }(hjݻhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int modeh](j)}(hunsignedh]hunsigned}(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%)}(hmodeh]hmode}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t ifaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]jٻ c.mac_prepareasbuh1hhj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(hifaceh]hiface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj^hhhjphMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZhhhjphMubah}(h]jUah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphMhjWhhubjS)}(hhh]jX)}(h(prepare to change the PHY interface modeh]h(prepare to change the PHY interface mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjphMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjӼjxjӼjyjzj{uh1hhhhjhNhNubj})}(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)}(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)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hj!hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(hjXh]hunsigned int mode}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjRubj)}(hhh]jX)}(h;one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``.h](hone of }(hjqhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh, }(hjqhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh, }hjqsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh.}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(h6``phy_interface_t iface`` interface mode to switch to h](j)}(h``phy_interface_t iface``h]j)}(hjǽh]hphy_interface_t iface}(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)}(hinterface mode to switch toh]hinterface mode to switch to}(hjhhhNhNubah}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj׼ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj׼ubjX)}(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()}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hj׼ubjX)}(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.}(hj6hhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_config (C function) c.mac_confighNtauh1hhjhhhNhNubh)}(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}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjshMubj)}(h mac_configh]j%)}(h mac_configh]h mac_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjahhhjshMubj)}(hZ(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state)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 reftargetj¾modnameN classnameNjj!)}j$]j')}jjsb c.mac_configasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int modeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmodeh]hmode}(hjLhhhNhNubah}(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}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(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.mac_configasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjʿhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hstateh]hstate}(hj׿hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjahhhjshMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]hhhjshMubah}(h]jXah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjshMhjZhhubjS)}(hhh]jX)}(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&]uh1jRhjZhhhjshMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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 **state->advertising**. 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, 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)}(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.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)}(hjBh]hstruct phylink_config *config}(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_config `.h](ha pointer to a }(hj[hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjeh]hstruct phylink_config}(hjghhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjWhMhj[ubh.}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhj9ubj)}(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.hhMhjubj)}(hhh]jX)}(h;one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``.h](hone of }(hjhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj9ubj)}(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}(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)}(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)}(hj0h]hstruct phylink_link_state}(hj2hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhj"hMhj&ubh.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj9ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjkh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjubjX)}(hNote - not all members of **state** are valid. In particular, **state->lp_advertising**, **state->link**, **state->an_complete** are never guaranteed to be correct, and so any mac_config() implementation must never reference these fields.h](hNote - not all members of }(hjhhhNhNubj)}(h **state**h]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are valid. In particular, }(hjhhhNhNubj)}(h**state->lp_advertising**h]hstate->lp_advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**state->link**h]h state->link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h**state->an_complete**h]hstate->an_complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhn are never guaranteed to be correct, and so any mac_config() implementation must never reference these fields.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(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.hhM$hjubjX)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is not set, }(hjhhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hj7hhhNhNubah}(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.hhM(hjubjX)}(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}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh, }(hjfhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh:}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM?hjbubj)}(hhh](jX)}(hConfigure for non-inband negotiation mode, where the link settings are completely communicated via mac_link_up(). The physical link protocol from the MAC is specified by **state->interface**.h](hConfigure for non-inband negotiation mode, where the link settings are completely communicated via mac_link_up(). The physical link protocol from the MAC is specified by }(hjhhhNhNubj)}(h**state->interface**h]hstate->interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM2hjubjX)}(h8**state->advertising** may be used, but is not required.h](j)}(h**state->advertising**h]hstate->advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" may be used, but is not required.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM6hjubjX)}(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.hhM8hjubjX)}(h+Other members of **state** must be ignored.h](hOther members of }(hjhhhNhNubj)}(h **state**h]hstate}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must be ignored.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM<hjubjX)}(h\Valid state members: interface, advertising. Deprecated state members: speed, duplex, pause.h]h\Valid state members: interface, advertising. Deprecated state members: speed, duplex, pause.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM>hjubeh}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjhM?hj_ubj)}(hXX``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 **state->advertising**. 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, pause, advertising. h](j)}(h``MLO_AN_INBAND``:h](j)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(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.hhMXhjWubj)}(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}(hjhhhNhNubah}(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.hhMBhjxubjX)}(h4Interface mode specific details are mentioned below.h]h4Interface mode specific details are mentioned below.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMIhjxubjX)}(hX,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 **state->advertising**. 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 }(hjhhhNhNubj)}(h**state->interface**h]hstate->interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhx. Duplex and pause modes are negotiated via the in-band configuration word. Advertised pause modes are set according to }(hjhhhNhNubj)}(h**state->advertising**h]hstate->advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhM. Beware of MACs which only support full duplex at gigabit and higher speeds.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMKhjxubjX)}(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.hhMQhjxubjX)}(h3Valid state members: interface, pause, advertising.h]h3Valid state members: interface, pause, advertising.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMXhjxubeh}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjwhMXhj_ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(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)}(h *without*h]hwithout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 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.hhMZhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_finish (C function) c.mac_finishhNtauh1hhjhhhNhNubh)}(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}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMfubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJhhhj\hMfubj)}(h mac_finishh]j%)}(h mac_finishh]h mac_finish}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJhhhj\hMfubj)}(hI(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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')}jjqsb c.mac_finishasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int modeh](j)}(hunsignedh]hunsigned}(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%)}(hmodeh]hmode}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t ifaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j c.mac_finishasbuh1hhjJubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hifaceh]hiface}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjJhhhj\hMfubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjFhhhj\hMfubah}(h]jAah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\hMfhjChhubjS)}(hhh]jX)}(h)finish a to change the PHY interface modeh]h)finish a to change the PHY interface mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMfhjhhubah}(h]h ]h"]h$]h&]uh1jRhjChhhj\hMfubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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.hhMjhjubj)}(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.hhMghjubj)}(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_configuh1hhjhMghjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(hjDh]hunsigned int mode}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhhj>ubj)}(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}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh, }(hj]hhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh, }hj]sbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh.}(hj]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjYhMhhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhhjubj)}(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.hhMihjubj)}(hhh]jX)}(hinterface mode to switch toh]hinterface mode to switch to}(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)}(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.hhMkhjubjX)}(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 }(hjhhhNhNubj)}(h**mode**h]hmode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **iface**h]hiface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhm. E.g. a MAC driver may wish to re-enable the Serdes PHY here if it was previously disabled by mac_prepare().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMjhjubjX)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMohjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_link_down (C function)c.mac_link_downhNtauh1hhjhhhNhNubh)}(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}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMwubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjthMwubj)}(h mac_link_downh]j%)}(h mac_link_downh]h mac_link_down}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbhhhjthMwubj)}(hM(struct phylink_config *config, unsigned int mode, phy_interface_t interface)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')}jjsbc.mac_link_downasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int modeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmodeh]hmode}(hjMhhhNhNubah}(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}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]jc.mac_link_downasbuh1hhjbubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjbhhhjthMwubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^hhhjthMwubah}(h]jYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjthMwhj[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.hhMwhjhhubah}(h]h ]h"]h$]h&]uh1jRhj[hhhjthMwubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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.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.hhMxhjubj)}(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_configuh1hhjhMxhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMyhjVubj)}(hhh]jX)}(hlink autonegotiation modeh]hlink autonegotiation mode}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMyhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMyhjubj)}(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.hhMzhjubj)}(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_tuh1hhjhMzhjubh mode}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubeh}(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)}(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.hhM{hjubjX)}(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.hhM~hjubjX)}(hYIf **mode** is ``MLO_AN_INBAND``, then this function must not prevent the link coming up.h](hIf }(hj'hhhNhNubj)}(h**mode**h]hmode}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh is }(hj'hhhNhNubj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh9, then this function must not prevent the link coming up.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_link_up (C function) c.mac_link_uphNtauh1hhjhhhNhNubh)}(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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhhX/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 mac_link_uph]j%)}(h mac_link_uph]h mac_link_up}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvhhhjhMubj)}(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')}jjsb c.mac_link_upasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct phy_device *phyh](h)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j c.mac_link_upasbuh1hhj%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%)}(hphyh]hphy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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=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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj%)}(hspeedh]hspeed}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int duplexh](j)}(hinth]hint}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj%)}(hduplexh]hduplex}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool tx_pauseh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htx_pauseh]htx_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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=uh1jhjvhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrhhhjhMubah}(h]jmah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjohhubjS)}(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&]uh1jRhjohhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-jxj-jyjzj{uh1hhhhjhNhNubj})}(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)}(hj7h]h Parameters}(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.hhMhj1ubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjVh]hstruct phylink_config *config}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjPubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjohhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjyh]hstruct phylink_config}(hj{hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjkhMhjoubh.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjMubj)}(hU``struct phy_device *phy`` any attached phy (deprecated - please use LPI interfaces) h](j)}(h``struct phy_device *phy``h]j)}(hjh]hstruct phy_device *phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h9any attached phy (deprecated - please use LPI interfaces)h]h9any attached phy (deprecated - please use LPI interfaces)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(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.hhMhjubj)}(hhh]jX)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hj=hhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjGh]htypedef phy_interface_t}(hjIhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhj9hMhj=ubh mode}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjMubj)}(h``int speed`` link speed h](j)}(h ``int speed``h]j)}(hjh]h int speed}(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.hhMhjzubj)}(hhh]jX)}(h link speedh]h link speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(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&]uh1jhjhMhjMubj)}(h8``bool tx_pause`` link transmit pause enablement status h](j)}(h``bool tx_pause``h]j)}(hjh]h bool tx_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 transmit pause enablement statush]h%link transmit pause enablement status}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(h7``bool rx_pause`` link receive pause enablement status h](j)}(h``bool rx_pause``h]j)}(hj+h]h bool rx_pause}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj%ubj)}(hhh]jX)}(h$link receive pause enablement statush]h$link receive pause enablement status}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjMubeh}(h]h ]h"]h$]h&]uh1jhj1ubjX)}(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.hhMhj1ubjX)}(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.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj1ubjX)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h **duplex**h]hduplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **tx_pause**h]htx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **rx_pause**h]hrx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh indicate the finalised link settings, and should be used to configure the MAC block appropriately where these settings are not automatically conveyed from the PCS block, or if in-band negotiation (as defined by phylink_autoneg_inband(}(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)) is disabled.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj1ubjX)}(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.hhMhj1ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj1ubjX)}(h6Interface type selection must be done in mac_config().h]h6Interface type selection must be done in mac_config().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_disable_tx_lpi (C function)c.mac_disable_tx_lpihNtauh1hhjhhhNhNubh)}(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}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhjKhMubj)}(hmac_disable_tx_lpih]j%)}(hmac_disable_tx_lpih]hmac_disable_tx_lpi}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhjKhMubj)}(h(struct phylink_config *config)h]j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj`sbc.mac_disable_tx_lpiasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubah}(h]h ]h"]h$]h&]j<j=uh1jhj9hhhjKhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhjKhMubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhMhj2hhubjS)}(hhh]jX)}(h!disable LPI generation at the MACh]h!disable 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&]uh1jRhj2hhhjKhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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}(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.hhMhj8ubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjWhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjah]hstruct phylink_config}(hjchhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjShMhjWubh.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhj5ubah}(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)}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_enable_tx_lpi (C function)c.mac_enable_tx_lpihNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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 }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j')}jjsbc.mac_enable_tx_lpiasbuh1hhjubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 timerh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jXc.mac_enable_tx_lpiasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htimerh]htimer}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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}(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.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&]jvjqjwj5jxj5jyjzj{uh1hhhhjhNhNubj})}(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)}(hj?h]h Parameters}(hjAhhhNhNubah}(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.hhMhj9ubj)}(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.hhMhjXubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjwhhhNhNubh)}(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_configuh1hhjshMhjwubh.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjUubj)}(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&]uh1jhjhMhjUubj)}(hH``bool tx_clk_stop`` allow xMII transmit clock to be stopped during LPI h](j)}(h``bool tx_clk_stop``h]j)}(hjh]hbool tx_clk_stop}(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)}(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&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjUubeh}(h]h ]h"]h$]h&]uh1jhj9ubjX)}(h**Description**h]j)}(hj.h]h Description}(hj0hhhNhNubah}(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.hhMhj9ubjX)}(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.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj9ubjX)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj9ubjX)}(h **Return**h]j)}(hjdh]hReturn}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj9ubjX)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_wol_set (C function) c.mac_wol_sethNtauh1hhjhhhNhNubh)}(hhh](h)}(hNint mac_wol_set (struct phylink_config *config, u32 wolopts, const u8 *sopass)h]h)}(hMint mac_wol_set(struct phylink_config *config, u32 wolopts, const u8 *sopass)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h mac_wol_seth]j%)}(h mac_wol_seth]h mac_wol_set}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h>(struct phylink_config *config, u32 wolopts, const u8 *sopass)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')}jjsb c.mac_wol_setasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj2hhhNhNubah}(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)}(h u32 woloptsh](h)}(hhh]j%)}(hu32h]hu32}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j  c.mac_wol_setasbuh1hhjTubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(hwoloptsh]hwolopts}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst u8 *sopassh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j  c.mac_wol_setasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsopassh]hsopass}(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$configure the Wake-on-Lan parametersh]h$configure the Wake-on-Lan parameters}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``u32 wolopts`` Bitmask of ``WAKE_*`` flags for enabled Wake-On-Lan modes. ``const u8 *sopass`` SecureOn(tm) password; meaningful only for ``WAKE_MAGICSECURE`` **Description** Enable the specified Wake-on-Lan options at the MAC. Options that the PHY can handle will have been removed from **wolopts**. The presence of this method enables phylink-managed WoL support. **Return** 0 on success.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)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjbh]hstruct phylink_config *config}(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_config `.h](ha pointer to a }(hj{hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjwhMhj{ubh.}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjYubj)}(hK``u32 wolopts`` Bitmask of ``WAKE_*`` flags for enabled Wake-On-Lan modes. h](j)}(h``u32 wolopts``h]j)}(hjh]h u32 wolopts}(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:Bitmask of ``WAKE_*`` flags for enabled Wake-On-Lan modes.h](h Bitmask of }(hjhhhNhNubj)}(h ``WAKE_*``h]hWAKE_*}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% flags for enabled Wake-On-Lan modes.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjYubj)}(hU``const u8 *sopass`` SecureOn(tm) password; meaningful only for ``WAKE_MAGICSECURE`` h](j)}(h``const u8 *sopass``h]j)}(hj h]hconst u8 *sopass}(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?SecureOn(tm) password; meaningful only for ``WAKE_MAGICSECURE``h](h+SecureOn(tm) password; meaningful only for }(hj"hhhNhNubj)}(h``WAKE_MAGICSECURE``h]hWAKE_MAGICSECURE}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjYubeh}(h]h ]h"]h$]h&]uh1jhj=ubjX)}(h**Description**h]j)}(hjRh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj=ubjX)}(h}Enable the specified Wake-on-Lan options at the MAC. Options that the PHY can handle will have been removed from **wolopts**.h](hqEnable the specified Wake-on-Lan options at the MAC. Options that the PHY can handle will have been removed from }(hjhhhhNhNubj)}(h **wolopts**h]hwolopts}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj=ubjX)}(h@The presence of this method enables phylink-managed WoL support.h]h@The presence of this method enables phylink-managed WoL support.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj=ubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj=ubjX)}(h 0 on success.h]h 0 on success.}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs (C struct) c.phylink_pcshNtauh1hhjhhhNhNubh)}(hhh](h)}(h phylink_pcsh]h)}(hstruct phylink_pcsh](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)}(h phylink_pcsh]j%)}(hjh]h phylink_pcs}(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)}(hPHYLINK PCS instanceh]hPHYLINK PCS instance}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhjhNhNubj})}(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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh:}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj=ubjU)}(hstruct phylink_pcs { unsigned long supported_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; const struct phylink_pcs_ops *ops; struct phylink *phylink; bool poll; bool rxc_always_on; };h]hstruct phylink_pcs { unsigned long supported_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; const struct phylink_pcs_ops *ops; struct phylink *phylink; bool poll; bool rxc_always_on; };}hj^sbah}(h]h ]h"]h$]h&]j<j=uh1jThX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj=ubjX)}(h **Members**h]j)}(hjoh]hMembers}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj=ubj)}(hhh](j)}(h\``supported_interfaces`` describing which PHY_INTERFACE_MODE_xxx are supported by this PCS. h](j)}(h``supported_interfaces``h]j)}(hjh]hsupported_interfaces}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(hBdescribing which PHY_INTERFACE_MODE_xxx are supported by this PCS.h]hBdescribing which PHY_INTERFACE_MODE_xxx are supported by this PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hV``ops`` a pointer to the :c:type:`struct phylink_pcs_ops ` structure h](j)}(h``ops``h]j)}(hjh]hops}(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)}(hMa pointer to the :c:type:`struct phylink_pcs_ops ` structureh](ha pointer to the }(hjhhhNhNubh)}(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_opsuh1hhjhMhjubh structure}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hH``phylink`` pointer to :c:type:`struct phylink_config ` h](j)}(h ``phylink``h]j)}(hj$h]hphylink}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h;pointer to :c:type:`struct phylink_config `h](h pointer to }(hj=hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjGh]hstruct phylink_config}(hjIhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhj9hMhj=ubeh}(h]h ]h"]h$]h&]uh1jWhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubj)}(h'``poll`` poll the PCS for link changes h](j)}(h``poll``h]j)}(hj|h]hpoll}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjvubj)}(hhh]jX)}(hpoll the PCS for link changesh]hpoll the PCS for link changes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``rxc_always_on`` The MAC driver requires the reference clock to always be on. Standalone PCS drivers which do not have access to a PHY device can check this instead of PHY_F_RXC_ALWAYS_ON.h](j)}(h``rxc_always_on``h]j)}(hjh]h rxc_always_on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(hThe MAC driver requires the reference clock to always be on. Standalone PCS drivers which do not have access to a PHY device can check this instead of PHY_F_RXC_ALWAYS_ON.h]hThe MAC driver requires the reference clock to always be on. Standalone PCS drivers which do not have access to a PHY device can check this instead of PHY_F_RXC_ALWAYS_ON.}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj=ubeh}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubjX)}(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.hhMhjhhubjX)}(hWThe **phylink** member is private to phylink and must not be touched by the PCS driver.h](hThe }(hjhhhNhNubj)}(h **phylink**h]hphylink}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhH member is private to phylink and must not be touched by the PCS driver.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs_ops (C struct)c.phylink_pcs_opshNtauh1hhjhhhNhNubh)}(hhh](h)}(hphylink_pcs_opsh]h)}(hstruct phylink_pcs_opsh](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjShhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjShhhjdhMubj)}(hphylink_pcs_opsh]j%)}(hjQh]hphylink_pcs_ops}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjShhhjdhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOhhhjdhMubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjdhMhjLhhubjS)}(hhh]jX)}(hMAC PCS operations structure.h]hMAC PCS operations structure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhjdhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Definition**:: struct phylink_pcs_ops { int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state); unsigned int (*pcs_inband_caps)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_enable)(struct phylink_pcs *pcs); void (*pcs_disable)(struct phylink_pcs *pcs); void (*pcs_pre_config)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_post_config)(struct phylink_pcs *pcs, phy_interface_t interface); void (*pcs_get_state)(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state); int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac); void (*pcs_an_restart)(struct phylink_pcs *pcs); void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex); void (*pcs_disable_eee)(struct phylink_pcs *pcs); void (*pcs_enable_eee)(struct phylink_pcs *pcs); int (*pcs_pre_init)(struct phylink_pcs *pcs); }; **Members** ``pcs_validate`` validate the link configuration. ``pcs_inband_caps`` query inband support for interface mode. ``pcs_enable`` enable the PCS. ``pcs_disable`` disable the PCS. ``pcs_pre_config`` pre-mac_config method (for errata) ``pcs_post_config`` post-mac_config method (for arrata) ``pcs_get_state`` read the current MAC PCS link state from the hardware. ``pcs_config`` configure the MAC PCS for the selected mode and state. ``pcs_an_restart`` restart 802.3z BaseX autonegotiation. ``pcs_link_up`` program the PCS for the resolved link configuration (where necessary). ``pcs_disable_eee`` optional notification to PCS that EEE has been disabled at the MAC. ``pcs_enable_eee`` optional notification to PCS that EEE will be enabled at the MAC. ``pcs_pre_init`` configure PCS components necessary for MAC hardware initialization e.g. RX clock for stmmac.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjU)}(hXBstruct phylink_pcs_ops { int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state); unsigned int (*pcs_inband_caps)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_enable)(struct phylink_pcs *pcs); void (*pcs_disable)(struct phylink_pcs *pcs); void (*pcs_pre_config)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_post_config)(struct phylink_pcs *pcs, phy_interface_t interface); void (*pcs_get_state)(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state); int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac); void (*pcs_an_restart)(struct phylink_pcs *pcs); void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex); void (*pcs_disable_eee)(struct phylink_pcs *pcs); void (*pcs_enable_eee)(struct phylink_pcs *pcs); int (*pcs_pre_init)(struct phylink_pcs *pcs); };h]hXBstruct phylink_pcs_ops { int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state); unsigned int (*pcs_inband_caps)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_enable)(struct phylink_pcs *pcs); void (*pcs_disable)(struct phylink_pcs *pcs); void (*pcs_pre_config)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_post_config)(struct phylink_pcs *pcs, phy_interface_t interface); void (*pcs_get_state)(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state); int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac); void (*pcs_an_restart)(struct phylink_pcs *pcs); void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex); void (*pcs_disable_eee)(struct phylink_pcs *pcs); void (*pcs_enable_eee)(struct phylink_pcs *pcs); int (*pcs_pre_init)(struct phylink_pcs *pcs); };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjubj)}(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}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj9ubj)}(hhh]jX)}(h(query inband support for interface mode.h]h(query inband support for interface mode.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubj)}(h``pcs_enable`` enable the PCS. h](j)}(h``pcs_enable``h]j)}(hjxh]h pcs_enable}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjrubj)}(hhh]jX)}(henable the PCS.h]henable the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``pcs_disable`` disable the PCS. h](j)}(h``pcs_disable``h]j)}(hjh]h pcs_disable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(hdisable the PCS.h]hdisable the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``pcs_pre_config`` pre-mac_config method (for errata) h](j)}(h``pcs_pre_config``h]j)}(hjh]hpcs_pre_config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h"pre-mac_config method (for errata)h]h"pre-mac_config method (for errata)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``pcs_post_config`` post-mac_config method (for arrata) h](j)}(h``pcs_post_config``h]j)}(hj#h]hpcs_post_config}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(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&]uh1jWhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubj)}(hI``pcs_get_state`` read the current MAC PCS link state from the hardware. h](j)}(h``pcs_get_state``h]j)}(hj\h]h pcs_get_state}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjVubj)}(hhh]jX)}(h6read the current MAC PCS link state from the hardware.h]h6read the current MAC PCS link state from the hardware.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjubj)}(hF``pcs_config`` configure the MAC PCS for the selected mode and state. h](j)}(h``pcs_config``h]j)}(hjh]h pcs_config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h6configure the MAC PCS for the selected mode and state.h]h6configure the MAC PCS for the selected mode and state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``pcs_an_restart`` restart 802.3z BaseX autonegotiation. h](j)}(h``pcs_an_restart``h]j)}(hjh]hpcs_an_restart}(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%restart 802.3z BaseX autonegotiation.h]h%restart 802.3z BaseX autonegotiation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hW``pcs_link_up`` program the PCS for the resolved link configuration (where necessary). h](j)}(h``pcs_link_up``h]j)}(hjh]h pcs_link_up}(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)}(hFprogram the PCS for the resolved link configuration (where necessary).h]hFprogram the PCS for the resolved link configuration (where necessary).}(hj hhhNhNubah}(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)}(hjAh]hpcs_disable_eee}(hjChhhNhNubah}(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.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjubj)}(hU``pcs_enable_eee`` optional notification to PCS that EEE will be enabled at the MAC. h](j)}(h``pcs_enable_eee``h]j)}(hj{h]hpcs_enable_eee}(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.hhMhjuubj)}(hhh]jX)}(hAoptional notification to PCS that EEE will be enabled at the MAC.h]hAoptional notification to PCS that EEE will be enabled at the MAC.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hm``pcs_pre_init`` configure PCS components necessary for MAC hardware initialization e.g. RX clock for stmmac.h](j)}(h``pcs_pre_init``h]j)}(hjh]h pcs_pre_init}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h\configure PCS components necessary for MAC hardware initialization e.g. RX clock for stmmac.h]h\configure PCS components necessary for MAC hardware initialization e.g. RX clock for stmmac.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_validate (C function)c.pcs_validatehNtauh1hhjhhhNhNubh)}(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&]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_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=uh1jhj hhhjhM$ubj)}(h[(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state)h](j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j')}jj1sbc.pcs_validateasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(hunsigned long *supportedh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h supportedh]h supported}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]jc.pcs_validateasbuh1hhjubj)}(h h]h }(hjrhhhNhNubah}(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=uh1jhjCubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhM$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM$ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM$hjhhubjS)}(hhh]jX)}(h validate the link configuration.h]h validate the link configuration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM$hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(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)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM%hjubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhj hM%hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM%hjubj)}(hG``unsigned long *supported`` ethtool bitmask for supported link modes. h](j)}(h``unsigned long *supported``h]j)}(hjTh]hunsigned long *supported}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM&hjNubj)}(hhh]jX)}(h)ethtool bitmask for supported link modes.h]h)ethtool bitmask for supported link modes.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihM&hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM&hjubj)}(hz``const struct phylink_link_state *state`` a const pointer to a :c:type:`struct phylink_link_state `. h](j)}(h*``const struct phylink_link_state *state``h]j)}(hjh]h&const struct phylink_link_state *state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM'hjubj)}(hhh]jX)}(hNa const pointer to a :c:type:`struct phylink_link_state `.h](ha const pointer to a }(hjhhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjh]hstruct phylink_link_state}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhjhM'hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjubeh}(h]h ]h"]h$]h&]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)}(hX"Validate the interface mode, and advertising's autoneg bit, removing any media ethtool link modes that would not be supportable from the supported mask. Phylink will propagate the changes to the advertising mask. See the :c:type:`struct phylink_mac_ops ` validate() method.h](hValidate the interface mode, and advertising’s autoneg bit, removing any media ethtool link modes that would not be supportable from the supported mask. Phylink will propagate the changes to the advertising mask. See the }(hjhhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hj h]hstruct phylink_mac_ops}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_mac_opsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM(hjubh validate() method.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj(hM(hjubjX)}(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.}(hj3hhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_inband_caps (C function)c.pcs_inband_capshNtauh1hhjhhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM5ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhjphM5ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^hhhjphM5ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhjphM5ubj)}(hpcs_inband_capsh]j%)}(hpcs_inband_capsh]hpcs_inband_caps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhjphM5ubj)}(h4(struct phylink_pcs *pcs, phy_interface_t interface)h](j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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_inband_capsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]jc.pcs_inband_capsasbuh1hhj)ubj)}(h h]h }(hjNhhhNhNubah}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj^hhhjphM5ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZhhhjphM5ubah}(h]jUah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphM5hjWhhubjS)}(hhh]jX)}(h2query PCS in-band capabilities for interface mode.h]h2query PCS in-band capabilities for interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM5hjhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjphM5ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. ``phy_interface_t interface`` interface mode to be queried **Description** Returns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn't implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from :c:type:`enum link_inband_signalling ` to describe which inband modes are supported for this interface mode.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM9hjubj)}(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.hhM6hjubj)}(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_pcsuh1hhjhM6hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(h;``phy_interface_t interface`` interface mode to be queried h](j)}(h``phy_interface_t interface``h]j)}(hj#h]hphy_interface_t interface}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM7hjubj)}(hhh]jX)}(hinterface mode to be queriedh]hinterface mode to be queried}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hM7hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM7hjubeh}(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.hhM9hjubjX)}(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 }(hjthhhNhNubh)}(h>:c:type:`enum link_inband_signalling `h]j)}(hj~h]henum link_inband_signalling}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjlink_inband_signallinguh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM8hjtubhF to describe which inband modes are supported for this interface mode.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM8hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_enable (C function) c.pcs_enablehNtauh1hhjhhhNhNubh)}(hhh](h)}(h(int pcs_enable (struct phylink_pcs *pcs)h]h)}(h'int pcs_enable(struct phylink_pcs *pcs)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMCubj)}(h pcs_enableh]j%)}(h pcs_enableh]h pcs_enable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMCubj)}(h(struct phylink_pcs *pcs)h]j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#modnameN classnameNjj!)}j$]j')}jjsb c.pcs_enableasbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjOhhhNhNubah}(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=uh1jhjhhhjhMCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMCubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMChjhhubjS)}(hhh]jX)}(henable the PCS.h]henable the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMChjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hh**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMGhjubj)}(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.hhMIhjubj)}(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.hhMDhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMIhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_disable (C function) c.pcs_disablehNtauh1hhjhhhNhNubh)}(hhh](h)}(h*void pcs_disable (struct phylink_pcs *pcs)h]h)}(h)void pcs_disable(struct phylink_pcs *pcs)h](j)}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMIubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjRhMIubj)}(h pcs_disableh]j%)}(h pcs_disableh]h pcs_disable}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhjRhMIubj)}(h(struct phylink_pcs *pcs)h]j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjgsb c.pcs_disableasbuh1hhj}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=uh1jhjyubah}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhjRhMIubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhjRhMIubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRhMIhj9hhubjS)}(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.hhMIhjhhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhjRhMIubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hh**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.h](jX)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMMhj 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)}(hjEh]hstruct phylink_pcs *pcs}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMOhj?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)}(hjhh]hstruct phylink_pcs}(hjjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMJhj^ubh.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMJhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMOhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_get_state (C function)c.pcs_get_statehNtauh1hhjhhhNhNubh)}(hhh](h)}(hevoid pcs_get_state (struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state)h]h)}(hdvoid pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMOubj)}(h pcs_get_stateh]j%)}(h pcs_get_stateh]h pcs_get_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMOubj)}(hR(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.pcs_get_stateasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int neg_modeh](j)}(hunsignedh]hunsigned}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj%)}(hneg_modeh]hneg_mode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h struct phylink_link_state *stateh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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$]j9c.pcs_get_stateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstateh]hstate}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMOubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMOubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMOhjhhubjS)}(hhh]jX)}(h4Read the current inband link state from the hardwareh]h4Read the current inband link state from the hardware}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMOhj@hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMOubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[jxj[jyjzj{uh1hhhhjhNhNubj})}(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)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMShj_ubj)}(hhh](j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMPhj~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_pcsuh1hhjhMPhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMPhj{ubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) 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.hhMQhjubj)}(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&]uh1jWhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhj{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)}(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.hhMRhjubj)}(hhh]jX)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hj2hhhNhNubh)}(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.hMRhj2ubh.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj.hMRhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMRhj{ubeh}(h]h ]h"]h$]h&]uh1jhj_ubjX)}(h**Description**h]j)}(hjwh]h Description}(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.hhMThj_ubjX)}(hX{Read the current inband link state from the MAC PCS, reporting the current speed in **state->speed**, duplex mode in **state->duplex**, pause mode in **state->pause** using the ``MLO_PAUSE_RX`` and ``MLO_PAUSE_TX`` bits, negotiation completion state in **state->an_complete**, and link up state in **state->link**. If possible, **state->lp_advertising** should also be populated.h](hTRead the current inband link state from the MAC PCS, reporting the current speed in }(hjhhhNhNubj)}(h**state->speed**h]h state->speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, duplex mode in }(hjhhhNhNubj)}(h**state->duplex**h]h state->duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, pause mode in }(hjhhhNhNubj)}(h**state->pause**h]h state->pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh using the }(hjhhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' bits, negotiation completion state in }(hjhhhNhNubj)}(h**state->an_complete**h]hstate->an_complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, and link up state in }(hjhhhNhNubj)}(h**state->link**h]h state->link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. If possible, }(hjhhhNhNubj)}(h**state->lp_advertising**h]hstate->lp_advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh should also be populated.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMShj_ubjX)}(h]Note that the **neg_mode** parameter is always the PHYLINK_PCS_NEG_xxx state, not MLO_AN_xxx.h](hNote that the }(hj,hhhNhNubj)}(h **neg_mode**h]hneg_mode}(hj4hhhNhNubah}(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.hhMZhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_config (C function) c.pcs_confighNtauh1hhjhhhNhNubh)}(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}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMbubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjihhhj{hMbubj)}(h pcs_configh]j%)}(h pcs_configh]h pcs_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjihhhj{hMbubj)}(h(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac)h](j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.pcs_configasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int neg_modeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hneg_modeh]hneg_mode}(hjThhhNhNubah}(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}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrmodnameN classnameNjj!)}j$]j c.pcs_configasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h const unsigned long *advertisingh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h advertisingh]h advertising}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool permit_pause_to_mach](j)}(hjTh]hbool}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj%)}(hpermit_pause_to_mach]hpermit_pause_to_mac}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjihhhj{hMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhj{hMbubah}(h]j`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{hMbhjbhhubjS)}(hhh]jX)}(h(Configure the PCS mode and advertisementh]h(Configure the PCS mode and advertisement}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMbhjphhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhj{hMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. ``unsigned int neg_mode`` link negotiation mode (see below) ``phy_interface_t interface`` interface mode to be used ``const unsigned long *advertising`` adertisement ethtool link mode mask ``bool permit_pause_to_mac`` permit forwarding pause resolution to MAC **Description** Configure the PCS for the operating mode, the interface mode, and set the advertisement mask. **permit_pause_to_mac** indicates whether the hardware may forward the pause mode resolution to the MAC. When operating in ``MLO_AN_INBAND``, inband should always be enabled, otherwise inband should be disabled. For SGMII, there is no advertisement from the MAC side, the PCS should be programmed to acknowledge the inband word from the PHY. For 1000BASE-X, the advertisement should be programmed into the PCS. For most 10GBASE-R, there is no advertisement. The ``neg_mode`` argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions. pcs_config() will be called when configuration of the PCS is required or when the advertisement is possibly updated. It must not unnecessarily disrupt an established link. When an autonegotiation restart is required for 802.3z modes, .pcs_config() should return a positive non-zero integer (e.g. 1) to indicate to phylink to call the pcs_an_restart() method.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMfhjubj)}(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.hhMchjubj)}(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_pcsuh1hhjhMchjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubj)}(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.hhMdhj ubj)}(hhh]jX)}(h!link negotiation mode (see below)h]h!link negotiation mode (see below)}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMdhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMdhjubj)}(h8``phy_interface_t interface`` interface mode to be used h](j)}(h``phy_interface_t interface``h]j)}(hjIh]hphy_interface_t interface}(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.hhMehjCubj)}(hhh]jX)}(hinterface mode to be usedh]hinterface mode to be used}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMehj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMehjubj)}(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.hhMfhj|ubj)}(hhh]jX)}(h#adertisement ethtool link mode maskh]h#adertisement ethtool link mode mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMfhjubj)}(hG``bool permit_pause_to_mac`` permit forwarding pause resolution to MAC h](j)}(h``bool permit_pause_to_mac``h]j)}(hjh]hbool permit_pause_to_mac}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMghjubj)}(hhh]jX)}(h)permit forwarding pause resolution to MACh]h)permit forwarding pause resolution to MAC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(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.hhMihjubjX)}(hConfigure the PCS for the operating mode, the interface mode, and set the advertisement mask. **permit_pause_to_mac** indicates whether the hardware may forward the pause mode resolution to the MAC.h](h^Configure the PCS for the operating mode, the interface mode, and set the advertisement mask. }(hj hhhNhNubj)}(h**permit_pause_to_mac**h]hpermit_pause_to_mac}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhQ indicates whether the hardware may forward the pause mode resolution to the MAC.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhhjubjX)}(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}(hj5hhhNhNubah}(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.hhMlhjubjX)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMohjubjX)}(hDFor 1000BASE-X, the advertisement should be programmed into the PCS.h]hDFor 1000BASE-X, the advertisement should be programmed into the PCS.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMrhjubjX)}(h.For most 10GBASE-R, there is no advertisement.h]h.For most 10GBASE-R, there is no advertisement.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMthjubjX)}(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 }(hj{hhhNhNubj)}(h ``neg_mode``h]hneg_mode}(hjhhhNhNubah}(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.hhMvhjubjX)}(hpcs_config() will be called when configuration of the PCS is required or when the advertisement is possibly updated. It must not unnecessarily disrupt an established link.h]hpcs_config() will be called when configuration of the PCS is required or when the advertisement is possibly updated. It must not unnecessarily disrupt an established link.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMzhjubjX)}(hWhen an autonegotiation restart is required for 802.3z modes, .pcs_config() should return a positive non-zero integer (e.g. 1) to indicate to phylink to call the pcs_an_restart() method.h]hWhen an autonegotiation restart is required for 802.3z modes, .pcs_config() should return a positive non-zero integer (e.g. 1) to indicate to phylink to call the pcs_an_restart() method.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM~hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_an_restart (C function)c.pcs_an_restarthNtauh1hhjhhhNhNubh)}(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}(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_an_restarth]j%)}(hpcs_an_restarth]hpcs_an_restart}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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 }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jjsbc.pcs_an_restartasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(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)}(h$restart 802.3z BaseX autonegotiationh]h$restart 802.3z BaseX autonegotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. **Description** When PCS ops are present, this overrides mac_an_restart() in :c:type:`struct phylink_mac_ops `.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj9h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(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 }(hjOhhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hjYh]hstruct phylink_mac_ops}(hj[hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_mac_opsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjOubh.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjvhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_link_up (C function) c.pcs_link_uphNtauh1hhjhhhNhNubh)}(hhh](h)}(hsvoid pcs_link_up (struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex)h]h)}(hrvoid pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h pcs_link_uph]j%)}(h pcs_link_uph]h pcs_link_up}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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}(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_link_upasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int neg_modeh](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%)}(hneg_modeh]hneg_mode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(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.pcs_link_upasbuh1hhjubj)}(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)}(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}(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=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)}(h3program the PCS for the resolved link configurationh]h3program the PCS for the resolved link configuration}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjahhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|jxj|jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. ``unsigned int neg_mode`` link negotiation mode (see below) ``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode ``int speed`` link speed ``int duplex`` link duplex **Description** This call will be made just before mac_link_up() to inform the PCS of the resolved link parameters. For example, a PCS operating in SGMII mode without in-band AN needs to be manually configured for the link and duplex setting. Otherwise, this should be a no-op. The ``mode`` argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh](j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.hhMhjubj)}(hhh]jX)}(h!link negotiation mode (see below)h]h!link negotiation mode (see below)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj4ubj)}(hhh]jX)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hjShhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj]h]htypedef phy_interface_t}(hj_hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjOhMhjSubh mode}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(h``int speed`` link speed h](j)}(h ``int speed``h]j)}(hjh]h int speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h link speedh]h link speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubeh}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(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}(hj7hhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_disable_eee (C function)c.pcs_disable_eeehNtauh1hhjhhhNhNubh)}(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}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhj~hMubj)}(hpcs_disable_eeeh]j%)}(hpcs_disable_eeeh]hpcs_disable_eee}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlhhhj~hMubj)}(h(struct phylink_pcs *pcs)h]j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.pcs_disable_eeeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjlhhhj~hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhhj~hMubah}(h]jcah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hMhjehhubjS)}(hhh]jX)}(hDisable EEE at the PCSh]hDisable EEE at the PCS}(hj0hhhNhNubah}(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&]uh1jRhjehhhj~hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjHjxjHjyjzj{uh1hhhhjhNhNubj})}(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)}(hjRh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjLubj)}(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)}(hjqh]hstruct phylink_pcs *pcs}(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)}(h9a pointer to a :c:type:`struct phylink_pcs `h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjLubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_enable_eee (C function)c.pcs_enable_eeehNtauh1hhjhhhNhNubh)}(hhh](h)}(h-void pcs_enable_eee (struct phylink_pcs *pcs)h]h)}(h,void pcs_enable_eee(struct phylink_pcs *pcs)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj)}(hpcs_enable_eeeh]j%)}(hpcs_enable_eeeh]hpcs_enable_eee}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h(struct phylink_pcs *pcs)h]j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j')}jj3sbc.pcs_enable_eeeasbuh1hhjIubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hEnable EEE at the PCSh]hEnable EEE at the PCS}(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{uh1hhhhjhNhNubj})}(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.hhMhj ubj)}(hhh]jX)}(h9a pointer to a :c:type:`struct phylink_pcs `h](ha pointer to a }(hj*hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj4h]hstruct phylink_pcs}(hj6hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhj&hMhj*ubeh}(h]h ]h"]h$]h&]uh1jWhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjkh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_pre_init (C function)c.pcs_pre_inithNtauh1hhjhhhNhNubh)}(hhh](h)}(h*int pcs_pre_init (struct phylink_pcs *pcs)h]h)}(h)int pcs_pre_init(struct phylink_pcs *pcs)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h pcs_pre_inith]j%)}(h pcs_pre_inith]h pcs_pre_init}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phylink_pcs *pcs)h]j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.pcs_pre_initasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h9Configure PCS components necessary for MAC initializationh]h9Configure PCS components necessary for MAC initialization}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjmhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. **Description** This function can be called by MAC drivers through the phylink_pcs_pre_init() wrapper, before their hardware is initialized. It should not be called after the link is brought up, as reconfiguring the PCS at this point could break the link. Some MAC devices require specific hardware initialization to be performed by their associated PCS device before they can properly initialize their own hardware. An example of this is the initialization of stmmac controllers, which requires an active REF_CLK signal to be provided by the PHY/PCS. By calling phylink_pcs_pre_init(), MAC drivers can ensure that the PCS is setup in a way that allows for successful hardware initialization. The specific configuration performed by pcs_pre_init() is dependent on the model of PCS and the requirements of the MAC device attached to it. PCS driver authors should consider whether their target device is to be used in conjunction with a MAC device whose driver calls phylink_pcs_pre_init(). MAC driver authors should document their requirements for the PCS pre-initialization.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(hThis function can be called by MAC drivers through the phylink_pcs_pre_init() wrapper, before their hardware is initialized. It should not be called after the link is brought up, as reconfiguring the PCS at this point could break the link.h]hThis function can be called by MAC drivers through the phylink_pcs_pre_init() wrapper, before their hardware is initialized. It should not be called after the link is brought up, as reconfiguring the PCS at this point could break the link.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(hX'Some MAC devices require specific hardware initialization to be performed by their associated PCS device before they can properly initialize their own hardware. An example of this is the initialization of stmmac controllers, which requires an active REF_CLK signal to be provided by the PHY/PCS.h]hX'Some MAC devices require specific hardware initialization to be performed by their associated PCS device before they can properly initialize their own hardware. An example of this is the initialization of stmmac controllers, which requires an active REF_CLK signal to be provided by the PHY/PCS.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(hBy calling phylink_pcs_pre_init(), MAC drivers can ensure that the PCS is setup in a way that allows for successful hardware initialization.h]hBy calling phylink_pcs_pre_init(), MAC drivers can ensure that the PCS is setup in a way that allows for successful hardware initialization.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(hX}The specific configuration performed by pcs_pre_init() is dependent on the model of PCS and the requirements of the MAC device attached to it. PCS driver authors should consider whether their target device is to be used in conjunction with a MAC device whose driver calls phylink_pcs_pre_init(). MAC driver authors should document their requirements for the PCS pre-initialization.h]hX}The specific configuration performed by pcs_pre_init() is dependent on the model of PCS and the requirements of the MAC device attached to it. PCS driver authors should consider whether their target device is to be used in conjunction with a MAC device whose driver calls phylink_pcs_pre_init(). MAC driver authors should document their requirements for the PCS pre-initialization.}(hjRhhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_get_link_timer_ns (C function)c.phylink_get_link_timer_nshNtauh1hhjhhhNhNubh)}(hhh](h)}(h9int phylink_get_link_timer_ns (phy_interface_t interface)h]h)}(h8int phylink_get_link_timer_ns(phy_interface_t interface)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhjhMubj)}(hphylink_get_link_timer_nsh]j%)}(hphylink_get_link_timer_nsh]hphylink_get_link_timer_ns}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhjhMubj)}(h(phy_interface_t interface)h]j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_get_link_timer_nsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj}hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjhMubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjvhhubjS)}(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&]uh1jRhjvhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1jxj1jyjzj{uh1hhhhjhNhNubj})}(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&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj5ubj)}(hhh]j)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hjZh]hphy_interface_t interface}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjTubj)}(hhh]jX)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hjshhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj}h]htypedef phy_interface_t}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjohMhjsubh mode}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjQubah}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj5ubjX)}(hoReturn the PCS link timer setting in nanoseconds for the PHY **interface** mode, or -EINVAL if not appropriate.h](h=Return the PCS link timer setting in nanoseconds for the PHY }(hjhhhNhNubj)}(h **interface**h]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% mode, or -EINVAL if not appropriate.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_mac_implements_lpi (C function)c.phylink_mac_implements_lpihNtauh1hhjhhhNhNubh)}(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&]uh1jhj hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM(ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhM(ubj)}(hphylink_mac_implements_lpih]j%)}(hphylink_mac_implements_lpih]hphylink_mac_implements_lpi}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM(ubj)}(h#(const struct phylink_mac_ops *ops)h]j)}(h!const struct phylink_mac_ops *opsh](h)}(hjh]hconst}(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%)}(hphylink_mac_opsh]hphylink_mac_ops}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj1sbc.phylink_mac_implements_lpiasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hopsh]hops}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhM(ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM(ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM(hjhhubjS)}(hhh]jX)}(h#determine if MAC implements LPI opsh]h#determine if MAC implements LPI ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM(hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``const struct phylink_mac_ops *ops`` phylink_mac_ops structure **Description** Returns true if the phylink MAC operations structure indicates that the LPI operations have been implemented, false otherwise.h](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM,hjubj)}(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.hhM)hj$ubj)}(hhh]jX)}(hphylink_mac_ops structureh]hphylink_mac_ops structure}(hjChhhNhNubah}(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&]uh1jhjubjX)}(h**Description**h]j)}(hjeh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM+hjubjX)}(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.}(hj{hhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink (C struct) c.phylinkhNtauh1hhjhhhNhNubh)}(hhh](h)}(hphylinkh]h)}(hstruct phylinkh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hphylinkh]j%)}(hjh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(hinternal data type for phylinkh]hinternal data type for phylink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK&hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h6**Definition**:: struct phylink { }; **Members**h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh:}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK*hjubjU)}(hstruct phylink { };h]hstruct phylink { };}hj)sbah}(h]h ]h"]h$]h&]j<j=uh1jThZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK,hjubjX)}(h **Members**h]j)}(hj:h]hMembers}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_set_port_modes (C function)c.phylink_set_port_modeshNtauh1hhjhhhNhNubh)}(hhh](h)}(h1void phylink_set_port_modes (unsigned long *mask)h]h)}(h0void phylink_set_port_modes(unsigned long *mask)h](j)}(hvoidh]hvoid}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhj~hKubj)}(hphylink_set_port_modesh]j%)}(hphylink_set_port_modesh]hphylink_set_port_modes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlhhhj~hKubj)}(h(unsigned long *mask)h]j)}(hunsigned long *maskh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjlhhhj~hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhhj~hKubah}(h]jcah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hKhjehhubjS)}(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&]uh1jRhjehhhj~hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``unsigned long *mask`` ethtool link mode mask **Description** Sets all the port type modes in the ethtool mask. MAC drivers should use this in their 'validate' callback.h](jX)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhj8ubj)}(hhh]j)}(h/``unsigned long *mask`` ethtool link mode mask h](j)}(h``unsigned long *mask``h]j)}(hj]h]hunsigned long *mask}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjWubj)}(hhh]jX)}(hethtool link mode maskh]hethtool link mode mask}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhKhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhKhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhj8ubjX)}(hlSets all the port type modes in the ethtool mask. MAC drivers should use this in their 'validate' callback.h]hpSets all the port type modes in the ethtool mask. MAC drivers should use this in their ‘validate’ callback.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_interface_max_speed (C function)c.phylink_interface_max_speedhNtauh1hhjhhhNhNubh)}(hhh](h)}(h;int phylink_interface_max_speed (phy_interface_t interface)h]h)}(h:int phylink_interface_max_speed(phy_interface_t interface)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hphylink_interface_max_speedh]j%)}(hphylink_interface_max_speedh]hphylink_interface_max_speed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h(phy_interface_t interface)h]j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_interface_max_speedasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h(get the maximum speed of a phy interfaceh]h(get the maximum speed of a phy interface}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjrhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXe**Parameters** ``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` **Description** Determine the maximum speed of a phy interface. This is intended to help determine the correct speed to pass to the MAC when the phy is performing rate matching. **Return** The maximum speed of **interface**h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubj)}(hhh]j)}(hp``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubj)}(hhh]jX)}(hQphy interface mode defined by :c:type:`typedef phy_interface_t `h](hphy interface mode defined by }(hjhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjh]htypedef phy_interface_t}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjhKhjubeh}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubjX)}(hDetermine the maximum speed of a phy interface. This is intended to help determine the correct speed to pass to the MAC when the phy is performing rate matching.h]hDetermine the maximum speed of a phy interface. This is intended to help determine the correct speed to pass to the MAC when the phy is performing rate matching.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubjX)}(h **Return**h]j)}(hj7h]hReturn}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubjX)}(h"The maximum speed of **interface**h](hThe maximum speed of }(hjMhhhNhNubj)}(h **interface**h]h interface}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_caps_to_link_caps (C function)c.phylink_caps_to_link_capshNtauh1hhjhhhNhNubh)}(hhh](h)}(hh]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(h linkmodesh]h linkmodes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(hunsigned long capsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hcapsh]hcaps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMiubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMiubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMihjhhubjS)}(hhh]jX)}(h*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.chMihjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMiubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXG**Parameters** ``unsigned long *linkmodes`` ethtool linkmode mask (must be already initialised) ``unsigned long caps`` bitmask of MAC capabilities **Description** Set all possible pause, speed and duplex linkmodes in **linkmodes** that are supported by the **caps**. **linkmodes** must have been initialised previously.h](jX)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMmhjubj)}(hhh](j)}(hQ``unsigned long *linkmodes`` ethtool linkmode mask (must be already initialised) h](j)}(h``unsigned long *linkmodes``h]j)}(hjDh]hunsigned long *linkmodes}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMjhj>ubj)}(hhh]jX)}(h3ethtool linkmode mask (must be already initialised)h]h3ethtool linkmode mask (must be already initialised)}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMjhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMjhj;ubj)}(h3``unsigned long caps`` bitmask of MAC capabilities h](j)}(h``unsigned long caps``h]j)}(hj}h]hunsigned long caps}(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.chMkhjwubj)}(hhh]jX)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMkhj;ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMmhjubjX)}(hSet all possible pause, speed and duplex linkmodes in **linkmodes** that are supported by the **caps**. **linkmodes** must have been initialised previously.h](h6Set all possible pause, speed and duplex linkmodes in }(hjhhhNhNubj)}(h **linkmodes**h]h linkmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh that are supported by the }(hjhhhNhNubj)}(h**caps**h]hcaps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h **linkmodes**h]h linkmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' must have been initialised previously.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMlhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_limit_mac_speed (C function)c.phylink_limit_mac_speedhNtauh1hhjhhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/hhhjAhMubj)}(hphylink_limit_mac_speedh]j%)}(hphylink_limit_mac_speedh]hphylink_limit_mac_speed}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/hhhjAhMubj)}(h.(struct phylink_config *config, u32 max_speed)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjVsbc.phylink_limit_mac_speedasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubj)}(h u32 max_speedh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phylink_limit_mac_speedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h max_speedh]h max_speed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubeh}(h]h ]h"]h$]h&]j<j=uh1jhj/hhhjAhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhjAhMubah}(h]j&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhMhj(hhubjS)}(hhh]jX)}(h+limit the phylink_config to a maximum speedh]h+limit the phylink_config to a maximum speed}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj8hhubah}(h]h ]h"]h$]h&]uh1jRhj(hhhjAhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhjhNhNubj})}(hX=**Parameters** ``struct phylink_config *config`` pointer to a :c:type:`struct phylink_config ` ``u32 max_speed`` maximum speed **Description** Mask off MAC capabilities for speeds higher than the **max_speed** parameter. Any further motifications of config.mac_capabilities will override this.h](jX)}(h**Parameters**h]j)}(hj]h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjWubj)}(hhh](j)}(h```struct phylink_config *config`` 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&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjvubj)}(hhh]jX)}(h=pointer to a :c:type:`struct phylink_config `h](h pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhjsubj)}(h ``u32 max_speed`` maximum speed h](j)}(h``u32 max_speed``h]j)}(hjh]h u32 max_speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(h maximum speedh]h maximum speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjsubeh}(h]h ]h"]h$]h&]uh1jhjWubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjWubjX)}(hMask off MAC capabilities for speeds higher than the **max_speed** parameter. Any further motifications of config.mac_capabilities will override this.h](h5Mask off MAC capabilities for speeds higher than the }(hj%hhhNhNubj)}(h **max_speed**h]h max_speed}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubhT parameter. Any further motifications of config.mac_capabilities will override this.}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_cap_from_speed_duplex (C function)c.phylink_cap_from_speed_duplexhNtauh1hhjhhhNhNubh)}(hhh](h)}(hLunsigned long phylink_cap_from_speed_duplex (int speed, unsigned int duplex)h]h)}(hKunsigned long phylink_cap_from_speed_duplex(int speed, unsigned int duplex)h](j)}(hunsignedh]hunsigned}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjthMubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhjthMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjthMubj)}(hphylink_cap_from_speed_duplexh]j%)}(hphylink_cap_from_speed_duplexh]hphylink_cap_from_speed_duplex}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbhhhjthMubj)}(h (int speed, unsigned int duplex)h](j)}(h int speedh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int duplexh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hduplexh]hduplex}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjbhhhjthMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^hhhjthMubah}(h]jYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjthMhj[hhubjS)}(hhh]jX)}(h$Get mac capability from speed/duplexh]h$Get mac capability from speed/duplex}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjShhubah}(h]h ]h"]h$]h&]uh1jRhj[hhhjthMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjnjxjnjyjzj{uh1hhhhjhNhNubj})}(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)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjrubj)}(hhh](j)}(h&``int speed`` the speed to search for h](j)}(h ``int speed``h]j)}(hjh]h int speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hthe speed to search forh]hthe speed to search for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``unsigned int duplex`` the duplex to search for h](j)}(h``unsigned int duplex``h]j)}(hjh]hunsigned int duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hthe duplex to search forh]hthe duplex to search for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjrubjX)}(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.chMhjrubjX)}(h5Find the mac capability for a given speed and duplex.h]h5Find the mac capability for a given speed and duplex.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjrubjX)}(h **Return**h]j)}(hj2h]hReturn}(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.chMhjrubjX)}(h`A mask with the mac capability patching **speed** and **duplex**, or 0 if there were no matches.h](h(A mask with the mac capability patching }(hjHhhhNhNubj)}(h **speed**h]hspeed}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh and }(hjHhhhNhNubj)}(h **duplex**h]hduplex}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh , or 0 if there were no matches.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phylink_get_capabilities (C function)c.phylink_get_capabilitieshNtauh1hhjhhhNhNubh)}(hhh](h)}(huunsigned long phylink_get_capabilities (phy_interface_t interface, unsigned long mac_capabilities, int rate_matching)h]h)}(htunsigned long phylink_get_capabilities(phy_interface_t interface, unsigned long mac_capabilities, int rate_matching)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphylink_get_capabilitiesh]j%)}(hphylink_get_capabilitiesh]hphylink_get_capabilities}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hN(phy_interface_t interface, unsigned long mac_capabilities, int rate_matching)h](j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_get_capabilitiesasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hj% hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned long mac_capabilitiesh](j)}(hunsignedh]hunsigned}(hj> hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj: ubj)}(h h]h }(hjL hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj: ubj)}(hlongh]hlong}(hjZ hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj: ubj)}(h h]h }(hjh hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj: ubj%)}(hmac_capabilitiesh]hmac_capabilities}(hjv hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj: ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint rate_matchingh](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 rate_matchingh]h rate_matching}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h get capabilities for a given MACh]h get capabilities for a given MAC}(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&]jvjqjwj jxj jyjzj{uh1hhhhjhNhNubj})}(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)}(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)}(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)}(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)}(hQphy interface mode defined by :c:type:`typedef phy_interface_t `h](hphy interface mode defined by }(hj/ hhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj9 h]htypedef phy_interface_t}(hj; hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj7 ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhj+ hMhj/ ubeh}(h]h ]h"]h$]h&]uh1jWhj+ hMhj, ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj+ hMhj ubj)}(h?``unsigned long mac_capabilities`` bitmask of MAC capabilities h](j)}(h"``unsigned long mac_capabilities``h]j)}(hjn h]hunsigned long mac_capabilities}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjh ubj)}(hhh]jX)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjh ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h<``int rate_matching`` type of rate matching being performed h](j)}(h``int rate_matching``h]j)}(hj h]hint rate_matching}(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%type of rate matching being performedh]h%type of rate matching being performed}(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)}(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 }(hj hhhNhNubj)}(h **interface**h]h interface}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh mode and }(hj hhhNhNubj)}(h**mac_capabilities**h]hmac_capabilities}(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.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_validate_mask_caps (C function)c.phylink_validate_mask_capshNtauh1hhjhhhNhNubh)}(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}(hjK hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjG hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjZ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjG hhhjY hMubj)}(hphylink_validate_mask_capsh]j%)}(hphylink_validate_mask_capsh]hphylink_validate_mask_caps}(hjl hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjG hhhjY hMubj)}(h\(unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities)h](j)}(hunsigned long *supportedh](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(hlongh]hlong}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(h supportedh]h supported}(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')}jjn sbc.phylink_validate_mask_capsasbuh1hhj 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%)}(hstateh]hstate}(hj? hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hunsigned long mac_capabilitiesh](j)}(hunsignedh]hunsigned}(hjX hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT ubj)}(h h]h }(hjf hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjT ubj)}(hlongh]hlong}(hjt hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjT ubj%)}(hmac_capabilitiesh]hmac_capabilities}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjT ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjG hhhjY hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjC hhhjY hMubah}(h]j> ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjY hMhj@ hhubjS)}(hhh]jX)}(h!Restrict link modes based on capsh]h!Restrict link modes based on caps}(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@ hhhjY hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjhNhNubj})}(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)}(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)}(hG``unsigned long *supported`` ethtool bitmask for supported link modes. h](j)}(h``unsigned long *supported``h]j)}(hj h]hunsigned long *supported}(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)ethtool bitmask for supported link modes.h]h)ethtool bitmask for supported link modes.}(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)}(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)}(hj4 h]h struct phylink_link_state *state}(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.chMhj. ubj)}(hhh]jX)}(hFpointer to a :c:type:`struct phylink_link_state `.h](h 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 hMhjM ubh.}(hjM hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjI hMhjJ ubah}(h]h ]h"]h$]h&]uh1jhj. ubeh}(h]h ]h"]h$]h&]uh1jhjI hMhj ubj)}(h?``unsigned long mac_capabilities`` bitmask of MAC capabilities h](j)}(h"``unsigned long mac_capabilities``h]j)}(hj h]hunsigned long mac_capabilities}(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)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(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)}(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 }(hj hhhNhNubj)}(h**mac_capabilities**h]hmac_capabilities}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, and restrict }(hj hhhNhNubj)}(h **supported**h]h supported}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }(hj hhhNhNubj)}(h **state**h]hstate}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhy based on that. Use this function if your capabiliies aren’t constant, such as if they vary depending on the interface.}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phylink_pcs_neg_mode (C function)c.phylink_pcs_neg_modehNtauh1hhjhhhNhNubh)}(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}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBhhhjThM+ubj)}(hphylink_pcs_neg_modeh]j%)}(hphylink_pcs_neg_modeh]hphylink_pcs_neg_mode}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjBhhhjThM+ubj)}(hj(struct phylink *pl, struct phylink_pcs *pcs, phy_interface_t interface, const unsigned long *advertising)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]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')}jjisbc.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%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubj)}(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 }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hjLhhhNhNubah}(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}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jc.phylink_pcs_neg_modeasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubj)}(h const unsigned long *advertisingh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h advertisingh]h advertising}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjBhhhjThM+ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>hhhjThM+ubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThM+hj;hhubjS)}(hhh]jX)}(h#helper to determine PCS inband modeh]h#helper to determine PCS inband mode}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+hj4hhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhjThM+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhjhNhNubj})}(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)}(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)}(hjxh]hstruct phylink *pl}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM,hjrubj)}(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&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjoubj)}(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.chM-hjubj)}(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_pcsuh1hhjhM-hjubeh}(h]h ]h"]h$]h&]uh1jWhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjoubj)}(h8``phy_interface_t interface`` interface mode to be used h](j)}(h``phy_interface_t interface``h]j)}(hj,h]hphy_interface_t interface}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM.hj&ubj)}(hhh]jX)}(hinterface mode to be usedh]hinterface mode to be used}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhM.hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM.hjoubj)}(hI``const unsigned long *advertising`` adertisement ethtool link mode mask h](j)}(h$``const unsigned long *advertising``h]j)}(hjeh]h const unsigned long *advertising}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(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#adertisement ethtool link mode maskh]h#adertisement ethtool link mode mask}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhM/hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhM/hjoubeh}(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.chM1hjSubjX)}(hJDetermines the negotiation mode to be used by the PCS, and returns one of:h]hJDetermines the negotiation mode to be used by the PCS, and returns one of:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM0hjSubjE)}(hhh](jE)}(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.chM3hjubah}(h]h ]h"]h$]h&]uh1jEhjubjE)}(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.chM4hjubah}(h]h ]h"]h$]h&]uh1jEhjubjE)}(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.chM6hjubah}(h]h ]h"]h$]h&]uh1jEhjubjE)}(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}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh*: inband mode selected and autoneg enabled}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM8hj<ubah}(h]h ]h"]h$]h&]uh1jEhjubeh}(h]h ]h"]h$]h&]j]Fj*uh1jEhjhM3hjSubjX)}(h**Note**h]j)}(hjkh]hNote}(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:hjSubjX)}(htthis is for cases where the PCS itself is involved in negotiation (e.g. Clause 37, SGMII and similar) not Clause 73.h]htthis is for cases where the PCS itself is involved in negotiation (e.g. Clause 37, SGMII and similar) not Clause 73.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM;hjSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_set_fixed_link (C function)c.phylink_set_fixed_linkhNtauh1hhjhhhNhNubh)}(hhh](h)}(hWint phylink_set_fixed_link (struct phylink *pl, const struct phylink_link_state *state)h]h)}(hVint phylink_set_fixed_link(struct phylink *pl, const struct phylink_link_state *state)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphylink_set_fixed_linkh]j%)}(hphylink_set_fixed_linkh]hphylink_set_fixed_link}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h<(struct phylink *pl, const struct phylink_link_state *state)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.phylink_set_fixed_linkasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjFhhhNhNubah}(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 }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubh)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j'c.phylink_set_fixed_linkasbuh1hhj[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%)}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hset the fixed linkh]hset the fixed link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``const struct phylink_link_state *state`` a pointer to a struct phylink_link_state. **Description** This function is used when the link parameters are known and do not change, making it suitable for certain types of network connections. **Return** zero on success or negative error code.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj<h]hstruct phylink *pl}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj6ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjUhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj_h]hstruct phylink}(hjahhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjQhMhjUubh returned from phylink_create()}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj3ubj)}(hU``const struct phylink_link_state *state`` a pointer to a struct phylink_link_state. h](j)}(h*``const struct phylink_link_state *state``h]j)}(hjh]h&const struct phylink_link_state *state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj3ubeh}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_create (C function)c.phylink_createhNtauh1hhjhhhNhNubh)}(hhh](h)}(hstruct phylink * phylink_create (struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h]h)}(hstruct phylink *phylink_create(struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h](h)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhjLhMubh)}(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_createasbuh1hhj;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)}(hphylink_createh]j%)}(hj|h]hphylink_create}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhjLhMubj)}(h(struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jzc.phylink_createasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h"const struct fwnode_handle *fwnodeh](h)}(hjh]hconst}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubh)}(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 fwnode_handleh]h fwnode_handle}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]jzc.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%)}(hfwnodeh]hfwnode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t ifaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jzc.phylink_createasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hifaceh]hiface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h%const struct phylink_mac_ops *mac_opsh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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%)}(hphylink_mac_opsh]hphylink_mac_ops}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]jzc.phylink_createasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hmac_opsh]hmac_ops}(hjnhhhNhNubah}(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)}(hcreate a phylink instanceh]hcreate a phylink instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhjLhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXr**Parameters** ``struct phylink_config *config`` a pointer to the target :c:type:`struct phylink_config ` ``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle ` describing the network interface ``phy_interface_t iface`` the desired link mode defined by :c:type:`typedef phy_interface_t ` ``const struct phylink_mac_ops *mac_ops`` a pointer to a :c:type:`struct phylink_mac_ops ` for the MAC. **Description** Create a new phylink instance, and parse the link parameters found in **np**. This will parse in-band modes, fixed-link or SFP configuration. **Note** the rtnl lock must not be held when calling this function. Returns a pointer to a :c:type:`struct phylink `, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM"hjubj)}(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)}(hj1h]h"const struct fwnode_handle *fwnode}(hj3hhhNhNubah}(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^a pointer to a :c:type:`struct fwnode_handle ` describing the network interfaceh](ha pointer to a }(hjJhhhNhNubh)}(h.:c:type:`struct fwnode_handle `h]j)}(hjTh]hstruct fwnode_handle}(hjVhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj fwnode_handleuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjJubh! describing the network interface}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjqhM hjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhM!hjubj)}(ho``phy_interface_t iface`` the desired link mode defined by :c:type:`typedef phy_interface_t ` h](j)}(h``phy_interface_t iface``h]j)}(hjh]hphy_interface_t iface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM"hjubj)}(hhh]jX)}(hTthe desired link mode defined by :c:type:`typedef phy_interface_t `h](h!the desired link mode defined by }(hjhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjh]htypedef phy_interface_t}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjhM"hjubeh}(h]h ]h"]h$]h&]uh1jWhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubj)}(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.chM#hjubj)}(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)}(hj h]hstruct phylink_mac_ops}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_mac_opsuh1hhjhM#hjubh for the MAC.}(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&]uh1jhjubjX)}(h**Description**h]j)}(hjDh]h Description}(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%hjubjX)}(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 }(hjZhhhNhNubj)}(h**np**h]hnp}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubhA. This will parse in-band modes, fixed-link or SFP configuration.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM$hjubjX)}(h**Note**h]j)}(hj}h]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM'hjubjX)}(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.chM(hjubjX)}(hReturns a pointer to a :c:type:`struct phylink `, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.h](hReturns a pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM*hjubh\, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM*hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_destroy (C function)c.phylink_destroyhNtauh1hhjhhhNhNubh)}(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.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphylink_destroyh]j%)}(hphylink_destroyh]hphylink_destroy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubh)}(hhh]j%)}(hphylinkh]hphylink}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_destroyasbuh1hhj-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%)}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h(cleanup and destroy the phylink instanceh]h(cleanup and destroy the phylink instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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.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 refexplicitrefwarnjjjphylinkuh1hhj hMhjubh returned from phylink_create()}(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&]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.chMhjubjX)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h**Note**h]j)}(hjzh]hNote}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h:the rtnl lock must not be held when calling this function.h]h:the rtnl lock must not be held when calling this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_expects_phy (C function)c.phylink_expects_phyhNtauh1hhjhhhNhNubh)}(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.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(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=uh1jhjhhhjhMubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_expects_phyasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjThhhNhNubah}(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)}(h1Determine if phylink expects a phy to be attachedh]h1Determine if phylink expects a phy to be attached}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj{hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** When using fixed-link mode, or in-band mode with 1000base-X or 2500base-X, no PHY is needed. Returns true if phylink will be expecting a PHY.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.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&]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:150: ./drivers/net/phy/phylink.chMhjubjX)}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h0Returns true if phylink will be expecting a PHY.h]h0Returns true if phylink will be expecting a PHY.}(hjBhhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_connect_phy (C function)c.phylink_connect_phyhNtauh1hhjhhhNhNubh)}(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}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhjhMubj)}(hphylink_connect_phyh]j%)}(hphylink_connect_phyh]hphylink_connect_phy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhjhMubj)}(h,(struct phylink *pl, struct phy_device *phy)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_connect_phyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct phy_device *phyh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@modnameN classnameNjj!)}j$]jc.phylink_connect_phyasbuh1hhjubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphyh]hphy}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjmhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhjhMubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjfhhubjS)}(hhh]jX)}(h%connect a PHY to the phylink instanceh]h%connect a PHY to the phylink instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXJ**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct phy_device *phy`` a pointer to a :c:type:`struct phy_device `. **Description** Connect **phy** to the phylink instance specified by **pl** by calling phy_attach_direct(). Configure the **phy** according to the MAC driver's capabilities, start the PHYLIB state machine and enable any interrupts that the PHY supports. This updates the phylink's ethtool supported and advertising link mode masks. Returns 0 on success or a negative errno.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhMhjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hT``struct phy_device *phy`` a pointer to a :c:type:`struct phy_device `. h](j)}(h``struct phy_device *phy``h]j)}(hj>h]hstruct phy_device *phy}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj8ubj)}(hhh]jX)}(h8a pointer to a :c:type:`struct phy_device `.h](ha pointer to a }(hjWhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjah]hstruct phy_device}(hjchhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjShMhjWubh.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(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)}(hConnect **phy** to the phylink instance specified by **pl** by calling phy_attach_direct(). Configure the **phy** according to the MAC driver's capabilities, start the PHYLIB state machine and enable any interrupts that the PHY supports.h](hConnect }(hjhhhNhNubj)}(h**phy**h]hphy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& to the phylink instance specified by }(hjhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ by calling phy_attach_direct(). Configure the }(hjhhhNhNubj)}(h**phy**h]hphy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh~ according to the MAC driver’s capabilities, start the PHYLIB state machine and enable any interrupts that the PHY supports.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(hMThis updates the phylink's ethtool supported and advertising link mode masks.h]hOThis updates the phylink’s ethtool supported and advertising link mode masks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_of_phy_connect (C function)c.phylink_of_phy_connecthNtauh1hhjhhhNhNubh)}(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}(hj5 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1 hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjD hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1 hhhjC hMubj)}(hphylink_of_phy_connecth]j%)}(hphylink_of_phy_connecth]hphylink_of_phy_connect}(hjV hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjR ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1 hhhjC hMubj)}(h7(struct phylink *pl, struct device_node *dn, u32 flags)h](j)}(hstruct phylink *plh](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%)}(hphylinkh]hphylink}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjX sbc.phylink_of_phy_connectasbuh1hhjn 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%)}(hplh]hpl}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjj ubj)}(hstruct device_node *dnh](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 device_nodeh]h device_node}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]j c.phylink_of_phy_connectasbuh1hhj 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%)}(hdnh]hdn}(hj;!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjj ubj)}(h u32 flagsh](h)}(hhh]j%)}(hu32h]hu32}(hjW!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjT!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjY!modnameN classnameNjj!)}j$]j c.phylink_of_phy_connectasbuh1hhjP!ubj)}(h h]h }(hju!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP!ubj%)}(hflagsh]hflags}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjP!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)connect the PHY specified in the DT mode.h]h)connect the PHY specified in the DT mode.}(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* hhhjC hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhjhNhNubj})}(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)}(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)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj!h]hstruct phylink *pl}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj!ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(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"hMhj"ubh returned from phylink_create()}(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)}(hV``struct device_node *dn`` a pointer to a :c:type:`struct device_node `. h](j)}(h``struct device_node *dn``h]j)}(hjJ"h]hstruct device_node *dn}(hjL"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH"ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjD"ubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct device_node `.h](ha pointer to a }(hjc"hhhNhNubh)}(h*:c:type:`struct device_node `h]j)}(hjm"h]hstruct device_node}(hjo"hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjk"ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj device_nodeuh1hhj_"hMhjc"ubh.}(hjc"hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj_"hMhj`"ubah}(h]h ]h"]h$]h&]uh1jhjD"ubeh}(h]h ]h"]h$]h&]uh1jhj_"hMhj!ubj)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hj"h]h u32 flags}(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:PHY-specific flags to communicate to the PHY device driverh]h:PHY-specific flags to communicate to the PHY device driver}(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)}(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 }(hj"hhhNhNubj)}(h**dn**h]hdn}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh& to the phylink instance specified by }(hj"hhhNhNubj)}(h**pl**h]hpl}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh?. Actions specified in phylink_connect_phy() will be performed.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj!ubjX)}(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.chMhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_fwnode_phy_connect (C function)c.phylink_fwnode_phy_connecthNtauh1hhjhhhNhNubh)}(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}(hjY#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjU#hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjh#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjU#hhhjg#hMubj)}(hphylink_fwnode_phy_connecth]j%)}(hphylink_fwnode_phy_connecth]hphylink_fwnode_phy_connect}(hjz#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjv#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjU#hhhjg#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&]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')}jj|#sbc.phylink_fwnode_phy_connectasbuh1hhj#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#ubj)}(h"const struct fwnode_handle *fwnodeh](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 }(hj0$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hjA$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjC$modnameN classnameNjj!)}j$]j#c.phylink_fwnode_phy_connectasbuh1hhj$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%)}(hfwnodeh]hfwnode}(hjz$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubj)}(h u32 flagsh](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.phylink_fwnode_phy_connectasbuh1hhj$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=uh1jhjU#hhhjg#hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjQ#hhhjg#hMubah}(h]jL#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjg#hMhjN#hhubjS)}(hhh]jX)}(h(connect the PHY specified in the fwnode.h]h(connect the PHY specified in the fwnode.}(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&]uh1jRhjN#hhhjg#hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%jxj%jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle `. ``u32 flags`` PHY-specific flags to communicate to the PHY device driver **Description** Connect the phy specified **fwnode** to the phylink instance specified by **pl**. Returns 0 on success or a negative errno.h](jX)}(h**Parameters**h]j)}(hj%h]h Parameters}(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)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj-%h]hstruct phylink *pl}(hj/%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj'%ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjF%hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjP%h]hstruct phylink}(hjR%hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjN%ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjB%hMhjF%ubh returned from phylink_create()}(hjF%hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjB%hMhjC%ubah}(h]h ]h"]h$]h&]uh1jhj'%ubeh}(h]h ]h"]h$]h&]uh1jhjB%hMhj$%ubj)}(hf``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle `. h](j)}(h&``const struct fwnode_handle *fwnode``h]j)}(hj%h]h"const struct fwnode_handle *fwnode}(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 fwnode_handle `.h](ha pointer to a }(hj%hhhNhNubh)}(h.:c:type:`struct fwnode_handle `h]j)}(hj%h]hstruct fwnode_handle}(hj%hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj fwnode_handleuh1hhj%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)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hj%h]h u32 flags}(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:PHY-specific flags to communicate to the PHY device driverh]h:PHY-specific flags to communicate to the PHY device driver}(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)}(hQConnect the phy specified **fwnode** to the phylink instance specified by **pl**.h](hConnect the phy specified }(hj6&hhhNhNubj)}(h **fwnode**h]hfwnode}(hj>&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6&ubh& to the phylink instance specified by }(hj6&hhhNhNubj)}(h**pl**h]hpl}(hjP&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6&ubh.}(hj6&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj%ubjX)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hji&hhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_disconnect_phy (C function)c.phylink_disconnect_phyhNtauh1hhjhhhNhNubh)}(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&]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_disconnect_phyh]j%)}(hphylink_disconnect_phyh]hphylink_disconnect_phy}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj&hhhj&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')}jj&sbc.phylink_disconnect_phyasbuh1hhj&ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hj!'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(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=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)}(h4disconnect any PHY attached to the phylink instance.h]h4disconnect any PHY attached to the phylink instance.}(hjX'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjU'hhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj&hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjp'jxjp'jyjzj{uh1hhhhjhNhNubj})}(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)}(hjz'h]h Parameters}(hj|'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx'ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjt'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 hj'ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj'hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj'h]hstruct phylink}(hj'hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj'hM hj'ubh returned from phylink_create()}(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'ubah}(h]h ]h"]h$]h&]uh1jhjt'ubjX)}(h**Description**h]j)}(hj'h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjt'ubjX)}(hIDisconnect any current PHY from the phylink instance described by **pl**.h](hBDisconnect any current PHY from the phylink instance described by }(hj (hhhNhNubj)}(h**pl**h]hpl}(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.chM hjt'ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mac_change (C function)c.phylink_mac_changehNtauh1hhjhhhNhNubh)}(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}(hjN(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ(hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMC ubj)}(h h]h }(hj](hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJ(hhhj\(hMC ubj)}(hphylink_mac_changeh]j%)}(hphylink_mac_changeh]hphylink_mac_change}(hjo(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjk(ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJ(hhhj\(hMC ubj)}(h(struct phylink *pl, bool up)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')}jjq(sbc.phylink_mac_changeasbuh1hhj(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(ubj)}(hbool uph](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%)}(huph]hup}(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=uh1jhjJ(hhhj\(hMC ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjF(hhhj\(hMC ubah}(h]jA(ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\(hMC hjC(hhubjS)}(hhh]jX)}(h'notify phylink of a change in MAC stateh]h'notify phylink of a change in MAC state}(hjB)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMC hj?)hhubah}(h]h ]h"]h$]h&]uh1jRhjC(hhhj\(hMC ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZ)jxjZ)jyjzj{uh1hhhhjhNhNubj})}(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)}(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:150: ./drivers/net/phy/phylink.chMG hj^)ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj)h]hstruct phylink *pl}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMD hj})ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj)hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj)h]hstruct phylink}(hj)hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj)hMD hj)ubh returned from phylink_create()}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj)hMD hj)ubah}(h]h ]h"]h$]h&]uh1jhj})ubeh}(h]h ]h"]h$]h&]uh1jhj)hMD hjz)ubj)}(h8``bool up`` indicates whether the link is currently up. h](j)}(h ``bool up``h]j)}(hj)h]hbool up}(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.chME hj)ubj)}(hhh]jX)}(h+indicates whether the link is currently up.h]h+indicates whether the link is currently up.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hME hj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hME hjz)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.chMG 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.)}(hj0*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMF hj^)ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs_change (C function)c.phylink_pcs_changehNtauh1hhjhhhNhNubh)}(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.chMQ ubj)}(h h]h }(hjn*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[*hhhjm*hMQ ubj)}(hphylink_pcs_changeh]j%)}(hphylink_pcs_changeh]hphylink_pcs_change}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[*hhhjm*hMQ ubj)}(h"(struct phylink_pcs *pcs, bool up)h](j)}(hstruct phylink_pcs *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 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')}jj*sbc.phylink_pcs_changeasbuh1hhj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*ubj%)}(hpcsh]hpcs}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubj)}(hbool uph](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%)}(huph]hup}(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[*hhhjm*hMQ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjW*hhhjm*hMQ ubah}(h]jR*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjm*hMQ hjT*hhubjS)}(hhh]jX)}(h,notify phylink of a change to PCS link stateh]h,notify phylink of a change to PCS link state}(hjS+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMQ hjP+hhubah}(h]h ]h"]h$]h&]uh1jRhjT*hhhjm*hMQ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjk+jxjk+jyjzj{uh1hhhhjhNhNubj})}(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)}(hju+h]h Parameters}(hjw+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs+ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMU hjo+ubj)}(hhh](j)}(hR``struct phylink_pcs *pcs`` pointer to :c:type:`struct phylink_pcs ` h](j)}(h``struct phylink_pcs *pcs``h]j)}(hj+h]hstruct phylink_pcs *pcs}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMR hj+ubj)}(hhh]jX)}(h5pointer to :c:type:`struct phylink_pcs `h](h pointer to }(hj+hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj+h]hstruct phylink_pcs}(hj+hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhj+hMR hj+ubeh}(h]h ]h"]h$]h&]uh1jWhj+hMR hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMR hj+ubj)}(h8``bool up`` indicates whether the link is currently up. h](j)}(h ``bool up``h]j)}(hj+h]hbool up}(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.chMS hj+ubj)}(hhh]jX)}(h+indicates whether the link is currently up.h]h+indicates whether the link is currently up.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hMS hj,ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj,hMS hj+ubeh}(h]h ]h"]h$]h&]uh1jhjo+ubjX)}(h**Description**h]j)}(hj',h]h Description}(hj),hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%,ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMU hjo+ubjX)}(hX>The PCS driver should call this when the state of its link changes (e.g. link failure, new negotiation results, etc.) Note: it should not determine "up" by reading the BMSR. If in doubt about the link state at interrupt time, then pass true if pcs_get_state() returns the latched link-down state, otherwise pass false.h]hXBThe PCS driver should call this when the state of its link changes (e.g. link failure, new negotiation results, etc.) Note: it should not determine “up” by reading the BMSR. If in doubt about the link state at interrupt time, then pass true if pcs_get_state() returns the latched link-down state, otherwise pass false.}(hj=,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMT hjo+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_start (C function)c.phylink_starthNtauh1hhjhhhNhNubh)}(hhh](h)}(h'void phylink_start (struct phylink *pl)h]h)}(h&void phylink_start(struct phylink *pl)h](j)}(hvoidh]hvoid}(hjl,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh,hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMn ubj)}(h h]h }(hj{,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh,hhhjz,hMn ubj)}(h phylink_starth]j%)}(h phylink_starth]h phylink_start}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjh,hhhjz,hMn 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')}jj,sbc.phylink_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%)}(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=uh1jhjh,hhhjz,hMn ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjd,hhhjz,hMn ubah}(h]j_,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjz,hMn hja,hhubjS)}(hhh]jX)}(hstart a phylink instanceh]hstart a phylink instance}(hj,-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMn hj)-hhubah}(h]h ]h"]h$]h&]uh1jRhja,hhhjz,hMn ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjD-jxjD-jyjzj{uh1hhhhjhNhNubj})}(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)}(hjN-h]h Parameters}(hjP-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL-ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMr hjH-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)}(hjm-h]hstruct phylink *pl}(hjo-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk-ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMo hjg-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-hMo hj-ubh returned from phylink_create()}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj-hMo hj-ubah}(h]h ]h"]h$]h&]uh1jhjg-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMo hjd-ubah}(h]h ]h"]h$]h&]uh1jhjH-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.chMq hjH-ubjX)}(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 }(hj-hhhNhNubj)}(h**pl**h]hpl}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh, configuring the MAC for the desired link mode(s) and negotiation style. This should be called from the network device driver’s }(hj-hhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hj-h]hstruct net_device_ops}(hj-hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMp hj-ubh ndo_open() method.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj.hMp hjH-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_stop (C function)c.phylink_stophNtauh1hhjhhhNhNubh)}(hhh](h)}(h&void phylink_stop (struct phylink *pl)h]h)}(h%void phylink_stop(struct phylink *pl)h](j)}(hvoidh]hvoid}(hjE.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjA.hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjT.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjA.hhhjS.hM ubj)}(h phylink_stoph]j%)}(h phylink_stoph]h phylink_stop}(hjf.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjb.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjA.hhhjS.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')}jjh.sbc.phylink_stopasbuh1hhj~.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=uh1jhjz.ubah}(h]h ]h"]h$]h&]j<j=uh1jhjA.hhhjS.hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=.hhhjS.hM ubah}(h]j8.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjS.hM hj:.hhubjS)}(hhh]jX)}(hstop a phylink instanceh]hstop a phylink instance}(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:.hhhjS.hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Stop the phylink instance specified by **pl**. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_stop() method. The network device's carrier state should not be changed prior to calling this function. This will synchronously bring down the link if the link is not already down (in other words, it will trigger a mac_link_down() method call.)h](jX)}(h**Parameters**h]j)}(hj'/h]h Parameters}(hj)/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%/ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM 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)}(hjF/h]hstruct phylink *pl}(hjH/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj@/ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj_/hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hji/h]hstruct phylink}(hjk/hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjg/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&]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:150: ./drivers/net/phy/phylink.chM hj!/ubjX)}(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 }(hj/hhhNhNubj)}(h**pl**h]hpl}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh;. This should be called from the network device driver’s }(hj/hhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hj/h]hstruct net_device_ops}(hj/hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj/ubho ndo_stop() method. The network device’s carrier state should not be changed prior to calling this function.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj/hM hj!/ubjX)}(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.)}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_rx_clk_stop_block (C function)c.phylink_rx_clk_stop_blockhNtauh1hhjhhhNhNubh)}(hhh](h)}(h3void phylink_rx_clk_stop_block (struct phylink *pl)h]h)}(h2void phylink_rx_clk_stop_block(struct phylink *pl)h](j)}(hvoidh]hvoid}(hj-0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)0hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hj<0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)0hhhj;0hM ubj)}(hphylink_rx_clk_stop_blockh]j%)}(hphylink_rx_clk_stop_blockh]hphylink_rx_clk_stop_block}(hjN0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJ0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)0hhhj;0hM ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjf0ubj)}(h h]h }(hjw0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjf0ubh)}(hhh]j%)}(hphylinkh]hphylink}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]j')}jjP0sbc.phylink_rx_clk_stop_blockasbuh1hhjf0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjf0ubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjf0ubj%)}(hplh]hpl}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjb0ubah}(h]h ]h"]h$]h&]j<j=uh1jhj)0hhhj;0hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%0hhhj;0hM ubah}(h]j 0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;0hM hj"0hhubjS)}(hhh]jX)}(h.block PHY ability to stop receive clock in LPIh]h.block PHY ability to stop receive clock in LPI}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj0hhubah}(h]h ]h"]h$]h&]uh1jRhj"0hhhj;0hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1jxj1jyjzj{uh1hhhhjhNhNubj})}(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)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 1ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj 1ubj)}(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.1h]hstruct phylink *pl}(hj01hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj(1ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjG1hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjQ1h]hstruct phylink}(hjS1hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjO1ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjC1hM hjG1ubh returned from phylink_create()}(hjG1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjC1hM hjD1ubah}(h]h ]h"]h$]h&]uh1jhj(1ubeh}(h]h ]h"]h$]h&]uh1jhjC1hM hj%1ubah}(h]h ]h"]h$]h&]uh1jhj 1ubjX)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj 1ubjX)}(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().}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj 1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_rx_clk_stop_unblock (C function)c.phylink_rx_clk_stop_unblockhNtauh1hhjhhhNhNubh)}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhj1hM ubj)}(hphylink_rx_clk_stop_unblockh]j%)}(hphylink_rx_clk_stop_unblockh]hphylink_rx_clk_stop_unblock}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhj1hM ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj 2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 2ubh)}(hhh]j%)}(hphylinkh]hphylink}(hj,2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.2modnameN classnameNjj!)}j$]j')}jj1sbc.phylink_rx_clk_stop_unblockasbuh1hhj 2ubj)}(h h]h }(hjL2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 2ubj;)}(hj>h]h*}(hjZ2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj 2ubj%)}(hplh]hpl}(hjg2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubah}(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)unblock PHY ability to stop receive clockh]h)unblock PHY ability to stop receive clock}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj2hhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhj1hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj2jxj2jyjzj{uh1hhhhjhNhNubj})}(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)}(hj2h]h Parameters}(hj2hhhNhNubah}(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 hj2ubj)}(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)}(hj2h]hstruct phylink *pl}(hj2hhhNhNubah}(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.chM hj2ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj2hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj2h]hstruct phylink}(hj2hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj2hM hj2ubh returned from phylink_create()}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj2hM hj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hM hj2ubah}(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:150: ./drivers/net/phy/phylink.chM hj2ubjX)}(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.}(hjF3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_suspend (C function)c.phylink_suspendhNtauh1hhjhhhNhNubh)}(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}(hju3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq3hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjq3hhhj3hM ubj)}(hphylink_suspendh]j%)}(hphylink_suspendh]hphylink_suspend}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjq3hhhj3hM ubj)}(h"(struct phylink *pl, bool mac_wol)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(hphylinkh]hphylink}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j')}jj3sbc.phylink_suspendasbuh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hplh]hpl}(hj 4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubj)}(h bool mac_wolh](j)}(hjTh]hbool}(hj$4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 4ubj)}(h h]h }(hj14hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 4ubj%)}(hmac_wolh]hmac_wol}(hj?4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjq3hhhj3hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjm3hhhj3hM ubah}(h]jh3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hM hjj3hhubjS)}(hhh]jX)}(h%handle a network device suspend eventh]h%handle a network device suspend event}(hji4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjf4hhubah}(h]h ]h"]h$]h&]uh1jRhjj3hhhj3hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhjhNhNubj})}(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. **Note** when phylink managed Wake-on-Lan is in use, **mac_wol** is ignored. (struct phylink_mac_ops.mac_set_wol populated.)h](jX)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj4hhhNhNubah}(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! hj4ubj)}(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)}(hj4h]hstruct phylink *pl}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj4ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj4hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj4h]hstruct phylink}(hj4hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj4hM hj4ubh returned from phylink_create()}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj4hM hj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hM hj4ubj)}(hJ``bool mac_wol`` true if the MAC needs to receive packets for Wake-on-Lan h](j)}(h``bool mac_wol``h]j)}(hj5h]h bool mac_wol}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj5ubj)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hM hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hM hj4ubeh}(h]h ]h"]h$]h&]uh1jhj4ubjX)}(h**Description**h]j)}(hjA5h]h Description}(hjC5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?5ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM! hj4ubjX)}(h?Handle a network device suspend event. There are several cases:h]h?Handle a network device suspend event. There are several cases:}(hjW5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj4ubjE)}(hhh](jE)}(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().}(hjm5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM" hji5ubah}(h]h ]h"]h$]h&]uh1jEhjf5ubjE)}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM$ hj5ubah}(h]h ]h"]h$]h&]uh1jEhjf5ubjE)}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM& hj5ubah}(h]h ]h"]h$]h&]uh1jEhjf5ubeh}(h]h ]h"]h$]h&]j]Fj*uh1jEhj{5hM" hj4ubjX)}(h**Note**h]j)}(hj5h]hNote}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM) hj4ubjX)}(hswhen phylink managed Wake-on-Lan is in use, **mac_wol** is ignored. (struct phylink_mac_ops.mac_set_wol populated.)h](h,when phylink managed Wake-on-Lan is in use, }(hj5hhhNhNubj)}(h **mac_wol**h]hmac_wol}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh< is ignored. (struct phylink_mac_ops.mac_set_wol populated.)}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM* hj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_prepare_resume (C function)c.phylink_prepare_resumehNtauh1hhjhhhNhNubh)}(hhh](h)}(h0void phylink_prepare_resume (struct phylink *pl)h]h)}(h/void phylink_prepare_resume(struct phylink *pl)h](j)}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMT ubj)}(h h]h }(hj"6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6hhhj!6hMT ubj)}(hphylink_prepare_resumeh]j%)}(hphylink_prepare_resumeh]hphylink_prepare_resume}(hj46hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj06ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6hhhj!6hMT ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjP6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjL6ubj)}(h h]h }(hj]6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL6ubh)}(hhh]j%)}(hphylinkh]hphylink}(hjn6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjk6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjp6modnameN classnameNjj!)}j$]j')}jj66sbc.phylink_prepare_resumeasbuh1hhjL6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL6ubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjL6ubj%)}(hplh]hpl}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjH6ubah}(h]h ]h"]h$]h&]j<j=uh1jhj6hhhj!6hMT ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj 6hhhj!6hMT ubah}(h]j6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!6hMT hj6hhubjS)}(hhh]jX)}(h"prepare to resume a network deviceh]h"prepare to resume a network device}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMT hj6hhubah}(h]h ]h"]h$]h&]uh1jRhj6hhhj!6hMT ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{uh1hhhhjhNhNubj})}(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)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMX hj6ubj)}(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)}(hj7h]hstruct phylink *pl}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMU hj7ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj-7hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj77h]hstruct phylink}(hj97hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj57ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj)7hMU hj-7ubh returned from phylink_create()}(hj-7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj)7hMU hj*7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj)7hMU hj 7ubah}(h]h ]h"]h$]h&]uh1jhj6ubjX)}(h**Description**h]j)}(hjr7h]h Description}(hjt7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp7ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMW hj6ubjX)}(hAOptional, but if called must be called prior to phylink_resume().h]hAOptional, but if called must be called prior to phylink_resume().}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMV hj6ubjX)}(hCPrepare to resume a network device, preparing the PHY as necessary.h]hCPrepare to resume a network device, preparing the PHY as necessary.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMX hj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_resume (C function)c.phylink_resumehNtauh1hhjhhhNhNubh)}(hhh](h)}(h(void phylink_resume (struct phylink *pl)h]h)}(h'void phylink_resume(struct phylink *pl)h](j)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMm ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhj7hMm ubj)}(hphylink_resumeh]j%)}(hphylink_resumeh]hphylink_resume}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhj7hMm ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(hphylinkh]hphylink}(hj!8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#8modnameN classnameNjj!)}j$]j')}jj7sbc.phylink_resumeasbuh1hhj7ubj)}(h h]h }(hjA8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hjO8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hplh]hpl}(hj\8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubah}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhj7hMm ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhj7hMm ubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hMm hj7hhubjS)}(hhh]jX)}(h$handle a network device resume eventh]h$handle a network device resume event}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMm hj8hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhj7hMm ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8jxj8jyjzj{uh1hhhhjhNhNubj})}(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)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMq hj8ubj)}(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)}(hj8h]hstruct phylink *pl}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMn hj8ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj8hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj8h]hstruct phylink}(hj8hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj8hMn hj8ubh returned from phylink_create()}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj8hMn hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMn hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hj%9h]h Description}(hj'9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#9ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMp hj8ubjX)}(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.}(hj;9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMo hj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_get_wol (C function)c.phylink_ethtool_get_wolhNtauh1hhjhhhNhNubh)}(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}(hjj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf9hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjy9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjf9hhhjx9hM ubj)}(hphylink_ethtool_get_wolh]j%)}(hphylink_ethtool_get_wolh]hphylink_ethtool_get_wol}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjf9hhhjx9hM ubj)}(h1(struct phylink *pl, struct ethtool_wolinfo *wol)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(hphylinkh]hphylink}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]j')}jj9sbc.phylink_ethtool_get_wolasbuh1hhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hplh]hpl}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(hstruct ethtool_wolinfo *wolh](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_wolinfoh]hethtool_wolinfo}(hj7:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9:modnameN classnameNjj!)}j$]j9c.phylink_ethtool_get_wolasbuh1hhj: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%)}(hwolh]hwol}(hjp:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjf9hhhjx9hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjb9hhhjx9hM ubah}(h]j]9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjx9hM hj_9hhubjS)}(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.chM hj:hhubah}(h]h ]h"]h$]h&]uh1jRhj_9hhhjx9hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:jxj:jyjzj{uh1hhhhjhNhNubj})}(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)}(hj:h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj:ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj:h]hstruct phylink *pl}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj:ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj:hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj:h]hstruct phylink}(hj;hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj:hM hj:ubh returned from phylink_create()}(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|``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)}(hj7;h]hstruct ethtool_wolinfo *wol}(hj9;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5;ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj1;ubj)}(hhh]jX)}(h[a pointer to :c:type:`struct ethtool_wolinfo ` to hold the read parametersh](h a pointer to }(hjP;hhhNhNubh)}(h2:c:type:`struct ethtool_wolinfo `h]j)}(hjZ;h]hstruct ethtool_wolinfo}(hj\;hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjX;ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_wolinfouh1hhjL;hM hjP;ubh to hold the read parameters}(hjP;hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjL;hM hjM;ubah}(h]h ]h"]h$]h&]uh1jhj1;ubeh}(h]h ]h"]h$]h&]uh1jhjL;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:150: ./drivers/net/phy/phylink.chM hj:ubjX)}(hRead the wake on lan parameters from the PHY attached to the phylink instance specified by **pl**. If no PHY is currently attached, report no support for wake on lan.h](h[Read the wake on lan parameters from the PHY attached to the phylink instance specified by }(hj;hhhNhNubj)}(h**pl**h]hpl}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubhE. If no PHY is currently attached, report no support for wake on lan.}(hj;hhhNhNubeh}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_set_wol (C function)c.phylink_ethtool_set_wolhNtauh1hhjhhhNhNubh)}(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}(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_wolh]j%)}(hphylink_ethtool_set_wolh]hphylink_ethtool_set_wol}(hj <hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj <ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhj;hM ubj)}(h1(struct phylink *pl, struct ethtool_wolinfo *wol)h](j)}(hstruct phylink *plh](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%)}(hphylinkh]hphylink}(hjG<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjD<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjI<modnameN classnameNjj!)}j$]j')}jj<sbc.phylink_ethtool_set_wolasbuh1hhj%<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%)}(hplh]hpl}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!<ubj)}(hstruct ethtool_wolinfo *wolh](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_wolinfoh]hethtool_wolinfo}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<modnameN classnameNjj!)}j$]jc<c.phylink_ethtool_set_wolasbuh1hhj<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%)}(hwolh]hwol}(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)}(hset wake on lan parametersh]hset wake on lan 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&]jvjqjwj4=jxj4=jyjzj{uh1hhhhjhNhNubj})}(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)}(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 hj8=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 hjW=ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjv=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 refexplicitrefwarnjjjphylinkuh1hhjr=hM hjv=ubh returned from phylink_create()}(hjv=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjr=hM hjs=ubah}(h]h ]h"]h$]h&]uh1jhjW=ubeh}(h]h ]h"]h$]h&]uh1jhjr=hM hjT=ubj)}(h{``struct ethtool_wolinfo *wol`` a pointer to :c:type:`struct ethtool_wolinfo ` for the desired parameters h](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hj=h]hstruct ethtool_wolinfo *wol}(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)}(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)}(hj=h]hstruct ethtool_wolinfo}(hj=hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj=ubah}(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 hjT=ubeh}(h]h ]h"]h$]h&]uh1jhj8=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 hj8=ubjX)}(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 }(hj->hhhNhNubj)}(h**pl**h]hpl}(hj5>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj->ubh!. If no PHY is attached, returns }(hj->hhhNhNubj)}(h``EOPNOTSUPP``h]h EOPNOTSUPP}(hjG>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj->ubh error.}(hj->hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj8=ubjX)}(h/Returns zero on success or negative errno code.h]h/Returns zero on success or negative errno code.}(hj`>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj8=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_ethtool_ksettings_get (C function)c.phylink_ethtool_ksettings_gethNtauh1hhjhhhNhNubh)}(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}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMM ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhj>hMM ubj)}(hphylink_ethtool_ksettings_geth]j%)}(hphylink_ethtool_ksettings_geth]hphylink_ethtool_ksettings_get}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhj>hMM ubj)}(h9(struct phylink *pl, struct ethtool_link_ksettings *kset)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubh)}(hhh]j%)}(hphylinkh]hphylink}(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_ksettings_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%)}(hplh]hpl}(hj%?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubj)}(h#struct ethtool_link_ksettings *kseth](h)}(hjh]hstruct}(hj>?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:?ubj)}(h h]h }(hjK?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:?ubh)}(hhh]j%)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hj\?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjY?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^?modnameN classnameNjj!)}j$]j?c.phylink_ethtool_ksettings_getasbuh1hhj:?ubj)}(h h]h }(hjz?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:?ubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:?ubj%)}(hkseth]hkset}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj>hhhj>hMM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>hhhj>hMM ubah}(h]j>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj>hMM hj>hhubjS)}(hhh]jX)}(hget the current link settingsh]hget the current link settings}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMM hj?hhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhj>hMM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{uh1hhhhjhNhNubj})}(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)}(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.chMQ hj?ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj@h]hstruct phylink *pl}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMN hj?ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj@hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj#@h]hstruct phylink}(hj%@hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj!@ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj@hMN hj@ubh returned from phylink_create()}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj@hMN hj@ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj@hMN hj?ubj)}(h``struct ethtool_link_ksettings *kset`` a pointer to a :c:type:`struct ethtool_link_ksettings ` to hold link settings h](j)}(h'``struct ethtool_link_ksettings *kset``h]j)}(hj\@h]h#struct ethtool_link_ksettings *kset}(hj^@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMO hjV@ubj)}(hhh]jX)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` to hold link settingsh](ha pointer to a }(hju@hhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hj@h]hstruct ethtool_link_ksettings}(hj@hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj}@ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_link_ksettingsuh1hhjq@hMO hju@ubh to hold link settings}(hju@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjq@hMO hjr@ubah}(h]h ]h"]h$]h&]uh1jhjV@ubeh}(h]h ]h"]h$]h&]uh1jhjq@hMO 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:150: ./drivers/net/phy/phylink.chMQ hj?ubjX)}(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}(hj@hhhNhNubah}(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.chMP hj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_ethtool_ksettings_set (C function)c.phylink_ethtool_ksettings_sethNtauh1hhjhhhNhNubh)}(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}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj AhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hj AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj AhhhjAhM ubj)}(hphylink_ethtool_ksettings_seth]j%)}(hphylink_ethtool_ksettings_seth]hphylink_ethtool_ksettings_set}(hj2AhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.Aubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj AhhhjAhM ubj)}(h?(struct phylink *pl, const struct ethtool_link_ksettings *kset)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjNAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJAubj)}(h h]h }(hj[AhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJAubh)}(hhh]j%)}(hphylinkh]hphylink}(hjlAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnAmodnameN classnameNjj!)}j$]j')}jj4Asbc.phylink_ethtool_ksettings_setasbuh1hhjJAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJAubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJAubj%)}(hplh]hpl}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFAubj)}(h)const struct ethtool_link_ksettings *kseth](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%)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]jAc.phylink_ethtool_ksettings_setasbuh1hhjAubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hj%BhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hkseth]hkset}(hj2BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFAubeh}(h]h ]h"]h$]h&]j<j=uh1jhj AhhhjAhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj AhhhjAhM ubah}(h]jAah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhM hjAhhubjS)}(hhh]jX)}(hset the link settingsh]hset the link settings}(hj\BhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjYBhhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjAhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtBjxjtBjyjzj{uh1hhhhjhNhNubj})}(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~Bh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|Bubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjxBubj)}(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)}(hjBh]hstruct phylink *pl}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjBubj)}(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)}(hjBh]hstruct phylink}(hjBhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjBhM hjBubh returned from phylink_create()}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjBhM hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjBubj)}(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)}(hjBh]h)const struct ethtool_link_ksettings *kset}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjBubj)}(hhh]jX)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` for the desired modesh](ha pointer to a }(hjChhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hjCh]hstruct ethtool_link_ksettings}(hjChhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_link_ksettingsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjCubh for the desired modes}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj9ChM hjCubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjChM hjBubeh}(h]h ]h"]h$]h&]uh1jhjxBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_ethtool_nway_reset (C function)c.phylink_ethtool_nway_resethNtauh1hhjhhhNhNubh)}(hhh](h)}(h3int phylink_ethtool_nway_reset (struct phylink *pl)h]h)}(h2int phylink_ethtool_nway_reset(struct phylink *pl)h](j)}(hinth]hint}(hjvChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrChhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMA ubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrChhhjChMA ubj)}(hphylink_ethtool_nway_reseth]j%)}(hphylink_ethtool_nway_reseth]hphylink_ethtool_nway_reset}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrChhhjChMA ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(hphylinkh]hphylink}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]j')}jjCsbc.phylink_ethtool_nway_resetasbuh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hplh]hpl}(hj DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubah}(h]h ]h"]h$]h&]j<j=uh1jhjrChhhjChMA ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnChhhjChMA ubah}(h]jiCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjChMA hjkChhubjS)}(hhh]jX)}(hrestart negotiationh]hrestart negotiation}(hj6DhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMA hj3Dhhubah}(h]h ]h"]h$]h&]uh1jRhjkChhhjChMA ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNDjxjNDjyjzj{uh1hhhhjhNhNubj})}(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)}(hjXDh]h Parameters}(hjZDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVDubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chME hjRDubj)}(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)}(hjwDh]hstruct phylink *pl}(hjyDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMB hjqDubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjDhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjDh]hstruct phylink}(hjDhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjDhMB hjDubh returned from phylink_create()}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjDhMB hjDubah}(h]h ]h"]h$]h&]uh1jhjqDubeh}(h]h ]h"]h$]h&]uh1jhjDhMB hjnDubah}(h]h ]h"]h$]h&]uh1jhjRDubjX)}(h**Description**h]j)}(hjDh]h Description}(hjDhhhNhNubah}(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.chMD hjRDubjX)}(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 }(hjDhhhNhNubj)}(h**pl**h]hpl}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh. 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.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMC hjRDubjX)}(h0Returns zero on success, or negative error code.h]h0Returns zero on success, or negative error code.}(hj EhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMH hjRDubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_ethtool_get_pauseparam (C function) c.phylink_ethtool_get_pauseparamhNtauh1hhjhhhNhNubh)}(hhh](h)}(hZvoid phylink_ethtool_get_pauseparam (struct phylink *pl, struct ethtool_pauseparam *pause)h]h)}(hYvoid phylink_ethtool_get_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause)h](j)}(hvoidh]hvoid}(hj;EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7EhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMZ ubj)}(h h]h }(hjJEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7EhhhjIEhMZ ubj)}(hphylink_ethtool_get_pauseparamh]j%)}(hphylink_ethtool_get_pauseparamh]hphylink_ethtool_get_pauseparam}(hj\EhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXEubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7EhhhjIEhMZ ubj)}(h6(struct phylink *pl, struct ethtool_pauseparam *pause)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjxEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtEubh)}(hhh]j%)}(hphylinkh]hphylink}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jj^Esb c.phylink_ethtool_get_pauseparamasbuh1hhjtEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtEubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtEubj%)}(hplh]hpl}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpEubj)}(h struct ethtool_pauseparam *pauseh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hethtool_pauseparamh]hethtool_pauseparam}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj FmodnameN classnameNjj!)}j$]jE c.phylink_ethtool_get_pauseparamasbuh1hhjEubj)}(h h]h }(hj&FhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hj4FhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hpauseh]hpause}(hjAFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpEubeh}(h]h ]h"]h$]h&]j<j=uh1jhj7EhhhjIEhMZ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3EhhhjIEhMZ ubah}(h]j.Eah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjIEhMZ hj0EhhubjS)}(hhh]jX)}(h get the current pause parametersh]h get the current pause parameters}(hjkFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMZ hjhFhhubah}(h]h ]h"]h$]h&]uh1jRhj0EhhhjIEhMZ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFjxjFjyjzj{uh1hhhhjhNhNubj})}(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)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM^ hjFubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjFh]hstruct phylink *pl}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM[ hjFubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjFhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjFh]hstruct phylink}(hjFhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjFhM[ hjFubh returned from phylink_create()}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjFhM[ hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM[ hjFubj)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hjGh]h struct ethtool_pauseparam *pause}(hj GhhhNhNubah}(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] hjGubj)}(hhh]jX)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hj!GhhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hj+Gh]hstruct ethtool_pauseparam}(hj-GhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj)Gubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_pauseparamuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM\ hj!Gubeh}(h]h ]h"]h$]h&]uh1jWhjHGhM\ hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhM] hjFubeh}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_ethtool_set_pauseparam (C function) c.phylink_ethtool_set_pauseparamhNtauh1hhjhhhNhNubh)}(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}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}GhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMj ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}GhhhjGhMj ubj)}(hphylink_ethtool_set_pauseparamh]j%)}(hphylink_ethtool_set_pauseparamh]hphylink_ethtool_set_pauseparam}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}GhhhjGhMj ubj)}(h6(struct phylink *pl, struct ethtool_pauseparam *pause)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hhh]j%)}(hphylinkh]hphylink}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]j')}jjGsb c.phylink_ethtool_set_pauseparamasbuh1hhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hj HhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hplh]hpl}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(h struct ethtool_pauseparam *pauseh](h)}(hjh]hstruct}(hj0HhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,Hubj)}(h h]h }(hj=HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,Hubh)}(hhh]j%)}(hethtool_pauseparamh]hethtool_pauseparam}(hjNHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPHmodnameN classnameNjj!)}j$]jG c.phylink_ethtool_set_pauseparamasbuh1hhj,Hubj)}(h h]h }(hjlHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,Hubj;)}(hj>h]h*}(hjzHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,Hubj%)}(hpauseh]hpause}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,Hubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubeh}(h]h ]h"]h$]h&]j<j=uh1jhj}GhhhjGhMj ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyGhhhjGhMj ubah}(h]jtGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjGhMj hjvGhhubjS)}(hhh]jX)}(h set the current pause parametersh]h set the current pause parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMj hjHhhubah}(h]h ]h"]h$]h&]uh1jRhjvGhhhjGhMj ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjHjxjHjyjzj{uh1hhhhjhNhNubj})}(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)}(hjHh]h Parameters}(hjHhhhNhNubah}(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.chMn 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)}(hjHh]hstruct phylink *pl}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMk hjHubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj IhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjIh]hstruct phylink}(hjIhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjIhMk hj Iubh returned from phylink_create()}(hj IhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjIhMk hjIubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjIhMk hjHubj)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hjNIh]h struct ethtool_pauseparam *pause}(hjPIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLIubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMm hjHIubj)}(hhh]jX)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hjgIhhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hjqIh]hstruct ethtool_pauseparam}(hjsIhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjoIubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_pauseparamuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMl hjgIubeh}(h]h ]h"]h$]h&]uh1jWhjIhMl hjdIubah}(h]h ]h"]h$]h&]uh1jhjHIubeh}(h]h ]h"]h$]h&]uh1jhjcIhMm hjHubeh}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_get_eee_err (C function)c.phylink_get_eee_errhNtauh1hhjhhhNhNubh)}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIhhhjIhM ubj)}(hphylink_get_eee_errh]j%)}(hphylink_get_eee_errh]hphylink_get_eee_err}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjIhhhjIhM ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(hhh]j%)}(hphylinkh]hphylink}(hj"JhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$JmodnameN classnameNjj!)}j$]j')}jjIsbc.phylink_get_eee_errasbuh1hhjJubj)}(h h]h }(hjBJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjPJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hplh]hpl}(hj]JhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubah}(h]h ]h"]h$]h&]j<j=uh1jhjIhhhjIhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIhhhjIhM ubah}(h]jIah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjIhM hjIhhubjS)}(hhh]jX)}(h0read the energy efficient ethernet error counterh]h0read the energy efficient ethernet error counter}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjJhhubah}(h]h ]h"]h$]h&]uh1jRhjIhhhjIhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{uh1hhhhjhNhNubj})}(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)}(hjJh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjJubj)}(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)}(hjJh]hstruct phylink *pl}(hjJhhhNhNubah}(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.chM hjJubj)}(hhh]jX)}(hQa pointer to a :c:type:`struct phylink ` returned from phylink_create().h](ha pointer to a }(hjJhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjJh]hstruct phylink}(hjJhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjJhM hjJubh returned from phylink_create().}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjJhM hjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhM hjJubah}(h]h ]h"]h$]h&]uh1jhjJubjX)}(h**Description**h]j)}(hj&Kh]h Description}(hj(KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Kubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjJubjX)}(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 }(hjh]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hplh]hpl}(hj"LhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(hstruct ethtool_keee *eeeh](h)}(hjh]hstruct}(hj;LhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7Lubj)}(h h]h }(hjHLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7Lubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hjYLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[LmodnameN classnameNjj!)}j$]jLc.phylink_ethtool_get_eeeasbuh1hhj7Lubj)}(h h]h }(hjwLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7Lubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7Lubj%)}(heeeh]heee}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7Lubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubeh}(h]h ]h"]h$]h&]j<j=uh1jhjKhhhjKhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKhhhjKhM ubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhM hjKhhubjS)}(hhh]jX)}(h-read the energy efficient ethernet parametersh]h-read the energy efficient ethernet parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjLhhubah}(h]h ]h"]h$]h&]uh1jRhjKhhhjKhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLjxjLjyjzj{uh1hhhhjhNhNubj})}(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)}(hjLh]h Parameters}(hjLhhhNhNubah}(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 hjLubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjLh]hstruct phylink *pl}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjLubj)}(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)}(hj Mh]hstruct phylink}(hj"MhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjMhM hjMubh returned from phylink_create()}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjMhM hjMubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjMhM hjLubj)}(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)}(hjYMh]hstruct ethtool_keee *eee}(hj[MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjSMubj)}(hhh]jX)}(hSa pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](ha pointer to a }(hjrMhhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hj|Mh]hstruct ethtool_keee}(hj~MhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjzMubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj ethtool_keeeuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjrMubh for the read parameters}(hjrMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjMhM hjoMubah}(h]h ]h"]h$]h&]uh1jhjSMubeh}(h]h ]h"]h$]h&]uh1jhjnMhM hjLubeh}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_set_eee (C function)c.phylink_ethtool_set_eeehNtauh1hhjhhhNhNubh)}(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}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhjMhM ubj)}(hphylink_ethtool_set_eeeh]j%)}(hphylink_ethtool_set_eeeh]hphylink_ethtool_set_eee}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhjMhM ubj)}(h.(struct phylink *pl, struct ethtool_keee *eee)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hj NhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(hphylinkh]hphylink}(hj1NhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.Nubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3NmodnameN classnameNjj!)}j$]j')}jjMsbc.phylink_ethtool_set_eeeasbuh1hhjNubj)}(h h]h }(hjQNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hj_NhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hplh]hpl}(hjlNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Nubj)}(hstruct ethtool_keee *eeeh](h)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]jMNc.phylink_ethtool_set_eeeasbuh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(heeeh]heee}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Nubeh}(h]h ]h"]h$]h&]j<j=uh1jhjMhhhjMhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMhhhjMhM ubah}(h]jMah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjMhM hjMhhubjS)}(hhh]jX)}(h,set the energy efficient ethernet parametersh]h,set the energy efficient ethernet parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjOhhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhjMhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhjhNhNubj})}(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)}(hj(Oh]h Parameters}(hj*OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Oubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj"Oubj)}(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)}(hjGOh]hstruct phylink *pl}(hjIOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjAOubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj`OhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjjOh]hstruct phylink}(hjlOhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjhOubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj\OhM hj`Oubh returned from phylink_create()}(hj`OhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj\OhM hj]Oubah}(h]h ]h"]h$]h&]uh1jhjAOubeh}(h]h ]h"]h$]h&]uh1jhj\OhM hj>Oubj)}(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)}(hjOh]hstruct ethtool_keee *eee}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjOubj)}(hhh]jX)}(hVa pointer to a :c:type:`struct ethtool_keee ` for the desired parametersh](ha pointer to a }(hjOhhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hjOh]hstruct ethtool_keee}(hjOhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj ethtool_keeeuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjOubh for the desired parameters}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjOhM hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhM hj>Oubeh}(h]h ]h"]h$]h&]uh1jhj"Oubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mii_ioctl (C function)c.phylink_mii_ioctlhNtauh1hhjhhhNhNubh)}(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}(hj PhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hj/PhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhhhj.PhM ubj)}(hphylink_mii_ioctlh]j%)}(hphylink_mii_ioctlh]hphylink_mii_ioctl}(hjAPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=Pubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPhhhj.PhM ubj)}(h0(struct phylink *pl, struct ifreq *ifr, int cmd)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj]PhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYPubj)}(h h]h }(hjjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYPubh)}(hhh]j%)}(hphylinkh]hphylink}(hj{PhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}PmodnameN classnameNjj!)}j$]j')}jjCPsbc.phylink_mii_ioctlasbuh1hhjYPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYPubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYPubj%)}(hplh]hpl}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUPubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubh)}(hhh]j%)}(hifreqh]hifreq}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]jPc.phylink_mii_ioctlasbuh1hhjPubj)}(h h]h }(hj QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPubj%)}(hifrh]hifr}(hj&QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUPubj)}(hint cmdh](j)}(hinth]hint}(hj?QhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;Qubj)}(h h]h }(hjMQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;Qubj%)}(hcmdh]hcmd}(hj[QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;Qubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUPubeh}(h]h ]h"]h$]h&]j<j=uh1jhjPhhhj.PhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhj.PhM ubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.PhM hjPhhubjS)}(hhh]jX)}(hgeneric mii ioctl interfaceh]hgeneric mii ioctl interface}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjQhhubah}(h]h ]h"]h$]h&]uh1jRhjPhhhj.PhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhjhNhNubj})}(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)}(hjQh]h Parameters}(hjQhhhNhNubah}(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 hjQubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjQh]hstruct phylink *pl}(hjQhhhNhNubah}(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 hjQubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjQhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjQh]hstruct phylink}(hjQhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjQhM hjQubh returned from phylink_create()}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjQhM hjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhM hjQubj)}(hV``struct ifreq *ifr`` a pointer to a :c:type:`struct ifreq ` for socket ioctls h](j)}(h``struct ifreq *ifr``h]j)}(hj"Rh]hstruct ifreq *ifr}(hj$RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Rubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjRubj)}(hhh]jX)}(h?a pointer to a :c:type:`struct ifreq ` for socket ioctlsh](ha pointer to a }(hj;RhhhNhNubh)}(h:c:type:`struct ifreq `h]j)}(hjERh]h struct ifreq}(hjGRhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjCRubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjifrequh1hhj7RhM hj;Rubh for socket ioctls}(hj;RhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj7RhM hj8Rubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhj7RhM hjQubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hj~Rh]hint cmd}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|Rubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjxRubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhM hjRubah}(h]h ]h"]h$]h&]uh1jhjxRubeh}(h]h ]h"]h$]h&]uh1jhjRhM hjQubeh}(h]h ]h"]h$]h&]uh1jhjQubjX)}(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:150: ./drivers/net/phy/phylink.chM hjQubjX)}(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 }(hjRhhhNhNubj)}(h**pl**h]hpl}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh9. If no PHY is attached, emulate the presence of the PHY.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjQubj)}(hhh](j)}(h4``SIOCGMIIPHY``: read register from the current PHY.h](j)}(h``SIOCGMIIPHY``:h](j)}(h``SIOCGMIIPHY``h]h SIOCGMIIPHY}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh:}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjRubj)}(hhh]jX)}(h#read register from the current PHY.h]h#read register from the current PHY.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjSubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjShM hjRubj)}(h6``SIOCGMIIREG``: read register from the specified PHY.h](j)}(h``SIOCGMIIREG``:h](j)}(h``SIOCGMIIREG``h]h SIOCGMIIREG}(hj:ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Subh:}(hj6ShhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj2Subj)}(hhh]jX)}(h%read register from the specified PHY.h]h%read register from the specified PHY.}(hjVShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjSSubah}(h]h ]h"]h$]h&]uh1jhj2Subeh}(h]h ]h"]h$]h&]uh1jhjRShM hjRubj)}(h6``SIOCSMIIREG``: set a register on the specified PHY. h](j)}(h``SIOCSMIIREG``:h](j)}(h``SIOCSMIIREG``h]h SIOCSMIIREG}(hjyShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuSubh:}(hjuShhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjqSubj)}(hhh]jX)}(h$set a register on the specified PHY.h]h$set a register on the specified PHY.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM hjSubah}(h]h ]h"]h$]h&]uh1jhjqSubeh}(h]h ]h"]h$]h&]uh1jhjShM hjRubeh}(h]h ]h"]h$]h&]uh1jhjQubjX)}(h **Return**h]j)}(hjSh]hReturn}(hjShhhNhNubah}(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.chM hjQubjX)}(h'zero on success or negative error code.h]h'zero on success or negative error code.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjQubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_speed_down (C function)c.phylink_speed_downhNtauh1hhjhhhNhNubh)}(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}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hj ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjShhhj ThM ubj)}(hphylink_speed_downh]j%)}(hphylink_speed_downh]hphylink_speed_down}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjShhhj ThM ubj)}(h(struct phylink *pl, bool sync)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj9ThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5Tubj)}(h h]h }(hjFThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5Tubh)}(hhh]j%)}(hphylinkh]hphylink}(hjWThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYTmodnameN classnameNjj!)}j$]j')}jjTsbc.phylink_speed_downasbuh1hhj5Tubj)}(h h]h }(hjwThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5Tubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5Tubj%)}(hplh]hpl}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5Tubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1Tubj)}(h bool synch](j)}(hjTh]hbool}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(hsynch]hsync}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1Tubeh}(h]h ]h"]h$]h&]j<j=uh1jhjShhhj ThM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjShhhj ThM ubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj ThM hjShhubjS)}(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}(hjThhhNhNubah}(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&]uh1jRhjShhhj ThM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhjhNhNubj})}(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)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj Uubj)}(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)}(hj1Uh]hstruct phylink *pl}(hj3UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Uubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj+Uubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjJUhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjTUh]hstruct phylink}(hjVUhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjRUubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjFUhM hjJUubh returned from phylink_create()}(hjJUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjFUhM hjGUubah}(h]h ]h"]h$]h&]uh1jhj+Uubeh}(h]h ]h"]h$]h&]uh1jhjFUhM hj(Uubj)}(h+``bool sync`` perform action synchronously h](j)}(h ``bool sync``h]j)}(hjUh]h bool sync}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjUubj)}(hhh]jX)}(hperform action synchronouslyh]hperform action synchronously}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhM hjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhM hj(Uubeh}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj UubjX)}(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 }(hjUhhhNhNubj)}(h**sync**h]hsync}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh parameter.}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj UubjX)}(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().}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj Uubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_speed_up (C function)c.phylink_speed_uphNtauh1hhjhhhNhNubh)}(hhh](h)}(h)int phylink_speed_up (struct phylink *pl)h]h)}(h(int phylink_speed_up(struct phylink *pl)h](j)}(hinth]hint}(hj.VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*VhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hj=VhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*Vhhhjh]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgVubj%)}(hplh]hpl}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcVubah}(h]h ]h"]h$]h&]j<j=uh1jhj*Vhhhj` 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)}(hjWh]h Parameters}(hjWhhhNhNubah}(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.chMhj Wubj)}(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/Wh]hstruct phylink *pl}(hj1WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Wubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj)Wubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjHWhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjRWh]hstruct phylink}(hjTWhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjPWubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjDWhMhjHWubh returned from phylink_create()}(hjHWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjDWhMhjEWubah}(h]h ]h"]h$]h&]uh1jhj)Wubeh}(h]h ]h"]h$]h&]uh1jhjDWhMhj&Wubah}(h]h ]h"]h$]h&]uh1jhj WubjX)}(h**Description**h]j)}(hjWh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj WubjX)}(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().}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj WubjX)}(hAReturns zero if there is no PHY, otherwise as per phy_speed_up().h]hAReturns zero if there is no PHY, otherwise as per phy_speed_up().}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj Wubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_decode_usxgmii_word (C function)c.phylink_decode_usxgmii_wordhNtauh1hhjhhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjWhMubj)}(hphylink_decode_usxgmii_wordh]j%)}(hphylink_decode_usxgmii_wordh]hphylink_decode_usxgmii_word}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjWhMubj)}(h0(struct phylink_link_state *state, uint16_t lpa)h](j)}(h struct phylink_link_state *stateh](h)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hj+XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hjXmodnameN classnameNjj!)}j$]j')}jjXsbc.phylink_decode_usxgmii_wordasbuh1hhjXubj)}(h h]h }(hj\XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hjjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hstateh]hstate}(hjwXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(h uint16_t lpah](h)}(hhh]j%)}(huint16_th]huint16_t}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]jXXc.phylink_decode_usxgmii_wordasbuh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(hlpah]hlpa}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubeh}(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&decode the USXGMII word from a MAC PCSh]h&decode the USXGMII 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.chMhjXhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjWhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct phylink_link_state *state`` a pointer to a struct phylink_link_state. ``uint16_t lpa`` a 16 bit value which stores the USXGMII auto-negotiation word **Description** Helper for MAC PCS supporting the USXGMII protocol and the auto-negotiation code word. Decode the USXGMII code word and populate the corresponding fields (speed, duplex) into the phylink_link_state structure.h](jX)}(h**Parameters**h]j)}(hj Yh]h Parameters}(hj YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Yubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjYubj)}(hhh](j)}(hO``struct phylink_link_state *state`` a pointer to a struct phylink_link_state. h](j)}(h$``struct phylink_link_state *state``h]j)}(hj*Yh]h struct phylink_link_state *state}(hj,YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(Yubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj$Yubj)}(hhh]jX)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hjCYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?YhMhj@Yubah}(h]h ]h"]h$]h&]uh1jhj$Yubeh}(h]h ]h"]h$]h&]uh1jhj?YhMhj!Yubj)}(hO``uint16_t lpa`` a 16 bit value which stores the USXGMII auto-negotiation word h](j)}(h``uint16_t lpa``h]j)}(hjcYh]h uint16_t lpa}(hjeYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj]Yubj)}(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|YhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxYhMhjyYubah}(h]h ]h"]h$]h&]uh1jhj]Yubeh}(h]h ]h"]h$]h&]uh1jhjxYhMhj!Yubeh}(h]h ]h"]h$]h&]uh1jhjYubjX)}(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:150: ./drivers/net/phy/phylink.chMhjYubjX)}(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.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_decode_usgmii_word (C function)c.phylink_decode_usgmii_wordhNtauh1hhjhhhNhNubh)}(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}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjYhMubj)}(hphylink_decode_usgmii_wordh]j%)}(hphylink_decode_usgmii_wordh]hphylink_decode_usgmii_word}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjYhMubj)}(h0(struct phylink_link_state *state, uint16_t lpa)h](j)}(h struct phylink_link_state *stateh](h)}(hjh]hstruct}(hj ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hj-ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hj>ZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;Zubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@ZmodnameN classnameNjj!)}j$]j')}jjZsbc.phylink_decode_usgmii_wordasbuh1hhjZubj)}(h h]h }(hj^ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjlZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hstateh]hstate}(hjyZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubj)}(h uint16_t lpah](h)}(hhh]j%)}(huint16_th]huint16_t}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]jZZc.phylink_decode_usgmii_wordasbuh1hhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj%)}(hlpah]hlpa}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubeh}(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%decode the USGMII word from a MAC PCSh]h%decode the USGMII word from a MAC PCS}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jRhjYhhhjYhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[jxj[jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct phylink_link_state *state`` a pointer to a struct phylink_link_state. ``uint16_t lpa`` a 16 bit value which stores the USGMII auto-negotiation word **Description** Helper for MAC PCS supporting the USGMII protocol and the auto-negotiation code word. Decode the USGMII code word and populate the corresponding fields (speed, duplex) into the phylink_link_state structure. The structure for this word is the same as the USXGMII word, except it only supports speeds up to 1Gbps.h](jX)}(h**Parameters**h]j)}(hj [h]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj [ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj[ubj)}(hhh](j)}(hO``struct phylink_link_state *state`` a pointer to a struct phylink_link_state. h](j)}(h$``struct phylink_link_state *state``h]j)}(hj,[h]h struct phylink_link_state *state}(hj.[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*[ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj&[ubj)}(hhh]jX)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(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)}(hN``uint16_t lpa`` a 16 bit value which stores the USGMII auto-negotiation word h](j)}(h``uint16_t lpa``h]j)}(hje[h]h uint16_t lpa}(hjg[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc[ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj_[ubj)}(hhh]jX)}(hh]h*}(hjn\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\ubj%)}(hstateh]hstate}(hj{\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\ubj)}(hunsigned int neg_modeh](j)}(hunsignedh]hunsigned}(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)}(hu16 bmsrh](h)}(hhh]j%)}(hu16h]hu16}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\modnameN classnameNjj!)}j$]j\\"c.phylink_mii_c22_pcs_decode_stateasbuh1hhj\ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj%)}(hbmsrh]hbmsr}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\ubj)}(hu16 lpah](h)}(hhh]j%)}(hu16h]hu16}(hj0]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2]modnameN classnameNjj!)}j$]j\\"c.phylink_mii_c22_pcs_decode_stateasbuh1hhj)]ubj)}(h h]h }(hjN]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)]ubj%)}(hlpah]hlpa}(hj\]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj[hhhj[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'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.chM"hj]hhubah}(h]h ]h"]h$]h&]uh1jRhj[hhhj[hM"ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]jxj]jyjzj{uh1hhhhjhNhNubj})}(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)}(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)}(hn``struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. h](j)}(h$``struct phylink_link_state *state``h]j)}(hj]h]h struct phylink_link_state *state}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM#hj]ubj)}(hhh]jX)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hj]hhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hj]h]hstruct phylink_link_state}(hj]hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhj]hM#hj]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#hj]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.chM$hj^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&]uh1jWhj8^hM$hj9^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj8^hM$hj]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&]uh1jhjZ^ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM%hjV^ubj)}(hhh]jX)}(h&The value of the ``MII_BMSR`` registerh](hThe value of the }(hju^hhhNhNubj)}(h ``MII_BMSR``h]hMII_BMSR}(hj}^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju^ubh register}(hju^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjq^hM%hjr^ubah}(h]h ]h"]h$]h&]uh1jhjV^ubeh}(h]h ]h"]h$]h&]uh1jhjq^hM%hj]ubj)}(h2``u16 lpa`` The value of the ``MII_LPA`` register h](j)}(h ``u16 lpa``h]j)}(hj^h]hu16 lpa}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM&hj^ubj)}(hhh]jX)}(h%The value of the ``MII_LPA`` registerh](hThe value of the }(hj^hhhNhNubj)}(h ``MII_LPA``h]hMII_LPA}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh register}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj^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&]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}(hj3_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh and }(hj_hhhNhNubj)}(h**lpa**h]hlpa}(hjE_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.chM*hj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_mii_c22_pcs_get_state (C function)c.phylink_mii_c22_pcs_get_statehNtauh1hhjhhhNhNubh)}(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&]uh1jhjz_hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMbubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjz_hhhj_hMbubj)}(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=uh1jhjz_hhhj_hMbubj)}(hR(struct mdio_device *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j)}(hstruct mdio_device *pcsh](h)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(h mdio_deviceh]h mdio_device}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j')}jj_sbc.phylink_mii_c22_pcs_get_stateasbuh1hhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_ubj%)}(hpcsh]hpcs}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=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}(hjI`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)`ubj)}(h h]h }(hjW`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)`ubj%)}(hneg_modeh]hneg_mode}(hje`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&]uh1hhjz`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjz`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_stateasbuh1hhjz`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%)}(hstateh]hstate}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjz`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjz_hhhj_hMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjv_hhhj_hMbubah}(h]jq_ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj_hMbhjs_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.chMbhj`hhubah}(h]h ]h"]h$]h&]uh1jRhjs_hhhj_hMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhjhNhNubj})}(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!ah]h Parameters}(hj#ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMfhjaubj)}(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@ah]hstruct mdio_device *pcs}(hjBahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>aubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMchj:aubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hjYahhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hjcah]hstruct mdio_device}(hjeahhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjaaubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj mdio_deviceuh1hhjUahMchjYaubh.}(hjYahhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjUahMchjVaubah}(h]h ]h"]h$]h&]uh1jhj:aubeh}(h]h ]h"]h$]h&]uh1jhjUahMchj7aubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hjah]hunsigned int neg_mode}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMdhjaubj)}(hhh]jX)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMdhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMdhj7aubj)}(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)}(hjah]h struct phylink_link_state *state}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMehjaubj)}(hhh]jX)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hjahhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjah]hstruct phylink_link_state}(hjahhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhjahMehjaubh.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjahMehjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMehj7aubeh}(h]h ]h"]h$]h&]uh1jhjaubjX)}(h**Description**h]j)}(hj3bh]h Description}(hj5bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1bubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMghjaubjX)}(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.}(hjIbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMfhjaubjX)}(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 }(hjXbhhhNhNubj)}(h **config**h]hconfig}(hj`bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXbubhW and parse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink }(hjXbhhhNhNubj)}(h **state**h]hstate}(hjrbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXbubh| structure. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.}(hjXbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMihjaubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h5phylink_mii_c22_pcs_encode_advertisement (C function)*c.phylink_mii_c22_pcs_encode_advertisementhNtauh1hhjhhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjbhMubj)}(h(phylink_mii_c22_pcs_encode_advertisementh]j%)}(h(phylink_mii_c22_pcs_encode_advertisementh]h(phylink_mii_c22_pcs_encode_advertisement}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbhhhjbhMubj)}(h=(phy_interface_t interface, const unsigned long *advertising)h](j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]j')}jjbsb*c.phylink_mii_c22_pcs_encode_advertisementasbuh1hhjbubj)}(h h]h }(hj chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj%)}(h interfaceh]h interface}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(h const unsigned long *advertisingh](h)}(hjh]hconst}(hj2chhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.cubj)}(h h]h }(hj?chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.cubj)}(hunsignedh]hunsigned}(hjMchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.cubj)}(h h]h }(hj[chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.cubj)}(hlongh]hlong}(hjichhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.cubj)}(h h]h }(hjwchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.cubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.cubj%)}(h advertisingh]h advertising}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.cubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubeh}(h]h ]h"]h$]h&]j<j=uh1jhjbhhhjbhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjbhMubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhMhjbhhubjS)}(hhh]jX)}(h)configure the clause 37 PCS advertisementh]h)configure the clause 37 PCS advertisement}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjchhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhjbhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhjhNhNubj})}(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)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjcubj)}(hhh](j)}(hF``phy_interface_t interface`` the PHY interface mode being configured h](j)}(h``phy_interface_t interface``h]j)}(hjch]hphy_interface_t interface}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjcubj)}(hhh]jX)}(h'the PHY interface mode being configuredh]h'the PHY interface mode being configured}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjcubj)}(hD``const unsigned long *advertising`` the ethtool advertisement mask h](j)}(h$``const unsigned long *advertising``h]j)}(hj6dh]h const unsigned long *advertising}(hj8dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4dubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj0dubj)}(hhh]jX)}(hthe ethtool advertisement maskh]hthe ethtool advertisement mask}(hjOdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKdhMhjLdubah}(h]h ]h"]h$]h&]uh1jhj0dubeh}(h]h ]h"]h$]h&]uh1jhjKdhMhjcubeh}(h]h ]h"]h$]h&]uh1jhjcubjX)}(h**Description**h]j)}(hjqdh]h Description}(hjsdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjodubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjcubjX)}(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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjcubjX)}(hYEncode the clause 37 PCS advertisement as specified by **interface** and **advertising**.h](h7Encode the clause 37 PCS advertisement as specified by }(hjdhhhNhNubj)}(h **interface**h]h interface}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh and }(hjdhhhNhNubj)}(h**advertising**h]h advertising}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjcubjX)}(h **Return**h]j)}(hjdh]hReturn}(hjdhhhNhNubah}(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.chMhjcubjX)}(hFThe new value for **adv**, or ``-EINVAL`` if it should not be changed.h](hThe new value for }(hjdhhhNhNubj)}(h**adv**h]hadv}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh, or }(hjdhhhNhNubj)}(h ``-EINVAL``h]h-EINVAL}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh if it should not be changed.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_mii_c22_pcs_config (C function)c.phylink_mii_c22_pcs_confighNtauh1hhjhhhNhNubh)}(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}(hj4ehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ehhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjCehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ehhhjBehMubj)}(hphylink_mii_c22_pcs_configh]j%)}(hphylink_mii_c22_pcs_configh]hphylink_mii_c22_pcs_config}(hjUehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0ehhhjBehMubj)}(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}(hjqehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmeubj)}(h h]h }(hj~ehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmeubh)}(hhh]j%)}(h mdio_deviceh]h mdio_device}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j')}jjWesbc.phylink_mii_c22_pcs_configasbuh1hhjmeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmeubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmeubj%)}(hpcsh]hpcs}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjieubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]jec.phylink_mii_c22_pcs_configasbuh1hhjeubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj%)}(h interfaceh]h interface}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjieubj)}(h const unsigned long *advertisingh](h)}(hjh]hconst}(hj+fhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'fubj)}(h h]h }(hj8fhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'fubj)}(hunsignedh]hunsigned}(hjFfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'fubj)}(h h]h }(hjTfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'fubj)}(hlongh]hlong}(hjbfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'fubj)}(h h]h }(hjpfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'fubj;)}(hj>h]h*}(hj~fhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'fubj%)}(h advertisingh]h advertising}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'fubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjieubj)}(hunsigned int neg_modeh](j)}(hunsignedh]hunsigned}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj%)}(hneg_modeh]hneg_mode}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjieubeh}(h]h ]h"]h$]h&]j<j=uh1jhj0ehhhjBehMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,ehhhjBehMubah}(h]j'eah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjBehMhj)ehhubjS)}(hhh]jX)}(hconfigure clause 22 PCSh]hconfigure clause 22 PCS}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjghhubah}(h]h ]h"]h$]h&]uh1jRhj)ehhhjBehMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjgjxjgjyjzj{uh1hhhhjhNhNubj})}(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(gh]h Parameters}(hj*ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&gubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj"gubj)}(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)}(hjGgh]hstruct mdio_device *pcs}(hjIghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEgubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjAgubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hj`ghhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hjjgh]hstruct mdio_device}(hjlghhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjhgubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj mdio_deviceuh1hhj\ghMhj`gubh.}(hj`ghhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj\ghMhj]gubah}(h]h ]h"]h$]h&]uh1jhjAgubeh}(h]h ]h"]h$]h&]uh1jhj\ghMhj>gubj)}(hF``phy_interface_t interface`` the PHY interface mode being configured h](j)}(h``phy_interface_t interface``h]j)}(hjgh]hphy_interface_t interface}(hjghhhNhNubah}(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.chMhjgubj)}(hhh]jX)}(h'the PHY interface mode being configuredh]h'the PHY interface mode being configured}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMhjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMhj>gubj)}(hD``const unsigned long *advertising`` the ethtool advertisement mask h](j)}(h$``const unsigned long *advertising``h]j)}(hjgh]h const unsigned long *advertising}(hjghhhNhNubah}(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.chMhjgubj)}(hhh]jX)}(hthe ethtool advertisement maskh]hthe ethtool advertisement mask}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMhjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMhj>gubj)}(h/``unsigned int neg_mode`` PCS negotiation mode h](j)}(h``unsigned int neg_mode``h]j)}(hjhh]hunsigned int neg_mode}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhubj)}(hhh]jX)}(hPCS negotiation modeh]hPCS negotiation mode}(hj.hhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hhMhj+hubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhj*hhMhj>gubeh}(h]h ]h"]h$]h&]uh1jhj"gubjX)}(h**Description**h]j)}(hjPhh]h Description}(hjRhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNhubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj"gubjX)}(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 }(hjfhhhhNhNubj)}(h**mode**h]hmode}(hjnhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfhubh, }(hjfhhhhNhNubj)}(h **interface**h]h interface}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfhubh and }(hjfhhhhNhNubj)}(h**advertising**h]h advertising}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfhubh parameters. Returns negative error number on failure, zero if the advertisement has not changed, or positive if there is a change.}(hjfhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj"gubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_mii_c22_pcs_an_restart (C function) c.phylink_mii_c22_pcs_an_restarthNtauh1hhjhhhNhNubh)}(hhh](h)}(h=void phylink_mii_c22_pcs_an_restart (struct mdio_device *pcs)h]h)}(hh]h*}(hjTihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hpcsh]hpcs}(hjaihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubah}(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)}(hrestart 802.3z autonegotiationh]hrestart 802.3z autonegotiation}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjihhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjhhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhjhNhNubj})}(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)}(hjih]h Parameters}(hjihhhNhNubah}(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.chMhjiubj)}(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)}(hjih]hstruct mdio_device *pcs}(hjihhhNhNubah}(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.chMhjiubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hjihhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hjih]hstruct mdio_device}(hjihhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj mdio_deviceuh1hhjihMhjiubh.}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubjX)}(h**Description**h]j)}(hj*jh]h Description}(hj,jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(jubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjiubjX)}(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@jhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjiubjX)}(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.}(hjOjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubeh}(h]phylinkah ]h"]phylinkah$]h&]uh1hhj-hhhhhKubh)}(hhh](h)}(h SFP supporth]h SFP support}(hjpjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmjhhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus (C struct) c.sfp_bushNtauh1hhjmjhhhNhNubh)}(hhh](h)}(hsfp_bush]h)}(hstruct sfp_bush](h)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhjjhKubj)}(hsfp_bush]j%)}(hjjh]hsfp_bus}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjjhhhjjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjjhhhjjhKubah}(h]jjah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjhKhjjhhubjS)}(hhh]jX)}(h$internal representation of a sfp bush]h$internal representation of a sfp bus}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhjjhhubah}(h]h ]h"]h$]h&]uh1jRhjjhhhjjhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjjxjjjyjzj{uh1hhhhjmjhNhNubj})}(h6**Definition**:: struct sfp_bus { }; **Members**h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh:}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhjjubjU)}(hstruct sfp_bus { };h]hstruct sfp_bus { };}hjksbah}(h]h ]h"]h$]h&]j<j=uh1jThZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhjjubjX)}(h **Members**h]j)}(hj'kh]hMembers}(hj)khhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%kubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_eeprom_id (C struct)c.sfp_eeprom_idhNtauh1hhjmjhhhNhNubh)}(hhh](h)}(h sfp_eeprom_idh]h)}(hstruct sfp_eeprom_idh](h)}(hjh]hstruct}(hj]khhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYkhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj)}(h h]h }(hjkkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYkhhhjjkhKubj)}(h sfp_eeprom_idh]j%)}(hjWkh]h sfp_eeprom_id}(hj}khhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjykubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYkhhhjjkhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUkhhhjjkhKubah}(h]jPkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjjkhKhjRkhhubjS)}(hhh]jX)}(h)raw SFP module identification informationh]h)raw SFP module identification information}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjkhhubah}(h]h ]h"]h$]h&]uh1jRhjRkhhhjjkhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjkjxjkjyjzj{uh1hhhhjmjhNhNubj})}(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}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh:}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjkubjU)}(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; };}hjksbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjkubjX)}(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:158: ./include/linux/sfp.hhKhjkubj)}(hhh](j)}(h2``base`` base SFP module identification structure h](j)}(h``base``h]j)}(hj lh]hbase}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj lubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjlubj)}(hhh]jX)}(h(base SFP module identification structureh]h(base SFP module identification structure}(hj%lhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!lhKhj"lubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhj!lhKhjlubj)}(h4``ext`` extended SFP module identification structureh](j)}(h``ext``h]j)}(hjElh]hext}(hjGlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjClubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj?lubj)}(hhh]jX)}(h,extended SFP module identification structureh]h,extended SFP module identification structure}(hj^lhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj[lubah}(h]h ]h"]h$]h&]uh1jhj?lubeh}(h]h ]h"]h$]h&]uh1jhjZlhKhjlubeh}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubjX)}(h**Description**h]j)}(hjlh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjmjhhubjX)}(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 }(hjlhhhNhNubh reference)}(h>https://www.snia.org/technology-communities/sff/specificationsh]h>https://www.snia.org/technology-communities/sff/specifications}(hjlhhhNhNubah}(h]h ]h"]h$]h&]refurijluh1jlhjlubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjmjhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_module_caps (C struct)c.sfp_module_capshNtauh1hhjmjhhhNhNubh)}(hhh](h)}(hsfp_module_capsh]h)}(hstruct sfp_module_capsh](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhjlhKubj)}(hsfp_module_capsh]j%)}(hjlh]hsfp_module_caps}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlhhhjlhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjlhKubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhKhjlhhubjS)}(hhh]jX)}(hsfp module capabilitiesh]hsfp module capabilities}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM hjmhhubah}(h]h ]h"]h$]h&]uh1jRhjlhhhjlhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj1mjxj1mjyjzj{uh1hhhhjmjhNhNubj})}(hX**Definition**:: struct sfp_module_caps { unsigned long interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long link_modes[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; bool may_have_phy; u8 port; }; **Members** ``interfaces`` bitmap of interfaces that the module may support ``link_modes`` bitmap of ethtool link modes that the module may support ``may_have_phy`` indicate whether the module may have an ethernet PHY There is no way to be sure that a module has a PHY as the EEPROM doesn't contain this information. When set, this does not mean that the module definitely has a PHY. ``port`` one of ethtool ``PORT_*`` definitions, parsed from the module EEPROM, or ``PORT_OTHER`` if the port type is not known.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj=mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9mubh:}(hj9mhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj5mubjU)}(hstruct sfp_module_caps { unsigned long interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long link_modes[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; bool may_have_phy; u8 port; };h]hstruct sfp_module_caps { unsigned long interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long link_modes[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; bool may_have_phy; u8 port; };}hjVmsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj5mubjX)}(h **Members**h]j)}(hjgmh]hMembers}(hjimhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjemubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj5mubj)}(hhh](j)}(h@``interfaces`` bitmap of interfaces that the module may support h](j)}(h``interfaces``h]j)}(hjmh]h interfaces}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjmubj)}(hhh]jX)}(h0bitmap of interfaces that the module may supporth]h0bitmap of interfaces that the module may support}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhj}mubj)}(hH``link_modes`` bitmap of ethtool link modes that the module may support h](j)}(h``link_modes``h]j)}(hjmh]h link_modes}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjmubj)}(hhh]jX)}(h8bitmap of ethtool link modes that the module may supporth]h8bitmap of ethtool link modes that the module may support}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhj}mubj)}(h``may_have_phy`` indicate whether the module may have an ethernet PHY There is no way to be sure that a module has a PHY as the EEPROM doesn't contain this information. When set, this does not mean that the module definitely has a PHY. h](j)}(h``may_have_phy``h]j)}(hjmh]h may_have_phy}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjmubj)}(hhh]jX)}(hindicate whether the module may have an ethernet PHY There is no way to be sure that a module has a PHY as the EEPROM doesn't contain this information. When set, this does not mean that the module definitely has a PHY.h]hindicate whether the module may have an ethernet PHY There is no way to be sure that a module has a PHY as the EEPROM doesn’t contain this information. When set, this does not mean that the module definitely has a PHY.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjnubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhj nhMhj}mubj)}(h``port`` one of ethtool ``PORT_*`` definitions, parsed from the module EEPROM, or ``PORT_OTHER`` if the port type is not known.h](j)}(h``port``h]j)}(hj2nh]hport}(hj4nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0nubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj,nubj)}(hhh]jX)}(hvone of ethtool ``PORT_*`` definitions, parsed from the module EEPROM, or ``PORT_OTHER`` if the port type is not known.h](hone of ethtool }(hjKnhhhNhNubj)}(h ``PORT_*``h]hPORT_*}(hjSnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKnubh0 definitions, parsed from the module EEPROM, or }(hjKnhhhNhNubj)}(h``PORT_OTHER``h]h PORT_OTHER}(hjenhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKnubh if the port type is not known.}(hjKnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjGnhMhjHnubah}(h]h ]h"]h$]h&]uh1jhj,nubeh}(h]h ]h"]h$]h&]uh1jhjGnhMhj}mubeh}(h]h ]h"]h$]h&]uh1jhj5mubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_ops (C struct)c.sfp_upstream_opshNtauh1hhjmjhhhNhNubh)}(hhh](h)}(hsfp_upstream_opsh]h)}(hstruct sfp_upstream_opsh](h)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM$ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhjnhM$ubj)}(hsfp_upstream_opsh]j%)}(hjnh]hsfp_upstream_ops}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjnhhhjnhM$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjnhM$ubah}(h]jnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhM$hjnhhubjS)}(hhh]jX)}(hupstream operations structureh]hupstream operations structure}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM#hjnhhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjnhM$ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj ojxj ojyjzj{uh1hhhhjmjhNhNubj})}(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}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh:}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM'hj oubjU)}(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 *); };}hj.osbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM)hj oubjX)}(h **Members**h]j)}(hj?oh]hMembers}(hjAohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=oubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM6hj oubj)}(hhh](j)}(hS``attach`` called when the sfp socket driver is bound to the upstream (mandatory). h](j)}(h ``attach``h]j)}(hj^oh]hattach}(hj`ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\oubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM&hjXoubj)}(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).}(hjwohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM%hjtoubah}(h]h ]h"]h$]h&]uh1jhjXoubeh}(h]h ]h"]h$]h&]uh1jhjsohM&hjUoubj)}(hW``detach`` called when the sfp socket driver is unbound from the upstream (mandatory). h](j)}(h ``detach``h]j)}(hjoh]hdetach}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM(hjoubj)}(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).}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM'hjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohM(hjUoubj)}(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)}(hjoh]h module_insert}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM*hjoubj)}(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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM)hjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohM*hjUoubj)}(h<``module_remove`` called after the module has been removed. h](j)}(h``module_remove``h]j)}(hj ph]h module_remove}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj pubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM+hjpubj)}(hhh]jX)}(h)called after the module has been removed.h]h)called after the module has been removed.}(hj%phhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!phM+hj"pubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhj!phM+hjUoubj)}(h1``module_start`` called after the PHY probe step h](j)}(h``module_start``h]j)}(hjEph]h module_start}(hjGphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM,hj?pubj)}(hhh]jX)}(hcalled after the PHY probe steph]hcalled after the PHY probe step}(hj^phhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZphM,hj[pubah}(h]h ]h"]h$]h&]uh1jhj?pubeh}(h]h ]h"]h$]h&]uh1jhjZphM,hjUoubj)}(h1``module_stop`` called before the PHY is removed h](j)}(h``module_stop``h]j)}(hj~ph]h module_stop}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|pubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM-hjxpubj)}(hhh]jX)}(h called before the PHY is removedh]h called before the PHY is removed}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphM-hjpubah}(h]h ]h"]h$]h&]uh1jhjxpubeh}(h]h ]h"]h$]h&]uh1jhjphM-hjUoubj)}(hK``link_down`` called when the link is non-operational for whatever reason. h](j)}(h ``link_down``h]j)}(hjph]h link_down}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM/hjpubj)}(hhh]jX)}(hh]h*}(hjYrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj rubj%)}(hbush]hbus}(hjfrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(hconst unsigned long *link_modesh](h)}(hjh]hconst}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{rubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{rubj)}(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%)}(h link_modesh]h link_modes}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubeh}(h]h ]h"]h$]h&]j<j=uh1jhjqhhhjqhMMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjqhMMubah}(h]jqah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjqhMMhjqhhubjS)}(hhh]jX)}(h'Select appropriate phy_interface_t modeh]h'Select appropriate phy_interface_t mode}(hj shhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMMhjshhubah}(h]h ]h"]h$]h&]uh1jRhjqhhhjqhMMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!sjxj!sjyjzj{uh1hhhhjmjhNhNubj})}(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+sh]h Parameters}(hj-shhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)subah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQhj%subj)}(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)}(hjJsh]hstruct sfp_bus *bus}(hjLshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHsubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMNhjDsubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjcshhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjmsh]hstruct sfp_bus}(hjoshhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjksubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj_shMNhjcsubh structure for the sfp module}(hjcshhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj_shMNhj`subah}(h]h ]h"]h$]h&]uh1jhjDsubeh}(h]h ]h"]h$]h&]uh1jhj_shMNhjAsubj)}(h<``const unsigned long *link_modes`` ethtool link modes mask h](j)}(h#``const unsigned long *link_modes``h]j)}(hjsh]hconst unsigned long *link_modes}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMOhjsubj)}(hhh]jX)}(hethtool link modes maskh]hethtool link modes mask}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMOhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMOhjAsubeh}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQhj%subjX)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMPhj%subeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus_put (C function) c.sfp_bus_puthNtauh1hhjmjhhhNhNubh)}(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&thhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"thhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hj5thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"thhhj4thMubj)}(h sfp_bus_puth]j%)}(h sfp_bus_puth]h sfp_bus_put}(hjGthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCtubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"thhhj4thMubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjcthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_tubj)}(h h]h }(hjpthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_tubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~tubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]j')}jjItsb c.sfp_bus_putasbuh1hhj_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%)}(hbush]hbus}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_tubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[tubah}(h]h ]h"]h$]h&]j<j=uh1jhj"thhhj4thMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjthhhj4thMubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4thMhjthhubjS)}(hhh]jX)}(h9put a reference on the :c:type:`struct sfp_bus `h](hput a reference on the }(hjthhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjth]hstruct sfp_bus}(hjthhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]jt c.sfp_bus_putasbjsfp_busuh1hhjqhMMhjtubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjthhubah}(h]h ]h"]h$]h&]uh1jRhjthhhj4thMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"ujxj"ujyjzj{uh1hhhhjmjhNhNubj})}(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,uh]h Parameters}(hj.uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*uubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj&uubj)}(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)}(hjKuh]hstruct sfp_bus *bus}(hjMuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIuubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjEuubj)}(hhh]jX)}(hFthe :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode()h](hthe }(hjduhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjnuh]hstruct sfp_bus}(hjpuhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjluubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj`uhMhjduubh found via sfp_bus_find_fwnode()}(hjduhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj`uhMhjauubah}(h]h ]h"]h$]h&]uh1jhjEuubeh}(h]h ]h"]h$]h&]uh1jhj`uhMhjBuubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj&uubjX)}(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 }(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_busuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjuubhB and free the underlying structure if this was the last reference.}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjuhMhj&uubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_get_module_info (C function)c.sfp_get_module_infohNtauh1hhjmjhhhNhNubh)}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj vhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hj vhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj vhhhjvhMubj)}(hsfp_get_module_infoh]j%)}(hsfp_get_module_infoh]hsfp_get_module_info}(hj2vhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.vubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj vhhhjvhMubj)}(h6(struct sfp_bus *bus, struct ethtool_modinfo *modinfo)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjNvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJvubj)}(h h]h }(hj[vhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJvubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjlvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjivubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnvmodnameN classnameNjj!)}j$]j')}jj4vsbc.sfp_get_module_infoasbuh1hhjJvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJvubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJvubj%)}(hbush]hbus}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFvubj)}(hstruct ethtool_modinfo *modinfoh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(hethtool_modinfoh]hethtool_modinfo}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]jvc.sfp_get_module_infoasbuh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hj whhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hmodinfoh]hmodinfo}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFvubeh}(h]h ]h"]h$]h&]j<j=uh1jhj vhhhjvhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj vhhhjvhMubah}(h]jvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhMhjvhhubjS)}(hhh]jX)}(h(Get the ethtool_modinfo for a SFP moduleh]h(Get the ethtool_modinfo for a SFP module}(hjAwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj>whhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhjvhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYwjxjYwjyjzj{uh1hhhhjmjhNhNubj})}(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)}(hjcwh]h Parameters}(hjewhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjawubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj]wubj)}(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)}(hjwh]hstruct sfp_bus *bus}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj|wubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjwhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjwh]hstruct sfp_bus}(hjwhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjwhMhjwubh structure for the sfp module}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhj|wubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjywubj)}(hY``struct ethtool_modinfo *modinfo`` a :c:type:`struct ethtool_modinfo ` h](j)}(h#``struct ethtool_modinfo *modinfo``h]j)}(hjwh]hstruct ethtool_modinfo *modinfo}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjwubj)}(hhh]jX)}(h4a :c:type:`struct ethtool_modinfo `h](ha }(hjwhhhNhNubh)}(h2:c:type:`struct ethtool_modinfo `h]j)}(hjxh]hstruct ethtool_modinfo}(hjxhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_modinfouh1hhjwhMhjwubeh}(h]h ]h"]h$]h&]uh1jWhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjywubeh}(h]h ]h"]h$]h&]uh1jhj]wubjX)}(h**Description**h]j)}(hj8xh]h Description}(hj:xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6xubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj]wubjX)}(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 }(hjNxhhhNhNubj)}(h **modinfo**h]hmodinfo}(hjVxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNxubh* for a module on the sfp bus specified by }(hjNxhhhNhNubj)}(h**bus**h]hbus}(hjhxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNxubh.}(hjNxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj]wubjX)}(h0Returns 0 on success or a negative errno number.h]h0Returns 0 on success or a negative errno number.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj]wubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sfp_get_module_eeprom (C function)c.sfp_get_module_eepromhNtauh1hhjmjhhhNhNubh)}(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}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhhhjxhMubj)}(hsfp_get_module_eepromh]j%)}(hsfp_get_module_eepromh]hsfp_get_module_eeprom}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjxhhhjxhMubj)}(h:(struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hj yhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj ymodnameN classnameNjj!)}j$]j')}jjxsbc.sfp_get_module_eepromasbuh1hhjxubj)}(h h]h }(hj+yhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj;)}(hj>h]h*}(hj9yhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj%)}(hbush]hbus}(hjFyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(hstruct ethtool_eeprom *eeh](h)}(hjh]hstruct}(hj_yhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[yubj)}(h h]h }(hjlyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[yubh)}(hhh]j%)}(hethtool_eepromh]hethtool_eeprom}(hj}yhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j'yc.sfp_get_module_eepromasbuh1hhj[yubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[yubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[yubj%)}(heeh]hee}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[yubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(hu8 *datah](h)}(hhh]j%)}(hu8h]hu8}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j'yc.sfp_get_module_eepromasbuh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hdatah]hdata}(hj zhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubeh}(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)}(hRead the SFP module EEPROMh]hRead the SFP module EEPROM}(hj5zhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj2zhhubah}(h]h ]h"]h$]h&]uh1jRhjxhhhjxhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMzjxjMzjyjzj{uh1hhhhjmjhNhNubj})}(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)}(hjWzh]h Parameters}(hjYzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUzubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjQzubj)}(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)}(hjvzh]hstruct sfp_bus *bus}(hjxzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtzubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjpzubj)}(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&]uh1jhjpzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjmzubj)}(hQ``struct ethtool_eeprom *ee`` a :c:type:`struct ethtool_eeprom ` h](j)}(h``struct ethtool_eeprom *ee``h]j)}(hjzh]hstruct ethtool_eeprom *ee}(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)}(h2a :c:type:`struct ethtool_eeprom `h](ha }(hjzhhhNhNubh)}(h0:c:type:`struct ethtool_eeprom `h]j)}(hjzh]hstruct ethtool_eeprom}(hjzhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_eepromuh1hhjzhMhjzubeh}(h]h ]h"]h$]h&]uh1jWhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjmzubj)}(hT``u8 *data`` buffer to contain the EEPROM data (must be at least **ee->len** bytes) h](j)}(h ``u8 *data``h]j)}(hj*{h]hu8 *data}(hj,{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj({ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj${ubj)}(hhh]jX)}(hFbuffer to contain the EEPROM data (must be at least **ee->len** bytes)h](h4buffer to contain the EEPROM data (must be at least }(hjC{hhhNhNubj)}(h **ee->len**h]hee->len}(hjK{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC{ubh bytes)}(hjC{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj?{hMhj@{ubah}(h]h ]h"]h$]h&]uh1jhj${ubeh}(h]h ]h"]h$]h&]uh1jhj?{hMhjmzubeh}(h]h ]h"]h$]h&]uh1jhjQzubjX)}(h**Description**h]j)}(hjw{h]h Description}(hjy{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju{ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjQzubjX)}(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 }(hj{hhhNhNubj)}(h**ee**h]hee}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh. See the documentation for }(hj{hhhNhNubh)}(h0:c:type:`struct ethtool_eeprom `h]j)}(hj{h]hstruct ethtool_eeprom}(hj{hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_eepromuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj{ubh for the region to be read.}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj{hMhjQzubjX)}(h0Returns 0 on success or a negative errno number.h]h0Returns 0 on success or a negative errno number.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjQzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*sfp_get_module_eeprom_by_page (C function)c.sfp_get_module_eeprom_by_pagehNtauh1hhjmjhhhNhNubh)}(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}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhj|hMubj)}(hsfp_get_module_eeprom_by_pageh]j%)}(hsfp_get_module_eeprom_by_pageh]hsfp_get_module_eeprom_by_page}(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, const struct ethtool_module_eeprom *page, struct netlink_ext_ack *extack)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hj=|hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9|ubj)}(h h]h }(hjJ|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9|ubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hj[|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjX|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]|modnameN classnameNjj!)}j$]j')}jj#|sbc.sfp_get_module_eeprom_by_pageasbuh1hhj9|ubj)}(h h]h }(hj{|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9|ubj;)}(hj>h]h*}(hj|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9|ubj%)}(hbush]hbus}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5|ubj)}(h(const struct ethtool_module_eeprom *pageh](h)}(hjh]hconst}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubh)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubh)}(hhh]j%)}(hethtool_module_eepromh]hethtool_module_eeprom}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]jw|c.sfp_get_module_eeprom_by_pageasbuh1hhj|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}(hj!}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5|ubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hj:}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6}ubj)}(h h]h }(hjG}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6}ubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjX}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZ}modnameN classnameNjj!)}j$]jw|c.sfp_get_module_eeprom_by_pageasbuh1hhj6}ubj)}(h h]h }(hjv}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6}ubj;)}(hj>h]h*}(hj}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6}ubj%)}(hextackh]hextack}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5|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&Read a page from the SFP module EEPROMh]h&Read a page from the SFP module EEPROM}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj}hhubah}(h]h ]h"]h$]h&]uh1jRhj{hhhj|hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhjmjhNhNubj})}(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)}(hj}h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj}ubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hj}h]hstruct sfp_bus *bus}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj}ubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj~hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj~h]hstruct sfp_bus}(hj!~hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj~hMhj~ubh structure for the sfp module}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj~hMhj~ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj}ubj)}(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)}(hjX~h]h(const struct ethtool_module_eeprom *page}(hjZ~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV~ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjR~ubj)}(hhh]jX)}(h@a :c:type:`struct ethtool_module_eeprom `h](ha }(hjq~hhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hj{~h]hstruct ethtool_module_eeprom}(hj}~hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjy~ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_module_eepromuh1hhjm~hMhjq~ubeh}(h]h ]h"]h$]h&]uh1jWhjm~hMhjn~ubah}(h]h ]h"]h$]h&]uh1jhjR~ubeh}(h]h ]h"]h$]h&]uh1jhjm~hMhj}ubj)}(hA``struct netlink_ext_ack *extack`` extack for reporting problems h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj~h]hstruct netlink_ext_ack *extack}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj~ubj)}(hhh]jX)}(hextack for reporting problemsh]hextack for reporting problems}(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:161: ./drivers/net/phy/sfp-bus.chMhj}ubjX)}(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 }(hjhhhNhNubj)}(h**page**h]hpage}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. See the documentation for }(hjhhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hjh]hstruct ethtool_module_eeprom}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_module_eepromuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubh for the page to be read.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj:hMhj}ubjX)}(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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_start (C function)c.sfp_upstream_starthNtauh1hhjmjhhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhjhMubj)}(hsfp_upstream_starth]j%)}(hsfp_upstream_starth]hsfp_upstream_start}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjphhhjhMubj)}(h(struct sfp_bus *bus)h]j)}(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')}jjsbc.sfp_upstream_startasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbush]hbus}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjphhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjhMubah}(h]jgah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjihhubjS)}(hhh]jX)}(h,Inform the SFP that the network device is uph]h,Inform the SFP that the network device is up}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj1hhubah}(h]h ]h"]h$]h&]uh1jRhjihhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLjxjLjyjzj{uh1hhhhjmjhNhNubj})}(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)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjPubj)}(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)}(hjuh]hstruct sfp_bus *bus}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjoubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjhMhjubh structure for the sfp module}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubjX)}(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.chMhjPubjX)}(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 }(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:161: ./drivers/net/phy/sfp-bus.chMhjubh ndo_open() method.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_stop (C function)c.sfp_upstream_stophNtauh1hhjmjhhhNhNubh)}(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}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM&ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhjIhM&ubj)}(hsfp_upstream_stoph]j%)}(hsfp_upstream_stoph]hsfp_upstream_stop}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhjIhM&ubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubh)}(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.sfp_upstream_stopasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hjāhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hbush]hbus}(hjсhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubah}(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.Inform the SFP that the network device is downh]h.Inform the SFP that the network device is down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM&hjhhubah}(h]h ]h"]h$]h&]uh1jRhj0hhhjIhM&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjmjhNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM*hjubj)}(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'hj6ubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjUhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj_h]hstruct sfp_bus}(hjahhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjQhM'hjUubh structure for the sfp module}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjQhM'hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM'hj3ubah}(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:161: ./drivers/net/phy/sfp-bus.chM)hjubjX)}(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 }(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:161: ./drivers/net/phy/sfp-bus.chM(hjubh ndo_stop() method.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjׂhM(hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)sfp_upstream_set_signal_rate (C function)c.sfp_upstream_set_signal_ratehNtauh1hhjmjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM=ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM=ubj)}(hsfp_upstream_set_signal_rateh]j%)}(hsfp_upstream_set_signal_rateh]hsfp_upstream_set_signal_rate}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM=ubj)}(h,(struct sfp_bus *bus, unsigned int rate_kbd)h](j)}(hstruct sfp_bus *bush](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%)}(hsfp_bush]hsfp_bus}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j')}jj%sbc.sfp_upstream_set_signal_rateasbuh1hhj;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%)}(hbush]hbus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(hunsigned int rate_kbdh](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%)}(hrate_kbdh]hrate_kbd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM=ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM=ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM=hjhhubjS)}(hhh]jX)}(hset data signalling rateh]hset data signalling rate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM=hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM=ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+jxj+jyjzj{uh1hhhhjmjhNhNubj})}(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)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMAhj/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)}(hjTh]hstruct sfp_bus *bus}(hjVhhhNhNubah}(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.chM>hjNubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjmhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjwh]hstruct sfp_bus}(hjyhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjihM>hjmubh structure for the sfp module}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjihM>hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM>hjKubj)}(h@``unsigned int rate_kbd`` signalling rate in units of 1000 baud h](j)}(h``unsigned int rate_kbd``h]j)}(hjh]hunsigned int rate_kbd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM?hjubj)}(hhh]jX)}(h%signalling rate in units of 1000 baudh]h%signalling rate in units of 1000 baud}(hjɄhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjńhM?hjƄubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjńhM?hjKubeh}(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:161: ./drivers/net/phy/sfp-bus.chMAhj/ubjX)}(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).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM@hj/ubj)}(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:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMEhjubj)}(hhh]jX)}(h.Phylink's state_mutex rtnl lock SFP's sm_mutexh]h2Phylink’s state_mutex rtnl lock SFP’s sm_mutex}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMDhj&ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj%hMEhjubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_bus_find_fwnode (C function)c.sfp_bus_find_fwnodehNtauh1hhjmjhhhNhNubh)}(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}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjwhMQubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jsfp_bus_find_fwnodesbc.sfp_bus_find_fwnodeasbuh1hhjfhhhjwhMQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjwhMQubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfhhhjwhMQubj)}(hsfp_bus_find_fwnodeh]j%)}(hjh]hsfp_bus_find_fwnode}(hjɅhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjŅubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfhhhjwhMQubj)}(h$(const struct fwnode_handle *fwnode)h]j)}(h"const struct fwnode_handle *fwnodeh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(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.sfp_bus_find_fwnodeasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfwnodeh]hfwnode}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj܅ubah}(h]h ]h"]h$]h&]j<j=uh1jhjfhhhjwhMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjwhMQubah}(h]j]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwhMQhj_hhubjS)}(hhh]jX)}(h(parse and locate the SFP bus from fwnodeh]h(parse and locate the SFP bus from fwnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQhj}hhubah}(h]h ]h"]h$]h&]uh1jRhj_hhhjwhMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjmjhNhNubj})}(hX{**Parameters** ``const struct fwnode_handle *fwnode`` firmware node for the parent device (MAC or PHY) **Description** Parse the parent device's firmware node for a SFP bus, and locate the sfp_bus structure, incrementing its reference count. This must be put via sfp_bus_put() when done. - corresponding to the errors detailed for fwnode_property_get_reference_args(). - ``-ENOMEM`` if we failed to allocate the bus. - an error from the upstream's connect_phy() method. **Return** - on success, a pointer to the sfp_bus structure, - ``NULL`` if no SFP is specified, - on failure, an error pointer value:h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMUhjubj)}(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)}(hjh]h"const struct fwnode_handle *fwnode}(hjÆhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMRhjubj)}(hhh]jX)}(h0firmware node for the parent device (MAC or PHY)h]h0firmware node for the parent device (MAC or PHY)}(hjچhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjֆhMRhj׆ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjֆhMRhjubah}(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:161: ./drivers/net/phy/sfp-bus.chMThjubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMShjubj )}(h- corresponding to the errors detailed for fwnode_property_get_reference_args(). - ``-ENOMEM`` if we failed to allocate the bus. - an error from the upstream's connect_phy() method. h]jE)}(hhh](jE)}(hNcorresponding to the errors detailed for fwnode_property_get_reference_args().h]jX)}(hNcorresponding to the errors detailed for fwnode_property_get_reference_args().h]hNcorresponding to the errors detailed for fwnode_property_get_reference_args().}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMXhj(ubah}(h]h ]h"]h$]h&]uh1jEhj%ubjE)}(h-``-ENOMEM`` if we failed to allocate the bus.h]jX)}(hjCh](j)}(h ``-ENOMEM``h]h-ENOMEM}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh" if we failed to allocate the bus.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMZhjAubah}(h]h ]h"]h$]h&]uh1jEhj%ubjE)}(h3an error from the upstream's connect_phy() method. h]jX)}(h2an error from the upstream's connect_phy() method.h]h4an error from the upstream’s connect_phy() method.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM[hjgubah}(h]h ]h"]h$]h&]uh1jEhj%ubeh}(h]h ]h"]h$]h&]j]Fj*uh1jEhj:hMXhj!ubah}(h]h ]h"]h$]h&]uh1j hj:hMXhjubjX)}(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:161: ./drivers/net/phy/sfp-bus.chM]hjubjE)}(hhh](jE)}(h/on success, a pointer to the sfp_bus structure,h]jX)}(hjh]h/on success, a pointer to the sfp_bus structure,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMXhjubah}(h]h ]h"]h$]h&]uh1jEhjubjE)}(h ``NULL`` if no SFP is specified,h]jX)}(hjh](j)}(h``NULL``h]hNULL}(hjƇhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjÇubh if no SFP is specified,}(hjÇhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMYhjubah}(h]h ]h"]h$]h&]uh1jEhjubjE)}(h#on failure, an error pointer value:h]jX)}(hjh]h#on failure, an error pointer value:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMZhjubah}(h]h ]h"]h$]h&]uh1jEhjubeh}(h]h ]h"]h$]h&]j]Fj*uh1jEhjhMXhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_add_upstream (C function)c.sfp_bus_add_upstreamhNtauh1hhjmjhhhNhNubh)}(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}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM~ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj1hM~ubj)}(hsfp_bus_add_upstreamh]j%)}(hsfp_bus_add_upstreamh]hsfp_bus_add_upstream}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj1hM~ubj)}(hI(struct sfp_bus *bus, void *upstream, const struct sfp_upstream_ops *ops)h](j)}(hstruct sfp_bus *bush](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%)}(hsfp_bush]hsfp_bus}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjFsbc.sfp_bus_add_upstreamasbuh1hhj\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%)}(hbush]hbus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(hvoid *upstreamh](j)}(hvoidh]hvoid}(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%)}(hupstreamh]hupstream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjΈubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(h"const struct sfp_upstream_ops *opsh](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%)}(hsfp_upstream_opsh]hsfp_upstream_ops}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]jc.sfp_bus_add_upstreamasbuh1hhjubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hopsh]hops}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj1hM~ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj1hM~ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1hM~hjhhubjS)}(hhh]jX)}(h*parse and register the neighbouring deviceh]h*parse and register the neighbouring device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM~hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj1hM~ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjȉjxjȉjyjzj{uh1hhhhjmjhNhNubj})}(hX=**Parameters** ``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() ``void *upstream`` the upstream private data ``const struct sfp_upstream_ops *ops`` the upstream's :c:type:`struct sfp_upstream_ops ` **Description** Add upstream driver for the SFP bus, and if the bus is complete, register the SFP bus using sfp_register_upstream(). This takes a reference on the bus, so it is safe to put the bus after this call. - corresponding to the errors detailed for fwnode_property_get_reference_args(). - ``-ENOMEM`` if we failed to allocate the bus. - an error from the upstream's connect_phy() method. **Return** - on success, a pointer to the sfp_bus structure, - ``NULL`` if no SFP is specified, - on failure, an error pointer value:h](jX)}(h**Parameters**h]j)}(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)}(hjh]hstruct sfp_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]jX)}(hFthe :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode()h](hthe }(hj hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjhMhj ubh found via sfp_bus_find_fwnode()}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h-``void *upstream`` the upstream private data h](j)}(h``void *upstream``h]j)}(hjMh]hvoid *upstream}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjGubj)}(hhh]jX)}(hthe upstream private datah]hthe upstream private data}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjubj)}(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)}(hjh]h"const struct sfp_upstream_ops *ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]jX)}(hCthe upstream's :c:type:`struct sfp_upstream_ops `h](hthe upstream’s }(hjhhhNhNubh)}(h4:c:type:`struct sfp_upstream_ops `h]j)}(hjh]hstruct sfp_upstream_ops}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_upstream_opsuh1hhjhMhjubeh}(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)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjފubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj̉ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj̉ubj )}(h- corresponding to the errors detailed for fwnode_property_get_reference_args(). - ``-ENOMEM`` if we failed to allocate the bus. - an error from the upstream's connect_phy() method. h]jE)}(hhh](jE)}(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().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj ubah}(h]h ]h"]h$]h&]uh1jEhj ubjE)}(h-``-ENOMEM`` if we failed to allocate the bus.h]jX)}(hj'h](j)}(h ``-ENOMEM``h]h-ENOMEM}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh" if we failed to allocate the bus.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj%ubah}(h]h ]h"]h$]h&]uh1jEhj ubjE)}(h3an error from the upstream's connect_phy() method. h]jX)}(h2an error from the upstream's connect_phy() method.h]h4an error from the upstream’s connect_phy() method.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjKubah}(h]h ]h"]h$]h&]uh1jEhj ubeh}(h]h ]h"]h$]h&]j]Fj*uh1jEhjhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhj̉ubjX)}(h **Return**h]j)}(hjrh]hReturn}(hjthhhNhNubah}(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.chMhj̉ubjE)}(hhh](jE)}(h/on success, a pointer to the sfp_bus structure,h]jX)}(hjh]h/on success, a pointer to the sfp_bus structure,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubah}(h]h ]h"]h$]h&]uh1jEhjubjE)}(h ``NULL`` if no SFP is specified,h]jX)}(hjh](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if no SFP is specified,}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubah}(h]h ]h"]h$]h&]uh1jEhjubjE)}(h#on failure, an error pointer value:h]jX)}(hjˋh]h#on failure, an error pointer value:}(hj͋hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjɋubah}(h]h ]h"]h$]h&]uh1jEhjubeh}(h]h ]h"]h$]h&]j]Fj*uh1jEhjhMhj̉ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_del_upstream (C function)c.sfp_bus_del_upstreamhNtauh1hhjmjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hsfp_bus_del_upstreamh]j%)}(hsfp_bus_del_upstreamh]hsfp_bus_del_upstream}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](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%)}(hsfp_bush]hsfp_bus}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j')}jj*sbc.sfp_bus_del_upstreamasbuh1hhj@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%)}(hbush]hbus}(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)}(hDelete a sfp bush]hDelete a sfp bus}(hjnjhhhNhNubah}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjߌjxjߌjyjzj{uh1hhhhjmjhNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjh]hstruct sfp_bus *bus}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj!hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj+h]hstruct sfp_bus}(hj-hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjhMhj!ubh structure for the sfp module}(hj!hhhNhNubeh}(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)}(hjfh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjX)}(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|hhhNhNubj)}(h**bus**h]hbus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubh2 should have been added by sfp_bus_add_upstream().}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_get_name (C function)c.sfp_get_namehNtauh1hhjmjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhZ/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 hjhhhjʍhMubj)}(hcharh]hchar}(hjٍhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjʍhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjʍhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjʍhMubj)}(h sfp_get_nameh]j%)}(h sfp_get_nameh]h sfp_get_name}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjʍhMubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](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%)}(hsfp_bush]hsfp_bus}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]j')}jjsbc.sfp_get_nameasbuh1hhjubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbush]hbus}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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)}(hGet the SFP device nameh]hGet the SFP device name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjʍhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjmjhNhNubj})}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Gets the SFP device's name, if **bus** has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released. **Return** - The name of the SFP device registered with sfp_register_socket() - ``NULL`` if no device was registered on **bus**h](jX)}(h**Parameters**h]j)}(hjǎh]h Parameters}(hjɎhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjŎubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjh]hstruct sfp_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj h]hstruct sfp_bus}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjhMhjubh structure for the sfp module}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjݎubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjX)}(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 }(hjZhhhNhNubj)}(h**bus**h]hbus}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubhm has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjX)}(h **Return**h]j)}(hj}h]hReturn}(hjhhhNhNubah}(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.chMhjubjE)}(hhh](jE)}(h@The name of the SFP device registered with sfp_register_socket()h]jX)}(hjh]h@The name of the SFP device registered with sfp_register_socket()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubah}(h]h ]h"]h$]h&]uh1jEhjubjE)}(h/``NULL`` if no device was registered on **bus**h]jX)}(hjh](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if no device was registered on }(hjhhhNhNubj)}(h**bus**h]hbus}(hjǏhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubah}(h]h ]h"]h$]h&]uh1jEhjubeh}(h]h ]h"]h$]h&]j]Fj*uh1jEhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjmjhhhNhNubeh}(h] sfp-supportah ]h"] sfp supportah$]h&]uh1hhj-hhhhhKubeh}(h]network-device-supportah ]h"]network device supportah$]h&]uh1hhhhhhhhKWubeh}(h])linux-networking-and-network-devices-apisah ]h"])linux networking and network devices apisah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj*error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(jjj*j'jXjUjcjcj!njnjSjPj"jjjjkjkjjjjjjgjjju nametypes}(jj*jXjcj!njSj"jjkjjjjjuh}(jhj'hjUhhhjxj}jjjcj[jxj}j j j j j j jEjJjjjj$jj jB-jG-j.j.j0j0ja2jf2jF4jK4jp6ju6j8j8j:j:j;j;j!=j&=j|>j>j@j@jBjBjEjEjGj$GjHjHjiJjnJjLjLj]OjbOj&Rj+RjTjTjVjVj[Xj`XjZjZj[j[j(]j-]j~_j_jbjbjKdjPdjOfjTfjhjhj4kj9kjmjmjnjnjvpj{pjrjrjtjtjvjvj?yjDyj+|j0|jn~js~jjjjjajfj*j/jjj jjjjqjvjjjjjؘjݘjwj|jj#j3j8jРjՠjܢjj&j+jjj#j(j^jcjjjѮj֮jjjgjlj#j(jjjַj۷jǹj̹jjjjj!j&jjjjjjjjj4j9jIjNj^jcjjjj jjj-j2jjjcjhjjj0j5jEjJjPjUjjjjjjjjjjjBjGjjjjjGjLj_jdjjjjjP jU j&j&j'j'j#*j(*j',j,,j-j-jv.j{.j60j;0j$2j)2j3j3j\5ja5j6j6j8j8j;j;j=j=j@j@j#Cj(CjFjFjHjHjJjJj@LjELjMjMj1Pj6PjFTjKTjWjWjv[j{[j^j^jbjbjejejGjCGjHjHj/Jj4Jj\LjaLjNjNjQjQjTjTj>VjCVjWjWj3Zj8Zj\j\j_j_jldjqdjejejgjgjtijyijkjkjnjnjKrjPrjsvjxvjtyjyyj%{j*{j}j}j~jj-j2jjj0j5jjjjj#j(jjjjjjjjjj-jkj>j[j`jjjաjڡjjj8j=jljqjکjߩj>jCjjjjjGjLjjjpjujjjjj0j5jjj_jdjjjjj j%jYj^jjjjjjjjjjjijnjjjjjjjjjkjpjjjjjXj]jmjrjjjjj+j0jjjwj|j2j7jjjujzjjjtjyjjjjjjjujzjjjj#jG jL j j j j jjj9j>j}jjjjOjTj jjjj j j"j"j$j%j'j'jR*jW*jN,jS,j.j .j0j0j3j3j5j5j7j7j8j8j:j:j~<j<j*>j/>j@j@jCj"CjbEjgEjFjFjKjKjMjMjNjNjOjOjRj RjSjSjMUjRUjWjXjYjYj\^ja^j"aj'aj_cjdcjlejqej2hj7hj)kj.kjljljnjnj\pjapjfrjkrjsjsjvjvjxjxjzjzj|j|j~j~jQjVjҁjׁjSjXjjjjj!j&jjjHjMjȌj͌j~jjjjcjhjɒjΒj/j4jjjDjIjSjXj}jjjjߟjj&j+j^jcj0j5jĨjɨjjjūjʫjj jjjajfj}jj1j6jjj jj$j)jjjjjjj"j'jjj<jAjjjjjjjj jjj j ju jz jjjjjjjjjCjHj`jejjjbjgjjjjjs!jx!j6$j;$j-&j2&j'j'j)j)j{+j+j}-j-j/j/j1j1j3j3j5j5j|8j8j;j;j=j=j@j@j}BjBjCjDjEjEjGjGjHjHj+Jj0JjKjKjGMjLMjNjNjXPj]PjQjQjSjSj)Uj.UjVjVjZj[j]j]jCbjHbj2ej8ejgjgjj kj(kj-kjljlj*oj/ojpjpjPrjUrjtjtjOwjTwjyjyj|j|j}j}jjj6j;jȃj̓j̅jхjjjjjPjUjjjjjjj&j+jҕjוjSjXjjjjjj jjj2j7jjj6j;jKjPj9j>jjjjj j%j$j)j(j-jjjjj=jBjjjjjjĽjjjwj|jjjjjjjjjjjRjWjjjXj]j,j1jjj/j4jjjNjSjjjjj;j@jjjjjjjjj}jjjjnjsjjjjjjjjjjj!j&jjj?jDjjj? jD j j jjjjjcjhjsjxjj jjj j jK"jP"j#j#j%j%j&j&j!(j&(j)j)j+j+j>-jC-j.j.jR0jW0j1j1j3j 3jc4jh4j5j5j7j7j8j8j:j :j;j;j=j"=j>j>j@j@j5Cj:CjEjEjGjGjJjJj;Lj@LjeNjjNjPjPjRjRjaTjfTj3Vj8Vj_j_jQajVajbjbjdjdjjjjjFljKljQojVojpjpjorjtrjFjKj!j&jjj#j(jRjWjj jΐjӐjjj%j*j/j4jPjUjqjvjjjjjjjpjujjjpjujrjwjtjyjj jjjjjjj-j2jjj jjjjoj[j`jLjQjjjjjbjgjjjjjpjujjj$j)jjj%j*jzjjjjKjPjjjjj2j7jjj%j*jjjjjjj jjjj~jjjjjjjj j j j jjjfjkjdjijjjjjJjOjjjjjjjW j\ j"j"j#j#j<%jA%j&j&j/)j4)j*j*j,j,j.j.j0j0j1j1j"3j'3j4j4j$6j)6j7j7jm:jr:j<j<j>j>jhAjmAjmDjrDjGjGjJjJjQLjVLj NjNjOjOjQjQjTjTjWjWjZjZjE]jJ]j!_j&_jajaj+cj0cjdjdjfjfjYhj^hj jC j9j>jjj2j7jjjjjdjij( j- jL#jQ#j&j&jA(jF(jR*jW*j_,jd,j8.j=.j 0j%0j1j1jh3jm3j6j 6j7j7j]9jb9j;j;j>j>jAj AjiCjnCj.Ej3EjtGjyGjIjIjKjKjMjMjPjPjSjSj!Vj&VjWjWjYjYj[j[jq_jv_jbjbj'ej,ejhjhjjmjjjjjjPkjUkjljljnjnjqjqjtjtjvj vjxjxj{j{jgjlj.j3jjj]jbjjjjjju 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)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjubah}(h]h ]h"]h$]h&]levelKtypeINFOsourceS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.clineMuh1jhj Fubatransform_messages] transformerN include_log] decorationNhhub.