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&]uh1jhjuba;h}(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](h&skb_complete_tx_timestamp (C function)c.skb_complete_tx_timestamphNtauh1hhj[hhhNhNubh)}(hhh](h)}(h\void skb_complete_tx_timestamp (struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps)h]h)}(h[void skb_complete_tx_timestamp(struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_complete_tx_timestamph]j%)}(hskb_complete_tx_timestamph]hskb_complete_tx_timestamp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h=(struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.skb_complete_tx_timestampasbuh1hhjubj)}(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&struct skb_shared_hwtstamps *hwtstampsh](h)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubh)}(hhh]j%)}(hskb_shared_hwtstampsh]hskb_shared_hwtstamps}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]j#c.skb_complete_tx_timestampasbuh1hhjWubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj%)}(h hwtstampsh]h hwtstamps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h%deliver cloned skb with tx timestampsh]h%deliver cloned skb with tx timestamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXl**Parameters** ``struct sk_buff *skb`` clone of the original outgoing packet ``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps **Description** PHY drivers may accept clones of transmitted packets for timestamping via their phy_driver.txtstamp method. These drivers must call this function to return the skb back to the stack with a timestamp.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h>``struct sk_buff *skb`` clone of the original outgoing packet h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(h%clone of the original outgoing packeth]h%clone of the original outgoing packet}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(h@``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps h](j)}(h*``struct skb_shared_hwtstamps *hwtstamps``h]j)}(hjVh]h&struct skb_shared_hwtstamps *hwtstamps}(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.hhMhjPubj)}(hhh]jX)}(hhardware time stampsh]hhardware time stamps}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(hPHY drivers may accept clones of transmitted packets for timestamping via their phy_driver.txtstamp method. These drivers must call this function to return the skb back to the stack with a timestamp.h]hPHY drivers may accept clones of transmitted packets for timestamping via their phy_driver.txtstamp method. These drivers must call this function to return the skb back to the stack with a timestamp.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tstamp_tx (C function)c.skb_tstamp_txhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hUvoid skb_tstamp_tx (struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h]h)}(hTvoid skb_tstamp_tx(struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_tstamp_txh]j%)}(h skb_tstamp_txh]h skb_tstamp_tx}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hB(struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h](j)}(hstruct sk_buff *orig_skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j')}jjsbc.skb_tstamp_txasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(horig_skbh]horig_skb}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h&struct skb_shared_hwtstamps *hwtstampsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hskb_shared_hwtstampsh]hskb_shared_hwtstamps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jMc.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}(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(queue clone of skb with send time stampsh]h(queue clone of skb with send time stamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *orig_skb`` the original outgoing packet ``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps, may be NULL if not available **Description** If the skb has a socket associated, then this function clones the skb (thus sharing the actual data and optional structures), stores the optional hardware time stamping information (if non NULL) or generates a software time stamp (otherwise), then queues the clone to the error queue of the socket. Errors are silently ignored.h](jX)}(h**Parameters**h]j)}(hj(h]h Parameters}(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 *orig_skb`` the original outgoing packet h](j)}(h``struct sk_buff *orig_skb``h]j)}(hjGh]hstruct sk_buff *orig_skb}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjAubj)}(hhh]jX)}(hthe original outgoing packeth]hthe original outgoing packet}(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^``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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjzubj)}(hhh]jX)}(h2hardware time stamps, may be NULL if not availableh]h2hardware time stamps, may be NULL if not available}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubeh}(h]h ]h"]h$]h&]uh1jhj"ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj"ubjX)}(hXHIf the skb has a socket associated, then this function clones the skb (thus sharing the actual data and optional structures), stores the optional hardware time stamping information (if non NULL) or generates a software time stamp (otherwise), then queues the clone to the error queue of the socket. Errors are silently ignored.h]hXHIf the skb has a socket associated, then this function clones the skb (thus sharing the actual data and optional structures), stores the optional hardware time stamping information (if non NULL) or generates a software time stamp (otherwise), then queues the clone to the error queue of the socket. Errors are silently ignored.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tx_timestamp (C function)c.skb_tx_timestamphNtauh1hhj[hhhNhNubh)}(hhh](h)}(h+void skb_tx_timestamp (struct sk_buff *skb)h]h)}(h*void skb_tx_timestamp(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hskb_tx_timestamph]j%)}(hskb_tx_timestamph]hskb_tx_timestamp}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]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_tx_timestampasbuh1hhj9ubj)}(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=uh1jhj5ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h%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.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` A socket buffer. **Description** Ethernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware. Specifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h)``struct sk_buff *skb`` A socket buffer. h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jX)}(hA socket buffer.h]hA socket buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj<h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(hEthernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware.h]hEthernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjX)}(hSpecifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.h]hSpecifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_complete_wifi_ack (C function)c.skb_complete_wifi_ackhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool ackedh](j)}(hjTh]hbool}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj%)}(hackedh]hacked}(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)}(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.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(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.hhM$hjubj)}(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.hhM"hjubj)}(hhh]jX)}(hthe original outgoing packeth]hthe original outgoing packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubj)}(h``bool acked`` ack statush](j)}(h``bool acked``h]j)}(hjh]h bool acked}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM$hjubj)}(hhh]jX)}(h ack statush]h ack status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_checksum_complete (C function)c.skb_checksum_completehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3__sum16 skb_checksum_complete (struct sk_buff *skb)h]h)}(h2__sum16 skb_checksum_complete(struct sk_buff *skb)h](h)}(hhh]j%)}(h__sum16h]h__sum16}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j')}jskb_checksum_completesbc.skb_checksum_completeasbuh1hhjThhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM4ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhj|hM4ubj)}(hskb_checksum_completeh]j%)}(hjyh]hskb_checksum_complete}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhj|hM4ubj)}(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$]jwc.skb_checksum_completeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjThhhj|hM4ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhj|hM4ubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|hM4hjMhhubjS)}(hhh]jX)}(h&Calculate checksum of an entire packeth]h&Calculate checksum of an entire packet}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM4hj(hhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhj|hM4ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{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)}(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.hhM8hjGubj)}(hhh]j)}(h*``struct sk_buff *skb`` packet to process 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.hhM5hjfubj)}(hhh]jX)}(hpacket to processh]hpacket to process}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjcubah}(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.hhM7hjGubj )}(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.hhM6hjubjX)}(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.hhM;hjubeh}(h]h ]h"]h$]h&]uh1j hjhM6hjGubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_ext (C struct) c.skb_exthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hskb_exth]h)}(hstruct skb_exth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMEubj)}(hskb_exth]j%)}(hjh]hskb_ext}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMEubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMEubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMEhjhhubjS)}(hhh]jX)}(hsk_buff extensionsh]hsk_buff extensions}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hjDhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMEubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj_jxj_jyjzj{uh1hhhhj[hNhNubj})}(hX**Definition**:: struct skb_ext { refcount_t refcnt; u8 offset[SKB_EXT_NUM]; u8 chunks; char data[] ; }; **Members** ``refcnt`` 1 on allocation, deallocated on 0 ``offset`` offset to add to **data** to obtain extension address ``chunks`` size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units ``data`` start of extension data, variable sizedh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh:}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM=hjcubjU)}(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.hhM?hjcubjX)}(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.hhMFhjcubj)}(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.hhM;hjubj)}(hhh]jX)}(h!1 on allocation, deallocated on 0h]h!1 on allocation, deallocated on 0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubj)}(hA``offset`` offset to add to **data** to obtain extension address h](j)}(h ``offset``h]j)}(hjh]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM<hjubj)}(hhh]jX)}(h5offset to add to **data** to obtain extension addressh](hoffset to add to }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to obtain extension address}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjubj)}(hI``chunks`` size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units h](j)}(h ``chunks``h]j)}(hj8h]hchunks}(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.hhM=hj2ubj)}(hhh]jX)}(h=size currently allocated, stored in SKB_EXT_ALIGN_SHIFT unitsh]h=size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhM=hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM=hjubj)}(h0``data`` start of extension data, variable sizedh](j)}(h``data``h]j)}(hjqh]hdata}(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.h>hM=hjkubj)}(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.hhM>hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubeh}(h]h ]h"]h$]h&]uh1jhjcubeh}(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.hhMAhj[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)}(hhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj+hMaubj)}(h(const struct sk_buff *skb)h]j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hjh]hstruct}(hjuhhhNhNubah}(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.skb_checksum_none_assertasbuh1hhjVubj)}(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=uh1jhjRubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj+hMaubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj+hMaubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj+hMahjhhubjS)}(hhh]jX)}(h(make sure skb ip_summed is CHECKSUM_NONEh]h(make sure skb ip_summed is CHECKSUM_NONE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMahjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj+hMaubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sk_buff *skb`` skb to check **Description** fresh skbs have their ip_summed set to CHECKSUM_NONE. Instead of forcing ip_summed to CHECKSUM_NONE, we can use this helper, to document places where we make this assertion.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMehjubj)}(hhh]j)}(h+``const struct sk_buff *skb`` skb to check h](j)}(h``const struct sk_buff *skb``h]j)}(hj9h]hconst struct sk_buff *skb}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMbhj3ubj)}(hhh]jX)}(h skb to checkh]h skb to check}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMbhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMbhj0ubah}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMdhjubjX)}(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.hhMchjubeh}(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.hhMuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMuubj)}(hskb_head_is_lockedh]j%)}(hskb_head_is_lockedh]hskb_head_is_locked}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMuubj)}(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 reftargetj0modnameN classnameNjj!)}j$]j')}jjsbc.skb_head_is_lockedasbuh1hhjubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMuubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMuhjhhubjS)}(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.hhMuhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMuubeh}(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.hhMyhjubj)}(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.hhMvhjubj)}(hhh]jX)}(h skb to checkh]h skb to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubah}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMxhjubjX)}(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.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_common (C struct) c.sock_commonhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h sock_commonh]h)}(hstruct sock_commonh](h)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhhhjahKubj)}(h sock_commonh]j%)}(hjNh]h sock_common}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPhhhjahKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhjahKubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjahKhjIhhubjS)}(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&]uh1jRhjIhhhjahKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX***Definition**:: struct sock_common { union { __addrpair skc_addrpair; struct { __be32 skc_daddr; __be32 skc_rcv_saddr; }; }; union { unsigned int skc_hash; __u16 skc_u16hashes[2]; }; union { __portpair skc_portpair; struct { __be16 skc_dport; __u16 skc_num; }; }; unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse:4; unsigned char skc_reuseport:1; unsigned char skc_ipv6only:1; unsigned char skc_net_refcnt:1; int skc_bound_dev_if; union { struct hlist_node skc_bind_node; struct hlist_node skc_portaddr_node; }; struct proto *skc_prot; possible_net_t skc_net; #if IS_ENABLED(CONFIG_IPV6); struct in6_addr skc_v6_daddr; struct in6_addr skc_v6_rcv_saddr; #endif; atomic64_t skc_cookie; union { unsigned long skc_flags; struct sock *skc_listener; struct inet_timewait_death_row *skc_tw_dr; }; union { struct hlist_node skc_node; struct hlist_nulls_node skc_nulls_node; }; unsigned short skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; unsigned short skc_rx_queue_mapping; #endif; union { int skc_incoming_cpu; u32 skc_rcv_wnd; u32 skc_tw_rcv_nxt; }; refcount_t skc_refcnt; }; **Members** ``{unnamed_union}`` anonymous ``skc_addrpair`` 8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr** ``{unnamed_struct}`` anonymous ``skc_daddr`` Foreign IPv4 addr ``skc_rcv_saddr`` Bound local IPv4 addr ``{unnamed_union}`` anonymous ``skc_hash`` hash value used with various protocol lookup tables ``skc_u16hashes`` two u16 hash values used by UDP lookup tables ``{unnamed_union}`` anonymous ``skc_portpair`` __u32 union of **skc_dport** & **skc_num** ``{unnamed_struct}`` anonymous ``skc_dport`` placeholder for inet_dport/tw_dport ``skc_num`` placeholder for inet_num/tw_num ``skc_family`` network address family ``skc_state`` Connection state ``skc_reuse`` ``SO_REUSEADDR`` setting ``skc_reuseport`` ``SO_REUSEPORT`` setting ``skc_ipv6only`` socket is IPV6 only ``skc_net_refcnt`` socket is using net ref counting ``skc_bound_dev_if`` bound device index if != 0 ``{unnamed_union}`` anonymous ``skc_bind_node`` bind hash linkage for various protocol lookup tables ``skc_portaddr_node`` second hash linkage for UDP/UDP-Lite protocol ``skc_prot`` protocol handlers inside a network family ``skc_net`` reference to the network namespace of this socket ``skc_v6_daddr`` IPV6 destination address ``skc_v6_rcv_saddr`` IPV6 source address ``skc_cookie`` socket's cookie value ``{unnamed_union}`` anonymous ``skc_flags`` place holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settings ``skc_listener`` connection request listener socket (aka rsk_listener) [union with **skc_flags**] ``skc_tw_dr`` (aka tw_dr) ptr to :c:type:`struct inet_timewait_death_row ` [union with **skc_flags**] ``{unnamed_union}`` anonymous ``skc_node`` main hash linkage for various protocol lookup tables ``skc_nulls_node`` main hash linkage for TCP/UDP/UDP-Lite protocol ``skc_tx_queue_mapping`` tx queue number for this connection ``skc_rx_queue_mapping`` rx queue number for this connection ``{unnamed_union}`` anonymous ``skc_incoming_cpu`` record/match cpu processing incoming packets ``skc_rcv_wnd`` (aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with **skc_incoming_cpu**] ``skc_tw_rcv_nxt`` (aka tw_rcv_nxt) TCP window next expected seq number [union with **skc_incoming_cpu**] ``skc_refcnt`` reference counth](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKnhjubjU)}(hXstruct sock_common { union { __addrpair skc_addrpair; struct { __be32 skc_daddr; __be32 skc_rcv_saddr; }; }; union { unsigned int skc_hash; __u16 skc_u16hashes[2]; }; union { __portpair skc_portpair; struct { __be16 skc_dport; __u16 skc_num; }; }; unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse:4; unsigned char skc_reuseport:1; unsigned char skc_ipv6only:1; unsigned char skc_net_refcnt:1; int skc_bound_dev_if; union { struct hlist_node skc_bind_node; struct hlist_node skc_portaddr_node; }; struct proto *skc_prot; possible_net_t skc_net; #if IS_ENABLED(CONFIG_IPV6); struct in6_addr skc_v6_daddr; struct in6_addr skc_v6_rcv_saddr; #endif; atomic64_t skc_cookie; union { unsigned long skc_flags; struct sock *skc_listener; struct inet_timewait_death_row *skc_tw_dr; }; union { struct hlist_node skc_node; struct hlist_nulls_node skc_nulls_node; }; unsigned short skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; unsigned short skc_rx_queue_mapping; #endif; union { int skc_incoming_cpu; u32 skc_rcv_wnd; u32 skc_tw_rcv_nxt; }; refcount_t skc_refcnt; };h]hXstruct sock_common { union { __addrpair skc_addrpair; struct { __be32 skc_daddr; __be32 skc_rcv_saddr; }; }; union { unsigned int skc_hash; __u16 skc_u16hashes[2]; }; union { __portpair skc_portpair; struct { __be16 skc_dport; __u16 skc_num; }; }; unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse:4; unsigned char skc_reuseport:1; unsigned char skc_ipv6only:1; unsigned char skc_net_refcnt:1; int skc_bound_dev_if; union { struct hlist_node skc_bind_node; struct hlist_node skc_portaddr_node; }; struct proto *skc_prot; possible_net_t skc_net; #if IS_ENABLED(CONFIG_IPV6); struct in6_addr skc_v6_daddr; struct in6_addr skc_v6_rcv_saddr; #endif; atomic64_t skc_cookie; union { unsigned long skc_flags; struct sock *skc_listener; struct inet_timewait_death_row *skc_tw_dr; }; union { struct hlist_node skc_node; struct hlist_nulls_node skc_nulls_node; }; unsigned short skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; unsigned short skc_rx_queue_mapping; #endif; union { int skc_incoming_cpu; u32 skc_rcv_wnd; u32 skc_tw_rcv_nxt; }; refcount_t skc_refcnt; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKphjubjX)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh](j)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hQ``skc_addrpair`` 8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr** h](j)}(h``skc_addrpair``h]j)}(hj<h]h skc_addrpair}(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.hhKnhj6ubj)}(hhh]jX)}(h?8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr**h](h8-byte-aligned __u64 union of }(hjUhhhNhNubj)}(h **skc_daddr**h]h skc_daddr}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh & }(hjUhhhNhNubj)}(h**skc_rcv_saddr**h]h skc_rcv_saddr}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jWhjQhKnhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhKnhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h ``skc_daddr`` Foreign IPv4 addr h](j)}(h ``skc_daddr``h]j)}(hjh]h skc_daddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKlhjubj)}(hhh]jX)}(hForeign IPv4 addrh]hForeign IPv4 addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKlhjubj)}(h(``skc_rcv_saddr`` Bound local IPv4 addr h](j)}(h``skc_rcv_saddr``h]j)}(hjh]h skc_rcv_saddr}(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.hhKmhjubj)}(hhh]jX)}(hBound local IPv4 addrh]hBound local IPv4 addr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKmhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj@h]h{unnamed_union}}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj:ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhKhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhKhjubj)}(hA``skc_hash`` hash value used with various protocol lookup tables h](j)}(h ``skc_hash``h]j)}(hjyh]hskc_hash}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKohjsubj)}(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&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhKohjubj)}(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&]uh1jhjhKphjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h<``skc_portpair`` __u32 union of **skc_dport** & **skc_num** h](j)}(h``skc_portpair``h]j)}(hj$h]h skc_portpair}(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.hhKshjubj)}(hhh]jX)}(h*__u32 union of **skc_dport** & **skc_num**h](h__u32 union of }(hj=hhhNhNubj)}(h **skc_dport**h]h skc_dport}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh & }(hj=hhhNhNubj)}(h **skc_num**h]hskc_num}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jWhj9hKshj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hKshjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hj}h]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjwubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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&]uh1jhjhKqhjubj)}(h,``skc_num`` placeholder for inet_num/tw_num h](j)}(h ``skc_num``h]j)}(hjh]hskc_num}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKrhjubj)}(hhh]jX)}(hplaceholder for inet_num/tw_numh]hplaceholder for inet_num/tw_num}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKrhjubj)}(h&``skc_family`` network address family h](j)}(h``skc_family``h]j)}(hj(h]h skc_family}(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.hhKthj"ubj)}(hhh]jX)}(hnetwork address familyh]hnetwork address family}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hKthj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hKthjubj)}(h``skc_state`` Connection state h](j)}(h ``skc_state``h]j)}(hjah]h skc_state}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKuhj[ubj)}(hhh]jX)}(hConnection stateh]hConnection state}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhKuhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhKuhjubj)}(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&]uh1jhjhKvhjubj)}(h+``skc_reuseport`` ``SO_REUSEPORT`` setting h](j)}(h``skc_reuseport``h]j)}(hjh]h skc_reuseport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKwhjubj)}(hhh]jX)}(h``SO_REUSEPORT`` settingh](j)}(h``SO_REUSEPORT``h]h SO_REUSEPORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKwhjubj)}(h%``skc_ipv6only`` socket is IPV6 only h](j)}(h``skc_ipv6only``h]j)}(hj(h]h skc_ipv6only}(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.hhKxhj"ubj)}(hhh]jX)}(hsocket is IPV6 onlyh]hsocket is IPV6 only}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hKxhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hKxhjubj)}(h4``skc_net_refcnt`` socket is using net ref counting h](j)}(h``skc_net_refcnt``h]j)}(hjah]hskc_net_refcnt}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKyhj[ubj)}(hhh]jX)}(h socket is using net ref countingh]h socket is using net ref counting}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhKyhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhKyhjubj)}(h0``skc_bound_dev_if`` bound device index if != 0 h](j)}(h``skc_bound_dev_if``h]j)}(hjh]hskc_bound_dev_if}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKzhjubj)}(hhh]jX)}(hbound device index if != 0h]hbound device index if != 0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKzhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hG``skc_bind_node`` bind hash linkage for various protocol lookup tables h](j)}(h``skc_bind_node``h]j)}(hj h]h skc_bind_node}(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.hhK{hjubj)}(hhh]jX)}(h4bind hash linkage for various protocol lookup tablesh]h4bind hash linkage for various protocol lookup tables}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hK{hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hK{hjubj)}(hD``skc_portaddr_node`` second hash linkage for UDP/UDP-Lite protocol h](j)}(h``skc_portaddr_node``h]j)}(hjEh]hskc_portaddr_node}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK|hj?ubj)}(hhh]jX)}(h-second hash linkage for UDP/UDP-Lite protocolh]h-second hash linkage for UDP/UDP-Lite protocol}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhK|hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhK|hjubj)}(h7``skc_prot`` protocol handlers inside a network family h](j)}(h ``skc_prot``h]j)}(hj~h]hskc_prot}(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.hhK}hjxubj)}(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&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhK}hjubj)}(h>``skc_net`` reference to the network namespace of this socket h](j)}(h ``skc_net``h]j)}(hjh]hskc_net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK~hjubj)}(hhh]jX)}(h1reference to the network namespace of this socketh]h1reference to the network namespace of this socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK~hjubj)}(h*``skc_v6_daddr`` IPV6 destination address h](j)}(h``skc_v6_daddr``h]j)}(hjh]h skc_v6_daddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hIPV6 destination addressh]hIPV6 destination address}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h)``skc_v6_rcv_saddr`` IPV6 source address h](j)}(h``skc_v6_rcv_saddr``h]j)}(hj)h]hskc_v6_rcv_saddr}(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)}(hIPV6 source addressh]hIPV6 source address}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hKhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hKhjubj)}(h%``skc_cookie`` socket's cookie value h](j)}(h``skc_cookie``h]j)}(hjbh]h skc_cookie}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj\ubj)}(hhh]jX)}(hsocket's cookie valueh]hsocket’s cookie value}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhKhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhKhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``skc_flags`` place holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settings h](j)}(h ``skc_flags``h]j)}(hjh]h skc_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hplace holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settingsh](hplace holder for sk_flags }(hjhhhNhNubj)}(h ``SO_LINGER``h]h SO_LINGER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh (l_onoff), }(hjhhhNhNubj)}(h``SO_BROADCAST``h]h SO_BROADCAST}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``SO_KEEPALIVE``h]h SO_KEEPALIVE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``SO_OOBINLINE``h]h SO_OOBINLINE}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh settings, }(hjhhhNhNubj)}(h``SO_TIMESTAMPING``h]hSO_TIMESTAMPING}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh settings}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hb``skc_listener`` connection request listener socket (aka rsk_listener) [union with **skc_flags**] h](j)}(h``skc_listener``h]j)}(hjhh]h skc_listener}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjbubj)}(hhh]jX)}(hPconnection request listener socket (aka rsk_listener) [union with **skc_flags**]h](hBconnection request listener socket (aka rsk_listener) [union with }(hjhhhNhNubj)}(h **skc_flags**h]h skc_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hKhjubj)}(h``skc_tw_dr`` (aka tw_dr) ptr to :c:type:`struct inet_timewait_death_row ` [union with **skc_flags**] h](j)}(h ``skc_tw_dr``h]j)}(hjh]h skc_tw_dr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hp(aka tw_dr) ptr to :c:type:`struct inet_timewait_death_row ` [union with **skc_flags**]h](h(aka tw_dr) ptr to }(hjhhhNhNubh)}(hB:c:type:`struct inet_timewait_death_row `h]j)}(hjh]hstruct inet_timewait_death_row}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjinet_timewait_death_rowuh1hhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubh [union with }(hjhhhNhNubj)}(h **skc_flags**h]h skc_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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&]uh1jhj8hKhjubj)}(hB``skc_node`` main hash linkage for various protocol lookup tables h](j)}(h ``skc_node``h]j)}(hj\h]hskc_node}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjVubj)}(hhh]jX)}(h4main hash linkage for various protocol lookup tablesh]h4main hash linkage for various protocol lookup tables}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhKhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhKhjubj)}(hC``skc_nulls_node`` main hash linkage for TCP/UDP/UDP-Lite protocol h](j)}(h``skc_nulls_node``h]j)}(hjh]hskc_nulls_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h/main hash linkage for TCP/UDP/UDP-Lite protocolh]h/main hash linkage for TCP/UDP/UDP-Lite protocol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h=``skc_tx_queue_mapping`` tx queue number for this connection h](j)}(h``skc_tx_queue_mapping``h]j)}(hjh]hskc_tx_queue_mapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h#tx queue number for this connectionh]h#tx queue number for this connection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h=``skc_rx_queue_mapping`` rx queue number for this connection h](j)}(h``skc_rx_queue_mapping``h]j)}(hjh]hskc_rx_queue_mapping}(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#rx queue number for this connectionh]h#rx queue number for this connection}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj@h]h{unnamed_union}}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj:ubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhKhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhKhjubj)}(hB``skc_incoming_cpu`` record/match cpu processing incoming packets h](j)}(h``skc_incoming_cpu``h]j)}(hjyh]hskc_incoming_cpu}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjsubj)}(hhh]jX)}(h,record/match cpu processing incoming packetsh]h,record/match cpu processing incoming packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hn``skc_rcv_wnd`` (aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with **skc_incoming_cpu**] h](j)}(h``skc_rcv_wnd``h]j)}(hjh]h skc_rcv_wnd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h](aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with **skc_incoming_cpu**]h](hH(aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with }(hjhhhNhNubj)}(h**skc_incoming_cpu**h]hskc_incoming_cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hj``skc_tw_rcv_nxt`` (aka tw_rcv_nxt) TCP window next expected seq number [union with **skc_incoming_cpu**] h](j)}(h``skc_tw_rcv_nxt``h]j)}(hjh]hskc_tw_rcv_nxt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hV(aka tw_rcv_nxt) TCP window next expected seq number [union with **skc_incoming_cpu**]h](hA(aka tw_rcv_nxt) TCP window next expected seq number [union with }(hjhhhNhNubj)}(h**skc_incoming_cpu**h]hskc_incoming_cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``skc_refcnt`` reference counth](j)}(h``skc_refcnt``h]j)}(hjJh]h skc_refcnt}(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.hhKhjDubj)}(hhh]jX)}(hreference counth]hreference count}(hjchhhNhNubah}(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&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj[hhubj )}(hzThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock. h]jX)}(hvThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.h]hvThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubah}(h]h ]h"]h$]h&]uh1j hjhKhj[hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock (C struct)c.sockhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hsockh]h)}(h struct sockh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hsockh]j%)}(hjh]hsock}(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'network layer representation of socketsh]h'network layer representation of sockets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhj[hNhNubj})}(hX1**Definition**:: struct sock { struct sock_common __sk_common; #define sk_node __sk_common.skc_node; #define sk_nulls_node __sk_common.skc_nulls_node; #define sk_refcnt __sk_common.skc_refcnt; #define sk_tx_queue_mapping __sk_common.skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; #define sk_rx_queue_mapping __sk_common.skc_rx_queue_mapping; #endif; #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin; #define sk_dontcopy_end __sk_common.skc_dontcopy_end; #define sk_hash __sk_common.skc_hash; #define sk_portpair __sk_common.skc_portpair; #define sk_num __sk_common.skc_num; #define sk_dport __sk_common.skc_dport; #define sk_addrpair __sk_common.skc_addrpair; #define sk_daddr __sk_common.skc_daddr; #define sk_rcv_saddr __sk_common.skc_rcv_saddr; #define sk_family __sk_common.skc_family; #define sk_state __sk_common.skc_state; #define sk_reuse __sk_common.skc_reuse; #define sk_reuseport __sk_common.skc_reuseport; #define sk_ipv6only __sk_common.skc_ipv6only; #define sk_net_refcnt __sk_common.skc_net_refcnt; #define sk_bound_dev_if __sk_common.skc_bound_dev_if; #define sk_bind_node __sk_common.skc_bind_node; #define sk_prot __sk_common.skc_prot; #define sk_net __sk_common.skc_net; #define sk_v6_daddr __sk_common.skc_v6_daddr; #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr; #define sk_cookie __sk_common.skc_cookie; #define sk_incoming_cpu __sk_common.skc_incoming_cpu; #define sk_flags __sk_common.skc_flags; #define sk_rxhash __sk_common.skc_rxhash; 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 __rcu *sk_rx_dst; int sk_rx_dst_ifindex; u32 sk_rx_dst_cookie; #ifdef CONFIG_NET_RX_BUSY_POLL; unsigned int sk_ll_usec; unsigned int sk_napi_id; u16 sk_busy_poll_budget; u8 sk_prefer_busy_poll; #endif; u8 sk_userlocks; int sk_rcvbuf; struct sk_filter __rcu *sk_filter; union { struct socket_wq __rcu *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; int sk_err; struct socket *sk_socket; #ifdef CONFIG_MEMCG; struct mem_cgroup *sk_memcg; #endif; #ifdef CONFIG_XFRM; struct xfrm_policy __rcu *sk_policy[2]; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_assoc __rcu *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; u32 sk_dst_pending_confirm; u32 sk_pacing_status; struct page_frag sk_frag; struct timer_list sk_timer; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; 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 __rcu *sk_dst_cache; netdev_features_t sk_route_caps; #ifdef CONFIG_SOCK_VALIDATE_XMIT; struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, struct net_device *dev, struct sk_buff *skb); #endif; u16 sk_gso_type; u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; u32 sk_txhash; 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 __rcu *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage __rcu *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_dst_pending_confirm`` need to confirm neighbour ``sk_pacing_status`` Pacing status (requested, handled by sch_fq) ``sk_frag`` cached page frag ``sk_timer`` sock cleanup timer ``sk_pacing_rate`` Pacing rate (if supported by transport/packet scheduler) ``sk_zckey`` counter to order MSG_ZEROCOPY notifications ``sk_tskey`` counter to disambiguate concurrent tstamp requests ``sk_max_pacing_rate`` Maximum pacing rate (``SO_MAX_PACING_RATE``) ``sk_sndtimeo`` ``SO_SNDTIMEO`` setting ``sk_priority`` ``SO_PRIORITY`` setting ``sk_mark`` generic packet mark ``sk_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().8h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh:}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj3ubjU)}(hX struct sock { struct sock_common __sk_common; #define sk_node __sk_common.skc_node; #define sk_nulls_node __sk_common.skc_nulls_node; #define sk_refcnt __sk_common.skc_refcnt; #define sk_tx_queue_mapping __sk_common.skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; #define sk_rx_queue_mapping __sk_common.skc_rx_queue_mapping; #endif; #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin; #define sk_dontcopy_end __sk_common.skc_dontcopy_end; #define sk_hash __sk_common.skc_hash; #define sk_portpair __sk_common.skc_portpair; #define sk_num __sk_common.skc_num; #define sk_dport __sk_common.skc_dport; #define sk_addrpair __sk_common.skc_addrpair; #define sk_daddr __sk_common.skc_daddr; #define sk_rcv_saddr __sk_common.skc_rcv_saddr; #define sk_family __sk_common.skc_family; #define sk_state __sk_common.skc_state; #define sk_reuse __sk_common.skc_reuse; #define sk_reuseport __sk_common.skc_reuseport; #define sk_ipv6only __sk_common.skc_ipv6only; #define sk_net_refcnt __sk_common.skc_net_refcnt; #define sk_bound_dev_if __sk_common.skc_bound_dev_if; #define sk_bind_node __sk_common.skc_bind_node; #define sk_prot __sk_common.skc_prot; #define sk_net __sk_common.skc_net; #define sk_v6_daddr __sk_common.skc_v6_daddr; #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr; #define sk_cookie __sk_common.skc_cookie; #define sk_incoming_cpu __sk_common.skc_incoming_cpu; #define sk_flags __sk_common.skc_flags; #define sk_rxhash __sk_common.skc_rxhash; 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 __rcu *sk_rx_dst; int sk_rx_dst_ifindex; u32 sk_rx_dst_cookie; #ifdef CONFIG_NET_RX_BUSY_POLL; unsigned int sk_ll_usec; unsigned int sk_napi_id; u16 sk_busy_poll_budget; u8 sk_prefer_busy_poll; #endif; u8 sk_userlocks; int sk_rcvbuf; struct sk_filter __rcu *sk_filter; union { struct socket_wq __rcu *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; int sk_err; struct socket *sk_socket; #ifdef CONFIG_MEMCG; struct mem_cgroup *sk_memcg; #endif; #ifdef CONFIG_XFRM; struct xfrm_policy __rcu *sk_policy[2]; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_assoc __rcu *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; u32 sk_dst_pending_confirm; u32 sk_pacing_status; struct page_frag sk_frag; struct timer_list sk_timer; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; 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 __rcu *sk_dst_cache; netdev_features_t sk_route_caps; #ifdef CONFIG_SOCK_VALIDATE_XMIT; struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, struct net_device *dev, struct sk_buff *skb); #endif; u16 sk_gso_type; u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; u32 sk_txhash; 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 __rcu *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage __rcu *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]hX struct sock { struct sock_common __sk_common; #define sk_node __sk_common.skc_node; #define sk_nulls_node __sk_common.skc_nulls_node; #define sk_refcnt __sk_common.skc_refcnt; #define sk_tx_queue_mapping __sk_common.skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; #define sk_rx_queue_mapping __sk_common.skc_rx_queue_mapping; #endif; #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin; #define sk_dontcopy_end __sk_common.skc_dontcopy_end; #define sk_hash __sk_common.skc_hash; #define sk_portpair __sk_common.skc_portpair; #define sk_num __sk_common.skc_num; #define sk_dport __sk_common.skc_dport; #define sk_addrpair __sk_common.skc_addrpair; #define sk_daddr __sk_common.skc_daddr; #define sk_rcv_saddr __sk_common.skc_rcv_saddr; #define sk_family __sk_common.skc_family; #define sk_state __sk_common.skc_state; #define sk_reuse __sk_common.skc_reuse; #define sk_reuseport __sk_common.skc_reuseport; #define sk_ipv6only __sk_common.skc_ipv6only; #define sk_net_refcnt __sk_common.skc_net_refcnt; #define sk_bound_dev_if __sk_common.skc_bound_dev_if; #define sk_bind_node __sk_common.skc_bind_node; #define sk_prot __sk_common.skc_prot; #define sk_net __sk_common.skc_net; #define sk_v6_daddr __sk_common.skc_v6_daddr; #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr; #define sk_cookie __sk_common.skc_cookie; #define sk_incoming_cpu __sk_common.skc_incoming_cpu; #define sk_flags __sk_common.skc_flags; #define sk_rxhash __sk_common.skc_rxhash; 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 __rcu *sk_rx_dst; int sk_rx_dst_ifindex; u32 sk_rx_dst_cookie; #ifdef CONFIG_NET_RX_BUSY_POLL; unsigned int sk_ll_usec; unsigned int sk_napi_id; u16 sk_busy_poll_budget; u8 sk_prefer_busy_poll; #endif; u8 sk_userlocks; int sk_rcvbuf; struct sk_filter __rcu *sk_filter; union { struct socket_wq __rcu *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; int sk_err; struct socket *sk_socket; #ifdef CONFIG_MEMCG; struct mem_cgroup *sk_memcg; #endif; #ifdef CONFIG_XFRM; struct xfrm_policy __rcu *sk_policy[2]; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_assoc __rcu *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; u32 sk_dst_pending_confirm; u32 sk_pacing_status; struct page_frag sk_frag; struct timer_list sk_timer; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; 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 __rcu *sk_dst_cache; netdev_features_t sk_route_caps; #ifdef CONFIG_SOCK_VALIDATE_XMIT; struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, struct net_device *dev, struct sk_buff *skb); #endif; u16 sk_gso_type; u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; u32 sk_txhash; 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 __rcu *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage __rcu *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; };}hjTsbah}(h]h ]h"]h$]h&]j<j=uh1jThR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj3ubjX)}(h **Members**h]j)}(hjeh]hMembers}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3ubj)}(hhh](j)}(h6``__sk_common`` shared layout with inet_timewait_sock h](j)}(h``__sk_common``h]j)}(hjh]h __sk_common}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj~ubj)}(hhh]jX)}(h%shared layout with inet_timewait_sockh]h%shared layout with inet_timewait_sock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhKhj{ubj)}(h#``sk_drops`` raw/udp drops counter h](j)}(h ``sk_drops``h]j)}(hjh]hsk_drops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(hraw/udp drops counterh]hraw/udp drops counter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(h*``sk_peek_off`` current peek_offset value h](j)}(h``sk_peek_off``h]j)}(hjh]h sk_peek_off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMAhjubj)}(hhh]jX)}(hcurrent peek_offset valueh]hcurrent peek_offset value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMAhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMAhj{ubj)}(h``sk_error_queue`` rarely used h](j)}(h``sk_error_queue``h]j)}(hj/h]hsk_error_queue}(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.hhMhj)ubj)}(hhh]jX)}(h rarely usedh]h rarely used}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj{ubj)}(h&``sk_receive_queue`` incoming packets h](j)}(h``sk_receive_queue``h]j)}(hjhh]hsk_receive_queue}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjbubj)}(hhh]jX)}(hincoming packetsh]hincoming packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hKhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hKhj{ubj)}(h=``sk_backlog`` always used with the per-socket spinlock held h](j)}(h``sk_backlog``h]j)}(hjh]h sk_backlog}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h-always used with the per-socket spinlock heldh]h-always used with the per-socket spinlock held}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(h6``sk_rx_dst`` receive input route used by early demux h](j)}(h ``sk_rx_dst``h]j)}(hjh]h sk_rx_dst}(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'receive input route used by early demuxh]h'receive input route used by early demux}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj{ubj)}(h0``sk_rx_dst_ifindex`` ifindex for **sk_rx_dst** h](j)}(h``sk_rx_dst_ifindex``h]j)}(hjh]hsk_rx_dst_ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jX)}(hifindex for **sk_rx_dst**h](h ifindex for }(hj,hhhNhNubj)}(h **sk_rx_dst**h]h sk_rx_dst}(hj4hhhNhNubah}(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)}(hjZh]hsk_rx_dst_cookie}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjTubj)}(hhh]jX)}(hcookie for **sk_rx_dst**h](h cookie for }(hjshhhNhNubj)}(h **sk_rx_dst**h]h sk_rx_dst}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jWhjohKhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohKhj{ubj)}(h7``sk_ll_usec`` usecs to busypoll when there is no data h](j)}(h``sk_ll_usec``h]j)}(hjh]h sk_ll_usec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h'usecs to busypoll when there is no datah]h'usecs to busypoll when there is no data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(hB``sk_napi_id`` id of the last napi context to receive data for sk h](j)}(h``sk_napi_id``h]j)}(hjh]h sk_napi_id}(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)}(h2id of the last napi context to receive data for skh]h2id of the last napi context to receive data for sk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(h@``sk_busy_poll_budget`` napi processing budget when busypolling h](j)}(h``sk_busy_poll_budget``h]j)}(hjh]hsk_busy_poll_budget}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM%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)}(hjLh]hsk_prefer_busy_poll}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM$hjFubj)}(hhh]jX)}(h*prefer busypolling over softirq processingh]h*prefer busypolling over softirq processing}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahM$hjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahM$hj{ubj)}(h:``sk_userlocks`` ``SO_SNDBUF`` and ``SO_RCVBUF`` settings h](j)}(h``sk_userlocks``h]j)}(hjh]h sk_userlocks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h(``SO_SNDBUF`` and ``SO_RCVBUF`` settingsh](j)}(h ``SO_SNDBUF``h]h SO_SNDBUF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h ``SO_RCVBUF``h]h SO_RCVBUF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh settings}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj{ubj)}(h.``sk_rcvbuf`` size of receive buffer in bytes h](j)}(h ``sk_rcvbuf``h]j)}(hjh]h sk_rcvbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(hsize of receive buffer in bytesh]hsize of receive buffer in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj{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.hhM1hjubj)}(hhh]jX)}(hsocket filtering instructionsh]hsocket filtering instructions}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hM1hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM1hj{ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjPh]h{unnamed_union}}(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.hhKhjJubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehKhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehKhj{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.hhKhjubj)}(hhh]jX)}(hsock wait queue and async headh]hsock wait queue and async head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj{ubj)}(hE``sk_data_ready`` callback to indicate there is data to be processed h](j)}(h``sk_data_ready``h]j)}(hjh]h sk_data_ready}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMKhjubj)}(hhh]jX)}(h2callback to indicate there is data to be processedh]h2callback to indicate there is data to be processed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhj{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-hjubj)}(hhh]jX)}(h``SO_RCVTIMEO`` settingh](j)}(h``SO_RCVTIMEO``h]h SO_RCVTIMEO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hj{ubj)}(h(``sk_rcvlowat`` ``SO_RCVLOWAT`` setting h](j)}(h``sk_rcvlowat``h]j)}(hjBh]h sk_rcvlowat}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM,hj<ubj)}(hhh]jX)}(h``SO_RCVLOWAT`` settingh](j)}(h``SO_RCVLOWAT``h]h SO_RCVLOWAT}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh setting}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjWhM,hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM,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.hhMhjubj)}(hhh]jX)}(h last errorh]h last error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(h.``sk_socket`` Identd and reporting IO signals h](j)}(h ``sk_socket``h]j)}(hjh]h sk_socket}(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)}(hIdentd and reporting IO signalsh]hIdentd and reporting IO signals}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hj{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.hhMGhjubj)}(hhh]jX)}(h'this socket's memory cgroup associationh]h)this socket’s memory cgroup association}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhj{ubj)}(h``sk_policy`` flow policy h](j)}(h ``sk_policy``h]j)}(hj4h]h sk_policy}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj.ubj)}(hhh]jX)}(h flow policyh]h flow policy}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhKhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhKhj{ubj)}(h8``psp_assoc`` PSP association, if socket is PSP-secured h](j)}(h ``psp_assoc``h]j)}(hjmh]h psp_assoc}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjgubj)}(hhh]jX)}(h)PSP association, if socket is PSP-securedh]h)PSP association, if socket is PSP-secured}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhKhj{ubj)}(h``sk_lock`` synchronizer h](j)}(h ``sk_lock``h]j)}(hjh]hsk_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jX)}(h synchronizerh]h synchronizer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj{ubj)}(hF``sk_reserved_mem`` space reserved and non-reclaimable for the socket h](j)}(h``sk_reserved_mem``h]j)}(hjh]hsk_reserved_mem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h1space reserved and non-reclaimable for the socketh]h1space reserved and non-reclaimable for the socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhj{ubj)}(h%``sk_tsflags`` SO_TIMESTAMPING flags h](j)}(h``sk_tsflags``h]j)}(hjQh]h sk_tsflags}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM5hjKubj)}(hhh]jX)}(hSO_TIMESTAMPING flagsh]hSO_TIMESTAMPING flags}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhM5hjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhM5hj{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.hhMHhjubj)}(hhh]jX)}(h'a write to stream socket waits to starth]h'a write to stream socket waits to start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhj{ubj)}(h-``sk_omem_alloc`` "o" is "option" or "other" h](j)}(h``sk_omem_alloc``h]j)}(hjh]h sk_omem_alloc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h"o" is "option" or "other"h]h&“o” is “option” or “other”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{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.hhMhjubj)}(hhh]jX)}(h^errors that don't cause failure but are the cause of a persistent failure not just 'timed out'h]hderrors that don’t cause failure but are the cause of a persistent failure not just ‘timed out’}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj{ubj)}(h)``sk_wmem_queued`` persistent queue size h](j)}(h``sk_wmem_queued``h]j)}(hj6 h]hsk_wmem_queued}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4 ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj0 ubj)}(hhh]jX)}(hpersistent queue sizeh]hpersistent queue size}(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)}(h1``sk_wmem_alloc`` transmit queue bytes committed h](j)}(h``sk_wmem_alloc``h]j)}(hjo h]h sk_wmem_alloc}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhji ubj)}(hhh]jX)}(htransmit queue bytes committedh]htransmit queue bytes committed}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhji ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj{ubj)}(h(``sk_tsq_flags`` TCP Small Queues flags h](j)}(h``sk_tsq_flags``h]j)}(hj h]h sk_tsq_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)}(hTCP Small Queues flagsh]hTCP Small Queues flags}(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``{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.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)}(h,``sk_send_head`` front of stuff to transmit h](j)}(h``sk_send_head``h]j)}(hj h]h sk_send_head}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMBhj ubj)}(hhh]jX)}(hfront of stuff to transmith]hfront of stuff to transmit}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/ hMBhj0 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj/ hMBhj{ubj)}(hF``tcp_rtx_queue`` TCP re-transmit queue [union with **sk_send_head**] h](j)}(h``tcp_rtx_queue``h]j)}(hjS h]h tcp_rtx_queue}(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.hhMChjM ubj)}(hhh]jX)}(h3TCP re-transmit queue [union with **sk_send_head**]h](h"TCP re-transmit queue [union with }(hjl hhhNhNubj)}(h**sk_send_head**h]h sk_send_head}(hjt hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl ubh]}(hjl hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjh hMChji ubah}(h]h ]h"]h$]h&]uh1jhjM ubeh}(h]h ]h"]h$]h&]uh1jhjh hMChj{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)}(h5``sk_dst_pending_confirm`` need to confirm neighbour h](j)}(h``sk_dst_pending_confirm``h]j)}(hj h]hsk_dst_pending_confirm}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jX)}(hneed to confirm neighbourh]hneed to confirm neighbour}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj{ubj)}(hB``sk_pacing_status`` Pacing status (requested, handled by sch_fq) h](j)}(h``sk_pacing_status``h]j)}(hj h]hsk_pacing_status}(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,Pacing status (requested, handled by sch_fq)h]h,Pacing status (requested, handled by sch_fq)}(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_frag`` cached page frag h](j)}(h ``sk_frag``h]j)}(hjI h]hsk_frag}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM@hjC ubj)}(hhh]jX)}(hcached page fragh]hcached page frag}(hjb hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^ hM@hj_ ubah}(h]h ]h"]h$]h&]uh1jhjC ubeh}(h]h ]h"]h$]h&]uh1jhj^ hM@hj{ubj)}(h ``sk_timer`` sock cleanup timer h](j)}(h ``sk_timer``h]j)}(hj h]hsk_timer}(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)}(hsock cleanup timerh]hsock cleanup timer}(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)}(hL``sk_pacing_rate`` Pacing rate (if supported by transport/packet scheduler) h](j)}(h``sk_pacing_rate``h]j)}(hj h]hsk_pacing_rate}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj ubj)}(hhh]jX)}(h8Pacing rate (if supported by transport/packet scheduler)h]h8Pacing rate (if supported by transport/packet scheduler)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hj{ubj)}(h9``sk_zckey`` counter to order MSG_ZEROCOPY notifications h](j)}(h ``sk_zckey``h]j)}(hj h]hsk_zckey}(hj hhhNhNubah}(h]h ]h"]h$]h&]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+counter to order MSG_ZEROCOPY notificationsh]h+counter to order MSG_ZEROCOPY notifications}(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_tskey`` counter to disambiguate concurrent tstamp requests h](j)}(h ``sk_tskey``h]j)}(hj- h]hsk_tskey}(hj/ hhhNhNubah}(h]h ]h"]h$]h&]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)}(h2counter to disambiguate concurrent tstamp requestsh]h2counter to disambiguate concurrent tstamp requests}(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)}(hD``sk_max_pacing_rate`` Maximum pacing rate (``SO_MAX_PACING_RATE``) h](j)}(h``sk_max_pacing_rate``h]j)}(hjf h]hsk_max_pacing_rate}(hjh hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd 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,Maximum pacing rate (``SO_MAX_PACING_RATE``)h](hMaximum pacing rate (}(hj hhhNhNubj)}(h``SO_MAX_PACING_RATE``h]hSO_MAX_PACING_RATE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh)}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj{ hM hj| ubah}(h]h ]h"]h$]h&]uh1jhj` ubeh}(h]h ]h"]h$]h&]uh1jhj{ hM hj{ubj)}(h(``sk_sndtimeo`` ``SO_SNDTIMEO`` setting h](j)}(h``sk_sndtimeo``h]j)}(hj h]h sk_sndtimeo}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM.hj ubj)}(hhh]jX)}(h``SO_SNDTIMEO`` settingh](j)}(h``SO_SNDTIMEO``h]h SO_SNDTIMEO}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh setting}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hM.hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM.hj{ubj)}(h(``sk_priority`` ``SO_PRIORITY`` setting h](j)}(h``sk_priority``h]j)}(hj h]h sk_priority}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM&hj ubj)}(hhh]jX)}(h``SO_PRIORITY`` settingh](j)}(h``SO_PRIORITY``h]h SO_PRIORITY}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh setting}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hM&hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM&hj{ubj)}(h ``sk_mark`` generic packet mark h](j)}(h ``sk_mark``h]j)}(hj? h]hsk_mark}(hjA 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.hhMEhj9 ubj)}(hhh]jX)}(hgeneric packet markh]hgeneric packet mark}(hjX hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjT hMEhjU ubah}(h]h ]h"]h$]h&]uh1jhj9 ubeh}(h]h ]h"]h$]h&]uh1jhjT hMEhj{ubj)}(h``sk_uid`` user id of owner h](j)}(h ``sk_uid``h]j)}(hjx h]hsk_uid}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM"hjr ubj)}(hhh]jX)}(huser id of ownerh]huser id of owner}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM"hj ubah}(h]h ]h"]h$]h&]uh1jhjr ubeh}(h]h ]h"]h$]h&]uh1jhj hM"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}(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)}(h9which protocol this socket belongs in this network familyh]h9which protocol this socket belongs in this network family}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM(hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM(hj{ubj)}(h/``sk_type`` socket type (``SOCK_STREAM``, etc) h](j)}(h ``sk_type``h]j)}(hj h]hsk_type}(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"socket type (``SOCK_STREAM``, etc)h](h socket type (}(hjhhhNhNubj)}(h``SOCK_STREAM``h]h SOCK_STREAM}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, etc)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hM'hjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM'hj{ubj)}(h#``sk_dst_cache`` destination cache h](j)}(h``sk_dst_cache``h]j)}(hj5h]h sk_dst_cache}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj/ubj)}(hhh]jX)}(hdestination cacheh]hdestination cache}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhKhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhKhj{ubj)}(h<``sk_route_caps`` route capabilities (e.g. ``NETIF_F_TSO``) h](j)}(h``sk_route_caps``h]j)}(hjnh]h sk_route_caps}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjhubj)}(hhh]jX)}(h)route capabilities (e.g. ``NETIF_F_TSO``)h](hroute capabilities (e.g. }(hjhhhNhNubj)}(h``NETIF_F_TSO``h]h NETIF_F_TSO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(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)}(hjh]hsk_validate_xmit_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMOhjubj)}(hhh]jX)}(h$ptr to an optional validate functionh]h$ptr to an optional validate function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhj{ubj)}(h2``sk_gso_type`` GSO type (e.g. ``SKB_GSO_TCPV4``) h](j)}(h``sk_gso_type``h]j)}(hjh]h sk_gso_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jX)}(h!GSO type (e.g. ``SKB_GSO_TCPV4``)h](hGSO type (e.g. }(hj hhhNhNubj)}(h``SKB_GSO_TCPV4``h]h SKB_GSO_TCPV4}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh)}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(hj=h]hsk_gso_max_segs}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj7ubj)}(hhh]jX)}(hMaximum number of GSO segmentsh]hMaximum number of GSO segments}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhj{ubj)}(h6``sk_gso_max_size`` Maximum GSO segment size to build h](j)}(h``sk_gso_max_size``h]j)}(hjvh]hsk_gso_max_size}(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.hhMhjpubj)}(hhh]jX)}(h!Maximum GSO segment size to buildh]h!Maximum GSO segment size to build}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(h"``sk_allocation`` allocation mode h](j)}(h``sk_allocation``h]j)}(hjh]h sk_allocation}(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)}(hallocation modeh]hallocation mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(h5``sk_txhash`` computed flow hash for use on transmit h](j)}(h ``sk_txhash``h]j)}(hjh]h sk_txhash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM/hjubj)}(hhh]jX)}(h&computed flow hash for use on transmith]h&computed flow hash for use on transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hj{ubj)}(h+``sk_sndbuf`` size of send buffer in bytes h](j)}(h ``sk_sndbuf``h]j)}(hj!h]h sk_sndbuf}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjubj)}(hhh]jX)}(hsize of send buffer in bytesh]hsize of send buffer in bytes}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hM hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM hj{ubj)}(h8``sk_pacing_shift`` scaling factor for TCP Small Queues h](j)}(h``sk_pacing_shift``h]j)}(hjZh]hsk_pacing_shift}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjTubj)}(hhh]jX)}(h#scaling factor for TCP Small Queuesh]h#scaling factor for TCP Small Queues}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhj{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.hhM9hjubj)}(hhh]jX)}(hwallow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false.h]hwallow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hj{ubj)}(h;``sk_gso_disabled`` if set, NETIF_F_GSO_MASK is forbidden. h](j)}(h``sk_gso_disabled``h]j)}(hjh]hsk_gso_disabled}(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&if set, NETIF_F_GSO_MASK is forbidden.h]h&if set, NETIF_F_GSO_MASK is forbidden.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{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.hhKhjubj)}(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&]uh1jhjubeh}(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)}(hj?h]hsk_no_check_tx}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj9ubj)}(hhh]jX)}(h3``SO_NO_CHECK`` setting, set checksum in TX packetsh](j)}(h``SO_NO_CHECK``h]h SO_NO_CHECK}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh$ setting, set checksum in TX packets}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjThM hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM hj{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)}(hjh]h sk_shutdown}(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)}(h1mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN``h](hmask of }(hjhhhNhNubj)}(h``SEND_SHUTDOWN``h]h SEND_SHUTDOWN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and/or }(hjhhhNhNubj)}(h``RCV_SHUTDOWN``h]h RCV_SHUTDOWN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj{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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh l_linger setting}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhj{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)}(hj_h]hsk_prot_creator}(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.hhMhjYubj)}(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)}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhj{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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(h*``sk_ack_backlog`` current listen backlog h](j)}(h``sk_ack_backlog``h]j)}(hjh]hsk_ack_backlog}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjubj)}(hhh]jX)}(hcurrent listen backlogh]hcurrent listen backlog}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj{ubj)}(h6``sk_max_ack_backlog`` listen backlog set in listen() h](j)}(h``sk_max_ack_backlog``h]j)}(hj h]hsk_max_ack_backlog}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(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()}(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+``sk_ino`` inode number (zero if orphaned) h](j)}(h ``sk_ino``h]j)}(hjDh]hsk_ino}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM#hj>ubj)}(hhh]jX)}(hinode number (zero if orphaned)h]hinode number (zero if orphaned)}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhM#hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM#hj{ubj)}(hF``sk_peer_lock`` lock protecting **sk_peer_pid** and **sk_peer_cred** h](j)}(h``sk_peer_lock``h]j)}(hj}h]h sk_peer_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM)hjwubj)}(hhh]jX)}(h4lock protecting **sk_peer_pid** and **sk_peer_cred**h](hlock protecting }(hjhhhNhNubj)}(h**sk_peer_pid**h]h sk_peer_pid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**sk_peer_cred**h]h sk_peer_cred}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(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)}(hjh]h sk_bind_phc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM;hjubj)}(hhh]jX)}(hDSO_TIMESTAMPING bind PHC index of PTP virtual clock for timestampingh]hDSO_TIMESTAMPING bind PHC index of PTP virtual clock for timestamping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;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*hj ubj)}(hhh]jX)}(h1:c:type:`struct pid ` for this socket's peerh](h)}(h:c:type:`struct pid `h]j)}(hj/h]h struct pid}(hj1hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjpiduh1hhj%hM*hj)ubh for this socket’s peer}(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)``sk_peer_cred`` ``SO_PEERCRED`` setting h](j)}(h``sk_peer_cred``h]j)}(hjhh]h sk_peer_cred}(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``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&]uh1jWhj}hM+hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM+hj{ubj)}(h0``sk_stamp`` time stamp of last packet received h](j)}(h ``sk_stamp``h]j)}(hjh]hsk_stamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM3hjubj)}(hhh]jX)}(h"time stamp of last packet receivedh]h"time stamp of last packet received}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hj{ubj)}(hJ``sk_stamp_seq`` lock for accessing sk_stamp on 32 bit architectures only h](j)}(h``sk_stamp_seq``h]j)}(hjh]h sk_stamp_seq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM4hjubj)}(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&]uh1jWhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hj{ubj)}(hJ``sk_disconnects`` number of disconnect operations performed on this sock h](j)}(h``sk_disconnects``h]j)}(hj!h]hsk_disconnects}(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.hhMIhjubj)}(hhh]jX)}(h6number of disconnect operations performed on this sockh]h6number of disconnect operations performed on this sock}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMIhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMIhj{ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjZh]h{unnamed_union}}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjTubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohKhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohKhj{ubj)}(h'``sk_txrehash`` enable TX hash rethink h](j)}(h``sk_txrehash``h]j)}(hjh]h sk_txrehash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM0hjubj)}(hhh]jX)}(henable TX hash rethinkh]henable TX hash rethink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hj{ubj)}(h3``sk_scm_recv_flags`` all flags used by scm_recv() h](j)}(h``sk_scm_recv_flags``h]j)}(hjh]hsk_scm_recv_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMXhjubj)}(hhh]jX)}(hall flags used by scm_recv()h]hall flags used by scm_recv()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhj{ubj)}(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&]uh1jhjhKhj{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.hhMYhj8ubj)}(hhh]jX)}(h.flagged by SO_PASSCRED to recv SCM_CREDENTIALSh]h.flagged by SO_PASSCRED to recv SCM_CREDENTIALS}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMYhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMYhj{ubj)}(h?``sk_scm_security`` flagged by SO_PASSSEC to recv SCM_SECURITY h](j)}(h``sk_scm_security``h]j)}(hjwh]hsk_scm_security}(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.hhMZhjqubj)}(hhh]jX)}(h*flagged by SO_PASSSEC to recv SCM_SECURITYh]h*flagged by SO_PASSSEC to recv SCM_SECURITY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMZhj{ubj)}(h;``sk_scm_pidfd`` flagged by SO_PASSPIDFD to recv SCM_PIDFD h](j)}(h``sk_scm_pidfd``h]j)}(hjh]h sk_scm_pidfd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM[hjubj)}(hhh]jX)}(h)flagged by SO_PASSPIDFD to recv SCM_PIDFDh]h)flagged by SO_PASSPIDFD to recv SCM_PIDFD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hj{ubj)}(h>``sk_scm_rights`` flagged by SO_PASSRIGHTS to recv SCM_RIGHTS h](j)}(h``sk_scm_rights``h]j)}(hjh]h sk_scm_rights}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM\hjubj)}(hhh]jX)}(h+flagged by SO_PASSRIGHTS to recv SCM_RIGHTSh]h+flagged by SO_PASSRIGHTS to recv SCM_RIGHTS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hj{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.hhM]hjubj)}(hhh]jX)}(hunused flags for scm_recv()h]hunused flags for scm_recv()}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hM]hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hM]hj{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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMThjUubj)}(hhh]jX)}(h1clockid used by time-based scheduling (SO_TXTIME)h]h1clockid used by time-based scheduling (SO_TXTIME)}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMThjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMThj{ubj)}(h<``sk_txtime_deadline_mode`` set deadline mode for SO_TXTIME h](j)}(h``sk_txtime_deadline_mode``h]j)}(hjh]hsk_txtime_deadline_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMUhjubj)}(hhh]jX)}(hset deadline mode for SO_TXTIMEh]hset deadline mode for SO_TXTIME}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhj{ubj)}(hA``sk_txtime_report_errors`` set report errors mode for SO_TXTIME h](j)}(h``sk_txtime_report_errors``h]j)}(hjh]hsk_txtime_report_errors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMVhjubj)}(hhh]jX)}(h$set report errors mode for SO_TXTIMEh]h$set report errors mode for SO_TXTIME}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhj{ubj)}(h)``sk_txtime_unused`` unused txtime flags h](j)}(h``sk_txtime_unused``h]j)}(hjh]hsk_txtime_unused}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMWhjubj)}(hhh]jX)}(hunused txtime flagsh]hunused txtime flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhj{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}(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.hhM6hj9ubj)}(hhh]jX)}(hused in bpf_setsockopt()h]hused in bpf_setsockopt()}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThM6hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM6hj{ubj)}(hR``sk_user_data`` RPC layer private data. Write-protected by **sk_callback_lock**. h](j)}(h``sk_user_data``h]j)}(hjxh]h sk_user_data}(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.hhM?hjrubj)}(hhh]jX)}(h@RPC layer private data. Write-protected by **sk_callback_lock**.h](h+RPC layer private data. Write-protected by }(hjhhhNhNubj)}(h**sk_callback_lock**h]hsk_callback_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhM?hj{ubj)}(h)``sk_security`` used by security modules h](j)}(h``sk_security``h]j)}(hjh]h sk_security}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMDhjubj)}(hhh]jX)}(hused by security modulesh]hused by security modules}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhj{ubj)}(h-``sk_cgrp_data`` cgroup data for this cgroup h](j)}(h``sk_cgrp_data``h]j)}(hjh]h sk_cgrp_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMFhjubj)}(hhh]jX)}(hcgroup data for this cgrouph]hcgroup data for this cgroup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhj{ubj)}(hI``sk_state_change`` callback to indicate change in the state of the sock h](j)}(h``sk_state_change``h]j)}(hj5h]hsk_state_change}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMJhj/ubj)}(hhh]jX)}(h4callback to indicate change in the state of the sockh]h4callback to indicate change in the state of the sock}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMJhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMJhj{ubj)}(hL``sk_write_space`` callback to indicate there is bf sending space available h](j)}(h``sk_write_space``h]j)}(hjnh]hsk_write_space}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMLhjhubj)}(hhh]jX)}(h8callback to indicate there is bf sending space availableh]h8callback to indicate there is bf sending space available}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMLhj{ubj)}(hH``sk_error_report`` callback to indicate errors (e.g. ``MSG_ERRQUEUE``) h](j)}(h``sk_error_report``h]j)}(hjh]hsk_error_report}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMMhjubj)}(hhh]jX)}(h3callback to indicate errors (e.g. ``MSG_ERRQUEUE``)h](h"callback to indicate errors (e.g. }(hjhhhNhNubj)}(h``MSG_ERRQUEUE``h]h MSG_ERRQUEUE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhj{ubj)}(h3``sk_backlog_rcv`` callback to process the backlog h](j)}(h``sk_backlog_rcv``h]j)}(hjh]hsk_backlog_rcv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMNhjubj)}(hhh]jX)}(hcallback to process the backlogh]hcallback to process the backlog}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhj{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.hhMPhj%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}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMPhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMPhj{ubj)}(h.``sk_reuseport_cb`` reuseport group container h](j)}(h``sk_reuseport_cb``h]j)}(hjdh]hsk_reuseport_cb}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMQhj^ubj)}(hhh]jX)}(hreuseport group containerh]hreuseport group container}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMQhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMQhj{ubj)}(h?``sk_bpf_storage`` ptr to cache and control for bpf_sk_storage h](j)}(h``sk_bpf_storage``h]j)}(hjh]hsk_bpf_storage}(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.hhMRhjubj)}(hhh]jX)}(h+ptr to cache and control for bpf_sk_storageh]h+ptr to cache and control for bpf_sk_storage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhj{ubj)}(h<``sk_drop_counters`` optional pointer to numa_drop_counters h](j)}(h``sk_drop_counters``h]j)}(hjh]hsk_drop_counters}(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&optional pointer to numa_drop_countersh]h&optional pointer to numa_drop_counters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj{ubj)}(h(``sk_rcu`` used during RCU grace period h](j)}(h ``sk_rcu``h]j)}(hjh]hsk_rcu}(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.hhMShj ubj)}(hhh]jX)}(hused during RCU grace periodh]hused during RCU grace period}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMShj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMShj{ubj)}(h+``ns_tracker`` tracker for netns reference h](j)}(h``ns_tracker``h]j)}(hjHh]h ns_tracker}(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)}(htracker for netns referenceh]htracker for netns reference}(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)}(hF``sk_user_frags`` xarray of pages the user is holding a reference on. h](j)}(h``sk_user_frags``h]j)}(hjh]h sk_user_frags}(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)}(h3xarray of pages the user is holding a reference on.h]h3xarray of pages the user is holding a reference on.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM_hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM_hj{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)}(hjh]hsk_owner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM`hjubj)}(hhh]jX)}(hUreference to the real owner of the socket that calls sock_lock_init_class_and_name().h]hUreference to the real owner of the socket that calls sock_lock_init_class_and_name().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM`hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM`hj{ubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#sk_user_data_is_nocopy (C function)c.sk_user_data_is_nocopyhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3bool sk_user_data_is_nocopy (const struct sock *sk)h]h)}(h2bool sk_user_data_is_nocopy(const struct sock *sk)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMiubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMiubj)}(hsk_user_data_is_nocopyh]j%)}(hsk_user_data_is_nocopyh]hsk_user_data_is_nocopy}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMiubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj5sbc.sk_user_data_is_nocopyasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hMiubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMiubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMihjhhubjS)}(hhh]jX)}(h/Test if sk_user_data pointer must not be copiedh]h/Test if sk_user_data pointer must not be copied}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMihjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMiubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h2**Parameters** ``const struct sock *sk`` socketh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMmhj ubj)}(hhh]j)}(h ``const struct sock *sk`` socketh](j)}(h``const struct sock *sk``h]j)}(hj.h]hconst struct sock *sk}(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.hhMohj(ubj)}(hhh]jX)}(hsocketh]hsocket}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMjhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMohj%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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMtubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMtubj)}(h%__locked_read_sk_user_data_with_flagsh]j%)}(h%__locked_read_sk_user_data_with_flagsh]h%__locked_read_sk_user_data_with_flags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMtubj)}(h((const struct sock *sk, uintptr_t flags)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsockh]hsock}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsb'c.__locked_read_sk_user_data_with_flagsasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskh]hsk}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(huintptr_t flagsh](h)}(hhh]j%)}(h uintptr_th]h uintptr_t}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j''c.__locked_read_sk_user_data_with_flagsasbuh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj%)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMtubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMtubah}(h]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMthj}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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMthjhhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhjhMtubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sock *sk`` socket ``uintptr_t flags`` flag bits **Description** The caller must be holding sk->sk_callback_lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMxhjubj)}(hhh](j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hjh]hconst struct sock *sk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMxhjubj)}(hhh]jX)}(hsocketh]hsocket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(h``uintptr_t flags`` flag bits h](j)}(h``uintptr_t flags``h]j)}(hj2h]huintptr_t flags}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMyhj,ubj)}(hhh]jX)}(h flag bitsh]h flag bits}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMyhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMyhjubeh}(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&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM{hjubjX)}(h0The caller must be holding sk->sk_callback_lock.h]h0The caller must be holding sk->sk_callback_lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMzhjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(h)__rcu_dereference_sk_user_data_with_flagsh]j%)}(h)__rcu_dereference_sk_user_data_with_flagsh]h)__rcu_dereference_sk_user_data_with_flags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h((const struct sock *sk, uintptr_t flags)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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%)}(hsockh]hsock}(hj5 hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2 ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7 modnameN classnameNjj!)}j$]j')}jjsb+c.__rcu_dereference_sk_user_data_with_flagsasbuh1hhjubj)}(h h]h }(hjU hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjc hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskh]hsk}(hjp hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(huintptr_t flagsh](h)}(hhh]j%)}(h uintptr_th]h uintptr_t}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jQ +c.__rcu_dereference_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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hareturn the pointer only if argument flags all has been set in sk_user_data. Otherwise return NULLh]hareturn the pointer only if argument flags all has been set in sk_user_data. Otherwise return NULL}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj 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` 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}(hjB"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.}(hjY"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjU"hMhjV"ubah}(h]h ]h"]h$]h&]uh1jhj:"ubeh}(h]h ]h"]h$]h&]uh1jhjU"hMhj7"ubj)}(hN``pos`` the :c:type:`struct hlist_node ` to use as a loop cursor. h](j)}(h``pos``h]j)}(hjy"h]hpos}(hj{"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjs"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&]uh1jhjs"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj7"ubj)}(h!``head`` the head for your list. h](j)}(h``head``h]j)}(hj"h]hhead}(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)}(hthe head for your list.h]hthe head for your list.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj7"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##hMhj7"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%)}(hjb#h]hSOCK_CONNECT_BIND}(hjl#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjd#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.hhMhj#ubh% flag for auto-bind at connect() time}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1j hj#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}(hjA$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=$ubj)}(h h]h }(hjN$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 reftargetja$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=uh1jhj9$ubah}(h]h ]h"]h$]h&]j<j=uh1jhj$hhhj$hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj$hMubah}(h]j#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj$hMhj#hhubjS)}(hhh]jX)}(hfast version of lock_sockh]hfast version of lock_sock}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj$hhubah}(h]h ]h"]h$]h&]uh1jRhj#hhhj$hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhj[hNhNubj})}(hX5**Parameters** ``struct sock *sk`` socket **Description** This version should be used for very small section, where process won't block return false if fast path is taken: sk_lock.slock locked, owned = 0, BH disabled return true if slow path is taken: sk_lock.slock unlocked, owned = 1, BH enabledh](jX)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj$ubj)}(hhh]j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj%h]hstruct sock *sk}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj$ubj)}(hhh]jX)}(hsocketh]hsocket}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubjX)}(h**Description**h]j)}(hj@%h]h Description}(hjB%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>%ubah}(h]h ]h"]h$]h&]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:}(hjV%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}(hji%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhje%ubah}(h]h ]h"]h$]h&]uh1j hjw%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%h]h-sk_lock.slock unlocked, owned = 1, BH enabled}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj%ubah}(h]h ]h"]h$]h&]uh1j hj%hMhj$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}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%hhhj%hMubj)}(hunlock_sock_fasth]j%)}(hunlock_sock_fasth]hunlock_sock_fast}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj%hhhj%hMubj)}(h(struct sock *sk, bool slow)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubh)}(hhh]j%)}(hsockh]hsock}(hj &hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"&modnameN classnameNjj!)}j$]j')}jj%sbc.unlock_sock_fastasbuh1hhj%ubj)}(h h]h }(hj@&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj;)}(hj>h]h*}(hjN&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%ubj%)}(hskh]hsk}(hj[&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubj)}(h bool slowh](j)}(hjTh]hbool}(hjt&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjp&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjp&ubj%)}(hslowh]hslow}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjp&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj%hhhj%hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%hhhj%hMubah}(h]j%ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj%hMhj%hhubjS)}(hhh]jX)}(hcomplement of lock_sock_fasth]hcomplement of lock_sock_fast}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj&hhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhj%hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sock *sk`` socket ``bool slow`` slow mode **Description** fast unlock socket for user context. If slow mode is on, we call regular release_sock()h](jX)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj&ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj&h]hstruct sock *sk}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj&ubj)}(hhh]jX)}(hsocketh]hsocket}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj&ubj)}(h``bool slow`` slow mode h](j)}(h ``bool slow``h]j)}(hj3'h]h bool slow}(hj5'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj-'ubj)}(hhh]jX)}(h slow modeh]h slow mode}(hjL'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjH'hMhjI'ubah}(h]h ]h"]h$]h&]uh1jhj-'ubeh}(h]h ]h"]h$]h&]uh1jhjH'hMhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&ubjX)}(h**Description**h]j)}(hjn'h]h Description}(hjp'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl'ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj&ubjX)}(hWfast unlock socket for user context. If slow mode is on, we call regular release_sock()h]hWfast unlock socket for user context. If slow mode is on, we call regular release_sock()}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_wmem_alloc_get (C function)c.sk_wmem_alloc_gethNtauh1hhj[hhhNhNubh)}(hhh](h)}(h-int sk_wmem_alloc_get (const struct sock *sk)h]h)}(h,int sk_wmem_alloc_get(const struct sock *sk)h](j)}(hinth]hint}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj'hM ubj)}(hsk_wmem_alloc_geth]j%)}(hsk_wmem_alloc_geth]hsk_wmem_alloc_get}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj'hM ubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hjh]hstruct}(hj (hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hhh]j%)}(hsockh]hsock}(hj)(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+(modnameN classnameNjj!)}j$]j')}jj'sbc.sk_wmem_alloc_getasbuh1hhj'ubj)}(h h]h }(hjI(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj;)}(hj>h]h*}(hjW(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'ubj%)}(hskh]hsk}(hjd(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubah}(h]h ]h"]h$]h&]j<j=uh1jhj'hhhj'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)}(hreturns write allocationsh]hreturns write allocations}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(hhubah}(h]h ]h"]h$]h&]uh1jRhj'hhhj'hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhj[hNhNubj})}(hi**Parameters** ``const struct sock *sk`` socket **Return** sk_wmem_alloc minus initial offset of oneh](jX)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj(h]hconst struct sock *sk}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(ubj)}(hhh]jX)}(hsocketh]hsocket}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hM hj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hM hj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubjX)}(h **Return**h]j)}(hj )h]hReturn}(hj )hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(ubjX)}(h)sk_wmem_alloc minus initial offset of oneh]h)sk_wmem_alloc minus initial offset of one}(hj )hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_rmem_alloc_get (C function)c.sk_rmem_alloc_gethNtauh1hhj[hhhNhNubh)}(hhh](h)}(h-int sk_rmem_alloc_get (const struct sock *sk)h]h)}(h,int sk_rmem_alloc_get(const struct sock *sk)h](j)}(hinth]hint}(hjO)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK)hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM ubj)}(h h]h }(hj^)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjK)hhhj])hM ubj)}(hsk_rmem_alloc_geth]j%)}(hsk_rmem_alloc_geth]hsk_rmem_alloc_get}(hjp)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjl)ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjK)hhhj])hM ubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubh)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubh)}(hhh]j%)}(hsockh]hsock}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)modnameN classnameNjj!)}j$]j')}jjr)sbc.sk_rmem_alloc_getasbuh1hhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)ubj%)}(hskh]hsk}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubah}(h]h ]h"]h$]h&]j<j=uh1jhjK)hhhj])hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjG)hhhj])hM ubah}(h]jB)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj])hM hjD)hhubjS)}(hhh]jX)}(hreturns read allocationsh]hreturns read allocations}(hj**hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj'*hhubah}(h]h ]h"]h$]h&]uh1jRhjD)hhhj])hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjB*jxjB*jyjzj{uh1hhhhj[hNhNubj})}(hM**Parameters** ``const struct sock *sk`` socket **Return** sk_rmem_alloch](jX)}(h**Parameters**h]j)}(hjL*h]h Parameters}(hjN*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ*ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjF*ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hjk*h]hconst struct sock *sk}(hjm*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hje*ubj)}(hhh]jX)}(hsocketh]hsocket}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hM hj*ubah}(h]h ]h"]h$]h&]uh1jhje*ubeh}(h]h ]h"]h$]h&]uh1jhj*hM hjb*ubah}(h]h ]h"]h$]h&]uh1jhjF*ubjX)}(h **Return**h]j)}(hj*h]hReturn}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjF*ubjX)}(h sk_rmem_alloch]h sk_rmem_alloc}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjF*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_has_allocations (C function)c.sk_has_allocationshNtauh1hhj[hhhNhNubh)}(hhh](h)}(h/bool sk_has_allocations (const struct sock *sk)h]h)}(h.bool sk_has_allocations(const struct sock *sk)h](j)}(hjTh]hbool}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhhj*hM ubj)}(hsk_has_allocationsh]j%)}(hsk_has_allocationsh]hsk_has_allocations}(hj +hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj*hM ubj)}(h(const struct sock *sk)h]j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj'+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#+ubj)}(h h]h }(hj4+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#+ubh)}(hjh]hstruct}(hjB+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj#+ubj)}(h h]h }(hjO+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#+ubh)}(hhh]j%)}(hsockh]hsock}(hj`+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]+ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjb+modnameN classnameNjj!)}j$]j')}jj +sbc.sk_has_allocationsasbuh1hhj#+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#+ubj;)}(hj>h]h*}(hj+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#+ubj%)}(hskh]hsk}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj+ubah}(h]h ]h"]h$]h&]j<j=uh1jhj*hhhj*hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj*hhhj*hM ubah}(h]j*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*hM hj*hhubjS)}(hhh]jX)}(h$check if allocations are outstandingh]h$check if allocations are outstanding}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj+hhubah}(h]h ]h"]h$]h&]uh1jRhj*hhhj*hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+jxj+jyjzj{uh1hhhhj[hNhNubj})}(hl**Parameters** ``const struct sock *sk`` socket **Return** true if socket has write or read allocationsh](jX)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj+ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj,h]hconst struct sock *sk}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj,ubj)}(hhh]jX)}(hsocketh]hsocket}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hM hj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hM hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubjX)}(h **Return**h]j)}(hjA,h]hReturn}(hjC,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?,ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj+ubjX)}(h,true if socket has write or read allocationsh]h,true if socket has write or read allocations}(hjW,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskwq_has_sleeper (C function)c.skwq_has_sleeperhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h,bool skwq_has_sleeper (struct socket_wq *wq)h]h)}(h+bool skwq_has_sleeper(struct socket_wq *wq)h](j)}(hjTh]hbool}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM$ ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,hhhj,hM$ ubj)}(hskwq_has_sleeperh]j%)}(hskwq_has_sleeperh]hskwq_has_sleeper}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhj,hM$ ubj)}(h(struct socket_wq *wq)h]j)}(hstruct socket_wq *wqh](h)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(h socket_wqh]h socket_wq}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,modnameN classnameNjj!)}j$]j')}jj,sbc.skwq_has_sleeperasbuh1hhj,ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj;)}(hj>h]h*}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj%)}(hwqh]hwq}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubah}(h]h ]h"]h$]h&]j<j=uh1jhj,hhhj,hM$ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~,hhhj,hM$ ubah}(h]jy,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,hM$ hj{,hhubjS)}(hhh]jX)}(h(check if there are any waiting processesh]h(check if there are any waiting processes}(hjE-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM$ hjB-hhubah}(h]h ]h"]h$]h&]uh1jRhj{,hhhj,hM$ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]-jxj]-jyjzj{uh1hhhhj[hNhNubj})}(hX$**Parameters** ``struct socket_wq *wq`` struct socket_wq **Return** true if socket_wq has waiting processes **Description** The purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code. Consider following tcp code paths:: CPU1 CPU2 sys_select receive packet ... ... __add_wait_queue update tp->rcv_nxt ... ... tp->rcv_nxt check sock_def_readable ... { schedule rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (wq && waitqueue_active(&wq->wait)) wake_up_interruptible(&wq->wait) ... } The race for tcp fires when the __add_wait_queue changes done by CPU1 stay in its cache, and so does the tp->rcv_nxt update on CPU2 side. The CPU1 could then endup calling schedule and sleep forever if there are no more data on the socket.h](jX)}(h**Parameters**h]j)}(hjg-h]h Parameters}(hji-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje-ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM( hja-ubj)}(hhh]j)}(h*``struct socket_wq *wq`` struct socket_wq h](j)}(h``struct socket_wq *wq``h]j)}(hj-h]hstruct socket_wq *wq}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM% hj-ubj)}(hhh]jX)}(hstruct socket_wqh]hstruct socket_wq}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hM% hj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hM% hj}-ubah}(h]h ]h"]h$]h&]uh1jhja-ubjX)}(h **Return**h]j)}(hj-h]hReturn}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM' hja-ubjX)}(h'true if socket_wq has waiting processesh]h'true if socket_wq has waiting processes}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM' hja-ubjX)}(h**Description**h]j)}(hj-h]h Description}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM) hja-ubjX)}(hThe purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code.h]hThe purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM( hja-ubjX)}(h#Consider following tcp code paths::h]h"Consider following tcp code paths:}(hj .hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM+ hja-ubjU)}(hXCPU1 CPU2 sys_select receive packet ... ... __add_wait_queue update tp->rcv_nxt ... ... tp->rcv_nxt check sock_def_readable ... { schedule rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (wq && waitqueue_active(&wq->wait)) wake_up_interruptible(&wq->wait) ... }h]hXCPU1 CPU2 sys_select receive packet ... ... __add_wait_queue update tp->rcv_nxt ... ... tp->rcv_nxt check sock_def_readable ... { schedule rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (wq && waitqueue_active(&wq->wait)) wake_up_interruptible(&wq->wait) ... }}hj.sbah}(h]h ]h"]h$]h&]j<j=uh1jThR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM- hja-ubjX)}(hThe race for tcp fires when the __add_wait_queue changes done by CPU1 stay in its cache, and so does the tp->rcv_nxt update on CPU2 side. The CPU1 could then endup calling schedule and sleep forever if there are no more data on the socket.h]hThe race for tcp fires when the __add_wait_queue changes done by CPU1 stay in its cache, and so does the tp->rcv_nxt update on CPU2 side. The CPU1 could then endup calling schedule and sleep forever if there are no more data on the socket.}(hj+.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM; hja-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_poll_wait (C function)c.sock_poll_waithNtauh1hhj[hhhNhNubh)}(hhh](h)}(hKvoid sock_poll_wait (struct file *filp, struct socket *sock, poll_table *p)h]h)}(hJvoid sock_poll_wait(struct file *filp, struct socket *sock, poll_table *p)h](j)}(hvoidh]hvoid}(hjZ.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV.hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMH ubj)}(h h]h }(hji.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjV.hhhjh.hMH ubj)}(hsock_poll_waith]j%)}(hsock_poll_waith]hsock_poll_wait}(hj{.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjw.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjV.hhhjh.hMH ubj)}(h7(struct file *filp, struct socket *sock, poll_table *p)h](j)}(hstruct file *filph](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(hfileh]hfile}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jj}.sbc.sock_poll_waitasbuh1hhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hfilph]hfilp}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj /hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hhh]j%)}(hsocketh]hsocket}(hj'/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)/modnameN classnameNjj!)}j$]j.c.sock_poll_waitasbuh1hhj/ubj)}(h h]h }(hjE/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj;)}(hj>h]h*}(hjS/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj%)}(hsockh]hsock}(hj`/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(h poll_table *ph](h)}(hhh]j%)}(h poll_tableh]h poll_table}(hj|/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjy/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~/modnameN classnameNjj!)}j$]j.c.sock_poll_waitasbuh1hhju/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hju/ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hju/ubj%)}(hjGh]hp}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hju/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjV.hhhjh.hMH ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjR.hhhjh.hMH ubah}(h]jM.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjh.hMH hjO.hhubjS)}(hhh]jX)}(hwrapper for the poll_wait call.h]hwrapper for the poll_wait call.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMH hj/hhubah}(h]h ]h"]h$]h&]uh1jRhjO.hhhjh.hMH ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct file *filp`` file ``struct socket *sock`` socket to wait on ``poll_table *p`` poll_table **Description** See the comments in the wq_has_sleeper function.h](jX)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj0hhhNhNubah}(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.hhML hj/ubj)}(hhh](j)}(h``struct file *filp`` file h](j)}(h``struct file *filp``h]j)}(hj0h]hstruct file *filp}(hj!0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMI hj0ubj)}(hhh]jX)}(hfileh]hfile}(hj80hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj40hMI hj50ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj40hMI hj0ubj)}(h*``struct socket *sock`` socket to wait on h](j)}(h``struct socket *sock``h]j)}(hjX0h]hstruct socket *sock}(hjZ0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMJ hjR0ubj)}(hhh]jX)}(hsocket to wait onh]hsocket to wait on}(hjq0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjm0hMJ hjn0ubah}(h]h ]h"]h$]h&]uh1jhjR0ubeh}(h]h ]h"]h$]h&]uh1jhjm0hMJ hj0ubj)}(h``poll_table *p`` poll_table h](j)}(h``poll_table *p``h]j)}(hj0h]h poll_table *p}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMK hj0ubj)}(hhh]jX)}(h poll_tableh]h poll_table}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hMK hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMK hj0ubeh}(h]h ]h"]h$]h&]uh1jhj/ubjX)}(h**Description**h]j)}(hj0h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMM hj/ubjX)}(h0See the comments in the wq_has_sleeper function.h]h0See the comments in the wq_has_sleeper function.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhML hj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_page_frag (C function)c.sk_page_fraghNtauh1hhj[hhhNhNubh)}(hhh](h)}(h1struct page_frag * sk_page_frag (struct sock *sk)h]h)}(h/struct page_frag *sk_page_frag(struct sock *sk)h](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj 1hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 1hhhj1hM ubh)}(hhh]j%)}(h page_fragh]h page_frag}(hj01hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj21modnameN classnameNjj!)}j$]j')}j sk_page_fragsbc.sk_page_fragasbuh1hhj 1hhhj1hM ubj)}(h h]h }(hjQ1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 1hhhj1hM ubj;)}(hj>h]h*}(hj_1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj 1hhhj1hM ubj)}(h sk_page_fragh]j%)}(hjN1h]h sk_page_frag}(hjp1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjl1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj 1hhhj1hM ubj)}(h(struct sock *sk)h]j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(hsockh]hsock}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]jL1c.sk_page_fragasbuh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hskh]hsk}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubah}(h]h ]h"]h$]h&]j<j=uh1jhj 1hhhj1hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj 1hhhj1hM ubah}(h]j1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1hM hj1hhubjS)}(hhh]jX)}(hreturn an appropriate page_fragh]hreturn an appropriate page_frag}(hj 2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj 2hhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhj1hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$2jxj$2jyjzj{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.2h]h Parameters}(hj02hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,2ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(2ubj)}(hhh]j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjM2h]hstruct sock *sk}(hjO2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjG2ubj)}(hhh]jX)}(hsocketh]hsocket}(hjf2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjb2hM hjc2ubah}(h]h ]h"]h$]h&]uh1jhjG2ubeh}(h]h ]h"]h$]h&]uh1jhjb2hM hjD2ubah}(h]h ]h"]h$]h&]uh1jhj(2ubjX)}(h**Description**h]j)}(hj2h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(2ubjX)}(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 }(hj2hhhNhNubj)}(h ``current``h]hcurrent}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(2ubjX)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(2ubjX)}(h **Return**h]j)}(hj2h]hReturn}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(2ubjX)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj(2ubeh}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM ubj)}(h h]h }(hj$3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhj#3hM ubj)}(h_sock_tx_timestamph]j%)}(h_sock_tx_timestamph]h_sock_tx_timestamp}(hj63hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj23ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhj#3hM ubj)}(hR(struct sock *sk, const struct sockcm_cookie *sockc, __u8 *tx_flags, __u32 *tskey)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hjR3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjN3ubj)}(h h]h }(hj_3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjN3ubh)}(hhh]j%)}(hsockh]hsock}(hjp3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjr3modnameN classnameNjj!)}j$]j')}jj83sbc._sock_tx_timestampasbuh1hhjN3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjN3ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjN3ubj%)}(hskh]hsk}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjN3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJ3ubj)}(h!const struct sockcm_cookie *sockch](h)}(hjh]hconst}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(h sockcm_cookieh]h sockcm_cookie}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j3c._sock_tx_timestampasbuh1hhj3ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hj)4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hsockch]hsockc}(hj64hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJ3ubj)}(h__u8 *tx_flagsh](h)}(hhh]j%)}(h__u8h]h__u8}(hjR4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjT4modnameN classnameNjj!)}j$]j3c._sock_tx_timestampasbuh1hhjK4ubj)}(h h]h }(hjp4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjK4ubj;)}(hj>h]h*}(hj~4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjK4ubj%)}(htx_flagsh]htx_flags}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjK4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJ3ubj)}(h __u32 *tskeyh](h)}(hhh]j%)}(h__u32h]h__u32}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j3c._sock_tx_timestampasbuh1hhj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(htskeyh]htskey}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJ3ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhj#3hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj 3hhhj#3hM ubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#3hM hj 3hhubjS)}(hhh]jX)}(h8checks whether the outgoing packet is to be time stampedh]h8checks whether the outgoing packet is to be time stamped}(hj 5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj5hhubah}(h]h ]h"]h$]h&]uh1jRhj 3hhhj#3hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"5jxj"5jyjzj{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,5h]h Parameters}(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 hj&5ubj)}(hhh](j)}(h/``struct sock *sk`` socket sending this packet h](j)}(h``struct sock *sk``h]j)}(hjK5h]hstruct sock *sk}(hjM5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjE5ubj)}(hhh]jX)}(hsocket sending this packeth]hsocket sending this packet}(hjd5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`5hM hja5ubah}(h]h ]h"]h$]h&]uh1jhjE5ubeh}(h]h ]h"]h$]h&]uh1jhj`5hM hjB5ubj)}(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)}(hj5h]h!const struct sockcm_cookie *sockc}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj~5ubj)}(hhh]jX)}(h6pointer to socket cmsg cookie to get timestamping infoh]h6pointer to socket cmsg cookie to get timestamping info}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hM hj5ubah}(h]h ]h"]h$]h&]uh1jhj~5ubeh}(h]h ]h"]h$]h&]uh1jhj5hM hjB5ubj)}(hA``__u8 *tx_flags`` completed with instructions for time stamping h](j)}(h``__u8 *tx_flags``h]j)}(hj5h]h__u8 *tx_flags}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj5ubj)}(hhh]jX)}(h-completed with instructions for time stampingh]h-completed with instructions for time stamping}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hM hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hM hjB5ubj)}(hN``__u32 *tskey`` filled in with next sk_tskey (not for TCP, which uses seqno) h](j)}(h``__u32 *tskey``h]j)}(hj5h]h __u32 *tskey}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj5ubj)}(hhh]jX)}(hh]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hskh]hsk}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj77hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj37ubj)}(h h]h }(hjD7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj37ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjU7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjR7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjW7modnameN classnameNjj!)}j$]j6 c.sk_eat_skbasbuh1hhj37ubj)}(h h]h }(hjs7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj37ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj37ubj%)}(hskbh]hskb}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj37ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj6hhhj6hMl ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6hhhj6hMl ubah}(h]j{6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj6hMl hj}6hhubjS)}(hhh]jX)}(h'Release a skb if it is no longer neededh]h'Release a skb if it is no longer needed}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMl hj7hhubah}(h]h ]h"]h$]h&]uh1jRhj}6hhhj6hMl ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{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)}(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.hhMp hj7ubj)}(hhh](j)}(h0``struct sock *sk`` socket to eat this skb from h](j)}(h``struct sock *sk``h]j)}(hj7h]hstruct sock *sk}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMm hj7ubj)}(hhh]jX)}(hsocket to eat this skb fromh]hsocket to eat this skb from}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMm hj8ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj8hMm hj7ubj)}(h-``struct sk_buff *skb`` socket buffer to eat h](j)}(h``struct sk_buff *skb``h]j)}(hj28h]hstruct sk_buff *skb}(hj48hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj08ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMn hj,8ubj)}(hhh]jX)}(hsocket buffer to eath]hsocket buffer to eat}(hjK8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjG8hMn hjH8ubah}(h]h ]h"]h$]h&]uh1jhj,8ubeh}(h]h ]h"]h$]h&]uh1jhjG8hMn hj7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubjX)}(h**Description**h]j)}(hjm8h]h Description}(hjo8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk8ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMp hj7ubjX)}(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.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMo hj7ubeh}(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}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhj8hMubh)}(hhh]j%)}(hfileh]hfile}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j')}jsock_alloc_filesbc.sock_alloc_fileasbuh1hhj8hhhj8hMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhj8hMubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8hhhj8hMubj)}(hsock_alloc_fileh]j%)}(hj8h]hsock_alloc_file}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhj8hMubj)}(h3(struct socket *sock, int flags, const char *dname)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj,9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(9ubj)}(h h]h }(hj99hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(9ubh)}(hhh]j%)}(hsocketh]hsocket}(hjJ9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjL9modnameN classnameNjj!)}j$]j8c.sock_alloc_fileasbuh1hhj(9ubj)}(h h]h }(hjh9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(9ubj;)}(hj>h]h*}(hjv9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj(9ubj%)}(hsockh]hsock}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$9ubj)}(h int flagsh](j)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj%)}(hflagsh]hflags}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$9ubj)}(hconst char *dnameh](h)}(hjh]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj)}(hcharh]hchar}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hdnameh]hdname}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$9ubeh}(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+Bind a :c:type:`socket` to a :c:type:`file`h](hBind a }(hj?:hhhNhNubh)}(h:c:type:`socket`h]j)}(hjI:h]hsocket}(hjK:hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjG:ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j8c.sock_alloc_fileasbjsocketuh1hhj8hMhj?:ubh to a }(hj?:hhhNhNubh)}(h:c:type:`file`h]j)}(hjq:h]hfile}(hjs:hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjo:ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjje:jfileuh1hhj8hMhj?:ubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj<:hhubah}(h]h ]h"]h$]h&]uh1jRhj8hhhj8hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:jxj:jyjzj{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:h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj:ubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj:h]hstruct socket *sock}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj:ubj)}(hhh]jX)}(hsocketh]hsocket}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj:ubj)}(h ``int flags`` file status flags h](j)}(h ``int flags``h]j)}(hj;h]h int flags}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj:ubj)}(hhh]jX)}(hfile status flagsh]hfile status flags}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj:ubj)}(h$``const char *dname`` protocol name h](j)}(h``const char *dname``h]j)}(hj9;h]hconst char *dname}(hj;;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7;ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj3;ubj)}(hhh]jX)}(h protocol nameh]h protocol name}(hjR;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjN;hMhjO;ubah}(h]h ]h"]h$]h&]uh1jhj3;ubeh}(h]h ]h"]h$]h&]uh1jhjN;hMhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:ubjX)}(h**Description**h]j)}(hjt;h]h Description}(hjv;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr;ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj:ubj )}(hReturns the :c:type:`file` bound with **sock**, implicitly storing it in sock->file. If dname is ``NULL``, sets to "". On failure **sock** is released, and an ERR pointer is returned. This function uses GFP_KERNEL internally.h](jX)}(hvReturns the :c:type:`file` bound with **sock**, implicitly storing it in sock->file. If dname is ``NULL``, sets to "".h](h Returns the }(hj;hhhNhNubh)}(h:c:type:`file`h]j)}(hj;h]hfile}(hj;hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjfileuh1hhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj;ubh bound with }(hj;hhhNhNubj)}(h**sock**h]hsock}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh3, implicitly storing it in sock->file. If dname is }(hj;hhhNhNubj)}(h``NULL``h]hNULL}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh, sets to “”.}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj;hMhj;ubjX)}(h@On failure **sock** is released, and an ERR pointer is returned.h](h On failure }(hj;hhhNhNubj)}(h**sock**h]hsock}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh- is released, and an ERR pointer is returned.}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj;ubjX)}(h)This function uses GFP_KERNEL internally.h]h)This function uses GFP_KERNEL internally.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj;ubeh}(h]h ]h"]h$]h&]uh1j hj;hMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_from_file (C function)c.sock_from_filehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h2struct socket * sock_from_file (struct file *file)h]h)}(h0struct socket *sock_from_file(struct file *file)h](h)}(hjh]hstruct}(hj:<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6<hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hjH<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6<hhhjG<hM ubh)}(hhh]j%)}(hsocketh]hsocket}(hjY<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjV<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[<modnameN classnameNjj!)}j$]j')}jsock_from_filesbc.sock_from_fileasbuh1hhj6<hhhjG<hM ubj)}(h h]h }(hjz<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6<hhhjG<hM ubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6<hhhjG<hM ubj)}(hsock_from_fileh]j%)}(hjw<h]hsock_from_file}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6<hhhjG<hM ubj)}(h(struct file *file)h]j)}(hstruct file *fileh](h)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hhh]j%)}(hfileh]hfile}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<modnameN classnameNjj!)}j$]ju<c.sock_from_fileasbuh1hhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj%)}(hfileh]hfile}(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=uh1jhj6<hhhjG<hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2<hhhjG<hM ubah}(h]j-<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjG<hM hj/<hhubjS)}(hhh]jX)}(h0Return the :c:type:`socket` bounded to **file**.h](h Return the }(hj5=hhhNhNubh)}(h:c:type:`socket`h]j)}(hj?=h]hsocket}(hjA=hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj==ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]ju<c.sock_from_fileasbjsocketuh1hhj8hMhj5=ubh bounded to }(hj5=hhhNhNubj)}(h**file**h]hfile}(hje=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5=ubh.}(hj5=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj2=hhubah}(h]h ]h"]h$]h&]uh1jRhj/<hhhjG<hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj=jxj=jyjzj{uh1hhhhj[hNhNubj})}(h`**Parameters** ``struct file *file`` file **Description** On failure returns ``NULL``.h](jX)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj=ubj)}(hhh]j)}(h``struct file *file`` file h](j)}(h``struct file *file``h]j)}(hj=h]hstruct file *file}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM 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=ubah}(h]h ]h"]h$]h&]uh1jhj=ubjX)}(h**Description**h]j)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj=ubj )}(hOn failure returns ``NULL``.h]jX)}(hj>h](hOn failure returns }(hj>hhhNhNubj)}(h``NULL``h]hNULL}(hj >hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj>ubah}(h]h ]h"]h$]h&]uh1j hj$>hMhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsockfd_lookup (C function)c.sockfd_lookuphNtauh1hhj[hhhNhNubh)}(hhh](h)}(h0struct socket * sockfd_lookup (int fd, int *err)h]h)}(h.struct socket *sockfd_lookup(int fd, int *err)h](h)}(hjh]hstruct}(hjK>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjG>hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hjY>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjG>hhhjX>hMubh)}(hhh]j%)}(hsocketh]hsocket}(hjj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjg>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjl>modnameN classnameNjj!)}j$]j')}j sockfd_lookupsbc.sockfd_lookupasbuh1hhjG>hhhjX>hMubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjG>hhhjX>hMubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjG>hhhjX>hMubj)}(h sockfd_lookuph]j%)}(hj>h]h sockfd_lookup}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjG>hhhjX>hMubj)}(h(int fd, int *err)h](j)}(hint fdh](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%)}(hfdh]hfd}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubj)}(hint *errh](j)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>ubj%)}(herrh]herr}(hj#?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjG>hhhjX>hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjC>hhhjX>hMubah}(h]j>>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjX>hMhj@>hhubjS)}(hhh]jX)}(h(Go from a file number to its socket sloth]h(Go from a file number to its socket slot}(hjM?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjJ?hhubah}(h]h ]h"]h$]h&]uh1jRhj@>hhhjX>hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwje?jxje?jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``int fd`` file handle ``int *err`` pointer to an error code return **Description** The file handle passed in is locked and the socket it is bound to is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket. On a success the socket object pointer is returned.h](jX)}(h**Parameters**h]j)}(hjo?h]h Parameters}(hjq?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm?ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hji?ubj)}(hhh](j)}(h``int fd`` file handle h](j)}(h ``int fd``h]j)}(hj?h]hint fd}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj?ubj)}(hhh]jX)}(h file handleh]h file handle}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj?ubj)}(h-``int *err`` pointer to an error code return h](j)}(h ``int *err``h]j)}(hj?h]hint *err}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj?ubj)}(hhh]jX)}(hpointer to an error code returnh]hpointer to an error code return}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj?ubeh}(h]h ]h"]h$]h&]uh1jhji?ubjX)}(h**Description**h]j)}(hj@h]h Description}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hji?ubj )}(hX?The file handle passed in is locked and the socket it is bound to is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket. On a success the socket object pointer is returned.h](jX)}(hX The file handle passed in is locked and the socket it is bound to is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket.h]hX The file handle passed in is locked and the socket it is bound to is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj@ubjX)}(h3On a success the socket object pointer is returned.h]h3On a success the socket object pointer is returned.}(hj+@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM$hj@ubeh}(h]h ]h"]h$]h&]uh1j hj*@hMhji?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_alloc (C function) c.sock_allochNtauh1hhj[hhhNhNubh)}(hhh](h)}(h!struct socket * sock_alloc (void)h]h)}(hstruct socket *sock_alloc(void)h](h)}(hjh]hstruct}(hj`@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\@hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMqubj)}(h h]h }(hjn@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\@hhhjm@hMqubh)}(hhh]j%)}(hsocketh]hsocket}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@modnameN classnameNjj!)}j$]j')}j sock_allocsb c.sock_allocasbuh1hhj\@hhhjm@hMqubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\@hhhjm@hMqubj;)}(hj>h]h*}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\@hhhjm@hMqubj)}(h sock_alloch]j%)}(hj@h]h sock_alloc}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\@hhhjm@hMqubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubah}(h]h ]h"]h$]h&]j<j=uh1jhj\@hhhjm@hMqubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjX@hhhjm@hMqubah}(h]jS@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjm@hMqhjU@hhubjS)}(hhh]jX)}(hallocate a socketh]hallocate a socket}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMqhjAhhubah}(h]h ]h"]h$]h&]uh1jRhjU@hhhjm@hMqubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjAjxjAjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``void`` no arguments **Description** Allocate a new inode and socket object. The two are bound together and initialised. The socket is then returned. If we are out of inodes NULL is returned. This functions uses GFP_KERNEL internally.h](jX)}(h**Parameters**h]j)}(hj&Ah]h Parameters}(hj(AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Aubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMuhj Aubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjEAh]hvoid}(hjGAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCAubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chKhj?Aubj)}(hhh]jX)}(h no argumentsh]h no arguments}(hj^AhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZAhKhj[Aubah}(h]h ]h"]h$]h&]uh1jhj?Aubeh}(h]h ]h"]h$]h&]uh1jhjZAhKhjh]h*}(hjXBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hsockh]hsock}(hjeBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubah}(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)}(hclose a socketh]hclose a socket}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjBhhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjAhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjBjxjBjyjzj{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)}(hjBh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjBubj)}(hhh]j)}(h(``struct socket *sock`` socket to close h](j)}(h``struct socket *sock``h]j)}(hjBh]hstruct socket *sock}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjBubj)}(hhh]jX)}(hsocket to closeh]hsocket to close}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjBubah}(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&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjBubj )}(hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.h]jX)}(hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.h]hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.}(hj%ChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj!Cubah}(h]h ]h"]h$]h&]uh1j hj3ChMhjBubeh}(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}(hjZChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVChhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hjiChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVChhhjhChMubj)}(h sock_sendmsgh]j%)}(h sock_sendmsgh]h sock_sendmsg}(hj{ChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjVChhhjhChMubj)}(h)(struct socket *sock, struct msghdr *msg)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$]j')}jj}Csbc.sock_sendmsgasbuh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hsockh]hsock}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hj DhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hj'DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$Dubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)DmodnameN classnameNjj!)}j$]jCc.sock_sendmsgasbuh1hhjDubj)}(h h]h }(hjEDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjSDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hmsgh]hmsg}(hj`DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubeh}(h]h ]h"]h$]h&]j<j=uh1jhjVChhhjhChMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjRChhhjhChMubah}(h]jMCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhChMhjOChhubjS)}(hhh]jX)}(hsend a message through **sock**h](hsend a message through }(hjDhhhNhNubj)}(h**sock**h]hsock}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjDhhubah}(h]h ]h"]h$]h&]uh1jRhjOChhhjhChMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjDjxjDjyjzj{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)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjDubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjDh]hstruct socket *sock}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjDubj)}(hhh]jX)}(hsocketh]hsocket}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjDubj)}(h'``struct msghdr *msg`` message to send h](j)}(h``struct msghdr *msg``h]j)}(hjEh]hstruct msghdr *msg}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj Eubj)}(hhh]jX)}(hmessage to sendh]hmessage to send}(hj+EhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'EhMhj(Eubah}(h]h ]h"]h$]h&]uh1jhj Eubeh}(h]h ]h"]h$]h&]uh1jhj'EhMhjDubeh}(h]h ]h"]h$]h&]uh1jhjDubjX)}(h**Description**h]j)}(hjMEh]h Description}(hjOEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKEubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjDubj )}(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 }(hjgEhhhNhNubj)}(h**msg**h]hmsg}(hjoEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgEubh through }(hjgEhhhNhNubj)}(h**sock**h]hsock}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgEubhJ, passing through LSM. Returns the number of bytes sent, or an error code.}(hjgEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjcEubah}(h]h ]h"]h$]h&]uh1j hjEhMhjDubeh}(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}(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)}(hkernel_sendmsgh]j%)}(hkernel_sendmsgh]hkernel_sendmsg}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjEhMubj)}(hT(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hj FhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hsocketh]hsocket}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j')}jjEsbc.kernel_sendmsgasbuh1hhjEubj)}(h h]h }(hj;FhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjIFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hsockh]hsock}(hjVFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hjoFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkFubj)}(h h]h }(hj|FhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkFubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j7Fc.kernel_sendmsgasbuh1hhjkFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkFubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkFubj%)}(hmsgh]hmsg}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(hstruct kvec *vech](h)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hkvech]hkvec}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j7Fc.kernel_sendmsgasbuh1hhjFubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hj)GhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hvech]hvec}(hj6GhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(h size_t numh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjRGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTGmodnameN classnameNjj!)}j$]j7Fc.kernel_sendmsgasbuh1hhjKGubj)}(h h]h }(hjpGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKGubj%)}(hnumh]hnum}(hj~GhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(h size_t sizeh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]j7Fc.kernel_sendmsgasbuh1hhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj%)}(hsizeh]hsize}(hjGhhhNhNubah}(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)}(h.send a message through **sock** (kernel-space)h](hsend a message through }(hjGhhhNhNubj)}(h**sock**h]hsock}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh (kernel-space)}(hjGhhhNhNubeh}(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&]jvjqjwjHjxjHjyjzj{uh1hhhhj[hNhNubj})}(hX^**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message header ``struct kvec *vec`` kernel vec ``size_t num`` vec array length ``size_t size`` total message data size **Description** Builds the message data with **vec** and sends it through **sock**. Returns the number of bytes sent, or an error code.h](jX)}(h**Parameters**h]j)}(hj$Hh]h Parameters}(hj&HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Hubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjHubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjCHh]hstruct socket *sock}(hjEHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAHubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj=Hubj)}(hhh]jX)}(hsocketh]hsocket}(hj\HhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXHhMhjYHubah}(h]h ]h"]h$]h&]uh1jhj=Hubeh}(h]h ]h"]h$]h&]uh1jhjXHhMhj:Hubj)}(h&``struct msghdr *msg`` message header h](j)}(h``struct msghdr *msg``h]j)}(hj|Hh]hstruct msghdr *msg}(hj~HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzHubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjvHubj)}(hhh]jX)}(hmessage headerh]hmessage header}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjvHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhj:Hubj)}(h ``struct kvec *vec`` kernel vec h](j)}(h``struct kvec *vec``h]j)}(hjHh]hstruct kvec *vec}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjHubj)}(hhh]jX)}(h kernel vech]h kernel vec}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhM hjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhM hj:Hubj)}(h ``size_t num`` vec array length h](j)}(h``size_t num``h]j)}(hjHh]h size_t num}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjHubj)}(hhh]jX)}(hvec array lengthh]hvec array length}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhM hjIubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjIhM hj:Hubj)}(h(``size_t size`` total message data size h](j)}(h``size_t size``h]j)}(hj'Ih]h size_t size}(hj)IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Iubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj!Iubj)}(hhh]jX)}(htotal message data sizeh]htotal message data size}(hj@IhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjh]h*}(hj^JhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hsockh]hsock}(hjkJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Jubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]jLJc.sock_recvmsgasbuh1hhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hmsgh]hmsg}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Jubj)}(h int flagsh](j)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hflagsh]hflags}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Jubeh}(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)}(hreceive a message from **sock**h](hreceive a message from }(hj:KhhhNhNubj)}(h**sock**h]hsock}(hjBKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Kubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM@hj7Khhubah}(h]h ]h"]h$]h&]uh1jRhjIhhhjIhM@ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`Kjxj`Kjyjzj{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)}(hjjKh]h Parameters}(hjlKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhKubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMDhjdKubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjKh]hstruct socket *sock}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMAhjKubj)}(hhh]jX)}(hsocketh]hsocket}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMAhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMAhjKubj)}(h*``struct msghdr *msg`` message to receive h](j)}(h``struct msghdr *msg``h]j)}(hjKh]hstruct msghdr *msg}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMBhjKubj)}(hhh]jX)}(hmessage to receiveh]hmessage to receive}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMBhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMBhjKubj)}(h``int flags`` message flags h](j)}(h ``int flags``h]j)}(hjKh]h int flags}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMChjKubj)}(hhh]jX)}(h message flagsh]h message flags}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMChjLubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjLhMChjKubeh}(h]h ]h"]h$]h&]uh1jhjdKubjX)}(h**Description**h]j)}(hj6Lh]h Description}(hj8LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Lubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMEhjdKubj )}(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 }(hjPLhhhNhNubj)}(h**msg**h]hmsg}(hjXLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPLubh from }(hjPLhhhNhNubj)}(h**sock**h]hsock}(hjjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPLubhO, passing through LSM. Returns the total number of bytes received, or an error.}(hjPLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMDhjLLubah}(h]h ]h"]h$]h&]uh1j hjLhMDhjdKubeh}(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}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMQubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhjLhMQubj)}(hkernel_recvmsgh]j%)}(hkernel_recvmsgh]hkernel_recvmsg}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhjLhMQubj)}(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}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(hsocketh]hsocket}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]j')}jjLsbc.kernel_recvmsgasbuh1hhjLubj)}(h h]h }(hj$MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hj2MhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hsockh]hsock}(hj?MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hjXMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTMubj)}(h h]h }(hjeMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTMubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hjvMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxMmodnameN classnameNjj!)}j$]j Mc.kernel_recvmsgasbuh1hhjTMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTMubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTMubj%)}(hmsgh]hmsg}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(hstruct kvec *vech](h)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubh)}(hhh]j%)}(hkvech]hkvec}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]j Mc.kernel_recvmsgasbuh1hhjMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hvech]hvec}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(h size_t numh](h)}(hhh]j%)}(hsize_th]hsize_t}(hj;NhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8Nubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=NmodnameN classnameNjj!)}j$]j Mc.kernel_recvmsgasbuh1hhj4Nubj)}(h h]h }(hjYNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4Nubj%)}(hnumh]hnum}(hjgNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4Nubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(h size_t sizeh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]j Mc.kernel_recvmsgasbuh1hhj|Nubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|Nubj%)}(hsizeh]hsize}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|Nubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(h int flagsh](j)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj%)}(hflagsh]hflags}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubeh}(h]h ]h"]h$]h&]j<j=uh1jhjLhhhjLhMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhjLhMQubah}(h]jLah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLhMQhjLhhubjS)}(hhh]jX)}(h.Receive a message from a socket (kernel space)h]h.Receive a message from a socket (kernel space)}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMQhj Ohhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhjLhMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&Ojxj&Ojyjzj{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)}(hj0Oh]h Parameters}(hj2OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Oubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMUhj*Oubj)}(hhh](j)}(h?``struct socket *sock`` The socket to receive the message from h](j)}(h``struct socket *sock``h]j)}(hjOOh]hstruct socket *sock}(hjQOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMOubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMRhjIOubj)}(hhh]jX)}(h&The socket to receive the message fromh]h&The socket to receive the message from}(hjhOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdOhMRhjeOubah}(h]h ]h"]h$]h&]uh1jhjIOubeh}(h]h ]h"]h$]h&]uh1jhjdOhMRhjFOubj)}(h(``struct msghdr *msg`` Received message 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.chMShjOubj)}(hhh]jX)}(hReceived messageh]hReceived message}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMShjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMShjFOubj)}(h6``struct kvec *vec`` Input s/g array for message data h](j)}(h``struct kvec *vec``h]j)}(hjOh]hstruct kvec *vec}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMThjOubj)}(hhh]jX)}(h Input s/g array for message datah]h Input s/g array for message data}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMThjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMThjFOubj)}(h'``size_t num`` Size of input s/g array h](j)}(h``size_t num``h]j)}(hjOh]h size_t num}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMUhjOubj)}(hhh]jX)}(hSize of input s/g arrayh]hSize of input s/g array}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMUhjPubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjPhMUhjFOubj)}(h(``size_t size`` Number of bytes to read h](j)}(h``size_t size``h]j)}(hj3Ph]h size_t size}(hj5PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1Pubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMVhj-Pubj)}(hhh]jX)}(hNumber of bytes to readh]hNumber of bytes to read}(hjLPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHPhMVhjIPubah}(h]h ]h"]h$]h&]uh1jhj-Pubeh}(h]h ]h"]h$]h&]uh1jhjHPhMVhjFOubj)}(h3``int flags`` Message flags (MSG_DONTWAIT, etc...) h](j)}(h ``int flags``h]j)}(hjlPh]h int flags}(hjnPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjPubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMWhjfPubj)}(hhh]jX)}(h$Message flags (MSG_DONTWAIT, etc...)h]h$Message flags (MSG_DONTWAIT, etc...)}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMWhjPubah}(h]h ]h"]h$]h&]uh1jhjfPubeh}(h]h ]h"]h$]h&]uh1jhjPhMWhjFOubeh}(h]h ]h"]h$]h&]uh1jhj*OubjX)}(h**Description**h]j)}(hjPh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMYhj*Oubj )}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMXhjPubjX)}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM\hjPubeh}(h]h ]h"]h$]h&]uh1j hjPhMXhj*Oubeh}(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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMfubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjQhMfubj)}(hsock_create_liteh]j%)}(hsock_create_liteh]hsock_create_lite}(hj&QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"Qubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjQhMfubj)}(h9(int family, int type, int protocol, struct socket **res)h](j)}(h int familyh](j)}(hinth]hint}(hjBQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>Qubj)}(h h]h }(hjPQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>Qubj%)}(hfamilyh]hfamily}(hj^QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>Qubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:Qubj)}(hint typeh](j)}(hinth]hint}(hjwQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsQubj%)}(htypeh]htype}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:Qubj)}(h int protocolh](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(hprotocolh]hprotocol}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:Qubj)}(hstruct socket **resh](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 reftargetjRmodnameN classnameNjj!)}j$]j')}jj(Qsbc.sock_create_liteasbuh1hhjQubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hj-RhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj;)}(hj>h]h*}(hj:RhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hresh]hres}(hjGRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:Qubeh}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhjQhMfubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhjQhMfubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhMfhjPhhubjS)}(hhh]jX)}(hcreates a socketh]hcreates a socket}(hjqRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMfhjnRhhubah}(h]h ]h"]h$]h&]uh1jRhjPhhhjQhMfubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRjxjRjyjzj{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)}(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.chMjhjRubj)}(hhh](j)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hjRh]h int family}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMghjRubj)}(hhh]jX)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMghjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMghjRubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjRh]hint type}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhhjRubj)}(hhh]jX)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhhjSubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjShMhhjRubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hj$Sh]h int protocol}(hj&ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Subah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMihjSubj)}(hhh]jX)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hj=ShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9ShMihj:Subah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhj9ShMihjRubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hj]Sh]hstruct socket **res}(hj_ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[Subah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMjhjWSubj)}(hhh]jX)}(h new socketh]h new socket}(hjvShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrShMjhjsSubah}(h]h ]h"]h$]h&]uh1jhjWSubeh}(h]h ]h"]h$]h&]uh1jhjrShMjhjRubeh}(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.chMlhjRubj )}(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 }(hjShhhNhNubj)}(h**res**h]hres}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh}, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure }(hjShhhNhNubj)}(h**res**h]hres}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh is set to }(hjShhhNhNubj)}(h``NULL``h]hNULL}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh+. This function internally uses GFP_KERNEL.}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMkhjSubah}(h]h ]h"]h$]h&]uh1j hjShMkhjRubeh}(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}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hj,ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhj+ThMubj)}(h __sock_createh]j%)}(h __sock_createh]h __sock_create}(hj>ThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:Tubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhj+ThMubj)}(hT(struct net *net, int family, int type, int protocol, struct socket **res, int kern)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjZThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVTubj)}(h h]h }(hjgThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVTubh)}(hhh]j%)}(hneth]hnet}(hjxThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzTmodnameN classnameNjj!)}j$]j')}jj@Tsbc.__sock_createasbuh1hhjVTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVTubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVTubj%)}(hneth]hnet}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRTubj)}(h int familyh](j)}(hinth]hint}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(hfamilyh]hfamily}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRTubj)}(hint typeh](j)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(htypeh]htype}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRTubj)}(h int protocolh](j)}(hinth]hint}(hj6UhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2Uubj)}(h h]h }(hjDUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2Uubj%)}(hprotocolh]hprotocol}(hjRUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2Uubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRTubj)}(hstruct socket **resh](h)}(hjh]hstruct}(hjkUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgUubj)}(h h]h }(hjxUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgUubh)}(hhh]j%)}(hsocketh]hsocket}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]jTc.__sock_createasbuh1hhjgUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgUubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgUubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgUubj%)}(hresh]hres}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRTubj)}(hint kernh](j)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj%)}(hkernh]hkern}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjRTubeh}(h]h ]h"]h$]h&]j<j=uh1jhjThhhj+ThMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhj+ThMubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj+ThMhjThhubjS)}(hhh]jX)}(hcreates a socketh]hcreates a socket}(hj.VhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj+Vhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhj+ThMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFVjxjFVjyjzj{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)}(hjPVh]h Parameters}(hjRVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNVubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjJVubj)}(hhh](j)}(h"``struct net *net`` net namespace h](j)}(h``struct net *net``h]j)}(hjoVh]hstruct net *net}(hjqVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmVubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjiVubj)}(hhh]jX)}(h net namespaceh]h net namespace}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjiVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjfVubj)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hjVh]h int family}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjVubj)}(hhh]jX)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjfVubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjVh]hint type}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjVubj)}(hhh]jX)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjfVubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hjWh]h int protocol}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjWubj)}(hhh]jX)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hj3WhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/WhMhj0Wubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhj/WhMhjfVubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hjSWh]hstruct socket **res}(hjUWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjMWubj)}(hhh]jX)}(h new socketh]h new socket}(hjlWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhWhMhjiWubah}(h]h ]h"]h$]h&]uh1jhjMWubeh}(h]h ]h"]h$]h&]uh1jhjhWhMhjfVubj)}(h.``int kern`` boolean for kernel space sockets h](j)}(h ``int kern``h]j)}(hjWh]hint kern}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjWubj)}(hhh]jX)}(h boolean for kernel space socketsh]h boolean for kernel space sockets}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjfVubeh}(h]h ]h"]h$]h&]uh1jhjJVubjX)}(h**Description**h]j)}(hjWh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjJVubj )}(hCreates a new socket and assigns it to **res**, passing through LSM. Returns 0 or an error. On failure **res** is set to ``NULL``. **kern** must be set to true if the socket resides in kernel space. This function internally uses GFP_KERNEL.h]jX)}(hCreates a new socket and assigns it to **res**, passing through LSM. Returns 0 or an error. On failure **res** is set to ``NULL``. **kern** must be set to true if the socket resides in kernel space. This function internally uses GFP_KERNEL.h](h'Creates a new socket and assigns it to }(hjWhhhNhNubj)}(h**res**h]hres}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh9, passing through LSM. Returns 0 or an error. On failure }(hjWhhhNhNubj)}(h**res**h]hres}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh is set to }(hjWhhhNhNubj)}(h``NULL``h]hNULL}(hj XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh. }(hjWhhhNhNubj)}(h**kern**h]hkern}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubhe must be set to true if the socket resides in kernel space. This function internally uses GFP_KERNEL.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjWubah}(h]h ]h"]h$]h&]uh1j hj7XhMhjJVubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_create (C function) c.sock_createhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hIint sock_create (int family, int type, int protocol, struct socket **res)h]h)}(hHint sock_create(int family, int type, int protocol, struct socket **res)h](j)}(hinth]hint}(hj^XhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZXhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMsubj)}(h h]h }(hjmXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZXhhhjlXhMsubj)}(h sock_createh]j%)}(h sock_createh]h sock_create}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{Xubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZXhhhjlXhMsubj)}(h9(int family, int type, int protocol, struct socket **res)h](j)}(h int familyh](j)}(hinth]hint}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(hfamilyh]hfamily}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(hint typeh](j)}(hinth]hint}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(htypeh]htype}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(h int protocolh](j)}(hinth]hint}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj%)}(hprotocolh]hprotocol}(hj!YhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(hstruct socket **resh](h)}(hjh]hstruct}(hj:YhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6Yubj)}(h h]h }(hjGYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6Yubh)}(hhh]j%)}(hsocketh]hsocket}(hjXYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZYmodnameN classnameNjj!)}j$]j')}jjXsb c.sock_createasbuh1hhj6Yubj)}(h h]h }(hjxYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6Yubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6Yubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6Yubj%)}(hresh]hres}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6Yubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubeh}(h]h ]h"]h$]h&]j<j=uh1jhjZXhhhjlXhMsubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVXhhhjlXhMsubah}(h]jQXah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlXhMshjSXhhubjS)}(hhh]jX)}(hcreates a socketh]hcreates a socket}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMshjYhhubah}(h]h ]h"]h$]h&]uh1jRhjSXhhhjlXhMsubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{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)}(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.chMwhjYubj)}(hhh](j)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hj Zh]h int family}(hj ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Zubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMthjZubj)}(hhh]jX)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hj$ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj ZhMthj!Zubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj ZhMthjZubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjDZh]hint type}(hjFZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBZubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMuhj>Zubj)}(hhh]jX)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hj]ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYZhMuhjZZubah}(h]h ]h"]h$]h&]uh1jhj>Zubeh}(h]h ]h"]h$]h&]uh1jhjYZhMuhjZubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hj}Zh]h int protocol}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{Zubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMvhjwZubj)}(hhh]jX)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMvhjZubah}(h]h ]h"]h$]h&]uh1jhjwZubeh}(h]h ]h"]h$]h&]uh1jhjZhMvhjZubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hjZh]hstruct socket **res}(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 new socketh]h new socket}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMwhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMwhjZubeh}(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&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMyhjYubj )}(hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h]jX)}(hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h]hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.}(hj [hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMxhj[ubah}(h]h ]h"]h$]h&]uh1j hj[hMxhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_create_kern (C function)c.sock_create_kernhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h_int sock_create_kern (struct net *net, int family, int type, int protocol, struct socket **res)h]h)}(h^int sock_create_kern(struct net *net, int family, int type, int protocol, struct socket **res)h](j)}(hinth]hint}(hj@[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<[hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hjO[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<[hhhjN[hMubj)}(hsock_create_kernh]j%)}(hsock_create_kernh]hsock_create_kern}(hja[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj][ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<[hhhjN[hMubj)}(hJ(struct net *net, int family, int type, int protocol, struct socket **res)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hj}[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjy[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjy[ubh)}(hhh]j%)}(hneth]hnet}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]j')}jjc[sbc.sock_create_kernasbuh1hhjy[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjy[ubj;)}(hj>h]h*}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjy[ubj%)}(hneth]hnet}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjy[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhju[ubj)}(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=uh1jhju[ubj)}(hint typeh](j)}(hinth]hint}(hj$\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj \ubj)}(h h]h }(hj2\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj \ubj%)}(htypeh]htype}(hj@\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj \ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhju[ubj)}(h int protocolh](j)}(hinth]hint}(hjY\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjU\ubj)}(h h]h }(hjg\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjU\ubj%)}(hprotocolh]hprotocol}(hju\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhju[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_create_kernasbuh1hhj\ubj)}(h h]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=uh1jhju[ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj<[hhhjN[hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8[hhhjN[hMubah}(h]j3[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjN[hMhj5[hhubjS)}(hhh]jX)}(hcreates a socket (kernel space)h]hcreates a socket (kernel space)}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj]hhubah}(h]h ]h"]h$]h&]uh1jRhj5[hhhjN[hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4]jxj4]jyjzj{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)}(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.chMhj8]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.chMhjW]ubj)}(hhh]jX)}(h net namespaceh]h net namespace}(hjv]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjr]hMhjs]ubah}(h]h ]h"]h$]h&]uh1jhjW]ubeh}(h]h ]h"]h$]h&]uh1jhjr]hMhjT]ubj)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hj]h]h int family}(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)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjT]ubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hj]h]hint type}(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%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjT]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.chMhj^ubj)}(hhh]jX)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hj!^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjT]ubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hjA^h]hstruct socket **res}(hjC^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 new socketh]h new socket}(hjZ^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjV^hMhjW^ubah}(h]h ]h"]h$]h&]uh1jhj;^ubeh}(h]h ]h"]h$]h&]uh1jhjV^hMhjT]ubeh}(h]h ]h"]h$]h&]uh1jhj8]ubjX)}(h**Description**h]j)}(hj|^h]h Description}(hj~^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz^ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj8]ubj )}(hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h]jX)}(hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h]hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj^ubah}(h]h ]h"]h$]h&]uh1j hj^hMhj8]ubeh}(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}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhj^hM ubj)}(h sock_registerh]j%)}(h sock_registerh]h sock_register}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhj^hM ubj)}(h$(const struct net_proto_family *ops)h]j)}(h"const struct net_proto_family *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 }(hj0_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(hnet_proto_familyh]hnet_proto_family}(hjA_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjC_modnameN classnameNjj!)}j$]j')}jj^sbc.sock_registerasbuh1hhj_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%)}(hopsh]hops}(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)}(hadd a socket protocol handlerh]hadd a socket protocol handler}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj_hhubah}(h]h ]h"]h$]h&]uh1jRhj^hhhj^hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_jxj_jyjzj{uh1hhhhj[hNhNubj})}(hXK**Parameters** ``const struct net_proto_family *ops`` description of protocol **Description** This function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.h](jX)}(h**Parameters**h]j)}(hj_h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj_ubj)}(hhh]j)}(h?``const struct net_proto_family *ops`` description of protocol h](j)}(h&``const struct net_proto_family *ops``h]j)}(hj_h]h"const struct net_proto_family *ops}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj_ubj)}(hhh]jX)}(hdescription of protocolh]hdescription of protocol}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hM hj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM 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&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj_ubj )}(hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.h]jX)}(hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.h]hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.}(hj<`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj8`ubah}(h]h ]h"]h$]h&]uh1j hjJ`hM hj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_unregister (C function)c.sock_unregisterhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h!void sock_unregister (int family)h]h)}(h void sock_unregister(int family)h](j)}(hvoidh]hvoid}(hjq`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjm`hhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm`hhhj`hM ubj)}(hsock_unregisterh]j%)}(hsock_unregisterh]hsock_unregister}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjm`hhhj`hM ubj)}(h (int family)h]j)}(h int familyh](j)}(hinth]hint}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj%)}(hfamilyh]hfamily}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubah}(h]h ]h"]h$]h&]j<j=uh1jhjm`hhhj`hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhji`hhhj`hM ubah}(h]jd`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`hM hjf`hhubjS)}(hhh]jX)}(hremove a protocol handlerh]hremove a protocol handler}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj`hhubah}(h]h ]h"]h$]h&]uh1jRhjf`hhhj`hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj ajxj ajyjzj{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)}(hjah]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjaubj)}(hhh]j)}(h)``int family`` protocol family to remove h](j)}(h``int family``h]j)}(hj5ah]h int family}(hj7ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3aubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj/aubj)}(hhh]jX)}(hprotocol family to removeh]hprotocol family to remove}(hjNahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJahM hjKaubah}(h]h ]h"]h$]h&]uh1jhj/aubeh}(h]h ]h"]h$]h&]uh1jhjJahM hj,aubah}(h]h ]h"]h$]h&]uh1jhjaubjX)}(h**Description**h]j)}(hjpah]h Description}(hjrahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnaubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjaubj )}(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.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjaubjX)}(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.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjaubeh}(h]h ]h"]h$]h&]uh1j hjahM hjaubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_bind (C function) c.kernel_bindhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hIint kernel_bind (struct socket *sock, struct sockaddr *addr, int addrlen)h]h)}(hHint kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen)h](j)}(hinth]hint}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjahM ubj)}(h kernel_bindh]j%)}(h kernel_bindh]h kernel_bind}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjahhhjahM ubj)}(h9(struct socket *sock, struct sockaddr *addr, int addrlen)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hj bhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(hhh]j%)}(hsocketh]hsocket}(hj)bhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&bubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+bmodnameN classnameNjj!)}j$]j')}jjasb c.kernel_bindasbuh1hhjbubj)}(h h]h }(hjIbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hj>h]h*}(hjWbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(hsockh]hsock}(hjdbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(hstruct sockaddr *addrh](h)}(hjh]hstruct}(hj}bhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjybubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjybubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]jEb c.kernel_bindasbuh1hhjybubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjybubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjybubj%)}(haddrh]haddr}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjybubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubj)}(h int addrlenh](j)}(hinth]hint}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj%)}(haddrlenh]haddrlen}(hj chhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjbubeh}(h]h ]h"]h$]h&]j<j=uh1jhjahhhjahM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjahhhjahM ubah}(h]jaah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjahM hjahhubjS)}(hhh]jX)}(h*bind an address to a socket (kernel space)h]h*bind an address to a socket (kernel space)}(hj3chhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj0chhubah}(h]h ]h"]h$]h&]uh1jRhjahhhjahM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKcjxjKcjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct socket *sock`` socket ``struct sockaddr *addr`` address ``int addrlen`` length of address **Description** Returns 0 or an error.h](jX)}(h**Parameters**h]j)}(hjUch]h Parameters}(hjWchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjScubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjOcubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjtch]hstruct socket *sock}(hjvchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrcubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjncubj)}(hhh]jX)}(hsocketh]hsocket}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchM hjcubah}(h]h ]h"]h$]h&]uh1jhjncubeh}(h]h ]h"]h$]h&]uh1jhjchM hjkcubj)}(h"``struct sockaddr *addr`` address h](j)}(h``struct sockaddr *addr``h]j)}(hjch]hstruct sockaddr *addr}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjcubj)}(hhh]jX)}(haddressh]haddress}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchM hjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchM hjkcubj)}(h"``int addrlen`` length of address h](j)}(h``int addrlen``h]j)}(hjch]h int addrlen}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjcubj)}(hhh]jX)}(hlength of addressh]hlength of address}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchM hjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchM hjkcubeh}(h]h ]h"]h$]h&]uh1jhjOcubjX)}(h**Description**h]j)}(hj!dh]h Description}(hj#dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjOcubj )}(hReturns 0 or an error.h]jX)}(hj9dh]hReturns 0 or an error.}(hj;dhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj7dubah}(h]h ]h"]h$]h&]uh1j hjHdhM hjOcubeh}(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}(hjodhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkdhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hj~dhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkdhhhj}dhMubj)}(h kernel_listenh]j%)}(h kernel_listenh]h kernel_listen}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjkdhhhj}dhMubj)}(h"(struct socket *sock, int backlog)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(hsocketh]hsocket}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j')}jjdsbc.kernel_listenasbuh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hsockh]hsock}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubj)}(h int backlogh](j)}(hinth]hint}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(h h]h }(hj,ehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj%)}(hbacklogh]hbacklog}(hj:ehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubeh}(h]h ]h"]h$]h&]j<j=uh1jhjkdhhhj}dhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjgdhhhj}dhMubah}(h]jbdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}dhMhjddhhubjS)}(hhh]jX)}(h-move socket to listening state (kernel space)h]h-move socket to listening state (kernel space)}(hjdehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjaehhubah}(h]h ]h"]h$]h&]uh1jRhjddhhhj}dhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|ejxj|ejyjzj{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)}(hjeh]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjeubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjeh]hstruct socket *sock}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjeubj)}(hhh]jX)}(hsocketh]hsocket}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMhjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehMhjeubj)}(h/``int backlog`` pending connections queue size h](j)}(h``int backlog``h]j)}(hjeh]h int backlog}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjeubj)}(hhh]jX)}(hpending connections queue sizeh]hpending connections queue size}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMhjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehMhjeubeh}(h]h ]h"]h$]h&]uh1jhjeubjX)}(h**Description**h]j)}(hjfh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjeubj )}(hReturns 0 or an error.h]jX)}(hj1fh]hReturns 0 or an error.}(hj3fhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj/fubah}(h]h ]h"]h$]h&]uh1j hj@fhMhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_accept (C function)c.kernel_accepthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hKint kernel_accept (struct socket *sock, struct socket **newsock, int flags)h]h)}(hJint kernel_accept(struct socket *sock, struct socket **newsock, int flags)h](j)}(hinth]hint}(hjgfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcfhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hjvfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcfhhhjufhMubj)}(h kernel_accepth]j%)}(h kernel_accepth]h kernel_accept}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjcfhhhjufhMubj)}(h9(struct socket *sock, struct socket **newsock, int flags)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubh)}(hhh]j%)}(hsocketh]hsocket}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}jjfsbc.kernel_acceptasbuh1hhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hsockh]hsock}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(hstruct socket **newsockh](h)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hj#ghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(hhh]j%)}(hsocketh]hsocket}(hj4ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1gubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6gmodnameN classnameNjj!)}j$]jfc.kernel_acceptasbuh1hhjgubj)}(h h]h }(hjRghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hj>h]h*}(hj`ghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj;)}(hj>h]h*}(hjmghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hnewsockh]hnewsock}(hjzghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(h int flagsh](j)}(hinth]hint}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(hflagsh]hflags}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubeh}(h]h ]h"]h$]h&]j<j=uh1jhjcfhhhjufhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj_fhhhjufhMubah}(h]jZfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjufhMhj\fhhubjS)}(hhh]jX)}(h"accept a connection (kernel space)h]h"accept a connection (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&]uh1jRhj\fhhhjufhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjgjxjgjyjzj{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)}(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.chM hjgubj)}(hhh](j)}(h)``struct socket *sock`` listening socket h](j)}(h``struct socket *sock``h]j)}(hjhh]hstruct socket *sock}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjhubj)}(hhh]jX)}(hlistening socketh]hlistening socket}(hj3hhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hhMhj0hubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhj/hhMhjhubj)}(h1``struct socket **newsock`` new connected socket h](j)}(h``struct socket **newsock``h]j)}(hjShh]hstruct socket **newsock}(hjUhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQhubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjMhubj)}(hhh]jX)}(hnew connected socketh]hnew connected socket}(hjlhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhhMhjihubah}(h]h ]h"]h$]h&]uh1jhjMhubeh}(h]h ]h"]h$]h&]uh1jhjhhhMhjhubj)}(h``int flags`` flags h](j)}(h ``int flags``h]j)}(hjhh]h int flags}(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)}(hflagsh]hflags}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjhubeh}(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.chM!hjgubj )}(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}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh8 must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, }(hjhhhhNhNubj)}(h **newsock**h]hnewsock}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh is guaranteed to be }(hjhhhhNhNubj)}(h``NULL``h]hNULL}(hj ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh. Returns 0 or an error.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjhubah}(h]h ]h"]h$]h&]uh1j hj!ihM hjgubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_connect (C function)c.kernel_connecthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hWint kernel_connect (struct socket *sock, struct sockaddr *addr, int addrlen, int flags)h]h)}(hVint kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen, int flags)h](j)}(hinth]hint}(hjHihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDihhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMEubj)}(h h]h }(hjWihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDihhhjVihMEubj)}(hkernel_connecth]j%)}(hkernel_connecth]hkernel_connect}(hjiihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDihhhjVihMEubj)}(hD(struct socket *sock, struct sockaddr *addr, int addrlen, int flags)h](j)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(hsocketh]hsocket}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j')}jjkisbc.kernel_connectasbuh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hsockh]hsock}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}iubj)}(hstruct sockaddr *addrh](h)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jic.kernel_connectasbuh1hhjiubj)}(h h]h }(hj3jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjAjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(haddrh]haddr}(hjNjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}iubj)}(h int addrlenh](j)}(hinth]hint}(hjgjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcjubj)}(h h]h }(hjujhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcjubj%)}(haddrlenh]haddrlen}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}iubj)}(h int flagsh](j)}(hinth]hint}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj%)}(hflagsh]hflags}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}iubeh}(h]h ]h"]h$]h&]j<j=uh1jhjDihhhjVihMEubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@ihhhjVihMEubah}(h]j;iah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVihMEhj=ihhubjS)}(hhh]jX)}(hconnect a socket (kernel space)h]hconnect a socket (kernel space)}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMEhjjhhubah}(h]h ]h"]h$]h&]uh1jRhj=ihhhjVihMEubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjjxjjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct socket *sock`` socket ``struct sockaddr *addr`` address ``int addrlen`` address length ``int flags`` flags (O_NONBLOCK, ...) **Description** For datagram sockets, **addr** is the address to which datagrams are sent by default, and the only address from which datagrams are received. For stream sockets, attempts to connect to **addr**. Returns 0 or an error code.h](jX)}(h**Parameters**h]j)}(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.chMIhjjubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj#kh]hstruct socket *sock}(hj%khhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!kubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMFhjkubj)}(hhh]jX)}(hsocketh]hsocket}(hjh]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hsockh]hsock}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(hstruct sockaddr *addrh](h)}(hjh]hstruct}(hj+mhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'mubj)}(h h]h }(hj8mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'mubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjImhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmmodnameN classnameNjj!)}j$]jlc.kernel_getsocknameasbuh1hhj'mubj)}(h h]h }(hjgmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'mubj;)}(hj>h]h*}(hjumhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'mubj%)}(haddrh]haddr}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubeh}(h]h ]h"]h$]h&]j<j=uh1jhjxlhhhjlhM^ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjtlhhhjlhM^ubah}(h]jolah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhM^hjqlhhubjS)}(hhh]jX)}(h8get the address which the socket is bound (kernel space)h]h8get the address which the socket is bound (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&]uh1jRhjqlhhhjlhM^ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmjxjmjyjzj{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)}(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.chMbhjmubj)}(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}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhM_hjnubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjnhM_hjmubj)}(h)``struct sockaddr *addr`` address holder h](j)}(h``struct sockaddr *addr``h]j)}(hj&nh]hstruct sockaddr *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)}(haddress holderh]haddress holder}(hj?nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;nhM`hjh]h*}(hjKohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(hsockh]hsock}(hjXohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubj)}(hstruct sockaddr *addrh](h)}(hjh]hstruct}(hjqohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmoubj)}(h h]h }(hj~ohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmoubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j9oc.kernel_getpeernameasbuh1hhjmoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmoubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmoubj%)}(haddrh]haddr}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubeh}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjnhMmubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjnhMmubah}(h]jnah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhMmhjnhhubjS)}(hhh]jX)}(hh]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAqubj%)}(hsockh]hsock}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=qubj)}(henum sock_shutdown_cmd howh](h)}(hhh]henum}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(hhh]j%)}(hsock_shutdown_cmdh]hsock_shutdown_cmd}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]jqc.kernel_sock_shutdownasbuh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj%)}(hhowh]hhow}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=qubeh}(h]h ]h"]h$]h&]j<j=uh1jhjqhhhjqhM|ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjqhM|ubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjqhM|hjphhubjS)}(hhh]jX)}(h9shut down part of a full-duplex connection (kernel space)h]h9shut down part of a full-duplex connection (kernel space)}(hj+rhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM|hj(rhhubah}(h]h ]h"]h$]h&]uh1jRhjphhhjqhM|ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCrjxjCrjyjzj{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)}(hjMrh]h Parameters}(hjOrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKrubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjGrubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjlrh]hstruct socket *sock}(hjnrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjrubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM}hjfrubj)}(hhh]jX)}(hsocketh]hsocket}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhM}hjrubah}(h]h ]h"]h$]h&]uh1jhjfrubeh}(h]h ]h"]h$]h&]uh1jhjrhM}hjcrubj)}(h/``enum sock_shutdown_cmd how`` connection part h](j)}(h``enum sock_shutdown_cmd how``h]j)}(hjrh]henum sock_shutdown_cmd how}(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)}(hconnection parth]hconnection part}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhM~hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM~hjcrubeh}(h]h ]h"]h$]h&]uh1jhjGrubjX)}(h**Description**h]j)}(hjrh]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjGrubj )}(hReturns 0 or an error.h]jX)}(hjrh]hReturns 0 or an error.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjrubah}(h]h ]h"]h$]h&]uh1j hjshMhjGrubeh}(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}(hj1shhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.subah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3smodnameN classnameNjj!)}j$]j')}jkernel_sock_ip_overheadsbc.kernel_sock_ip_overheadasbuh1hhj*shhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj)}(h h]h }(hjSshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*shhhjRshMubj)}(hkernel_sock_ip_overheadh]j%)}(hjOsh]hkernel_sock_ip_overhead}(hjeshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjasubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*shhhjRshMubj)}(h(struct sock *sk)h]j)}(hstruct sock *skh](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|subj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|subh)}(hhh]j%)}(hsockh]hsock}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]jMsc.kernel_sock_ip_overheadasbuh1hhj|subj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|subj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|subj%)}(hskh]hsk}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|subeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxsubah}(h]h ]h"]h$]h&]j<j=uh1jhj*shhhjRshMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&shhhjRshMubah}(h]j!sah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRshMhj#shhubjS)}(hhh]jX)}(h+returns the IP overhead imposed by a socketh]h+returns the IP overhead imposed by a socket}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjshhubah}(h]h ]h"]h$]h&]uh1jRhj#shhhjRshMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtjxjtjyjzj{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#th]h Parameters}(hj%thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!tubah}(h]h ]h"]h$]h&]uh1jWhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjtubj)}(hhh]j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjBth]hstruct sock *sk}(hjDthhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@tubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjh]h*}(hjuhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjuubj%)}(hlisth]hlist}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubeh}(h]h ]h"]h$]h&]j<j=uh1jhjthhhjthKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjthhhjthKubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjthKhjthhubjS)}(hhh]jX)}(h®ister another drop reason subsystemh]h®ister another drop reason subsystem}(hj vhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjvhhubah}(h]h ]h"]h$]h&]uh1jRhjthhhjthKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"vjxj"vjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``enum skb_drop_reason_subsys subsys`` the subsystem to register, must not be the core ``const struct drop_reason_list *list`` the list of drop reasons within the subsystem, must point to a statically initialized listh](jX)}(h**Parameters**h]j)}(hj,vh]h Parameters}(hj.vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*vubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhj&vubj)}(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)}(hjKvh]h"enum skb_drop_reason_subsys subsys}(hjMvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIvubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjEvubj)}(hhh]jX)}(h/the subsystem to register, must not be the coreh]h/the subsystem to register, must not be the core}(hjdvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`vhKhjavubah}(h]h ]h"]h$]h&]uh1jhjEvubeh}(h]h ]h"]h$]h&]uh1jhj`vhKhjBvubj)}(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)}(hjvh]h#const struct drop_reason_list *list}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhj~vubj)}(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}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhKhjvubah}(h]h ]h"]h$]h&]uh1jhj~vubeh}(h]h ]h"]h$]h&]uh1jhjvhKhjBvubeh}(h]h ]h"]h$]h&]uh1jhj&vubeh}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhjvhKubj)}(hdrop_reasons_unregister_subsysh]j%)}(hdrop_reasons_unregister_subsysh]hdrop_reasons_unregister_subsys}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvhhhjvhKubj)}(h$(enum skb_drop_reason_subsys subsys)h]j)}(h"enum skb_drop_reason_subsys subsysh](h)}(hhh]henum}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hj'whhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(hhh]j%)}(hskb_drop_reason_subsysh]hskb_drop_reason_subsys}(hj8whhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5wubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:wmodnameN classnameNjj!)}j$]j')}jjwsb c.drop_reasons_unregister_subsysasbuh1hhjwubj)}(h h]h }(hjXwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj%)}(hsubsysh]hsubsys}(hjfwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubah}(h]h ]h"]h$]h&]j<j=uh1jhjvhhhjvhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvhhhjvhKubah}(h]jvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhKhjvhhubjS)}(hhh]jX)}(h"unregister a drop reason subsystemh]h"unregister a drop reason subsystem}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhjvhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{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)}(hjwh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjwubj)}(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)}(hjwh]h"enum skb_drop_reason_subsys subsys}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjwubj)}(hhh]jX)}(h-the subsystem to remove, must not be the coreh]h-the subsystem to remove, must not be the core}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhKhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhKhjwubah}(h]h ]h"]h$]h&]uh1jhjwubjX)}(h**Note**h]j)}(hj xh]hNote}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj xubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjwubjX)}(h?This will synchronize_rcu() to ensure no users when it returns.h]h?This will synchronize_rcu() to ensure no users when it returns.}(hj"xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chKhjwubeh}(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}(hjTxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVxmodnameN classnameNjj!)}j$]j')}jnapi_skb_cache_get_bulksbc.napi_skb_cache_get_bulkasbuh1hhjMxhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM.ubj)}(h h]h }(hjvxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMxhhhjuxhM.ubj)}(hnapi_skb_cache_get_bulkh]j%)}(hjrxh]hnapi_skb_cache_get_bulk}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMxhhhjuxhM.ubj)}(h(void **skbs, u32 n)h](j)}(h void **skbsh](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;)}(hj>h]h*}(hjxhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj%)}(hskbsh]hskbs}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(hu32 nh](h)}(hhh]j%)}(hu32h]hu32}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]jpxc.napi_skb_cache_get_bulkasbuh1hhjxubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj%)}(hj0h]hn}(hj!yhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubeh}(h]h ]h"]h$]h&]j<j=uh1jhjMxhhhjuxhM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIxhhhjuxhM.ubah}(h]jDxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjuxhM.hjFxhhubjS)}(hhh]jX)}(h2obtain a number of zeroed skb heads from the cacheh]h2obtain a number of zeroed skb heads from the cache}(hjJyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM.hjGyhhubah}(h]h ]h"]h$]h&]uh1jRhjFxhhhjuxhM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjbyjxjbyjyjzj{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)}(hjlyh]h Parameters}(hjnyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjyubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM2hjfyubj)}(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)}(hjyh]h void **skbs}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/hjyubj)}(hhh]jX)}(hBpointer to an at least **n**-sized array to fill with skb pointersh](hpointer to an at least }(hjyhhhNhNubj)}(h**n**h]hn}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh&-sized array to fill with skb pointers}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjyhM/hjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhM/hjyubj)}(h'``u32 n`` number of entries to provide h](j)}(h ``u32 n``h]j)}(hjyh]hu32 n}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0hjyubj)}(hhh]jX)}(hnumber of entries to provideh]hnumber of entries to provide}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhM0hjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhM0hjyubeh}(h]h ]h"]h$]h&]uh1jhjfyubjX)}(h**Description**h]j)}(hjzh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM2hjfyubjX)}(hXTries to obtain **n** :c:type:`sk_buff` entries from the NAPI percpu cache and writes the pointers into the provided array **skbs**. If there are less entries available, tries to replenish the cache and bulk-allocates the diff from the MM layer if needed. The heads are being zeroed with either memset() or ``__GFP_ZERO``, so they are ready for {,__}build_skb_around() and don't have any data buffers attached. Must be called *only* from the BH context.h](hTries to obtain }(hj'zhhhNhNubj)}(h**n**h]hn}(hj/zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'zubh }(hj'zhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjCzh]hsk_buff}(hjEzhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjAzubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1hj'zubhT entries from the NAPI percpu cache and writes the pointers into the provided array }(hj'zhhhNhNubj)}(h**skbs**h]hskbs}(hjezhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'zubh. If there are less entries available, tries to replenish the cache and bulk-allocates the diff from the MM layer if needed. The heads are being zeroed with either memset() or }(hj'zhhhNhNubj)}(h``__GFP_ZERO``h]h __GFP_ZERO}(hjwzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'zubhk, so they are ready for {,__}build_skb_around() and don’t have any data buffers attached. Must be called }(hj'zhhhNhNubhemphasis)}(h*only*h]honly}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jzhj'zubh from the BH context.}(hj'zhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj`zhM1hjfyubjX)}(h **Return**h]j)}(hjzh]hReturn}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM9hjfyubjX)}(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 (}(hjzhhhNhNubj)}(h**n**h]hn}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubhJ if no actual allocation needed or kmem_cache_alloc_bulk() didn’t fail).}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM:hjfyubeh}(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&]uh1hhjzhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj {hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhj {hMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]j')}jbuild_skb_aroundsbc.build_skb_aroundasbuh1hhjzhhhj {hMubj)}(h h]h }(hj<{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhj {hMubj;)}(hj>h]h*}(hjJ{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzhhhj {hMubj)}(hbuild_skb_aroundh]j%)}(hj9{h]hbuild_skb_around}(hj[{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjW{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzhhhj {hMubj)}(h9(struct sk_buff *skb, void *data, unsigned int frag_size)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjv{hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjr{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjr{ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{modnameN classnameNjj!)}j$]j7{c.build_skb_aroundasbuh1hhjr{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjr{ubj;)}(hj>h]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjr{ubj%)}(hskbh]hskb}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjr{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjn{ubj)}(h void *datah](j)}(hvoidh]hvoid}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hj|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hdatah]hdata}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjn{ubj)}(hunsigned int frag_sizeh](j)}(hunsignedh]hunsigned}(hj(|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$|ubj)}(h h]h }(hj6|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$|ubj)}(hinth]hint}(hjD|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$|ubj)}(h h]h }(hjR|hhhNhNubah}(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=uh1jhjn{ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjzhhhj {hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhj {hMubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj {hMhjzhhubjS)}(hhh]jX)}(h*build a network buffer around provided skbh]h*build a network buffer around provided 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&]uh1jRhjzhhhj {hMubeh}(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)}(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)}(h1sk_buff provide by caller, must be memset clearedh]h1sk_buff provide by caller, must be memset cleared}(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.``void *data`` data buffer provided by caller h](j)}(h``void *data``h]j)}(hj}h]h void *data}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj|ubj)}(hhh]jX)}(hdata buffer provided by callerh]hdata buffer provided by caller}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hMhj}ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj|ubj)}(h'``unsigned int frag_size`` size of datah](j)}(h``unsigned int frag_size``h]j)}(hj=}h]hunsigned int frag_size}(hj?}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj7}ubj)}(hhh]jX)}(h size of datah]h size of data}(hjV}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjS}ubah}(h]h ]h"]h$]h&]uh1jhj7}ubeh}(h]h ]h"]h$]h&]uh1jhjR}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}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhj}hMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j')}jnapi_build_skbsbc.napi_build_skbasbuh1hhj}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)}(hnapi_build_skbh]j%)}(hj}h]hnapi_build_skb}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhj}hMubj)}(h$(void *data, unsigned int frag_size)h](j)}(h void *datah](j)}(hvoidh]hvoid}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ~ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ~ubj;)}(hj>h]h*}(hj-~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ~ubj%)}(hdatah]hdata}(hj:~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ~ubj)}(hunsigned int frag_sizeh](j)}(hunsignedh]hunsigned}(hjS~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjO~ubj)}(h h]h }(hja~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjO~ubj)}(hinth]hint}(hjo~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjO~ubj)}(h h]h }(hj}~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjO~ubj%)}(h frag_sizeh]h frag_size}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ~ubeh}(h]h ]h"]h$]h&]j<j=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)}(hbuild a network bufferh]hbuild a network buffer}(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})}(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)}(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.``void *data`` data buffer provided by caller h](j)}(h``void *data``h]j)}(hj~h]h void *data}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj~ubj)}(hhh]jX)}(hdata buffer provided by callerh]hdata buffer provided by caller}(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(``unsigned int frag_size`` size of data h](j)}(h``unsigned int frag_size``h]j)}(hj/h]hunsigned int frag_size}(hj1hhhNhNubah}(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 size of datah]h size of data}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~ubjX)}(h**Description**h]j)}(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 hj~ubjX)}(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.chMhj~ubjX)}(hKReturns a new :c:type:`sk_buff` on success, ``NULL`` on allocation failure.h](hReturns a new }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM"hjubh on success, }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on allocation failure.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM"hj~ubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMqubh)}(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_skbasbuh1hhjhhhjhMqubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMqubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMqubj)}(h __alloc_skbh]j%)}(hj0h]h __alloc_skb}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMqubj)}(h8(unsigned int size, gfp_t gfp_mask, int flags, int node)h](j)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(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 reftargetjÀmodnameN classnameNjj!)}j$]j. c.__alloc_skbasbuh1hhjubj)}(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=uh1jhjeubj)}(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=uh1jhjeubj)}(hint nodeh](j)}(hinth]hint}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj%)}(hnodeh]hnode}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubeh}(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)}(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.chMqhj~hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMqubeh}(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)}(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.chMuhjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMrhjubj)}(hhh]jX)}(hsize to allocateh]hsize to allocate}(hjہhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjׁhMrhj؁ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjׁhMrhjubj)}(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.chMshjubj)}(hhh]jX)}(hallocation maskh]hallocation mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubj)}(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)}(hj4h]h int flags}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMwhj.ubj)}(hhh]jX)}(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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMthjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMwhjubj)}(h-``int node`` numa node to allocate memory on h](j)}(h ``int node``h]j)}(hjnh]hint node}(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.chMxhjhubj)}(hhh]jX)}(hnuma node to allocate memory onh]hnuma node to allocate memory on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubeh}(h]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.chMzhjubj )}(hX,Allocate a new :c:type:`sk_buff`. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is ``NULL``. Buffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](jX)}(hAllocate a new :c:type:`sk_buff`. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is ``NULL``.h](hAllocate a new }(hjÂhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj͂h]hsk_buff}(hjςhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj˂ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMyhjÂubh. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is }(hjÂhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjÂubh.}(hjÂhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMyhjubjX)}(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM}hjubeh}(h]h ]h"]h$]h&]uh1j hjhMyhjubeh}(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 }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjmhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j__netdev_alloc_skbsbc.__netdev_alloc_skbasbuh1hhj\hhhjmhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjmhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\hhhjmhMubj)}(h__netdev_alloc_skbh]j%)}(hjh]h__netdev_alloc_skb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\hhhjmhMubj)}(h:(struct net_device *dev, unsigned int len, gfp_t gfp_mask)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjڃhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjփubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjփubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__netdev_alloc_skbasbuh1hhjփubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjփubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjփubj%)}(hdevh]hdev}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjփubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj҃ubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj҃ubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__netdev_alloc_skbasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hgfp_maskh]hgfp_mask}(hjʄhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj҃ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj\hhhjmhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhjmhMubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhMhjUhhubjS)}(hhh]jX)}(h.allocate an skbuff for rx on a specific deviceh]h.allocate an skbuff for rx on a specific device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjUhhhjmhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct net_device *dev`` network device to receive on ``unsigned int len`` length to allocate ``gfp_t gfp_mask`` get_free_pages mask, passed to alloc_skb **Description** Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h8``struct net_device *dev`` network device to receive on h](j)}(h``struct net_device *dev``h]j)}(hj5h]hstruct net_device *dev}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj/ubj)}(hhh]jX)}(hnetwork device to receive onh]hnetwork device to receive on}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj,ubj)}(h(``unsigned int len`` length to allocate h](j)}(h``unsigned int len``h]j)}(hjnh]hunsigned int len}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhubj)}(hhh]jX)}(hlength to allocateh]hlength to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubj)}(h<``gfp_t gfp_mask`` get_free_pages mask, passed to alloc_skb h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h(get_free_pages mask, passed to alloc_skbh]h(get_free_pages mask, passed to alloc_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hX5Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory.h](jX)}(hXAllocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.h](hAllocate a new }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj#hMhjubjX)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh( is returned if there is no free memory.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hj#hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_alloc_skb (C function)c.napi_alloc_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hLstruct sk_buff * napi_alloc_skb (struct napi_struct *napi, unsigned int len)h]h)}(hJstruct sk_buff *napi_alloc_skb(struct napi_struct *napi, unsigned int len)h](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhj~hMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jnapi_alloc_skbsbc.napi_alloc_skbasbuh1hhjmhhhj~hMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhj~hMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmhhhj~hMubj)}(hnapi_alloc_skbh]j%)}(hjh]hnapi_alloc_skb}(hjІhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj̆ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhj~hMubj)}(h,(struct napi_struct *napi, unsigned int len)h](j)}(hstruct napi_struct *napih](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.napi_alloc_skbasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnapih]hnapi}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj)}(hinth]hint}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjmhhhj~hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhj~hMubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hMhjfhhubjS)}(hhh]jX)}(h2allocate skbuff for rx in a specific NAPI instanceh]h2allocate skbuff for rx in a specific NAPI instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhj~hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjՇjxjՇjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct napi_struct *napi`` napi instance this buffer was allocated for ``unsigned int len`` length to allocate **Description** Allocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs. ``NULL`` is returned if there is no free memory.h](jX)}(h**Parameters**h]j)}(hj߇h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj݇ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjهubj)}(hhh](j)}(hI``struct napi_struct *napi`` napi instance this buffer was allocated for h](j)}(h``struct napi_struct *napi``h]j)}(hjh]hstruct napi_struct *napi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h+napi instance this buffer was allocated forh]h+napi instance this buffer was allocated for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``unsigned int len`` length to allocate h](j)}(h``unsigned int len``h]j)}(hj7h]hunsigned int len}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj1ubj)}(hhh]jX)}(hlength to allocateh]hlength to allocate}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubeh}(h]h ]h"]h$]h&]uh1jhjهubjX)}(h**Description**h]j)}(hjrh]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjهubj )}(hX1Allocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs. ``NULL`` is returned if there is no free memory.h](jX)}(hAllocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs.h]hAllocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( is returned if there is no free memory.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhjهubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__kfree_skb (C function) c.__kfree_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h&void __kfree_skb (struct sk_buff *skb)h]h)}(h%void __kfree_skb(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjވhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjڈhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjڈhhhjhMubj)}(h __kfree_skbh]j%)}(h __kfree_skbh]h __kfree_skb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjڈhhhjhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j')}jjsb c.__kfree_skbasbuh1hhjubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjڈhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjֈhhhjhMubah}(h]jшah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjӈhhubjS)}(hhh]jX)}(hprivate functionh]hprivate function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjӈhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer **Description** Free an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hj‰hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj߉h]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj݉ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjىubj)}(hhh]jX)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjىubeh}(h]h ]h"]h$]h&]uh1jhjhMhj։ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh]jX)}(hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh]hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skb}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj0ubah}(h]h ]h"]h$]h&]uh1j hjBhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_skb_reason_drop (C function)c.sk_skb_reason_drophNtauh1hhj[hhhNhNubh)}(hhh](h)}(hivoid __fix_address sk_skb_reason_drop (struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h]h)}(hhvoid __fix_address sk_skb_reason_drop(struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h](j)}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjwhMubh __fix_address}(hjehhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjwhMubj)}(hsk_skb_reason_droph]j%)}(hsk_skb_reason_droph]hsk_skb_reason_drop}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhjwhMubj)}(hC(struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjŊhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsockh]hsock}(hj֊hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӊubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj؊modnameN classnameNjj!)}j$]j')}jjsbc.sk_skb_reason_dropasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]jc.sk_skb_reason_dropasbuh1hhj&ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(henum skb_drop_reason reasonh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hskb_drop_reasonh]hskb_drop_reason}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.sk_skb_reason_dropasbuh1hhjubj)}(h h]h }(hj֋hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjehhhjwhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjahhhjwhMubah}(h]j\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwhMhj^hhubjS)}(hhh]jX)}(h#free an sk_buff with special reasonh]h#free an sk_buff with special reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj^hhhjwhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sock *sk`` the socket to receive **skb**, or NULL if not applicable ``struct sk_buff *skb`` buffer to free ``enum skb_drop_reason reason`` reason why this skb is dropped **Description** Drop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to 'kfree_skb' tracepoint.h](jX)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj*ubj)}(hhh](j)}(hM``struct sock *sk`` the socket to receive **skb**, or NULL if not applicable h](j)}(h``struct sock *sk``h]j)}(hjOh]hstruct sock *sk}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjIubj)}(hhh]jX)}(h8the socket to receive **skb**, or NULL if not applicableh](hthe socket to receive }(hjhhhhNhNubj)}(h**skb**h]hskb}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh, or NULL if not applicable}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjFubj)}(h'``struct sk_buff *skb`` buffer to free h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to freeh]hbuffer to free}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubj)}(h?``enum skb_drop_reason reason`` reason why this skb is dropped h](j)}(h``enum skb_drop_reason reason``h]j)}(hjӌh]henum skb_drop_reason reason}(hjՌhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjьubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj͌ubj)}(hhh]jX)}(hreason why this skb is droppedh]hreason why this skb is dropped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj͌ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubeh}(h]h ]h"]h$]h&]uh1jhj*ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj*ubj )}(hDrop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to 'kfree_skb' tracepoint.h]jX)}(hDrop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to 'kfree_skb' tracepoint.h]hDrop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to ‘kfree_skb’ tracepoint.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj$ubah}(h]h ]h"]h$]h&]uh1j hj6hMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tx_error (C function)c.skb_tx_errorhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h'void skb_tx_error (struct sk_buff *skb)h]h)}(h&void skb_tx_error(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMXubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhMXubj)}(h skb_tx_errorh]j%)}(h skb_tx_errorh]h skb_tx_error}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjkhMXubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_tx_errorasbuh1hhjubj)}(h h]h }(hj؍hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjkhMXubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjkhMXubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhMXhjRhhubjS)}(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.chMXhjhhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjkhMXubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer that triggered an error **Description** Report xmit error if a device callback is tracking this skb. skb must be freed afterwards.h](jX)}(h**Parameters**h]j)}(hj?h]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM\hj9ubj)}(hhh]j)}(h7``struct sk_buff *skb`` buffer that triggered an error h](j)}(h``struct sk_buff *skb``h]j)}(hj^h]hstruct sk_buff *skb}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMYhjXubj)}(hhh]jX)}(hbuffer that triggered an errorh]hbuffer that triggered an error}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMYhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMYhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM[hj9ubj )}(hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.h]jX)}(hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.h]hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMZhjubah}(h]h ]h"]h$]h&]uh1j hjhMZhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hconsume_skb (C function) c.consume_skbhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h&void consume_skb (struct sk_buff *skb)h]h)}(h%void consume_skb(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMiubj)}(h consume_skbh]j%)}(h consume_skbh]h consume_skb}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMiubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jj sb c.consume_skbasbuh1hhj!ubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj;)}(hj>h]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!ubj%)}(hskbh]hskb}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMiubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMiubah}(h]jێah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMihjݎhhubjS)}(hhh]jX)}(hfree an skbuffh]hfree an skbuff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMihjhhubah}(h]h ]h"]h$]h&]uh1jRhjݎhhhjhMiubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to free **Description** Drop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath](jX)}(h**Parameters**h]j)}(hjʏh]h Parameters}(hj̏hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȏubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMmhjďubj)}(hhh]j)}(h'``struct sk_buff *skb`` buffer to free h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMjhjubj)}(hhh]jX)}(hbuffer to freeh]hbuffer to free}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjďubjX)}(h**Description**h]j)}(hj$h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMlhjďubj )}(hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath]jX)}(hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath]hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes that}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkhj:ubah}(h]h ]h"]h$]h&]uh1j hjLhMkhjďubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_skb_for_msg (C function)c.alloc_skb_for_msghNtauh1hhj[hhhNhNubh)}(hhh](h)}(h:struct sk_buff * alloc_skb_for_msg (struct sk_buff *first)h]h)}(h8struct sk_buff *alloc_skb_for_msg(struct sk_buff *first)h](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjohhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjhM'ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jalloc_skb_for_msgsbc.alloc_skb_for_msgasbuh1hhjohhhjhM'ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjhM'ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjohhhjhM'ubj)}(halloc_skb_for_msgh]j%)}(hjh]halloc_skb_for_msg}(hjҐhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjΐubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjohhhjhM'ubj)}(h(struct sk_buff *first)h]j)}(hstruct sk_buff *firsth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.alloc_skb_for_msgasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfirsth]hfirst}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjohhhjhM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhjhM'ubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM'hjhhhubjS)}(hhh]jX)}(h0allocate sk_buff to wrap frag list forming a msgh]h0allocate sk_buff to wrap frag list forming a msg}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'hjkhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hD**Parameters** ``struct sk_buff *first`` first sk_buff of the msgh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM+hjubj)}(hhh]j)}(h2``struct sk_buff *first`` first sk_buff of the msgh](j)}(h``struct sk_buff *first``h]j)}(hjh]hstruct sk_buff *first}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-hjubj)}(hhh]jX)}(hfirst sk_buff of the msgh]hfirst sk_buff of the msg}(hjȑhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM(hjőubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjđhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_morph (C function) c.skb_morphhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hEstruct sk_buff * skb_morph (struct sk_buff *dst, struct sk_buff *src)h]h)}(hCstruct sk_buff *skb_morph(struct sk_buff *dst, struct sk_buff *src)h](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM@ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM@ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*modnameN classnameNjj!)}j$]j')}j skb_morphsb c.skb_morphasbuh1hhjhhhjhM@ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM@ubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM@ubj)}(h skb_morphh]j%)}(hjFh]h skb_morph}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM@ubj)}(h*(struct sk_buff *dst, struct sk_buff *src)h](j)}(hstruct sk_buff *dsth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jD c.skb_morphasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj͒hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdsth]hdst}(hjڒhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubj)}(hstruct sk_buff *srch](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jD c.skb_morphasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsrch]hsrc}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM@ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM@ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM@hjhhubjS)}(hhh]jX)}(hmorph one skb into anotherh]hmorph one skb into another}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM@hjqhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM@ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *dst`` the skb to receive the contents ``struct sk_buff *src`` the skb to supply the contents **Description** This is identical to skb_clone except that the target skb is supplied by the user. The target skb is returned upon exit.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMDhjubj)}(hhh](j)}(h8``struct sk_buff *dst`` the skb to receive the contents h](j)}(h``struct sk_buff *dst``h]j)}(hjh]hstruct sk_buff *dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMAhjubj)}(hhh]jX)}(hthe skb to receive the contentsh]hthe skb to receive the contents}(hjΓhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjʓhMAhj˓ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʓhMAhjubj)}(h7``struct sk_buff *src`` the skb to supply the contents h](j)}(h``struct sk_buff *src``h]j)}(hjh]hstruct sk_buff *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMBhjubj)}(hhh]jX)}(hthe skb to supply the contentsh]hthe skb to supply the contents}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubeh}(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.chMDhjubj )}(hyThis is identical to skb_clone except that the target skb is supplied by the user. The target skb is returned upon exit.h](jX)}(hRThis is identical to skb_clone except that the target skb is supplied by the user.h]hRThis is identical to skb_clone except that the target skb is supplied by the user.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMChj?ubjX)}(h%The target skb is returned upon exit.h]h%The target skb is returned upon exit.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMFhj?ubeh}(h]h ]h"]h$]h&]uh1j hjQhMChjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_ubufs (C function)c.skb_copy_ubufshNtauh1hhj[hhhNhNubh)}(hhh](h)}(h8int skb_copy_ubufs (struct sk_buff *skb, gfp_t gfp_mask)h]h)}(h7int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM}ubj)}(hskb_copy_ubufsh]j%)}(hskb_copy_ubufsh]hskb_copy_ubufs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM}ubj)}(h%(struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjĔhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjєhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjߔubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_copy_ubufsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]jc.skb_copy_ubufsasbuh1hhj2ubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj%)}(hgfp_maskh]hgfp_mask}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM}ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM}ubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM}hj|hhubjS)}(hhh]jX)}(h*copy userspace skb frags buffers to kernelh]h*copy userspace skb frags buffers to kernel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM}hjhhubah}(h]h ]h"]h$]h&]uh1jRhj|hhhjhM}ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` the skb to modify ``gfp_t gfp_mask`` allocation priority **Description** This must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``. Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h*``struct sk_buff *skb`` the skb to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjЕh]hstruct sk_buff *skb}(hjҕhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjΕubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~hjʕubj)}(hhh]jX)}(hthe skb to modifyh]hthe skb to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjʕubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjǕubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hj h]hgfp_t gfp_mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjǕubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hX5This must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``. Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.h](jX)}(hThis must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages.h]hThis must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjZubjX)}(hOIf this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](h@If this function is called from an interrupt gfp_mask() must be }(hjmhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh.}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjZubjX)}(h^Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.h]h^Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjZubeh}(h]h ]h"]h$]h&]uh1j hjlhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_clone (C function) c.skb_clonehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h@struct sk_buff * skb_clone (struct sk_buff *skb, gfp_t gfp_mask)h]h)}(h>struct sk_buff *skb_clone(struct sk_buff *skb, gfp_t gfp_mask)h](h)}(hjh]hstruct}(hjÖhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjіhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjЖhMubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjߖubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j skb_clonesb c.skb_cloneasbuh1hhjhhhjЖhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjЖhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjЖhMubj)}(h skb_cloneh]j%)}(hjh]h skb_clone}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjЖhMubj)}(h%(struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j c.skb_cloneasbuh1hhj9ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.skb_cloneasbuh1hhjubj)}(h h]h }(hjΗhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hgfp_maskh]hgfp_mask}(hjܗhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjЖhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjЖhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjЖhMhjhhubjS)}(hhh]jX)}(hduplicate an sk_buffh]hduplicate an sk_buff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjЖhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to clone ``gfp_t gfp_mask`` allocation priority **Description** Duplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](jX)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj"ubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to clone h](j)}(h``struct sk_buff *skb``h]j)}(hjGh]hstruct sk_buff *skb}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjAubj)}(hhh]jX)}(hbuffer to cloneh]hbuffer to clone}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>ubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjzubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubeh}(h]h ]h"]h$]h&]uh1jhj"ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj"ubj )}(hXWDuplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](jX)}(hXDuplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned.h](h Duplicate an }(hj՘hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjߘh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjݘubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj՘ubh. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns }(hj՘hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj՘ubh& otherwise the new buffer is returned.}(hj՘hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjјubjX)}(hOIf this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](h@If this function is called from an interrupt gfp_mask() must be }(hjhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjјubeh}(h]h ]h"]h$]h&]uh1j hjhMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy (C function) c.skb_copyhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hEstruct sk_buff * skb_copy (const struct sk_buff *skb, gfp_t gfp_mask)h]h)}(hCstruct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t gfp_mask)h](h)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjmhM/ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jskb_copysb c.skb_copyasbuh1hhj\hhhjmhM/ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjmhM/ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\hhhjmhM/ubj)}(hskb_copyh]j%)}(hjh]hskb_copy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\hhhjmhM/ubj)}(h+(const struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjڙhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj֙ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֙ubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj֙ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֙ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.skb_copyasbuh1hhj֙ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֙ubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj֙ubj%)}(hskbh]hskb}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj֙ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjҙubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]j c.skb_copyasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj%)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjҙubeh}(h]h ]h"]h$]h&]j<j=uh1jhj\hhhjmhM/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhjmhM/ubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhM/hjUhhubjS)}(hhh]jX)}(h!create private copy of an sk_buffh]h!create private copy of an sk_buff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/hjhhubah}(h]h ]h"]h$]h&]uh1jRhjUhhhjmhM/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj֚jxj֚jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff *skb`` buffer to copy ``gfp_t gfp_mask`` allocation priority **Description** Make a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. As by-product this function converts non-linear :c:type:`sk_buff` to linear one, so that :c:type:`sk_buff` becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޚubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM3hjښ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.chM0hjubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM0hjubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hj8h]hgfp_t gfp_mask}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1hj2ubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhM1hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM1hjubeh}(h]h ]h"]h$]h&]uh1jhjښubjX)}(h**Description**h]j)}(hjsh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM3hjښubj )}(hXfMake a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. As by-product this function converts non-linear :c:type:`sk_buff` to linear one, so that :c:type:`sk_buff` becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.h](jX)}(hXMake a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](hMake a copy of both an }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM2hjubh} and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM2hjubjX)}(hXSAs by-product this function converts non-linear :c:type:`sk_buff` to linear one, so that :c:type:`sk_buff` becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.h](h0As by-product this function converts non-linear }(hjћhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjۛh]hsk_buff}(hjݛhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjٛubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM7hjћubh to linear one, so that }(hjћhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjhM7hjћubh becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.}(hjћhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM7hjubeh}(h]h ]h"]h$]h&]uh1j hjhM2hjښubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__pskb_copy_fclone (C function)c.__pskb_copy_fclonehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hdstruct sk_buff * __pskb_copy_fclone (struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone)h]h)}(hbstruct sk_buff *__pskb_copy_fclone(struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone)h](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM_ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhhjYhM_ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j')}j__pskb_copy_fclonesbc.__pskb_copy_fcloneasbuh1hhjHhhhjYhM_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhhjYhM_ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHhhhjYhM_ubj)}(h__pskb_copy_fcloneh]j%)}(hjh]h__pskb_copy_fclone}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjYhM_ubj)}(h@(struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjƜhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjœubj)}(h h]h }(hjӜhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjœubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__pskb_copy_fcloneasbuh1hhjœubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjœubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjœubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjœubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int headroomh](j)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj%)}(hheadroomh]hheadroom}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]jc.__pskb_copy_fcloneasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool fcloneh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hfcloneh]hfclone}(hjΝhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjHhhhjYhM_ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjYhM_ubah}(h]j?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYhM_hjAhhubjS)}(hhh]jX)}(h,create copy of an sk_buff with private head.h]h,create copy of an sk_buff with private head.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM_hjhhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjYhM_ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to copy ``int headroom`` headroom of new skb ``gfp_t gfp_mask`` allocation priority ``bool fclone`` if true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be cloned **Description** Make a copy of both an :c:type:`sk_buff` and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of :c:type:`sk_buff` and needs private copy of the header to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMchjubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hj9h]hstruct sk_buff *skb}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM`hj3ubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhM`hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM`hj0ubj)}(h%``int headroom`` headroom of new skb h](j)}(h``int headroom``h]j)}(hjrh]h int headroom}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMahjlubj)}(hhh]jX)}(hheadroom of new skbh]hheadroom of new skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMahj0ubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMbhjubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjĞhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhj0ubj)}(h``bool fclone`` if true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be cloned h](j)}(h``bool fclone``h]j)}(hjh]h bool fclone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMehjޞubj)}(hhh]jX)}(hif true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be clonedh]hif true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be cloned}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMchjubah}(h]h ]h"]h$]h&]uh1jhjޞubeh}(h]h ]h"]h$]h&]uh1jhjhMehj0ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMghjubj )}(hXcMake a copy of both an :c:type:`sk_buff` and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of :c:type:`sk_buff` and needs private copy of the header to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h]jX)}(hXcMake a copy of both an :c:type:`sk_buff` and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of :c:type:`sk_buff` and needs private copy of the header to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](hMake a copy of both an }(hj:hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjDh]hsk_buff}(hjFhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMfhj:ubh and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of }(hj:hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjhh]hsk_buff}(hjjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjahMfhj:ubh8 and needs private copy of the header to alter. Returns }(hj:hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjahMfhj6ubah}(h]h ]h"]h$]h&]uh1j hjahMfhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpskb_expand_head (C function)c.pskb_expand_headhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hPint pskb_expand_head (struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask)h]h)}(hOint pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask)h](j)}(hinth]hint}(hjǟhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjßhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj֟hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjßhhhj՟hMubj)}(hpskb_expand_headh]j%)}(hpskb_expand_headh]hpskb_expand_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjßhhhj՟hMubj)}(h;(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]j')}jjsbc.pskb_expand_headasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int nheadh](j)}(hinth]hint}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj%)}(hnheadh]hnhead}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int ntailh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hntailh]hntail}(hjǠhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j>c.pskb_expand_headasbuh1hhjܠubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjܠubj%)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjܠubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjßhhhj՟hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj՟hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj՟hMhjhhubjS)}(hhh]jX)}(h&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(hj9hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjCh]hsk_buff}(hjEhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j>c.pskb_expand_headasbjsk_buffuh1hhjthKhj9ubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj6hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj՟hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{uh1hhhhj[hNhNubj})}(hXx**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``int nhead`` room to add at head ``int ntail`` room to add at tail ``gfp_t gfp_mask`` allocation priority **Description** Expands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed. All the pointers pointing into skb header may change and must be reloaded after call to this function.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to reallocateh]hbuffer to reallocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``int nhead`` room to add at head h](j)}(h ``int nhead``h]j)}(hjסh]h int nhead}(hj١hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjաubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjѡubj)}(hhh]jX)}(hroom to add at headh]hroom to add at head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjѡubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``int ntail`` room to add at tail h](j)}(h ``int ntail``h]j)}(hjh]h int ntail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jX)}(hroom to add at tailh]hroom to add at tail}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjIh]hgfp_t gfp_mask}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjCubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjubeh}(h]h ]h"]h$]h&]uh1jhjyubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjyubj )}(hXExpands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed. All the pointers pointing into skb header may change and must be reloaded after call to this function.h](jX)}(hX-Expands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed.h](h'Expands (or creates identical copy, if }(hjhhhNhNubj)}(h **nhead**h]hnhead}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **ntail**h]hntail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are zero) header of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjʢhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjޢh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjܢubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh itself is not changed. }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjhMhjubhv MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj%h]hsk_buff}(hj'hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjhMhjubh is not changed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubjX)}(hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.h]hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_expand_head (C function)c.skb_expand_headhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hMstruct sk_buff * skb_expand_head (struct sk_buff *skb, unsigned int headroom)h]h)}(hKstruct sk_buff *skb_expand_head(struct sk_buff *skb, unsigned int headroom)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMK ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhjhMK ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jskb_expand_headsbc.skb_expand_headasbuh1hhj}hhhjhMK ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhjhMK ubj;)}(hj>h]h*}(hjϣhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj}hhhjhMK ubj)}(hskb_expand_headh]j%)}(hjh]hskb_expand_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjܣubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhjhMK ubj)}(h,(struct sk_buff *skb, unsigned int headroom)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_expand_headasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int headroomh](j)}(hunsignedh]hunsigned}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(hheadroomh]hheadroom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj}hhhjhMK ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjhMK ubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMK hjvhhubjS)}(hhh]jX)}(h&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(hjͤhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjפh]hsk_buff}(hj٤hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjդubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]jc.skb_expand_headasbjsk_buffuh1hhjthKhjͤubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMK hjʤhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhjhMK ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hXo**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``unsigned int headroom`` needed headroom **Description** Unlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures. It expect increased headroom and generates warning otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMO hj ubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate h](j)}(h``struct sk_buff *skb``h]j)}(hj2h]hstruct sk_buff *skb}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chML hj,ubj)}(hhh]jX)}(hbuffer to reallocateh]hbuffer to reallocate}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhML hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhML hj)ubj)}(h*``unsigned int headroom`` needed headroom h](j)}(h``unsigned int headroom``h]j)}(hjkh]hunsigned int headroom}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMM hjeubj)}(hhh]jX)}(hneeded headroomh]hneeded headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMM hjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMM hj)ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMO hj ubj )}(hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures. It expect increased headroom and generates warning otherwise.h](jX)}(hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures.h]hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMN hjubjX)}(h=It expect increased headroom and generates warning otherwise.h]h=It expect increased headroom and generates warning otherwise.}(hjϥhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMR hjubeh}(h]h ]h"]h$]h&]uh1j hjΥhMN hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_expand (C function)c.skb_copy_expandhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hnstruct sk_buff * skb_copy_expand (const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask)h]h)}(hlstruct sk_buff *skb_copy_expand(const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~ ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM~ ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%modnameN classnameNjj!)}j$]j')}jskb_copy_expandsbc.skb_copy_expandasbuh1hhjhhhjhM~ ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM~ ubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM~ ubj)}(hskb_copy_expandh]j%)}(hjAh]hskb_copy_expand}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM~ ubj)}(hM(const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j?c.skb_copy_expandasbuh1hhjzubj)}(h h]h }(hjզhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubj)}(hint newheadroomh](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h newheadroomh]h newheadroom}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubj)}(hint newtailroomh](j)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj%)}(h newtailroomh]h newtailroom}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubj)}(hgfp_t gfp_maskh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j?c.skb_copy_expandasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj%)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM~ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM~ ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM~ hjhhubjS)}(hhh]jX)}(hcopy and expand sk_buffh]hcopy and expand sk_buff}(hj̧hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~ hjɧhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM~ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff *skb`` buffer to copy ``int newheadroom`` new free bytes at head ``int newtailroom`` new free bytes at tail ``gfp_t gfp_mask`` allocation priority **Description** Make a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space. This is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. You must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hj h]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hM hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hM hjubj)}(h+``int newheadroom`` new free bytes at head h](j)}(h``int newheadroom``h]j)}(hjFh]hint newheadroom}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj@ubj)}(hhh]jX)}(hnew free bytes at headh]hnew free bytes at head}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hM hj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hM hjubj)}(h+``int newtailroom`` new free bytes at tail h](j)}(h``int newtailroom``h]j)}(hjh]hint newtailroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjyubj)}(hhh]jX)}(hnew free bytes at tailh]hnew free bytes at tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hallocation priorityh]hallocation priority}(hjѨhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjͨhM hjΨubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͨhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj )}(hXMake a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space. This is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. You must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](jX)}(hcMake a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space.h](hMake a copy of both an }(hj hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj ubh; and its data and while doing so allocate additional space.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj4hM hj ubjX)}(hThis is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](hThis is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns }(hj?hhhNhNubj)}(h``NULL``h]hNULL}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj ubjX)}(heYou must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](hYou must pass }(hj`hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubhI as the allocation priority if this function is called from an interrupt.}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj ubeh}(h]h ]h"]h$]h&]uh1j hj4hM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_pad (C function) c.__skb_padhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h@int __skb_pad (struct sk_buff *skb, int pad, bool free_on_error)h]h)}(h?int __skb_pad(struct sk_buff *skb, int pad, bool free_on_error)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(h __skb_padh]j%)}(h __skb_padh]h __skb_pad}(hjȩhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjĩubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h2(struct sk_buff *skb, int pad, bool free_on_error)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjʩsb c.__skb_padasbuh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjܩubj)}(hint padh](j)}(hinth]hint}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj%)}(hpadh]hpad}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjܩubj)}(hbool free_on_errorh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h free_on_errorh]h free_on_error}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjܩubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hzero pad the tail of an skbh]hzero pad the tail of an skb}(hjЪhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjͪhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to pad ``int pad`` space to pad ``bool free_on_error`` free buffer on error **Description** Ensure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire. May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj ubj)}(hhh]jX)}(h buffer to padh]h buffer to pad}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hM hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM hjubj)}(h``int pad`` space to pad h](j)}(h ``int pad``h]j)}(hjJh]hint pad}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjDubj)}(hhh]jX)}(h space to padh]h space to pad}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hM hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM hjubj)}(h,``bool free_on_error`` free buffer on error h](j)}(h``bool free_on_error``h]j)}(hjh]hbool free_on_error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj}ubj)}(hhh]jX)}(hfree buffer on errorh]hfree buffer on error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj )}(hXEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire. May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](jX)}(hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.h]hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.}(hjثhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjԫubjX)}(h`May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](hFMay return error in out of memory cases. The skb is freed on error if }(hjhhhNhNubj)}(h**free_on_error**h]h free_on_error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is true.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjԫubeh}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpskb_put (C function) c.pskb_puthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hDvoid * pskb_put (struct sk_buff *skb, struct sk_buff *tail, int len)h]h)}(hBvoid *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len)h](j)}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhhj<hM ubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*hhhj<hM ubj)}(hpskb_puth]j%)}(hpskb_puth]hpskb_put}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj<hM ubj)}(h4(struct sk_buff *skb, struct sk_buff *tail, int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj^sb c.pskb_putasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hjĬhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hskbh]hskb}(hjѬhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hstruct sk_buff *tailh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j c.pskb_putasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htailh]htail}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hint lenh](j)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj%)}(hlenh]hlen}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhj*hhhj<hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&hhhj<hM ubah}(h]j!ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<hM hj#hhubjS)}(hhh]jX)}(h7add data to the tail of a potentially fragmented bufferh]h7add data to the tail of a potentially fragmented buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj#hhhj<hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` start of the buffer to use ``struct sk_buff *tail`` tail fragment of the buffer to use ``int len`` amount of data to add **Description** This function extends the used data area of the potentially fragmented buffer. **tail** must be the last fragment of **skb** -- or **skb** itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h](jX)}(h**Parameters**h]j)}(hj­h]h Parameters}(hjĭhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh](j)}(h3``struct sk_buff *skb`` start of the buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߭ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjۭubj)}(hhh]jX)}(hstart of the buffer to useh]hstart of the buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjۭubeh}(h]h ]h"]h$]h&]uh1jhjhM hjحubj)}(h<``struct sk_buff *tail`` tail fragment of the buffer to use h](j)}(h``struct sk_buff *tail``h]j)}(hjh]hstruct sk_buff *tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(h"tail fragment of the buffer to useh]h"tail fragment of the buffer to use}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hM hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM hjحubj)}(h"``int len`` amount of data to add h](j)}(h ``int len``h]j)}(hjSh]hint len}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjMubj)}(hhh]jX)}(hamount of data to addh]hamount of data to add}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhM hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhM hjحubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj )}(hXThis function extends the used data area of the potentially fragmented buffer. **tail** must be the last fragment of **skb** -- or **skb** itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]jX)}(hXThis function extends the used data area of the potentially fragmented buffer. **tail** must be the last fragment of **skb** -- or **skb** itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h](hOThis function extends the used data area of the potentially fragmented buffer. }(hjhhhNhNubj)}(h**tail**h]htail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must be the last fragment of }(hjhhhNhNubj)}(h**skb**h]hskb}(hj®hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh -- or }(hjhhhNhNubj)}(h**skb**h]hskb}(hjԮhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubah}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_put (C function) c.skb_puthNtauh1hhj[hhhNhNubh)}(hhh](h)}(h6void * skb_put (struct sk_buff *skb, unsigned int len)h]h)}(h4void *skb_put(struct sk_buff *skb, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj!hM ubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj!hM ubj)}(hskb_puth]j%)}(hskb_puth]hskb_put}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj!hM ubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j')}jjCsb c.skb_putasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjϯhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj˯ubj)}(h h]h }(hjݯhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj˯ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj˯ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj˯ubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj˯ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj!hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj!hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hM hjhhubjS)}(hhh]jX)}(hadd data to a bufferh]hadd data to a buffer}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj.hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj!hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhj[hNhNubj})}(hX;**Parameters** ``struct sk_buff *skb`` buffer to use ``unsigned int len`` amount of data to add **Description** This function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h](jX)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjMubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjrh]hstruct sk_buff *skb}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjlubj)}(hhh]jX)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM hjiubj)}(h+``unsigned int len`` amount of data to add h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hamount of data to addh]hamount of data to add}(hjİhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjiubeh}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjMubj )}(hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]jX)}(hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubah}(h]h ]h"]h$]h&]uh1j hjhM hjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_push (C function) c.skb_pushhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h7void * skb_push (struct sk_buff *skb, unsigned int len)h]h)}(h5void *skb_push(struct sk_buff *skb, unsigned int len)h](j)}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhjChM ubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1hhhjChM ubj)}(hskb_pushh]j%)}(hskb_pushh]hskb_push}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhjChM ubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjesb c.skb_pushasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hj˱hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hskbh]hskb}(hjرhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubeh}(h]h ]h"]h$]h&]j<j=uh1jhj1hhhjChM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-hhhjChM ubah}(h]j(ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjChM hj*hhubjS)}(hhh]jX)}(h!add data to the start of a bufferh]h!add data to the start of a buffer}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjPhhubah}(h]h ]h"]h$]h&]uh1jRhj*hhhjChM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjkjxjkjyjzj{uh1hhhhj[hNhNubj})}(hXS**Parameters** ``struct sk_buff *skb`` buffer to use ``unsigned int len`` amount of data to add **Description** This function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.h](jX)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM! hjoubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h+``unsigned int len`` amount of data to add h](j)}(h``unsigned int len``h]j)}(hjͲh]hunsigned int len}(hjϲhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˲ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjDzubj)}(hhh]jX)}(hamount of data to addh]hamount of data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjDzubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjoubjX)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM! hjoubj )}(hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.h]jX)}(hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.h]hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubah}(h]h ]h"]h$]h&]uh1j hj0hM hjoubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pull (C function) c.skb_pullhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h7void * skb_pull (struct sk_buff *skb, unsigned int len)h]h)}(h5void *skb_pull(struct sk_buff *skb, unsigned int len)h](j)}(hvoidh]hvoid}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0 ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjShhhjehM0 ubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjShhhjehM0 ubj)}(hskb_pullh]j%)}(hskb_pullh]hskb_pull}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjShhhjehM0 ubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.skb_pullasbuh1hhjubj)}(h h]h }(hj߳hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjShhhjehM0 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOhhhjehM0 ubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjehM0 hjLhhubjS)}(hhh]jX)}(h&remove data from the start of a bufferh]h&remove data from the start of a buffer}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0 hjrhhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhjehM0 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.chM4 hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1 hjubj)}(hhh]jX)}(h buffer to useh]h buffer to use}(hjϴhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj˴hM1 hj̴ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˴hM1 hjubj)}(h.``unsigned int len`` amount of data to remove h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM2 hjubj)}(hhh]jX)}(hamount of data to removeh]hamount of data to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM2 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2 hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM4 hjubj )}(hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.h]jX)}(hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.h]hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM3 hj@ubah}(h]h ]h"]h$]h&]uh1j hjRhM3 hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pull_data (C function)c.skb_pull_datahNtauh1hhj[hhhNhNubh)}(hhh](h)}(h6void * skb_pull_data (struct sk_buff *skb, size_t len)h]h)}(h4void *skb_pull_data(struct sk_buff *skb, size_t len)h](j)}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM@ ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjhM@ ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuhhhjhM@ ubj)}(h skb_pull_datah]j%)}(h skb_pull_datah]h skb_pull_data}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuhhhjhM@ ubj)}(h!(struct sk_buff *skb, size_t len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjõhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjеhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj޵ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_pull_dataasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t lenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]jc.skb_pull_dataasbuh1hhj1ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj%)}(hlenh]hlen}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjuhhhjhM@ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjhM@ ubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM@ hjnhhubjS)}(hhh]jX)}(hGremove data from the start of a buffer returning its original position.h]hGremove data from the start of a buffer returning its original position.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM@ hjhhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjhM@ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to use ``size_t len`` amount of data to remove **Description** This function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMD hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hj϶h]hstruct sk_buff *skb}(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.chMB hjɶubj)}(hhh]jX)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMB hjubah}(h]h ]h"]h$]h&]uh1jhjɶubeh}(h]h ]h"]h$]h&]uh1jhjhMB hjƶubj)}(h(``size_t len`` amount of data to remove h](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMC hjubj)}(hhh]jX)}(hamount of data to removeh]hamount of data to remove}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMC hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMC hjƶubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjCh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chME hjubj )}(hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.h]jX)}(hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.h]hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMD hjYubah}(h]h ]h"]h$]h&]uh1j hjkhMD 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.chMX ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMX ubj)}(hskb_trimh]j%)}(hskb_trimh]hskb_trim}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMX ubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjϷhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj˷ubj)}(h h]h }(hjܷhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj˷ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.skb_trimasbuh1hhj˷ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj˷ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj˷ubj%)}(hskbh]hskb}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj˷ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjǷubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj)}(hinth]hint}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj%)}(hlenh]hlen}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjǷubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMX ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMX ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMX hjhhubjS)}(hhh]jX)}(hremove end from a bufferh]hremove end from a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMX hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMX ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to alter ``unsigned int len`` new length **Description** Cut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.h](jX)}(h**Parameters**h]j)}(hjŸh]h Parameters}(hjǸhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjøubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM\ hjubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to 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.chMY hj޸ubj)}(hhh]jX)}(hbuffer to alterh]hbuffer to alter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMY hjubah}(h]h ]h"]h$]h&]uh1jhj޸ubeh}(h]h ]h"]h$]h&]uh1jhjhMY hj۸ubj)}(h ``unsigned int len`` new length 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.chMZ hjubj)}(hhh]jX)}(h new lengthh]h new length}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMZ hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMZ hj۸ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjXh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM\ hjubj )}(hCut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.h]jX)}(hCut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.h]hCut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM[ hjnubah}(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__pskb_pull_tail (C function)c.__pskb_pull_tailhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h8void * __pskb_pull_tail (struct sk_buff *skb, int delta)h]h)}(h6void *__pskb_pull_tail(struct sk_buff *skb, int delta)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj;)}(hj>h]h*}(hjĹhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM ubj)}(h__pskb_pull_tailh]j%)}(h__pskb_pull_tailh]h__pskb_pull_tail}(hjչhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjѹubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h (struct sk_buff *skb, int delta)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj׹sbc.__pskb_pull_tailasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int deltah](j)}(hinth]hint}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj%)}(hdeltah]hdelta}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hadvance tail of skb headerh]hadvance tail of skb header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX_**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``int delta`` number of bytes to advance tail **Description** The function makes a sense only on a fragmented :c:type:`sk_buff`, it expands header moving its tail forward and copying necessary data from fragmented part. :c:type:`sk_buff` MUST have reference count of 1. Returns ``NULL`` (and :c:type:`sk_buff` does not change) if pull failed or value of new tail of skb in the case of success. All the pointers pointing into skb header may change and must be reloaded after call to this function.h](jX)}(h**Parameters**h]j)}(hj˺h]h Parameters}(hjͺhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɺubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjźubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hbuffer to reallocateh]hbuffer to reallocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h.``int delta`` number of bytes to advance tail h](j)}(h ``int delta``h]j)}(hj#h]h int delta}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jX)}(hnumber of bytes to advance tailh]hnumber of bytes to advance tail}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hM hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM hjubeh}(h]h ]h"]h$]h&]uh1jhjźubjX)}(h**Description**h]j)}(hj^h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjźubj )}(hXThe function makes a sense only on a fragmented :c:type:`sk_buff`, it expands header moving its tail forward and copying necessary data from fragmented part. :c:type:`sk_buff` MUST have reference count of 1. Returns ``NULL`` (and :c:type:`sk_buff` does not change) if pull failed or value of new tail of skb in the case of success. All the pointers pointing into skb header may change and must be reloaded after call to this function.h](jX)}(hThe function makes a sense only on a fragmented :c:type:`sk_buff`, it expands header moving its tail forward and copying necessary data from fragmented part.h](h0The function makes a sense only on a fragmented }(hjxhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjxubh\, it expands header moving its tail forward and copying necessary data from fragmented part.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjtubjX)}(h1:c:type:`sk_buff` MUST have reference count of 1.h](h)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubh MUST have reference count of 1.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjͻhM hjtubjX)}(h{Returns ``NULL`` (and :c:type:`sk_buff` does not change) if pull failed or value of new tail of skb in the case of success.h](hReturns }(hjػhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjػubh (and }(hjػhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjػubhT does not change) if pull failed or value of new tail of skb in the case of success.}(hjػhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjtubjX)}(hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.h]hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjtubeh}(h]h ]h"]h$]h&]uh1j hjhM hjźubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_bits (C function)c.skb_copy_bitshNtauh1hhj[hhhNhNubh)}(hhh](h)}(hLint skb_copy_bits (const struct sk_buff *skb, int offset, void *to, int len)h]h)}(hKint skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len)h](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMo ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhj_hMo ubj)}(h skb_copy_bitsh]j%)}(h skb_copy_bitsh]h skb_copy_bits}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhj_hMo ubj)}(h:(const struct sk_buff *skb, int offset, void *to, int len)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjǼhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjļubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjɼmodnameN classnameNjj!)}j$]j')}jjtsbc.skb_copy_bitsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int offseth](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffseth]hoffset}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hvoid *toh](j)}(hvoidh]hvoid}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(htoh]hto}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjMhhhj_hMo ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIhhhj_hMo ubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj_hMo hjFhhubjS)}(hhh]jX)}(h#copy bits from skb to kernel bufferh]h#copy bits from skb to kernel buffer}(hjؽhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMo hjսhhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhj_hMo ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``const struct sk_buff *skb`` source skb ``int offset`` offset in source ``void *to`` destination buffer ``int len`` number of bytes to copy **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.chMs hjubj)}(hhh](j)}(h)``const struct sk_buff *skb`` source skb h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMp hjubj)}(hhh]jX)}(h source skbh]h source skb}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMp hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMp hjubj)}(h ``int offset`` offset in source h](j)}(h``int offset``h]j)}(hjRh]h int offset}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMq hjLubj)}(hhh]jX)}(hoffset in sourceh]hoffset in source}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMq hjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMq hjubj)}(h ``void *to`` destination buffer h](j)}(h ``void *to``h]j)}(hjh]hvoid *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMr hjubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMr hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMr hjubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hjľh]hint len}(hjƾhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj¾ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMs hjubj)}(hhh]jX)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjݾhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjپhMs hjھubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjپhMs 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.chMu hjubj )}(hCopy the specified number of bytes from the source skb to the destination buffer. CAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h](jX)}(hQCopy the specified number of bytes from the source skb to the destination buffer.h]hQCopy the specified number of bytes from the source skb to the destination buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMt 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.chMy hj+ubj)}(hhh]jX)}(hlIf its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h]hlIf its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMx hj>ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj=hMy hj(ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j hj'hMt hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_store_bits (C function)c.skb_store_bitshNtauh1hhj[hhhNhNubh)}(hhh](h)}(hOint skb_store_bits (struct sk_buff *skb, int offset, const void *from, int len)h]h)}(hNint skb_store_bits(struct sk_buff *skb, int offset, const void *from, int len)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hskb_store_bitsh]j%)}(hskb_store_bitsh]hskb_store_bits}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h<(struct sk_buff *skb, int offset, const void *from, int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjſhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjҿhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_store_bitsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int offseth](j)}(hinth]hint}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj%)}(hoffseth]hoffset}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst void *fromh](h)}(hjh]hconst}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint lenh](j)}(hinth]hint}(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=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hj}hhubjS)}(hhh]jX)}(h$store bits from kernel buffer to skbh]h$store bits from kernel buffer to skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj hhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhj[hNhNubj})}(hXu**Parameters** ``struct sk_buff *skb`` destination buffer ``int offset`` offset in destination ``const void *from`` source buffer ``int len`` number of bytes to copy **Description** Copy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h](jX)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM# hj+ubj)}(hhh](j)}(h+``struct sk_buff *skb`` destination buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjPh]hstruct sk_buff *skb}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjJubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehM hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM hjGubj)}(h%``int offset`` offset in destination h](j)}(h``int offset``h]j)}(hjh]h int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM! hjubj)}(hhh]jX)}(hoffset in destinationh]hoffset in destination}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM! hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM! hjGubj)}(h#``const void *from`` source buffer h](j)}(h``const void *from``h]j)}(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.chM" hjubj)}(hhh]jX)}(h source bufferh]h source buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM" hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM" hjGubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM# hjubj)}(hhh]jX)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM# hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM# hjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubjX)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM% hj+ubj )}(hCopy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h]jX)}(hCopy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h]hCopy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM$ hjLubah}(h]h ]h"]h$]h&]uh1j hj^hM$ hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_zerocopy (C function)c.skb_zerocopyhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hNint skb_zerocopy (struct sk_buff *to, struct sk_buff *from, int len, int hlen)h]h)}(hMint skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len, int hlen)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_zerocopyh]j%)}(h skb_zerocopyh]h skb_zerocopy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h=(struct sk_buff *to, struct sk_buff *from, int len, int hlen)h](j)}(hstruct sk_buff *toh](h)}(hjh]hstruct}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *fromh](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]jc.skb_zerocopyasbuh1hhj0ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint hlenh](j)}(hinth]hint}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhjhMubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjzhhubjS)}(hhh]jX)}(hZero copy skb to skbh]hZero copy skb to skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *to`` destination buffer ``struct sk_buff *from`` source buffer ``int len`` number of bytes to copy from source buffer ``int hlen`` size of linear headroom in destination buffer **Description** Copies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer. The `hlen` as calculated by skb_zerocopy_headlen() specifies the headroom in the `to` buffer. Return value: 0: everything is OK -ENOMEM: couldn't orphan frags of **from** due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometryh](jX)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj;ubj)}(hhh](j)}(h*``struct sk_buff *to`` destination buffer h](j)}(h``struct sk_buff *to``h]j)}(hj`h]hstruct sk_buff *to}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjZubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjWubj)}(h'``struct sk_buff *from`` source buffer h](j)}(h``struct sk_buff *from``h]j)}(hjh]hstruct sk_buff *from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h source bufferh]h source buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjWubj)}(h7``int len`` number of bytes to copy from source buffer h](j)}(h ``int len``h]j)}(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&]uh1jhjhMhjWubj)}(h;``int hlen`` size of linear headroom in destination buffer h](j)}(h ``int hlen``h]j)}(hj h]hint hlen}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h-size of linear headroom in destination bufferh]h-size of linear headroom in destination buffer}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjWubeh}(h]h ]h"]h$]h&]uh1jhj;ubjX)}(h**Description**h]j)}(hjFh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj;ubj )}(hXgCopies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer. The `hlen` as calculated by skb_zerocopy_headlen() specifies the headroom in the `to` buffer. Return value: 0: everything is OK -ENOMEM: couldn't orphan frags of **from** due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometryh](jX)}(hfCopies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer.h](h Copies up to }(hj`hhhNhNubhtitle_reference)}(h`len`h]hlen}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhj`ubh bytes from }(hj`hhhNhNubji)}(h`from`h]hfrom}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhj`ubh to }(hj`hhhNhNubji)}(h`to`h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhj`ubh: by creating references to the frags in the source buffer.}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj\ubjX)}(h]The `hlen` as calculated by skb_zerocopy_headlen() specifies the headroom in the `to` buffer.h](hThe }(hjhhhNhNubji)}(h`hlen`h]hhlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhjubhG as calculated by skb_zerocopy_headlen() specifies the headroom in the }(hjhhhNhNubji)}(h`to`h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhjubh buffer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj\ubjX)}(hReturn value: 0: everything is OK -ENOMEM: couldn't orphan frags of **from** due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometryh](hFReturn value: 0: everything is OK -ENOMEM: couldn’t orphan frags of }(hjhhhNhNubj)}(h**from**h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhT due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometry}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj\ubeh}(h]h ]h"]h$]h&]uh1j hjhMhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dequeue (C function) c.skb_dequeuehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h8struct sk_buff * skb_dequeue (struct sk_buff_head *list)h]h)}(h6struct sk_buff *skb_dequeue(struct sk_buff_head *list)h](h)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj.hM-ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]j')}j skb_dequeuesb c.skb_dequeueasbuh1hhjhhhj.hM-ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj.hM-ubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj.hM-ubj)}(h skb_dequeueh]j%)}(hj^h]h skb_dequeue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj.hM-ubj)}(h(struct sk_buff_head *list)h]j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j\ c.skb_dequeueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj.hM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj.hM-ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hM-hjhhubjS)}(hhh]jX)}(h!remove from the head of the queueh]h!remove from the head of the queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj.hM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or ``NULL`` if the list is empty.h](jX)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1hj8ubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hj]h]hstruct sk_buff_head *list}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM.hjWubj)}(hhh]jX)}(hlist to dequeue fromh]hlist to dequeue from}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhM.hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM.hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0hj8ubj )}(hRemove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or ``NULL`` if the list is empty.h]jX)}(hRemove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or ``NULL`` if the list is empty.h](hRemove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if the list is empty.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/hjubah}(h]h ]h"]h$]h&]uh1j hjhM/hj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dequeue_tail (C function)c.skb_dequeue_tailhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=struct sk_buff * skb_dequeue_tail (struct sk_buff_head *list)h]h)}(h;struct sk_buff *skb_dequeue_tail(struct sk_buff_head *list)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMBubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jskb_dequeue_tailsbc.skb_dequeue_tailasbuh1hhjhhhjhMBubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMBubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMBubj)}(hskb_dequeue_tailh]j%)}(hj6h]hskb_dequeue_tail}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMBubj)}(h(struct sk_buff_head *list)h]j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j4c.skb_dequeue_tailasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMBubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMBubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMBhjhhubjS)}(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.chMBhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMBubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMFhjubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hj5h]hstruct sk_buff_head *list}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMChj/ubj)}(hhh]jX)}(hlist to dequeue fromh]hlist to dequeue from}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMChjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMChj,ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjph]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMEhjubj )}(hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h]jX)}(hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h](hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if the list is empty.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMDhjubah}(h]h ]h"]h$]h&]uh1j hjhMDhjubeh}(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.chMVubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMVubj)}(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=uh1jhjhhhjhMVubj)}(h8(struct sk_buff_head *list, enum skb_drop_reason reason)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jjsbc.skb_queue_purge_reasonasbuh1hhj ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hlisth]hlist}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(henum skb_drop_reason reasonh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubh)}(hhh]j%)}(hskb_drop_reasonh]hskb_drop_reason}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jHc.skb_queue_purge_reasonasbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj%)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMVubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMVubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMVhjhhubjS)}(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.chMVhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMVubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj[hNhNubj})}(hX\**Parameters** ``struct sk_buff_head *list`` list to empty ``enum skb_drop_reason reason`` drop reason **Description** Delete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMZhjubj)}(hhh](j)}(h,``struct sk_buff_head *list`` list to empty h](j)}(h``struct sk_buff_head *list``h]j)}(hj5h]hstruct sk_buff_head *list}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMWhj/ubj)}(hhh]jX)}(h list to emptyh]h list to empty}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMWhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMWhj,ubj)}(h,``enum skb_drop_reason reason`` drop reason h](j)}(h``enum skb_drop_reason reason``h]j)}(hjnh]henum skb_drop_reason reason}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMXhjhubj)}(hhh]jX)}(h drop reasonh]h drop reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMXhj,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.chMZhjubj )}(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.chMYhjubh 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&]uh1jWhjhMYhjubah}(h]h ]h"]h$]h&]uh1j hjhMYhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_head (C function)c.skb_queue_headhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hFvoid skb_queue_head (struct sk_buff_head *list, struct sk_buff *newsk)h]h)}(hEvoid skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj)hMubj)}(hskb_queue_headh]j%)}(hskb_queue_headh]hskb_queue_head}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj)hMubj)}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j')}jj>sbc.skb_queue_headasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_queue_headasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnewskh]hnewsk}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj)hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj)hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj)hMhjhhubjS)}(hhh]jX)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj)hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhj[hNhNubj})}(hXa**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjgubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hjh]hstruct sk_buff *newsk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to queueh]hbuffer to queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjgubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjgubj )}(hQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jX)}(hQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely.h](huQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj$h]hsk_buff}(hj&hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh functions safely.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjAhMhjubjX)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjAhMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_tail (C function)c.skb_queue_tailhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hFvoid skb_queue_tail (struct sk_buff_head *list, struct sk_buff *newsk)h]h)}(hEvoid skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}hhhjhMubj)}(hskb_queue_tailh]j%)}(hskb_queue_tailh]hskb_queue_tail}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhjhMubj)}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_queue_tailasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]jc.skb_queue_tailasbuh1hhj,ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj;)}(hj>h]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj%)}(hnewskh]hnewsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj}hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjhMubah}(h]jtah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjvhhubjS)}(hhh]jX)}(hqueue a buffer at the list tailh]hqueue a buffer at the list tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX`**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h list to useh]h list to use}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hj+h]hstruct sk_buff *newsk}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj%ubj)}(hhh]jX)}(hbuffer to queueh]hbuffer to queue}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjfh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hQueue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jX)}(hQueue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely.h](htQueue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh functions safely.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhj|ubjX)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj|ubeh}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_unlink (C function) c.skb_unlinkhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h@void skb_unlink (struct sk_buff *skb, struct sk_buff_head *list)h]h)}(h?void skb_unlink(struct sk_buff *skb, struct sk_buff_head *list)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_unlinkh]j%)}(h skb_unlinkh]h skb_unlink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h0(struct sk_buff *skb, struct sk_buff_head *list)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDmodnameN classnameNjj!)}j$]j')}jj sb c.skb_unlinkasbuh1hhj ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hskbh]hskb}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j^ c.skb_unlinkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hremove a buffer from a listh]hremove a buffer from a list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhj[hNhNubj})}(hX***Parameters** ``struct sk_buff *skb`` buffer to remove ``struct sk_buff_head *list`` list to use **Description** Remove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked calls You must know what list the SKB is on.h](jX)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj3ubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to remove h](j)}(h``struct sk_buff *skb``h]j)}(hjXh]hstruct sk_buff *skb}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjRubj)}(hhh]jX)}(hbuffer to removeh]hbuffer to remove}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjOubj)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj3ubj )}(hRemove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked calls You must know what list the SKB is on.h](jX)}(hyRemove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked callsh]hyRemove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked calls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h&You must know what list the SKB is on.h]h&You must know what list the SKB is on.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_append (C function) c.skb_appendhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hWvoid skb_append (struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)h]h)}(hVvoid skb_append(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)h](j)}(hvoidh]hvoid}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&hhhj8hMubj)}(h skb_appendh]j%)}(h skb_appendh]h skb_append}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj&hhhj8hMubj)}(hG(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)h](j)}(hstruct sk_buff *oldh](h)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjMsb c.skb_appendasbuh1hhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(holdh]hold}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubj)}(hstruct sk_buff *newskh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.skb_appendasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnewskh]hnewsk}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubj)}(hstruct sk_buff_head *listh](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j c.skb_appendasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj&hhhj8hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj"hhhj8hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8hMhjhhubjS)}(hhh]jX)}(happend a bufferh]happend a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj8hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *old`` buffer to insert after ``struct sk_buff *newsk`` buffer to insert ``struct sk_buff_head *list`` list to use **Description** Place a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h/``struct sk_buff *old`` buffer to insert after h](j)}(h``struct sk_buff *old``h]j)}(hj h]hstruct sk_buff *old}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to insert afterh]hbuffer to insert after}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h+``struct sk_buff *newsk`` buffer to insert h](j)}(h``struct sk_buff *newsk``h]j)}(hjDh]hstruct sk_buff *newsk}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj>ubj)}(hhh]jX)}(hbuffer to inserth]hbuffer to insert}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubj)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hj}h]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjwubj)}(hhh]jX)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.h]jX)}(hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.h]hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_split (C function) c.skb_splithNtauh1hhj[hhhNhNubh)}(hhh](h)}(hIvoid skb_split (struct sk_buff *skb, struct sk_buff *skb1, const u32 len)h]h)}(hHvoid skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM4ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM4ubj)}(h skb_splith]j%)}(h skb_splith]h skb_split}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM4ubj)}(h:(struct sk_buff *skb, struct sk_buff *skb1, const u32 len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j')}jj*sb c.skb_splitasbuh1hhj@ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(hstruct sk_buff *skb1h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j~ c.skb_splitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskb1h]hskb1}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(h const u32 lenh](h)}(hjh]hconst}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hhh]j%)}(hu32h]hu32}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j~ c.skb_splitasbuh1hhj"ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj%)}(hlenh]hlen}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM4ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM4ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM4hjhhubjS)}(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.chM4hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM4ubeh}(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.chM8hjubj)}(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.chM5hjubj)}(hhh]jX)}(hthe buffer to splith]hthe buffer to split}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjubj)}(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.chM6hjubj)}(hhh]jX)}(h%the buffer to receive the second parth]h%the buffer to receive the second part}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hM6hj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hM6hjubj)}(h$``const u32 len`` new length for skbh](j)}(h``const u32 len``h]j)}(hjMh]h const u32 len}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM8hjGubj)}(hhh]jX)}(hnew length for skbh]hnew length for skb}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM7hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM8hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_prepare_seq_read (C function)c.skb_prepare_seq_readhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hmvoid skb_prepare_seq_read (struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st)h]h)}(hlvoid skb_prepare_seq_read(struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_prepare_seq_readh]j%)}(hskb_prepare_seq_readh]hskb_prepare_seq_read}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hS(struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_prepare_seq_readasbuh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int fromh](j)}(hunsignedh]hunsigned}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj)}(hinth]hint}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int toh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htoh]hto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct skb_seq_state *sth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_seq_stateh]h skb_seq_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_prepare_seq_readasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsth]hst}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h%Prepare a sequential read of skb datah]h%Prepare a sequential read of skb data}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hXY**Parameters** ``struct sk_buff *skb`` the buffer to read ``unsigned int from`` lower offset of data to be read ``unsigned int to`` upper offset of data to be read ``struct skb_seq_state *st`` state variable **Description** Initializes the specified state variable. Must be called before invoking skb_seq_read() for the first time.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h+``struct sk_buff *skb`` the buffer to read h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hthe buffer to readh]hthe buffer to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``unsigned int from`` lower offset of data to be read h](j)}(h``unsigned int from``h]j)}(hjh]hunsigned int from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hlower offset of data to be readh]hlower offset of data to be read}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``unsigned int to`` upper offset of data to be read h](j)}(h``unsigned int to``h]j)}(hj,h]hunsigned int to}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj&ubj)}(hhh]jX)}(hupper offset of data to be readh]hupper offset of data to be read}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubj)}(h,``struct skb_seq_state *st`` state variable h](j)}(h``struct skb_seq_state *st``h]j)}(hjeh]hstruct skb_seq_state *st}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj_ubj)}(hhh]jX)}(hstate variableh]hstate variable}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hkInitializes the specified state variable. Must be called before invoking skb_seq_read() for the first time.h]hkInitializes the specified state variable. Must be called before invoking skb_seq_read() for the first time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_seq_read (C function)c.skb_seq_readhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h\unsigned int skb_seq_read (unsigned int consumed, const u8 **data, struct skb_seq_state *st)h]h)}(h[unsigned int skb_seq_read(unsigned int consumed, const u8 **data, struct skb_seq_state *st)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_seq_readh]j%)}(h skb_seq_readh]h skb_seq_read}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hB(unsigned int consumed, const u8 **data, struct skb_seq_state *st)h](j)}(hunsigned int consumedh](j)}(hunsignedh]hunsigned}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj%)}(hconsumedh]hconsumed}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubj)}(hconst u8 **datah](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj$sbc.skb_seq_readasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]ja^h"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubj)}(hstruct skb_seq_state *sth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h skb_seq_stateh]h skb_seq_state}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]jc.skb_seq_readasbuh1hhj ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hsth]hst}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hSequentially read skb datah]hSequentially read skb data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``unsigned int consumed`` number of bytes consumed by the caller so far ``const u8 **data`` destination pointer for data to be returned ``struct skb_seq_state *st`` state variable **Description** Reads a block of skb data at **consumed** relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to **data** and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached. The caller is not required to consume all of the data returned, i.e. **consumed** is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block. Note 1: The size of each block of data returned can be arbitrary, this limitation is the cost for zerocopy sequential reads of potentially non linear data. Note 2: Fragment lists within fragments are not implemented at the moment, state->root_skb could be replaced with a stack for this purpose.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(hH``unsigned int consumed`` number of bytes consumed by the caller so far h](j)}(h``unsigned int consumed``h]j)}(hjh]hunsigned int consumed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h-number of bytes consumed by the caller so farh]h-number of bytes consumed by the caller so far}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``const u8 **data`` destination pointer for data to be returned h](j)}(h``const u8 **data``h]j)}(hj h]hconst u8 **data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h+destination pointer for data to be returnedh]h+destination pointer for data to be returned}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``struct skb_seq_state *st`` state variable h](j)}(h``struct skb_seq_state *st``h]j)}(hjBh]hstruct skb_seq_state *st}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj<ubj)}(hhh]jX)}(hstate variableh]hstate variable}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj}h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hXReads a block of skb data at **consumed** relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to **data** and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached.h](hReads a block of skb data at }(hjhhhNhNubj)}(h **consumed**h]hconsumed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhi relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhj and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hThe caller is not required to consume all of the data returned, i.e. **consumed** is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block.h](hEThe caller is not required to consume all of the data returned, i.e. }(hjhhhNhNubj)}(h **consumed**h]hconsumed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(hNote 1: The size of each block of data returned can be arbitrary, this limitation is the cost for zerocopy sequential reads of potentially non linear data. h](j)}(hANote 1: The size of each block of data returned can be arbitrary,h]hANote 1: The size of each block of data returned can be arbitrary,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hYthis limitation is the cost for zerocopy sequential reads of potentially non linear data.h]hYthis limitation is the cost for zerocopy sequential reads of potentially non linear data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hNote 2: Fragment lists within fragments are not implemented at the moment, state->root_skb could be replaced with a stack for this purpose.h](j)}(h;Note 2: Fragment lists within fragments are not implementedh]h;Note 2: Fragment lists within fragments are not implemented}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hOat the moment, state->root_skb could be replaced with a stack for this purpose.h]hOat the moment, state->root_skb could be replaced with a stack for this purpose.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_abort_seq_read (C function)c.skb_abort_seq_readhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h2void skb_abort_seq_read (struct skb_seq_state *st)h]h)}(h1void skb_abort_seq_read(struct skb_seq_state *st)h](j)}(hvoidh]hvoid}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhjhM`ubj)}(hskb_abort_seq_readh]j%)}(hskb_abort_seq_readh]hskb_abort_seq_read}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhjhM`ubj)}(h(struct skb_seq_state *st)h]j)}(hstruct skb_seq_state *sth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_seq_stateh]h skb_seq_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_abort_seq_readasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsth]hst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjmhhhjhM`ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhjhM`ubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM`hjfhhubjS)}(hhh]jX)}(h#Abort a sequential read of skb datah]h#Abort a sequential read of skb data}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM`hj.hhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjhM`ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct skb_seq_state *st`` state variable **Description** Must be called if skb_seq_read() was not called until it returned 0.h](jX)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMdhjMubj)}(hhh]j)}(h,``struct skb_seq_state *st`` state variable h](j)}(h``struct skb_seq_state *st``h]j)}(hjrh]hstruct skb_seq_state *st}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMahjlubj)}(hhh]jX)}(hstate variableh]hstate variable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMahjiubah}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMchjMubjX)}(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.chMbhjMubeh}(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.chMnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMnubj)}(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=uh1jhjhhhjhMnubj)}(h9(struct skb_seq_state *st, int offset, void *to, int len)h](j)}(hstruct skb_seq_state *sth](h)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubh)}(hhh]j%)}(h skb_seq_stateh]h skb_seq_state}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]j')}jjsbc.skb_copy_seq_readasbuh1hhj+ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj;)}(hj>h]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+ubj%)}(hsth]hst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(h int offseth](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(hvoid *toh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htoh]hto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(hint lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMnubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMnubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMnhjhhubjS)}(hhh]jX)}(h%copy from a skb_seq_state to a bufferh]h%copy from a skb_seq_state to a buffer}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMnhj[hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMnubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjvjxjvjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct skb_seq_state *st`` source skb_seq_state ``int offset`` offset in source ``void *to`` destination buffer ``int len`` number of bytes to copy **Description** Copy **len** bytes from **offset** bytes into the source **st** to the destination buffer **to**. `offset` should increase (or be unchanged) with each subsequent call to this function. If offset needs to decrease from the previous use `st` should be reset first. **Return** 0 on success or -EINVAL if the copy ended earlyh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMrhjzubj)}(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.chMohjubj)}(hhh]jX)}(hsource skb_seq_stateh]hsource skb_seq_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubj)}(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.chMphjubj)}(hhh]jX)}(hoffset in sourceh]hoffset in source}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphjubj)}(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.chMqhj ubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(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$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hjJh]hint len}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMrhjDubj)}(hhh]jX)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMrhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMrhjubeh}(h]h ]h"]h$]h&]uh1jhjzubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMthjzubjX)}(hXCopy **len** bytes from **offset** bytes into the source **st** to the destination buffer **to**. `offset` should increase (or be unchanged) with each subsequent call to this function. If offset needs to decrease from the previous use `st` should be reset first.h](hCopy }(hjhhhNhNubj)}(h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes from }(hjhhhNhNubj)}(h **offset**h]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes into the source }(hjhhhNhNubj)}(h**st**h]hst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to the destination buffer }(hjhhhNhNubj)}(h**to**h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubji)}(h`offset`h]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhjubh should increase (or be unchanged) with each subsequent call to this function. If offset needs to decrease from the previous use }(hjhhhNhNubji)}(h`st`h]hst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhjubh should be reset first.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMshjzubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMxhjzubjX)}(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.chMyhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_find_text (C function)c.skb_find_texthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hnunsigned int skb_find_text (struct sk_buff *skb, unsigned int from, unsigned int to, struct ts_config *config)h]h)}(hmunsigned int skb_find_text(struct sk_buff *skb, unsigned int from, unsigned int to, struct ts_config *config)h](j)}(hunsignedh]hunsigned}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhMubj)}(hinth]hint}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhjkhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhMubj)}(h skb_find_texth]j%)}(h skb_find_texth]h skb_find_text}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjkhMubj)}(hS(struct sk_buff *skb, unsigned int from, unsigned int to, struct ts_config *config)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_find_textasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int fromh](j)}(hunsignedh]hunsigned}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(hfromh]hfrom}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int toh](j)}(hunsignedh]hunsigned}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj%)}(htoh]hto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct ts_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h ts_configh]h ts_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_find_textasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjkhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjkhMubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhMhjRhhubjS)}(hhh]jX)}(hFind a text pattern in skb datah]hFind a text pattern in skb data}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjkhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` the buffer to look in ``unsigned int from`` search offset ``unsigned int to`` search limit ``struct ts_config *config`` textsearch configuration **Description** Finds a pattern in the skb data according to the specified textsearch configuration. Use textsearch_next() to retrieve subsequent occurrences of the pattern. Returns the offset to the first occurrence or UINT_MAX if no match was found.h](jX)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjgubj)}(hhh](j)}(h.``struct sk_buff *skb`` the buffer to look in h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hthe buffer to look inh]hthe buffer to look in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``unsigned int from`` search offset h](j)}(h``unsigned int from``h]j)}(hjh]hunsigned int from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h search offseth]h search offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``unsigned int to`` search limit h](j)}(h``unsigned int to``h]j)}(hjh]hunsigned int to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h search limith]h search limit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``struct ts_config *config`` textsearch configuration h](j)}(h``struct ts_config *config``h]j)}(hj7h]hstruct ts_config *config}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj1ubj)}(hhh]jX)}(htextsearch configurationh]htextsearch configuration}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubeh}(h]h ]h"]h$]h&]uh1jhjgubjX)}(h**Description**h]j)}(hjrh]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjgubjX)}(hFinds a pattern in the skb data according to the specified textsearch configuration. Use textsearch_next() to retrieve subsequent occurrences of the pattern. Returns the offset to the first occurrence or UINT_MAX if no match was found.h]hFinds a pattern in the skb data according to the specified textsearch configuration. Use textsearch_next() to retrieve subsequent occurrences of the pattern. Returns the offset to the first occurrence or UINT_MAX if no match was found.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pull_rcsum (C function)c.skb_pull_rcsumhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h=void * skb_pull_rcsum (struct sk_buff *skb, unsigned int len)h]h)}(h;void *skb_pull_rcsum(struct sk_buff *skb, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hskb_pull_rcsumh]j%)}(hskb_pull_rcsumh]hskb_pull_rcsum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h'(struct sk_buff *skb, unsigned int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]j')}jjsbc.skb_pull_rcsumasbuh1hhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h$pull skb and update receive checksumh]h$pull skb and update receive checksum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to update ``unsigned int len`` length of data pulled **Description** This function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to updateh]hbuffer to update}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj ubj)}(h+``unsigned int len`` length of data pulled h](j)}(h``unsigned int len``h]j)}(hjOh]hunsigned int len}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjIubj)}(hhh]jX)}(hlength of data pulledh]hlength of data pulled}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hXThis function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]jX)}(hXThis function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]hXThis function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_segment (C function) c.skb_segmenthNtauh1hhj[hhhNhNubh)}(hhh](h)}(hSstruct sk_buff * skb_segment (struct sk_buff *head_skb, netdev_features_t features)h]h)}(hQstruct sk_buff *skb_segment(struct sk_buff *head_skb, netdev_features_t features)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMOubh)}(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_segmentasbuh1hhjhhhjhMOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMOubj;)}(hj>h]h*}(hj'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMOubj)}(h skb_segmenth]j%)}(hjh]h skb_segment}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMOubj)}(h6(struct sk_buff *head_skb, netdev_features_t features)h](j)}(hstruct sk_buff *head_skbh](h)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]j c.skb_segmentasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hhead_skbh]hhead_skb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(hnetdev_features_t featuresh](h)}(hhh]j%)}(hnetdev_features_th]hnetdev_features_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.skb_segmentasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hfeaturesh]hfeatures}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMOubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMOubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMOhjhhubjS)}(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.chMOhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMOubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhj[hNhNubj})}(hX_**Parameters** ``struct sk_buff *head_skb`` buffer to segment ``netdev_features_t features`` features for the output path (see dev->features) **Description** This function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).h](jX)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMShj8ubj)}(hhh](j)}(h/``struct sk_buff *head_skb`` buffer to segment h](j)}(h``struct sk_buff *head_skb``h]j)}(hj]h]hstruct sk_buff *head_skb}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMPhjWubj)}(hhh]jX)}(hbuffer to segmenth]hbuffer to segment}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMPhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMPhjTubj)}(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.chMQhjubj)}(hhh]jX)}(h0features for the output path (see dev->features)h]h0features for the output path (see dev->features)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjTubeh}(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.chMShj8ubj )}(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.chMRhjubah}(h]h ]h"]h$]h&]uh1j hjhMRhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_to_sgvec (C function)c.skb_to_sgvechNtauh1hhj[hhhNhNubh)}(hhh](h)}(hSint skb_to_sgvec (struct sk_buff *skb, struct scatterlist *sg, int offset, int len)h]h)}(hRint skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM[ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj.hM[ubj)}(h skb_to_sgvech]j%)}(h skb_to_sgvech]h skb_to_sgvec}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj.hM[ubj)}(hB(struct sk_buff *skb, struct scatterlist *sg, int offset, int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j')}jjCsbc.skb_to_sgvecasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(hstruct scatterlist *sgh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h scatterlisth]h scatterlist}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_to_sgvecasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsgh]hsg}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(h int offseth](j)}(hinth]hint}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj%)}(hoffseth]hoffset}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(hint lenh](j)}(hinth]hint}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj.hM[ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj.hM[ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hM[hjhhubjS)}(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.chM[hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj.hM[ubeh}(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.chM_hjubj)}(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.chM\hjubj)}(hhh]jX)}(h1Socket buffer containing the buffers to be mappedh]h1Socket buffer containing the buffers to be mapped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubj)}(h?``struct scatterlist *sg`` The scatter-gather list to map into h](j)}(h``struct scatterlist *sg``h]j)}(hj4h]hstruct scatterlist *sg}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM]hj.ubj)}(hhh]jX)}(h#The scatter-gather list to map intoh]h#The scatter-gather list to map into}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhM]hjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhM]hjubj)}(hF``int offset`` The offset into the buffer's contents to start mapping h](j)}(h``int offset``h]j)}(hjmh]h int offset}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM^hjgubj)}(hhh]jX)}(h6The offset into the buffer's contents to start mappingh]h8The offset into the buffer’s contents to start mapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjubj)}(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.chM_hjubj)}(hhh]jX)}(h#Length of buffer space to be mappedh]h#Length of buffer space to be mapped}(hjhhhNhNubah}(h]h ]h"]h$]h&]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.chMahjubj )}(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.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_cow_data (C function)c.skb_cow_datahNtauh1hhj[hhhNhNubh)}(hhh](h)}(hNint skb_cow_data (struct sk_buff *skb, int tailbits, struct sk_buff **trailer)h]h)}(hMint skb_cow_data(struct sk_buff *skb, int tailbits, struct sk_buff **trailer)h](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,hhhj>hMubj)}(h skb_cow_datah]j%)}(h skb_cow_datah]h skb_cow_data}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhj>hMubj)}(h=(struct sk_buff *skb, int tailbits, struct sk_buff **trailer)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjSsbc.skb_cow_dataasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(h int tailbitsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htailbitsh]htailbits}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(hstruct sk_buff **trailerh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]jc.skb_cow_dataasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htrailerh]htrailer}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubeh}(h]h ]h"]h$]h&]j<j=uh1jhj,hhhj>hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj(hhhj>hMubah}(h]j#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj>hMhj%hhubjS)}(hhh]jX)}(h6Check that a socket buffer's data buffers are writableh]h8Check that a socket buffer’s data buffers are writable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhj>hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` The socket buffer to check. ``int tailbits`` Amount of trailing space to be added ``struct sk_buff **trailer`` Returned pointer to the skb where the **tailbits** space begins **Description** Make sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead. If **tailbits** is given, make sure that there is space to write **tailbits** bytes of data beyond current end of socket buffer. **trailer** will be set to point to the skb in which this space begins. The number of scatterlist elements required to completely map the COW'd and extended socket buffer will be returned.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h4``struct sk_buff *skb`` The socket buffer to check. h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hThe socket buffer to check.h]hThe socket buffer to check.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``int tailbits`` Amount of trailing space to be added h](j)}(h``int tailbits``h]j)}(hjh]h int tailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h$Amount of trailing space to be addedh]h$Amount of trailing space to be added}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(h]``struct sk_buff **trailer`` Returned pointer to the skb where the **tailbits** space begins h](j)}(h``struct sk_buff **trailer``h]j)}(hjUh]hstruct sk_buff **trailer}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjOubj)}(hhh]jX)}(h?Returned pointer to the skb where the **tailbits** space beginsh](h&Returned pointer to the skb where the }(hjnhhhNhNubj)}(h **tailbits**h]htailbits}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh space begins}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hXMake sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead. If **tailbits** is given, make sure that there is space to write **tailbits** bytes of data beyond current end of socket buffer. **trailer** will be set to point to the skb in which this space begins. The number of scatterlist elements required to completely map the COW'd and extended socket buffer will be returned.h](jX)}(hMake sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead.h]hMake sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hIf **tailbits** is given, make sure that there is space to write **tailbits** bytes of data beyond current end of socket buffer. **trailer** will be set to point to the skb in which this space begins.h](hIf }(hjhhhNhNubj)}(h **tailbits**h]htailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh2 is given, make sure that there is space to write }(hjhhhNhNubj)}(h **tailbits**h]htailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5 bytes of data beyond current end of socket buffer. }(hjhhhNhNubj)}(h **trailer**h]htrailer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh< will be set to point to the skb in which this space begins.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(htThe number of scatterlist elements required to completely map the COW'd and extended socket buffer will be returned.h]hvThe number of scatterlist elements required to completely map the COW’d and extended socket buffer will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_clone_sk (C function)c.skb_clone_skhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h3struct sk_buff * skb_clone_sk (struct sk_buff *skb)h]h)}(h1struct sk_buff *skb_clone_sk(struct sk_buff *skb)h](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMJubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjRhMJubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}j skb_clone_sksbc.skb_clone_skasbuh1hhjAhhhjRhMJubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjRhMJubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAhhhjRhMJubj)}(h skb_clone_skh]j%)}(hjh]h skb_clone_sk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjRhMJubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_clone_skasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjRhMJubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhjRhMJubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRhMJhj:hhubjS)}(hhh]jX)}(h1create clone of skb, and take reference to socketh]h1create clone of skb, and take reference to socket}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMJhj=hhubah}(h]h ]h"]h$]h&]uh1jRhj:hhhjRhMJubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` the skb to clone **Description** This function creates a clone of a buffer that holds a reference on sk_refcnt. Buffers created via this function are meant to be returned using sock_queue_err_skb, or free via kfree_skb. When passing buffers allocated with this function to sock_queue_err_skb it is necessary to wrap the call with sock_hold/sock_put in order to prevent the socket from being released prior to being enqueued on the sk_error_queue.h](jX)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMNhj\ubj)}(hhh]j)}(h)``struct sk_buff *skb`` the skb to clone h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMKhj{ubj)}(hhh]jX)}(hthe skb to cloneh]hthe skb to clone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjxubah}(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.chMMhj\ubjX)}(hThis function creates a clone of a buffer that holds a reference on sk_refcnt. Buffers created via this function are meant to be returned using sock_queue_err_skb, or free via kfree_skb.h]hThis function creates a clone of a buffer that holds a reference on sk_refcnt. Buffers created via this function are meant to be returned using sock_queue_err_skb, or free via kfree_skb.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMLhj\ubjX)}(hWhen passing buffers allocated with this function to sock_queue_err_skb it is necessary to wrap the call with sock_hold/sock_put in order to prevent the socket from being released prior to being enqueued on the sk_error_queue.h]hWhen passing buffers allocated with this function to sock_queue_err_skb it is necessary to wrap the call with sock_hold/sock_put in order to prevent the socket from being released prior to being enqueued on the sk_error_queue.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMPhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_partial_csum_set (C function)c.skb_partial_csum_sethNtauh1hhj[hhhNhNubh)}(hhh](h)}(hCbool skb_partial_csum_set (struct sk_buff *skb, u16 start, u16 off)h]h)}(hBbool skb_partial_csum_set(struct sk_buff *skb, u16 start, u16 off)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMBubj)}(hskb_partial_csum_seth]j%)}(hskb_partial_csum_seth]hskb_partial_csum_set}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMBubj)}(h)(struct sk_buff *skb, u16 start, u16 off)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j')}jj2sbc.skb_partial_csum_setasbuh1hhjHubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(h u16 starth](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_partial_csum_setasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hstarth]hstart}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hu16 offh](h)}(hhh]j%)}(hu16h]hu16}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.skb_partial_csum_setasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hoffh]hoff}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhMBubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMBubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMBhjhhubjS)}(hhh]jX)}(h0set up and verify partial csum values for packeth]h0set up and verify partial csum values for packet}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMBhj\hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMBubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` the skb to set ``u16 start`` the number of bytes after skb->data to start checksumming. ``u16 off`` the offset from start to place the checksum. **Description** For untrusted partially-checksummed packets, we need to make sure the values for skb->csum_start and skb->csum_offset are valid so we don't oops. This function checks and sets those values and skb->ip_summed: if this returns false you should drop the packet.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMFhj{ubj)}(hhh](j)}(h'``struct sk_buff *skb`` the skb to set h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMChjubj)}(hhh]jX)}(hthe skb to seth]hthe skb to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(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.chMDhjubj)}(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&]uh1jWhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(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.chMEhj ubj)}(hhh]jX)}(h,the offset from start to place the checksum.h]h,the offset from start to place the checksum.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hMEhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMEhjubeh}(h]h ]h"]h$]h&]uh1jhj{ubjX)}(h**Description**h]j)}(hjMh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMGhj{ubjX)}(hFor untrusted partially-checksummed packets, we need to make sure the values for skb->csum_start and skb->csum_offset are valid so we don't oops.h]hFor untrusted partially-checksummed packets, we need to make sure the values for skb->csum_start and skb->csum_offset are valid so we don’t oops.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMFhj{ubjX)}(hpThis function checks and sets those values and skb->ip_summed: if this returns false you should drop the packet.h]hpThis function checks and sets those values and skb->ip_summed: if this returns false you should drop the packet.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMIhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_checksum_setup (C function)c.skb_checksum_setuphNtauh1hhj[hhhNhNubh)}(hhh](h)}(h>int skb_checksum_setup (struct sk_buff *skb, bool recalculate)h]h)}(h=int skb_checksum_setup(struct sk_buff *skb, bool recalculate)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM-ubj)}(hskb_checksum_setuph]j%)}(hskb_checksum_setuph]hskb_checksum_setup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM-ubj)}(h'(struct sk_buff *skb, bool recalculate)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_checksum_setupasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool recalculateh](j)}(hjTh]hbool}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj%)}(h recalculateh]h recalculate}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM-ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM-hjhhubjS)}(hhh]jX)}(hset up partial checksum offseth]hset up partial checksum offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` the skb to set up ``bool recalculate`` if true the pseudo-header checksum will be recalculatedh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1hjubj)}(hhh](j)}(h*``struct sk_buff *skb`` the skb to set up h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM.hjubj)}(hhh]jX)}(hthe skb to set uph]hthe skb to set up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(hL``bool recalculate`` if true the pseudo-header checksum will be recalculatedh](j)}(h``bool recalculate``h]j)}(hjh]hbool recalculate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0hj ubj)}(hhh]jX)}(h7if true the pseudo-header checksum will be recalculatedh]h7if true the pseudo-header checksum will be recalculated}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/hj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hM0hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_checksum_trimmed (C function)c.skb_checksum_trimmedhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hstruct sk_buff * skb_checksum_trimmed (struct sk_buff *skb, unsigned int transport_len, __sum16(*skb_chkf)(struct sk_buff *skb))h]h)}(hstruct sk_buff *skb_checksum_trimmed(struct sk_buff *skb, unsigned int transport_len, __sum16 (*skb_chkf)(struct sk_buff *skb))h](h)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjehhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMnubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjvhMnubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jskb_checksum_trimmedsbc.skb_checksum_trimmedasbuh1hhjehhhjvhMnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjvhMnubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjehhhjvhMnubj)}(hskb_checksum_trimmedh]j%)}(hjh]hskb_checksum_trimmed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhjvhMnubj)}(h[(struct sk_buff *skb, unsigned int transport_len, __sum16 (*skb_chkf)(struct sk_buff *skb))h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_checksum_trimmedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int transport_lenh](j)}(hunsignedh]hunsigned}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj)}(hinth]hint}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj%)}(h transport_lenh]h transport_len}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h(__sum16 (*skb_chkf)(struct sk_buff *skb)h](h)}(hhh]j%)}(h__sum16h]h__sum16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.skb_checksum_trimmedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(h(h]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskb_chkfh]hskb_chkf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(h)h]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h(}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]jc.skb_checksum_trimmedasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(hjh]h)}(hj|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjehhhjvhMnubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjahhhjvhMnubah}(h]j\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhMnhj^hhubjS)}(hhh]jX)}(hvalidate checksum of an skbh]hvalidate checksum of an skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMnhjhhubah}(h]h ]h"]h$]h&]uh1jRhj^hhhjvhMnubeh}(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.chMrhjubj)}(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.chMohjubj)}(hhh]jX)}(hthe skb to checkh]hthe skb to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubj)}(hI``unsigned int transport_len`` the data length beyond the network header h](j)}(h``unsigned int transport_len``h]j)}(hjh]hunsigned int transport_len}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMphjubj)}(hhh]jX)}(h)the data length beyond the network headerh]h)the data length beyond the network header}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMphj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMphjubj)}(hE``__sum16(*skb_chkf)(struct sk_buff *skb)`` checksum function to use h](j)}(h+``__sum16(*skb_chkf)(struct sk_buff *skb)``h]j)}(hjXh]h'__sum16(*skb_chkf)(struct sk_buff *skb)}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMqhjRubj)}(hhh]jX)}(hchecksum function to useh]hchecksum function to use}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMqhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMqhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMshjubjX)}(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.chMrhjubjX)}(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.chMuhjubjX)}(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.chMxhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_try_coalesce (C function)c.skb_try_coalescehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hgbool skb_try_coalesce (struct sk_buff *to, struct sk_buff *from, bool *fragstolen, int *delta_truesize)h]h)}(hfbool skb_try_coalesce(struct sk_buff *to, struct sk_buff *from, bool *fragstolen, int *delta_truesize)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_try_coalesceh]j%)}(hskb_try_coalesceh]hskb_try_coalesce}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hQ(struct sk_buff *to, struct sk_buff *from, bool *fragstolen, int *delta_truesize)h](j)}(hstruct sk_buff *toh](h)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]j')}jjsbc.skb_try_coalesceasbuh1hhj.ubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(htoh]hto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubj)}(hstruct sk_buff *fromh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jlc.skb_try_coalesceasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubj)}(hbool *fragstolenh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h fragstolenh]h fragstolen}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubj)}(hint *delta_truesizeh](j)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjqhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hdelta_truesizeh]hdelta_truesize}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(htry to merge skb to prior oneh]htry to merge skb to prior one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *to`` prior buffer ``struct sk_buff *from`` buffer to add ``bool *fragstolen`` pointer to boolean ``int *delta_truesize`` how much more was allocated than was requestedh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h$``struct sk_buff *to`` prior buffer h](j)}(h``struct sk_buff *to``h]j)}(hjh]hstruct sk_buff *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h prior bufferh]h prior buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``struct sk_buff *from`` buffer to add h](j)}(h``struct sk_buff *from``h]j)}(hj"h]hstruct sk_buff *from}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h buffer to addh]h buffer to add}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h(``bool *fragstolen`` pointer to boolean h](j)}(h``bool *fragstolen``h]j)}(hj[h]hbool *fragstolen}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjUubj)}(hhh]jX)}(hpointer to booleanh]hpointer to boolean}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(hF``int *delta_truesize`` how much more was allocated than was requestedh](j)}(h``int *delta_truesize``h]j)}(hjh]hint *delta_truesize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h.how much more was allocated than was requestedh]h.how much more was allocated than was requested}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_scrub_packet (C function)c.skb_scrub_packethNtauh1hhj[hhhNhNubh)}(hhh](h)}(h6void skb_scrub_packet (struct sk_buff *skb, bool xnet)h]h)}(h5void skb_scrub_packet(struct sk_buff *skb, bool xnet)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hskb_scrub_packeth]j%)}(hskb_scrub_packeth]hskb_scrub_packet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h (struct sk_buff *skb, bool xnet)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]j')}jjsbc.skb_scrub_packetasbuh1hhj'ubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubj)}(h bool xneth](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hxneth]hxnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h scrub an skbh]h scrub an skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to clean ``bool xnet`` packet is crossing netns **Description** skb_scrub_packet can be used after encapsulating or decapsulating a packet into/from a tunnel. Some information have to be cleared during these operations. skb_scrub_packet can also be used to clean a skb before injecting it in another namespace (**xnet** == true). We have to clear all information in the skb that could impact namespace isolation.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to clean h](j)}(h``struct sk_buff *skb``h]j)}(hj#h]hstruct sk_buff *skb}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hbuffer to cleanh]hbuffer to clean}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubj)}(h'``bool xnet`` packet is crossing netns h](j)}(h ``bool xnet``h]j)}(hj\h]h bool xnet}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjVubj)}(hhh]jX)}(hpacket is crossing netnsh]hpacket is crossing netns}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hX\skb_scrub_packet can be used after encapsulating or decapsulating a packet into/from a tunnel. Some information have to be cleared during these operations. skb_scrub_packet can also be used to clean a skb before injecting it in another namespace (**xnet** == true). We have to clear all information in the skb that could impact namespace isolation.h](hskb_scrub_packet can be used after encapsulating or decapsulating a packet into/from a tunnel. Some information have to be cleared during these operations. skb_scrub_packet can also be used to clean a skb before injecting it in another namespace (}(hjhhhNhNubj)}(h**xnet**h]hxnet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh] == true). We have to clear all information in the skb that could impact namespace isolation.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_eth_pop (C function) c.skb_eth_pophNtauh1hhj[hhhNhNubh)}(hhh](h)}(h%int skb_eth_pop (struct sk_buff *skb)h]h)}(h$int skb_eth_pop(struct sk_buff *skb)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_eth_poph]j%)}(h skb_eth_poph]h skb_eth_pop}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]j')}jjsb c.skb_eth_popasbuh1hhj'ubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h0Drop the Ethernet header at the head of a packeth]h0Drop the Ethernet header at the head of a packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` Socket buffer to modify **Description** Drop the Ethernet header of **skb**. Expects that skb->data points to the mac header and that no VLAN tags are present. Returns 0 on success, -errno otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h0``struct sk_buff *skb`` Socket buffer to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hSocket buffer to modifyh]hSocket buffer to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h$Drop the Ethernet header of **skb**.h](hDrop the Ethernet header of }(hj@hhhNhNubj)}(h**skb**h]hskb}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hRExpects that skb->data points to the mac header and that no VLAN tags are present.h]hRExpects that skb->data points to the mac header and that no VLAN tags are present.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_eth_push (C function)c.skb_eth_pushhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hZint skb_eth_push (struct sk_buff *skb, const unsigned char *dst, const unsigned char *src)h]h)}(hYint skb_eth_push(struct sk_buff *skb, const unsigned char *dst, const unsigned char *src)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h skb_eth_pushh]j%)}(h skb_eth_pushh]h skb_eth_push}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hI(struct sk_buff *skb, const unsigned char *dst, const unsigned char *src)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_eth_pushasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned char *dsth](h)}(hjh]hconst}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(hunsignedh]hunsigned}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned char *srch](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsrch]hsrc}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h1Add a new Ethernet header at the head of a packeth]h1Add a new Ethernet header at the head of a packet}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhj[hNhNubj})}(hX~**Parameters** ``struct sk_buff *skb`` Socket buffer to modify ``const unsigned char *dst`` Destination MAC address of the new header ``const unsigned char *src`` Source MAC address of the new header **Description** Prepend **skb** with a new Ethernet header. Expects that skb->data points to the mac header, which must be empty. Returns 0 on success, -errno otherwise.h](jX)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjmubj)}(hhh](j)}(h0``struct sk_buff *skb`` Socket buffer to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hSocket buffer to modifyh]hSocket buffer to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``const unsigned char *dst`` Destination MAC address of the new header h](j)}(h``const unsigned char *dst``h]j)}(hjh]hconst unsigned char *dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h)Destination MAC address of the new headerh]h)Destination MAC address of the new header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``const unsigned char *src`` Source MAC address of the new header h](j)}(h``const unsigned char *src``h]j)}(hjh]hconst unsigned char *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(h$Source MAC address of the new headerh]h$Source MAC address of the new header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjmubjX)}(h**Description**h]j)}(hj?h]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjmubjX)}(h+Prepend **skb** with a new Ethernet header.h](hPrepend }(hjUhhhNhNubj)}(h**skb**h]hskb}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh with a new Ethernet header.}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjmubjX)}(hEExpects that skb->data points to the mac header, which must be empty.h]hEExpects that skb->data points to the mac header, which must be empty.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjmubjX)}(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.chM"hjmubeh}(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.chMOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMOubj)}(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=uh1jhjhhhjhMOubj)}(hU(struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, int mac_len, bool ethernet)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.skb_mpls_pushasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h__be32 mpls_lseh](h)}(hhh]j%)}(h__be32h]h__be32}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j+c.skb_mpls_pushasbuh1hhj_ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj%)}(hmpls_lseh]hmpls_lse}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h__be16 mpls_protoh](h)}(hhh]j%)}(h__be16h]h__be16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j+c.skb_mpls_pushasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h mpls_protoh]h mpls_proto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int mac_lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmac_lenh]hmac_len}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool etherneth](j)}(hjTh]hbool}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(hetherneth]hethernet}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMOubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMOubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMOhjhhubjS)}(hhh]jX)}(hCpush a new MPLS header after mac_len bytes from start of the packeth]hCpush a new MPLS header after mac_len bytes from start of the packet}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMOhjjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMOubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer ``__be32 mpls_lse`` MPLS label stack entry to push ``__be16 mpls_proto`` ethertype of the new MPLS header (expects 0x8847 or 0x8848) ``int mac_len`` length of the MAC header ``bool ethernet`` flag to indicate if the resulting packet after skb_mpls_push is ethernet **Description** Expects skb->data at mac header. Returns 0 on success, -errno otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMShjubj)}(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.chMRhjubj)}(hhh]jX)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubj)}(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.chMShjubj)}(hhh]jX)}(hMPLS label stack entry to pushh]hMPLS label stack entry to push}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(hR``__be16 mpls_proto`` ethertype of the new MPLS header (expects 0x8847 or 0x8848) h](j)}(h``__be16 mpls_proto``h]j)}(hj h]h__be16 mpls_proto}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMThjubj)}(hhh]jX)}(h;ethertype of the new MPLS header (expects 0x8847 or 0x8848)h]h;ethertype of the new MPLS header (expects 0x8847 or 0x8848)}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMThj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMThjubj)}(h)``int mac_len`` length of the MAC header h](j)}(h``int mac_len``h]j)}(hjYh]h int mac_len}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMUhjSubj)}(hhh ]jX)}(hlength of the MAC headerh]hlength of the MAC header}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMUhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMUhjubj)}(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.chMWhjubj)}(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.chMVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubeh}(h]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.chMYhjubjX)}(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.chMXhjubjX)}(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.chMZhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_mpls_pop (C function)c.skb_mpls_pophNtauh1hhj[hhhNhNubh)}(hhh](h)}(hUint skb_mpls_pop (struct sk_buff *skb, __be16 next_proto, int mac_len, bool ethernet)h]h)}(hTint skb_mpls_pop(struct sk_buff *skb, __be16 next_proto, int mac_len, bool ethernet)h](j)}(hinth]hint}(hj" hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj1 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj0 hMubj)}(h skb_mpls_poph]j%)}(h skb_mpls_poph]h skb_mpls_pop}(hjC hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj? ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj0 hMubj)}(hD(struct sk_buff *skb, __be16 next_proto, int mac_len, bool ethernet)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj_ hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[ ubj)}(h h]h }(hjl hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj} hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjz ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjE sbc.skb_mpls_popasbuh1hhj[ ubj)}(h h]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=uh1jhjW ubj)}(h__be16 next_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 c.skb_mpls_popasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(h next_protoh]h next_proto}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjW ubj)}(h int mac_lenh](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj' hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hmac_lenh]hmac_len}(hj5 hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjW ubj)}(h bool etherneth](j)}(hjTh]hbool}(hjN hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ ubj)}(h h]h }(hj[ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJ ubj%)}(hetherneth]hethernet}(hji hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJ ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjW ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj0 hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj0 hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0 hMhj hhubjS)}(hhh]jX)}(hpop the outermost MPLS headerh]hpop the outermost MPLS header}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj0 hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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)}(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)}(hC``__be16 next_proto`` ethertype of header after popped MPLS header h](j)}(h``__be16 next_proto``h]j)}(hj h]h__be16 next_proto}(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,ethertype of header after popped MPLS headerh]h,ethertype of header after popped MPLS header}(hj& hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj" hMhj# ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj" hMhj ubj)}(h)``int mac_len`` length of the MAC header h](j)}(h``int mac_len``h]j)}(hjF h]h int mac_len}(hjH hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD 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 the MAC headerh]hlength of the MAC header}(hj_ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[ hMhj\ ubah}(h]h ]h"]h$]h&]uh1jhj@ ubeh}(h]h ]h"]h$]h&]uh1jhj[ hMhj ubj)}(h=``bool ethernet`` flag to indicate if the packet is ethernet h](j)}(h``bool ethernet``h]j)}(hj h]h bool ethernet}(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.chMhjy ubj)}(hhh]jX)}(h*flag to indicate if the packet is etherneth]h*flag to indicate if the packet is ethernet}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjy 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 Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubjX)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h 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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj)}(hskb_mpls_update_lseh]j%)}(hskb_mpls_update_lseh]hskb_mpls_update_lse}(hj/ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(h&(struct sk_buff *skb, __be32 mpls_lse)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}(hji hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjk modnameN classnameNjj!)}j$]j')}jj1 sbc.skb_mpls_update_lseasbuh1hhjG 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 ubj)}(h__be32 mpls_lseh](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 c.skb_mpls_update_lseasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hmpls_lseh]hmpls_lse}(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)}(h,modify outermost MPLS header and update csumh]h,modify outermost MPLS header and update csum}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj. jxj. jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``struct sk_buff *skb`` buffer ``__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)}(hj8 h]h Parameters}(hj: hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6 ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2 ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjW h]hstruct sk_buff *skb}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjQ ubj)}(hhh]jX)}(hbufferh]hbuffer}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjl hMhjm ubah}(h]h ]h"]h$]h&]uh1jhjQ ubeh}(h]h ]h"]h$]h&]uh1jhjl hMhjN ubj)}(h<``__be32 mpls_lse`` new MPLS label stack entry to update to h](j)}(h``__be32 mpls_lse``h]j)}(hj h]h__be32 mpls_lse}(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'new MPLS label stack entry to update toh]h'new MPLS label stack entry to update to}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjN ubeh}(h]h ]h"]h$]h&]uh1jhj2 ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2 ubjX)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2 ubjX)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2 ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_mpls_dec_ttl (C function)c.skb_mpls_dec_ttlhNtauh1hhj[hhhNhNubh)}(hhh](h)}(h*int skb_mpls_dec_ttl (struct sk_buff *skb)h]h)}(h)int skb_mpls_dec_ttl(struct sk_buff *skb)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj-hMubj)}(hskb_mpls_dec_ttlh]j%)}(hskb_mpls_dec_ttlh]hskb_mpls_dec_ttl}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj-hMubj)}(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 }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(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')}jjBsbc.skb_mpls_dec_ttlasbuh1hhjXubj)}(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=uh1jhjhhhj-hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj-hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-hMhjhhubjS)}(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&]uh1jRhjhhhj-hMubeh}(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)}(hj h]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)}(hbufferh]hbuffer}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubah}(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&]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.}(hjqhhhNhNubah}(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!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$hj ubah}(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}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj)}(hlongh]hlong}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj%)}(h header_lenh]h header_len}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(hunsigned long data_lenh](j)}(hunsignedh]hunsigned}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj%)}(hdata_lenh]hdata_len}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(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=uh1jhj!ubj)}(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}(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}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjGmodnameN classnameNjj!)}j$]jc.alloc_skb_with_fragsasbuh1hhj>ubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj%)}(hgfp_maskh]hgfp_mask}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hallocate 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.chMhjubj)}(hhh](j)}(h1``unsigned long header_len`` size of linear part h](j)}(h``unsigned long header_len``h]j)}(hjh]hunsigned long header_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hsize of linear parth]hsize of linear part}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``unsigned long data_len`` needed length in frags h](j)}(h``unsigned long data_len``h]j)}(hjh]hunsigned long data_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hneeded length in fragsh]hneeded length in frags}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubj)}(h&``int order`` max page order desired. h](j)}(h ``int order``h]j)}(hjNh]h int order}(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)}(hmax page order desired.h]hmax page order desired.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjubj)}(h.``int *errcode`` pointer to error code if any h](j)}(h``int *errcode``h]j)}(hjh]h int *errcode}(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)}(hpointer to error code if anyh]hpointer to error code if any}(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 mask h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jX)}(hallocation maskh]hallocation mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hJThis can be used to allocate a paged skb, given a maximal order for frags.h]hJThis can be used to allocate a paged skb, given a maximal order for frags.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_condense (C function)c.skb_condensehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h'void skb_condense (struct sk_buff *skb)h]h)}(h&void skb_condense(struct sk_buff *skb)h](j)}(hvoidh]hvoid}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhjNhMubj)}(h skb_condenseh]j%)}(h skb_condenseh]h skb_condense}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhjNhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjcsbc.skb_condenseasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubah}(h]h ]h"]h$]h&]j<j=uh1jhj<hhhjNhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj8hhhjNhMubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNhMhj5hhubjS)}(hhh]jX)}(h1try to get rid of fragments/frag_list if possibleh]h1try to get rid of fragments/frag_list if possible}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj5hhhjNhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer **Description** Can be used to save memory before skb is added to a busy queue. If packet has bytes in frags and enough tail room in skb->head, pull all of them, so that we can free the frags right now and adjust truesize. **Notes** We do not reallocate skb->head thus can not fail. Caller must re-evaluate skb->truesize if needed.h](jX)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjAh]hstruct sk_buff *skb}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj;ubj)}(hhh]jX)}(hbufferh]hbuffer}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj|h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(hCan be used to save memory before skb is added to a busy queue. If packet has bytes in frags and enough tail room in skb->head, pull all of them, so that we can free the frags right now and adjust truesize.h]hCan be used to save memory before skb is added to a busy queue. If packet has bytes in frags and enough tail room in skb->head, pull all of them, so that we can free the frags right now and adjust truesize.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjX)}(h **Notes**h]j)}(hjh]hNotes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj )}(hbWe do not reallocate skb->head thus can not fail. Caller must re-evaluate skb->truesize if needed.h]jX)}(hbWe do not reallocate skb->head thus can not fail. Caller must re-evaluate skb->truesize if needed.h]hbWe do not reallocate skb->head thus can not fail. Caller must re-evaluate skb->truesize if needed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](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.chMuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMuubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMuubj)}(h __skb_ext_seth]j%)}(h __skb_ext_seth]h __skb_ext_set}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMuubj)}(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&]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_ext_setasbuh1hhj8ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(henum skb_ext_id idh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_ext_idh]h skb_ext_id}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jvc.__skb_ext_setasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hidh]hid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(hstruct skb_ext *exth](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%)}(hskb_exth]hskb_ext}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]jvc.__skb_ext_setasbuh1hhj 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%)}(hexth]hext}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMuubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMuhjhhubjS)}(hhh]jX)}(h2attach the specified extension storage to this skbh]h2attach the specified extension storage to this skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMuhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMyhjubj)}(hhh](j)}(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.chMvhjubj)}(hhh]jX)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubj)}(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}(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.chMwhjubj)}(hhh]jX)}(h extension idh]h extension id}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMwhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMwhjubj)}(hU``struct skb_ext *ext`` extension storage previously allocated via __skb_ext_alloc() h](j)}(h``struct skb_ext *ext``h]j)}(hjEh]hstruct skb_ext *ext}(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.chMxhj?ubj)}(hhh]jX)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(h skb_ext_addh]j%)}(h skb_ext_addh]h skb_ext_add}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h)(struct sk_buff *skb, enum skb_ext_id id)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j')}jjsb c.skb_ext_addasbuh1hhjubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(henum skb_ext_id idh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h skb_ext_idh]h skb_ext_id}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jX c.skb_ext_addasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hidh]hid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h1allocate space for given extension, COW if neededh]h1allocate space for given extension, COW if needed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer ``enum skb_ext_id id`` extension to allocate space for **Description** Allocates enough space for the given extension. If the extension is already present, a pointer to that extension is returned. If the skb was cloned, COW applies and the returned memory can be modified without changing the extension space of clones buffers. Returns pointer to the extension or NULL on allocation failure.h](jX)}(h**Parameters**h]j)}(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)}(hjEh]hstruct sk_buff *skb}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj?ubj)}(hhh]jX)}(hbufferh]hbuffer}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj<ubj)}(h7``enum skb_ext_id id`` extension to allocate space for h](j)}(h``enum skb_ext_id id``h]j)}(hj~h]henum skb_ext_id id}(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)}(hextension to allocate space forh]hextension to allocate space for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubjX)}(h}Allocates enough space for the given extension. If the extension is already present, a pointer to that extension is returned.h]h}Allocates enough space for the given extension. If the extension is already present, a pointer to that extension is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubjX)}(hIf the skb was cloned, COW applies and the returned memory can be modified without changing the extension space of clones buffers.h]hIf the skb was cloned, COW applies and the returned memory can be modified without changing the extension space of clones buffers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubjX)}(h?Returns pointer to the extension or NULL on allocation failure.h]h?Returns pointer to the extension or NULL on allocation failure.}(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](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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]j')}jskb_splice_from_itersbc.skb_splice_from_iterasbuh1hhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMFubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj@hMFubj)}(hskb_splice_from_iterh]j%)}(hj=h]hskb_splice_from_iter}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj@hMFubj)}(h=(struct sk_buff *skb, struct iov_iter *iter, ssize_t maxsize)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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j;c.skb_splice_from_iterasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(hstruct iov_iter *iterh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j;c.skb_splice_from_iterasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hiterh]hiter}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubj)}(hssize_t maxsizeh](h)}(hhh]j%)}(hssize_th]hssize_t}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j;c.skb_splice_from_iterasbuh1hhjJubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hmaxsizeh]hmaxsize}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjfubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj@hMFubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj@hMFubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@hMFhjhhubjS)}(hhh]jX)}(h Splice (or copy) pages to skbuffh]h Splice (or copy) pages to skbuff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMFhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj@hMFubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX5**Parameters** ``struct sk_buff *skb`` The buffer to add pages to ``struct iov_iter *iter`` Iterator representing the pages to be added ``ssize_t maxsize`` Maximum amount of pages to be added **Description** This is a common helper function for supporting MSG_SPLICE_PAGES. It extracts pages from an iterator and adds them to the socket buffer if possible, copying them to fragments if not possible (such as if they're slab pages). Returns the amount of data spliced/copied or -EMSGSIZE if there's insufficient space in the buffer to transfer anything.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMJhjubj)}(hhh](j)}(h3``struct sk_buff *skb`` The buffer to add pages to h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMGhjubj)}(hhh]jX)}(hThe buffer to add pages toh]hThe buffer to add pages to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMHhjubj)}(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&]uh1jWhj6hMHhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMHhjubj)}(h8``ssize_t maxsize`` Maximum amount of pages to be added h](j)}(h``ssize_t maxsize``h]j)}(hjZh]hssize_t maxsize}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMIhjTubj)}(hhh]jX)}(h#Maximum amount of pages to be addedh]h#Maximum amount of pages to be added}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMIhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMIhjubeh}(h]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.chMKhjubjX)}(hThis is a common helper function for supporting MSG_SPLICE_PAGES. It extracts pages from an iterator and adds them to the socket buffer if possible, copying them to fragments if not possible (such as if they're slab pages).h]hThis is a common helper function for supporting MSG_SPLICE_PAGES. It extracts pages from an iterator and adds them to the socket buffer if possible, copying them to fragments if not possible (such as if they’re slab pages).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMJhjubjX)}(hxReturns the amount of data spliced/copied or -EMSGSIZE if there's insufficient space in the buffer to transfer anything.h]hzReturns the amount of data spliced/copied or -EMSGSIZE if there’s insufficient space in the buffer to transfer anything.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMOhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_ns_capable (C function)c.sk_ns_capablehNtauh1hhj[hhhNhNubh)}(hhh](h)}(hSbool sk_ns_capable (const struct sock *sk, struct user_namespace *user_ns, int cap)h]h)}(hRbool sk_ns_capable(const struct sock *sk, struct user_namespace *user_ns, int cap)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(h sk_ns_capableh]j%)}(h sk_ns_capableh]h sk_ns_capable}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h@(const struct sock *sk, struct user_namespace *user_ns, int cap)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(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_ns_capableasbuh1hhj!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%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct user_namespace *user_nsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(huser_namespaceh]huser_namespace}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jzc.sk_ns_capableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(huser_nsh]huser_ns}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint caph](j)}(hinth]hint}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hcaph]hcap}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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)}(hGeneral socket capability testh]hGeneral socket capability test}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjehhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj[hNhNubj})}(hX{**Parameters** ``const struct sock *sk`` Socket to use a capability on or through ``struct user_namespace *user_ns`` The user namespace of the capability to use ``int cap`` The capability to use **Description** Test to see if the opener of the socket had when the socket was created and the current process has the capability **cap** in the user namespace **user_ns**.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjubj)}(hhh](j)}(hC``const struct sock *sk`` Socket to use a capability on or through h](j)}(h``const struct sock *sk``h]j)}(hjh]hconst struct sock *sk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjubj)}(hhh]jX)}(h(Socket to use a capability on or throughh]h(Socket to use a capability on or through}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hO``struct user_namespace *user_ns`` The user namespace of the capability to use h](j)}(h"``struct user_namespace *user_ns``h]j)}(hjh]hstruct user_namespace *user_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjubj)}(hhh]jX)}(h+The user namespace of the capability to useh]h+The user namespace of the capability to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h"``int cap`` The capability to use h](j)}(h ``int cap``h]j)}(hjh]hint cap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjubj)}(hhh]jX)}(hThe capability to useh]hThe capability to use}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hKhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hKhjubeh}(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&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjubjX)}(hTest to see if the opener of the socket had when the socket was created and the current process has the capability **cap** in the user namespace **user_ns**.h](hsTest to see if the opener of the socket had when the socket was created and the current process has the capability }(hjlhhhNhNubj)}(h**cap**h]hcap}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh in the user namespace }(hjlhhhNhNubj)}(h **user_ns**h]huser_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh.}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_capable (C function) c.sk_capablehNtauh1hhj[hhhNhNubh)}(hhh](h)}(h0bool sk_capable (const struct sock *sk, int cap)h]h)}(h/bool sk_capable(const struct sock *sk, int cap)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(h sk_capableh]j%)}(h sk_capableh]h sk_capable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h (const struct sock *sk, int cap)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj# hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsockh]hsock}(hj4 hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1 ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6 modnameN classnameNjj!)}j$]j')}jjsb c.sk_capableasbuh1hhjubj)}(h h]h }(hjT hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjb hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskh]hsk}(hjo hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(hSocket global capability testh]hSocket global capability test}(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&]uh1jRhjhhhjhKubeh}(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)}(hjH!h]hint cap}(hjJ!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF!ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhjB!ubj)}(hhh]jX)}(hThe global capability to useh]hThe global capability to use}(hja!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]!hKhj^!ubah}(h]h ]h"]h$]h&]uh1jhjB!ubeh}(h]h ]h"]h$]h&]uh1jhj]!hKhj!ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hj!h]h Description}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj ubjX)}(hTest to see if the opener of the socket had when the socket was created and the current process has the capability **cap** 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}(hj1"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}(hjO"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQ"modnameN classnameNjj!)}j$]j')}jj!sbc.sk_net_capableasbuh1hhj"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%)}(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}(hjC#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)}(hjc#h]hint cap}(hje#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja#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&]uh1jWhjx#hKhjy#ubah}(h]h ]h"]h$]h&]uh1jhj]#ubeh}(h]h ]h"]h$]h&]uh1jhjx#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}(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_set_memallocasbuh1hhj.$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*$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}(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}(hjA%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=%ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM*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 }(hjU%hhhNhNubj)}(h``SOCK_MEMALLOC``h]h SOCK_MEMALLOC}(hj]%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU%ubh on a socket for access to emergency reserves. It’s the responsibility of the admin to adjust min_free_kbytes to meet the requirements}(hjU%hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM)hj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_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}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%hhhj%hMubh)}(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')}jsk_allocsb c.sk_allocasbuh1hhj%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)}(hsk_alloch]j%)}(hj%h]hsk_alloc}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj%hhhj%hMubj)}(hK(struct net *net, int family, gfp_t priority, struct proto *prot, int kern)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj &ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj &ubh)}(hhh]j%)}(hneth]hnet}(hj.&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0&modnameN classnameNjj!)}j$]j% c.sk_allocasbuh1hhj &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%)}(hneth]hnet}(hjg&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj &ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(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)}(hgfp_t priorityh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]j% c.sk_allocasbuh1hhj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj%)}(hpriorityh]hpriority}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(hstruct proto *proth](h)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj 'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(hprotoh]hproto}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]j% c.sk_allocasbuh1hhj&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%)}(hproth]hprot}(hjT'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(hint kernh](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%)}(hkernh]hkern}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hji'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj%hhhj%hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%hhhj%hMubah}(h]j%ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj%hMhj%hhubjS)}(hhh]jX)}(h%All socket objects are allocated hereh]h%All socket objects are allocated here}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj'hhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhj%hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{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)}(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.chMhj'ubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hj'h]hstruct net *net}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj'ubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hj (hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj (hMhj (ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj (hMhj'ubj)}(h``int family`` protocol family h](j)}(h``int family``h]j)}(hj-(h]h int family}(hj/(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+(ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj'(ubj)}(hhh]jX)}(hprotocol familyh]hprotocol family}(hjF(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjB(hMhjC(ubah}(h]h ]h"]h$]h&]uh1jhj'(ubeh}(h]h ]h"]h$]h&]uh1jhjB(hMhj'ubj)}(hH``gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) h](j)}(h``gfp_t priority``h]j)}(hjf(h]hgfp_t priority}(hjh(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd(ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj`(ubj)}(hhh]jX)}(h4for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc)h](hfor allocation (}(hj(hhhNhNubj)}(h``GFP_KERNEL``h]h GFP_KERNEL}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh, }(hj(hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh, etc)}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj{(hMhj|(ubah}(h]h ]h"]h$]h&]uh1jhj`(ubeh}(h]h ]h"]h$]h&]uh1jhj{(hMhj'ubj)}(hK``struct proto *prot`` struct proto associated with this new sock instance h](j)}(h``struct proto *prot``h]j)}(hj(h]hstruct proto *prot}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj(ubj)}(hhh]jX)}(h3struct proto associated with this new sock instanceh]h3struct proto associated with this new sock instance}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj'ubj)}(h+``int kern`` is this to be a kernel socket?h](j)}(h ``int kern``h]j)}(hj(h]hint kern}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj(ubj)}(hhh]jX)}(his this to be a kernel socket?h]his this to be a kernel socket?}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj)ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_clone_lock (C function)c.sk_clone_lockhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hIstruct sock * sk_clone_lock (const struct sock *sk, const gfp_t priority)h]h)}(hGstruct sock *sk_clone_lock(const struct sock *sk, const gfp_t priority)h](h)}(hjh]hstruct}(hjV)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjR)hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj)}(h h]h }(hjd)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjR)hhhjc)hM ubh)}(hhh]j%)}(hsockh]hsock}(hju)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjr)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjw)modnameN classnameNjj!)}j$]j')}j sk_clone_locksbc.sk_clone_lockasbuh1hhjR)hhhjc)hM ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjR)hhhjc)hM ubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjR)hhhjc)hM ubj)}(h sk_clone_lockh]j%)}(hj)h]h sk_clone_lock}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjR)hhhjc)hM ubj)}(h-(const struct sock *sk, const gfp_t priority)h](j)}(hconst struct sock *skh](h)}(hjh]hconst}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubh)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubh)}(hhh]j%)}(hsockh]hsock}(hj *hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj *modnameN classnameNjj!)}j$]j)c.sk_clone_lockasbuh1hhj)ubj)}(h h]h }(hj'*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj;)}(hj>h]h*}(hj5*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)ubj%)}(hskh]hsk}(hjB*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubj)}(hconst gfp_t priorityh](h)}(hjh]hconst}(hj[*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjW*ubj)}(h h]h }(hjh*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW*ubh)}(hhh]j%)}(hgfp_th]hgfp_t}(hjy*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjv*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{*modnameN classnameNjj!)}j$]j)c.sk_clone_lockasbuh1hhjW*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW*ubj%)}(hpriorityh]hpriority}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjW*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjR)hhhjc)hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjN)hhhjc)hM ubah}(h]jI)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjc)hM hjK)hhubjS)}(hhh]jX)}(h"clone a socket, and lock its cloneh]h"clone a socket, and lock its clone}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj*hhubah}(h]h ]h"]h$]h&]uh1jRhjK)hhhjc)hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhj[hNhNubj})}(h**Parameters** ``const struct sock *sk`` the socket to clone ``const gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) **Description** Caller must unlock socket even in error path (bh_unlock_sock(newsk))h](jX)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj*ubj)}(hhh](j)}(h.``const struct sock *sk`` the socket to clone h](j)}(h``const struct sock *sk``h]j)}(hj+h]hconst struct sock *sk}(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)}(hthe socket to cloneh]hthe socket to clone}(hj)+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%+hM hj&+ubah}(h]h ]h"]h$]h&]uh1jhj +ubeh}(h]h ]h"]h$]h&]uh1jhj%+hM hj+ubj)}(hN``const gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) h](j)}(h``const gfp_t priority``h]j)}(hjI+h]hconst gfp_t priority}(hjK+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG+ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjC+ubj)}(hhh]jX)}(h4for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc)h](hfor allocation (}(hjb+hhhNhNubj)}(h``GFP_KERNEL``h]h GFP_KERNEL}(hjj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb+ubh, }(hjb+hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj|+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb+ubh, etc)}(hjb+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj^+hM hj_+ubah}(h]h ]h"]h$]h&]uh1jhjC+ubeh}(h]h ]h"]h$]h&]uh1jhj^+hM hj+ubeh}(h]h ]h"]h$]h&]uh1jhj*ubjX)}(h**Description**h]j)}(hj+h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj*ubj )}(hDCaller must unlock socket even in error path (bh_unlock_sock(newsk))h]jX)}(hj+h]hDCaller must unlock socket even in error path (bh_unlock_sock(newsk))}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj+ubah}(h]h ]h"]h$]h&]uh1j hj+hM hj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_page_frag_refill (C function)c.skb_page_frag_refillhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hObool skb_page_frag_refill (unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h]h)}(hNbool skb_page_frag_refill(unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h](j)}(hjTh]hbool}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+hhhj,hM ubj)}(hskb_page_frag_refillh]j%)}(hskb_page_frag_refillh]hskb_page_frag_refill}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+hhhj,hM ubj)}(h5(unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h](j)}(hunsigned int szh](j)}(hunsignedh]hunsigned}(hj2,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.,ubj)}(h h]h }(hj@,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.,ubj)}(hinth]hint}(hjN,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.,ubj)}(h h]h }(hj\,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.,ubj%)}(hszh]hsz}(hjj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj*,ubj)}(hstruct page_frag *pfragh](h)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(h page_fragh]h page_frag}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,modnameN classnameNjj!)}j$]j')}jj,sbc.skb_page_frag_refillasbuh1hhj,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj;)}(hj>h]h*}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj%)}(hpfragh]hpfrag}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=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$]j,c.skb_page_frag_refillasbuh1hhj,ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj%)}(hgfph]hgfp}(hj$-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=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+check that a page_frag contains enough roomh]h+check that a page_frag contains enough room}(hjN-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjK-hhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhj,hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjf-jxjf-jyjzj{uh1hhhhj[hNhNubj})}(hX\**Parameters** ``unsigned int sz`` minimum size of the fragment we want to get ``struct page_frag *pfrag`` pointer to page_frag ``gfp_t gfp`` priority for memory allocation **Note** While this allocator tries to use high order pages, there is no guarantee that allocations succeed. Therefore, **sz** MUST be less or equal than PAGE_SIZE.h](jX)}(h**Parameters**h]j)}(hjp-h]h Parameters}(hjr-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn-ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjj-ubj)}(hhh](j)}(h@``unsigned int sz`` minimum size of the fragment we want to get h](j)}(h``unsigned int sz``h]j)}(hj-h]hunsigned int sz}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj-ubj)}(hhh]jX)}(h+minimum size of the fragment we want to geth]h+minimum size of the fragment we want to get}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hM hj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hM hj-ubj)}(h1``struct page_frag *pfrag`` pointer to page_frag h](j)}(h``struct page_frag *pfrag``h]j)}(hj-h]hstruct page_frag *pfrag}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj-ubj)}(hhh]jX)}(hpointer to page_fragh]hpointer to page_frag}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hM hj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hM hj-ubj)}(h-``gfp_t gfp`` priority for memory allocation h](j)}(h ``gfp_t gfp``h]j)}(hj.h]h gfp_t gfp}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj-ubj)}(hhh]jX)}(hpriority for memory allocationh]hpriority for memory allocation}(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&]uh1jhjj-ubjX)}(h**Note**h]j)}(hj<.h]hNote}(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 hjj-ubjX)}(hWhile this allocator tries to use high order pages, there is no guarantee that allocations succeed. Therefore, **sz** MUST be less or equal than PAGE_SIZE.h](hoWhile this allocator tries to use high order pages, there is no guarantee that allocations succeed. Therefore, }(hjR.hhhNhNubj)}(h**sz**h]hsz}(hjZ.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR.ubh& MUST be less or equal than PAGE_SIZE.}(hjR.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_wait_data (C function)c.sk_wait_datahNtauh1hhj[hhhNhNubh)}(hhh](h)}(hJint sk_wait_data (struct sock *sk, long *timeo, const struct sk_buff *skb)h]h)}(hIint sk_wait_data(struct sock *sk, long *timeo, const struct sk_buff *skb)h](j)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj.hM ubj)}(h sk_wait_datah]j%)}(h sk_wait_datah]h sk_wait_data}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj.hM ubj)}(h9(struct sock *sk, long *timeo, const struct sk_buff *skb)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(hsockh]hsock}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jj.sbc.sk_wait_dataasbuh1hhj.ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hskh]hsk}(hj)/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(h long *timeoh](j)}(hlongh]hlong}(hjB/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>/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%)}(htimeoh]htimeo}(hjk/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/modnameN classnameNjj!)}j$]j /c.sk_wait_dataasbuh1hhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj%)}(hskbh]hskb}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj.hhhj.hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhj.hM ubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hM hj.hhubjS)}(hhh]jX)}(h+wait for data to arrive at sk_receive_queueh]h+wait for data to arrive at sk_receive_queue}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj0hhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhj.hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj80jxj80jyjzj{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)}(hjB0h]h Parameters}(hjD0hhhNhNubah}(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<0ubj)}(hhh](j)}(h$``struct sock *sk`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hja0h]hstruct sock *sk}(hjc0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_0ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj[0ubj)}(hhh]jX)}(hsock to wait onh]hsock to wait on}(hjz0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjv0hM hjw0ubah}(h]h ]h"]h$]h&]uh1jhj[0ubeh}(h]h ]h"]h$]h&]uh1jhjv0hM hjX0ubj)}(h``long *timeo`` for how long h](j)}(h``long *timeo``h]j)}(hj0h]h long *timeo}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj0ubj)}(hhh]jX)}(h for how longh]h for how long}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hM hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hM hjX0ubj)}(h@``const struct sk_buff *skb`` last skb seen on sk_receive_queue 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&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj0ubj)}(hhh]jX)}(h!last skb seen on sk_receive_queueh]h!last skb seen on sk_receive_queue}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hM hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hM hjX0ubeh}(h]h ]h"]h$]h&]uh1jhj<0ubjX)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 1ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj<0ubjX)}(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$1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj<0ubeh}(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}(hjS1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjO1hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj)}(h h]h }(hjb1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjO1hhhja1hM ubj)}(h__sk_mem_scheduleh]j%)}(h__sk_mem_scheduleh]h__sk_mem_schedule}(hjt1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjp1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjO1hhhja1hM ubj)}(h%(struct sock *sk, int size, int kind)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(hsockh]hsock}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j')}jjv1sbc.__sk_mem_scheduleasbuh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hskh]hsk}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(hint sizeh](j)}(hinth]hint}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj%)}(hsizeh]hsize}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(hint kindh](j)}(hinth]hint}(hj72hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj32ubj)}(h h]h }(hjE2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj32ubj%)}(hkindh]hkind}(hjS2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj32ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjO1hhhja1hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjK1hhhja1hM ubah}(h]jF1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhja1hM hjH1hhubjS)}(hhh]jX)}(h.increase sk_forward_alloc and memory_allocatedh]h.increase sk_forward_alloc and memory_allocated}(hj}2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjz2hhubah}(h]h ]h"]h$]h&]uh1jRhjH1hhhja1hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj2jxj2jyjzj{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)}(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.chM hj2ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj2h]hstruct sock *sk}(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.chM hj2ubj)}(hhh]jX)}(hsocketh]hsocket}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hM hj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hM hj2ubj)}(h%``int size`` memory size to allocate h](j)}(h ``int size``h]j)}(hj2h]hint size}(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.chM hj2ubj)}(hhh]jX)}(hmemory size to allocateh]hmemory size to allocate}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj 3hM hj 3ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj 3hM hj2ubj)}(h``int kind`` allocation type h](j)}(h ``int kind``h]j)}(hj03h]hint kind}(hj23hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.3ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj*3ubj)}(hhh]jX)}(hallocation typeh]hallocation type}(hjI3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjE3hM hjF3ubah}(h]h ]h"]h$]h&]uh1jhj*3ubeh}(h]h ]h"]h$]h&]uh1jhjE3hM hj2ubeh}(h]h ]h"]h$]h&]uh1jhj2ubjX)}(h**Description**h]j)}(hjk3h]h Description}(hjm3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji3ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM! hj2ubj )}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj3ubah}(h]h ]h"]h$]h&]uh1j hj3hM hj2ubeh}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chME ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhj3hME ubj)}(h__sk_mem_reclaimh]j%)}(h__sk_mem_reclaimh]h__sk_mem_reclaim}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhj3hME ubj)}(h(struct sock *sk, int amount)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(hsockh]hsock}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j')}jj3sbc.__sk_mem_reclaimasbuh1hhj3ubj)}(h h]h }(hj54hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hjC4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hskh]hsk}(hjP4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubj)}(h int amounth](j)}(hinth]hint}(hji4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje4ubj)}(h h]h }(hjw4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hje4ubj%)}(hamounth]hamount}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hje4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhj3hME ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhj3hME ubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hME hj3hhubjS)}(hhh]jX)}(h-reclaim sk_forward_alloc and memory_allocatedh]h-reclaim sk_forward_alloc and memory_allocated}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chME hj4hhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhj3hME ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{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)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMI hj4ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj4h]hstruct sock *sk}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMF hj4ubj)}(hhh]jX)}(hsocketh]hsocket}(hj 5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMF hj5ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj5hMF hj4ubj)}(hE``int amount`` number of bytes (rounded down to a PAGE_SIZE multiple)h](j)}(h``int amount``h]j)}(hj)5h]h int amount}(hj+5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'5ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMH hj#5ubj)}(hhh]jX)}(h6number of bytes (rounded down to a PAGE_SIZE multiple)h]h6number of bytes (rounded down to a PAGE_SIZE multiple)}(hjB5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMG hj?5ubah}(h]h ]h"]h$]h&]uh1jhj#5ubeh}(h]h ]h"]h$]h&]uh1jhj>5hMH hj4ubeh}(h]h ]h"]h$]h&]uh1jhj4ubeh}(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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhj5hKubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j')}j__skb_try_recv_datagramsbc.__skb_try_recv_datagramasbuh1hhj5hhhj5hKubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhj5hKubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5hhhj5hKubj)}(h__skb_try_recv_datagramh]j%)}(hj5h]h__skb_try_recv_datagram}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj5hhhj5hKubj)}(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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hj 6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(hsockh]hsock}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j5c.__skb_try_recv_datagramasbuh1hhj5ubj)}(h h]h }(hj96hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hjG6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hskh]hsk}(hjT6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(hstruct sk_buff_head *queueh](h)}(hjh]hstruct}(hjm6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhji6ubj)}(h h]h }(hjz6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji6ubh)}(hhh]j%)}(h sk_buff_headh]h sk_buff_head}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j5c.__skb_try_recv_datagramasbuh1hhji6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji6ubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hji6ubj%)}(hqueueh]hqueue}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hji6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj%)}(hflagsh]hflags}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(hint *offh](j)}(hinth]hint}(hj.7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*7ubj)}(h h]h }(hj<7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*7ubj;)}(hj>h]h*}(hjJ7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*7ubj%)}(hoffh]hoff}(hjW7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(hint *errh](j)}(hinth]hint}(hjp7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjl7ubj)}(h h]h }(hj~7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjl7ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjl7ubj%)}(herrh]herr}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjl7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(hstruct sk_buff **lasth](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j5c.__skb_try_recv_datagramasbuh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj;)}(hj>h]h*}(hj 8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hlasth]hlast}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj5hhhj5hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{5hhhj5hKubah}(h]jv5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5hKhjx5hhubjS)}(hhh]jX)}(hReceive a datagram skbuffh]hReceive a datagram skbuff}(hj@8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj=8hhubah}(h]h ]h"]h$]h&]uh1jRhjx5hhhj5hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjX8jxjX8jyjzj{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)}(hjb8h]h Parameters}(hjd8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`8ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj\8ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj8h]hstruct sock *sk}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj{8ubj)}(hhh]jX)}(hsocketh]hsocket}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hKhj8ubah}(h]h ]h"]h$]h&]uh1jhj{8ubeh}(h]h ]h"]h$]h&]uh1jhj8hKhjx8ubj)}(hB``struct sk_buff_head *queue`` socket queue from which to receive h](j)}(h``struct sk_buff_head *queue``h]j)}(hj8h]hstruct sk_buff_head *queue}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj8ubj)}(hhh]jX)}(h"socket queue from which to receiveh]h"socket queue from which to receive}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hKhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hKhjx8ubj)}(h#``unsigned int flags`` MSG\_ flags h](j)}(h``unsigned int flags``h]j)}(hj8h]hunsigned int flags}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj8ubj)}(hhh]jX)}(h MSG\_ flagsh]h MSG_ flags}(hj 9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hKhj 9ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj9hKhjx8ubj)}(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)}(hj,9h]hint *off}(hj.9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*9ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj&9ubj)}(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}(hjE9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjB9ubah}(h]h ]h"]h$]h&]uh1jhj&9ubeh}(h]h ]h"]h$]h&]uh1jhjA9hKhjx8ubj)}(h!``int *err`` error code returned h](j)}(h ``int *err``h]j)}(hjf9h]hint *err}(hjh9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd9ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj`9ubj)}(hhh]jX)}(herror code returnedh]herror code returned}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{9hKhj|9ubah}(h]h ]h"]h$]h&]uh1jhj`9ubeh}(h]h ]h"]h$]h&]uh1jhj{9hKhjx8ubj)}(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)}(hj9h]hstruct sk_buff **last}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj9ubj)}(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}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKhjx8ubeh}(h]h ]h"]h$]h&]uh1jhj\8ubjX)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj\8ubj )}(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.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj9ubjX)}(hX This function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with **err** set to -EAGAIN if no data was available or to some other value if an error was detected.h](hThis function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram). Returns NULL with }(hj:hhhNhNubj)}(h**err**h]herr}(hj :hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubhY set to -EAGAIN if no data was available or to some other value if an error was detected.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj9ubh bullet_list)}(hhh](h list_item)}(h5It does not lock socket since today. This function ish]jX)}(hj.:h]h5It does not lock socket since today. This function is}(hj0:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj,:ubah}(h]h ]h"]h$]h&]uh1j*:hj':ubj+:)}(h8free of race conditions. This measure should/can improveh]jX)}(hjF:h]h8free of race conditions. This measure should/can improve}(hjH:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjD:ubah}(h]h ]h"]h$]h&]uh1j*:hj':ubj+:)}(h6significantly datagram socket latencies at high loads,h]jX)}(hj^:h]h6significantly datagram socket latencies at high loads,}(hj`:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj\:ubah}(h]h ]h"]h$]h&]uh1j*:hj':ubj+:)}(h3when data copying to user space takes lots of time.h]jX)}(hjv:h]h3when data copying to user space takes lots of time.}(hjx:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhjt:ubah}(h]h ]h"]h$]h&]uh1j*:hj':ubj+:)}(hC(BTW I've just killed the last cli() in IP/IPv6/core/netlink/packeth]jX)}(hj:h]hE(BTW I’ve just killed the last cli() in IP/IPv6/core/netlink/packet}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj:ubah}(h]h ]h"]h$]h&]uh1j*:hj':ubj+:)}(h8) Great win.)h]henumerated_list)}(hhh]j+:)}(h Great win.)h]jX)}(hj:h]h Great win.)}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj:ubah}(h]h ]h"]h$]h&]uh1j*:hj:ubah}(h]h ]h"]h$]h&]enumtypearabicprefixhsuffixjstartKuh1j:hj:ubah}(h]h ]h"]h$]h&]uh1j*:hj':ubj+:)}(h--ANK (980729) h]jX)}(h--ANK (980729)h]h--ANK (980729)}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj:ubah}(h]h ]h"]h$]h&]uh1j*:hj':ubeh}(h]h ]h"]h$]h&]bulletj>uh1j%:hj=:hKhj9ubjX)}(hThe order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don't change them without having the standard around please.h]hThe order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003.1g, don’t change them without having the standard around please.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chKhj9ubeh}(h]h ]h"]h$]h&]uh1j hj:hKhj\8ubeh}(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}(hj+;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj';hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbubj)}(h h]h }(hj:;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj';hhhj9;hMbubj)}(hskb_kill_datagramh]j%)}(hskb_kill_datagramh]hskb_kill_datagram}(hjL;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj';hhhj9;hMbubj)}(h:(struct sock *sk, struct sk_buff *skb, unsigned int flags)h](j)}(hstruct sock *skh](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%)}(hsockh]hsock}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j')}jjN;sbc.skb_kill_datagramasbuh1hhjd;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%)}(hskh]hsk}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjd;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`;ubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j;c.skb_kill_datagramasbuh1hhj;ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj;)}(hj>h]h*}(hj$<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;ubj%)}(hskbh]hskb}(hj1<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`;ubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjJ<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjF<ubj)}(h h]h }(hjX<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjF<ubj)}(hinth]hint}(hjf<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjF<ubj)}(h h]h }(hjt<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjF<ubj%)}(hflagsh]hflags}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjF<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`;ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj';hhhj9;hMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#;hhhj9;hMbubah}(h]j;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9;hMbhj ;hhubjS)}(hhh]jX)}(hFree a datagram skbuff forciblyh]hFree a datagram skbuff forcibly}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMbhj<hhubah}(h]h ]h"]h$]h&]uh1jRhj ;hhhj9;hMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sock *sk`` socket ``struct sk_buff *skb`` datagram skbuff ``unsigned int flags`` MSG\_ flags **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)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMfhj<ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj<h]hstruct sock *sk}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMchj<ubj)}(hhh]jX)}(hsocketh]hsocket}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMchj=ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj=hMchj<ubj)}(h(``struct sk_buff *skb`` datagram skbuff h](j)}(h``struct sk_buff *skb``h]j)}(hj&=h]hstruct sk_buff *skb}(hj(=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$=ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMdhj =ubj)}(hhh]jX)}(hdatagram skbuffh]hdatagram skbuff}(hj?=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;=hMdhj<=ubah}(h]h ]h"]h$]h&]uh1jhj =ubeh}(h]h ]h"]h$]h&]uh1jhj;=hMdhj<ubj)}(h#``unsigned int flags`` MSG\_ flags h](j)}(h``unsigned int flags``h]j)}(hj_=h]hunsigned int flags}(hja=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.chMehjY=ubj)}(hhh]jX)}(h MSG\_ flagsh]h MSG_ flags}(hjx=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjt=hMehju=ubah}(h]h ]h"]h$]h&]uh1jhjY=ubeh}(h]h ]h"]h$]h&]uh1jhjt=hMehj<ubeh}(h]h ]h"]h$]h&]uh1jhj<ubjX)}(h**Description**h]j)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMghj<ubj )}(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.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMfhj=ubjX)}(hIf the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed.h]hIf the MSG_PEEK flag is set, and the packet is still on the receive queue of the socket, it will be taken off the queue before it is freed.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMjhj=ubjX)}(hThis function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context.h]hThis function currently only disables BH when acquiring the sk_receive_queue lock. Therefore it must not be used in a context where that lock is acquired in an IRQ context.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMnhj=ubjX)}(h-It returns 0 if the packet was removed by us.h]h-It returns 0 if the packet was removed by us.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMrhj=ubeh}(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.skb_copy_and_crc32c_datagram_iter (C function)#c.skb_copy_and_crc32c_datagram_iterhNtauh1hhj[hhhNhNubh)}(hhh](h)}(hvint skb_copy_and_crc32c_datagram_iter (const struct sk_buff *skb, int offset, struct iov_iter *to, int len, u32 *crcp)h]h)}(huint skb_copy_and_crc32c_datagram_iter(const struct sk_buff *skb, int offset, struct iov_iter *to, int len, u32 *crcp)h](j)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj)}(h h]h }(hj%>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhj$>hMubj)}(h!skb_copy_and_crc32c_datagram_iterh]j%)}(h!skb_copy_and_crc32c_datagram_iterh]h!skb_copy_and_crc32c_datagram_iter}(hj7>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhj$>hMubj)}(hP(const struct sk_buff *skb, int offset, struct iov_iter *to, int len, u32 *crcp)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjS>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjO>ubj)}(h h]h }(hj`>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjO>ubh)}(hjh]hstruct}(hjn>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjO>ubj)}(h h]h }(hj{>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjO>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')}jj9>sb#c.skb_copy_and_crc32c_datagram_iterasbuh1hhjO>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%)}(hskbh]hskb}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjK>ubj)}(h int offseth](j)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj%)}(hoffseth]hoffset}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjK>ubj)}(hstruct iov_iter *toh](h)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hj"?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hj3?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5?modnameN classnameNjj!)}j$]j>#c.skb_copy_and_crc32c_datagram_iterasbuh1hhj?ubj)}(h h]h }(hjQ?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hj_?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(htoh]hto}(hjl?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjK>ubj)}(hint lenh](j)}(hinth]hint}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj%)}(hlenh]hlen}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjK>ubj)}(h u32 *crcph](h)}(hhh]j%)}(hu32h]hu32}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?modnameN classnameNjj!)}j$]j>#c.skb_copy_and_crc32c_datagram_iterasbuh1hhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hj?hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(hcrcph]hcrcp}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjK>ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj>hhhj$>hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>hhhj$>hMubah}(h]j >ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj$>hMhj >hhubjS)}(hhh]jX)}(h=Copy datagram to an iovec iterator and update a CRC32C value.h]h=Copy datagram to an iovec iterator and update a CRC32C value.}(hj @hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj@hhubah}(h]h ]h"]h$]h&]uh1jRhj >hhhj$>hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj8@jxj8@jyjzj{uh1hhhhj[hNhNubj})}(hXc**Parameters** ``const struct sk_buff *skb`` buffer to copy ``int offset`` offset in the buffer to start copying from ``struct iov_iter *to`` iovec iterator to copy to ``int len`` amount of data to copy from buffer to iovec ``u32 *crcp`` pointer to CRC32C value to update **Return** 0 on success, -EFAULT if there was a fault during copy.h](jX)}(h**Parameters**h]j)}(hjB@h]h Parameters}(hjD@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@@ubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj<@ubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hja@h]hconst struct sk_buff *skb}(hjc@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_@ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj[@ubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjz@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjv@hMhjw@ubah}(h]h ]h"]h$]h&]uh1jhj[@ubeh}(h]h ]h"]h$]h&]uh1jhjv@hMhjX@ubj)}(h:``int offset`` offset in the buffer to start copying from h](j)}(h``int offset``h]j)}(hj@h]h int offset}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj@ubj)}(hhh]jX)}(h*offset in the buffer to start copying fromh]h*offset in the buffer to start copying from}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjX@ubj)}(h2``struct iov_iter *to`` iovec iterator to copy to h](j)}(h``struct iov_iter *to``h]j)}(hj@h]hstruct iov_iter *to}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj@ubj)}(hhh]jX)}(hiovec iterator to copy toh]hiovec iterator to copy to}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjX@ubj)}(h8``int len`` amount of data to copy from buffer to iovec h](j)}(h ``int len``h]j)}(hj Ah]hint len}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Aubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjAubj)}(hhh]jX)}(h+amount of data to copy from buffer to iovech]h+amount of data to copy from buffer to iovec}(hj%AhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!AhMhj"Aubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj!AhMhjX@ubj)}(h0``u32 *crcp`` pointer to CRC32C value to update h](j)}(h ``u32 *crcp``h]j)}(hjEAh]h u32 *crcp}(hjGAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCAubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj?Aubj)}(hhh]jX)}(h!pointer to CRC32C value to updateh]h!pointer to CRC32C value to update}(hj^AhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZAhMhj[Aubah}(h]h ]h"]h$]h&]uh1jhj?Aubeh}(h]h ]h"]h$]h&]uh1jhjZAhMhjX@ubeh}(h]h ]h"]h$]h&]uh1jhj<@ubjX)}(h **Return**h]j)}(hjAh]hReturn}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~Aubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj<@ubjX)}(h70 on success, -EFAULT if there was a fault during copy.h]h70 on success, -EFAULT if there was a fault during copy.}(hjAhhhNhNubah}(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#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}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjAhM ubj)}(hskb_copy_datagram_iterh]j%)}(hskb_copy_datagram_iterh]hskb_copy_datagram_iter}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjAhM ubj)}(hE(const struct sk_buff *skb, int offset, struct iov_iter *to, int len)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hj*BhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj;BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8Bubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=BmodnameN classnameNjj!)}j$]j')}jjAsbc.skb_copy_datagram_iterasbuh1hhjAubj)}(h h]h }(hj[BhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjiBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hskbh]hskb}(hjvBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(h int offseth](j)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj%)}(hoffseth]hoffset}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(hstruct iov_iter *toh](h)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]jWBc.skb_copy_datagram_iterasbuh1hhjBubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(htoh]hto}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(hint lenh](j)}(hinth]hint}(hj4ChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0Cubj)}(h h]h }(hjBChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0Cubj%)}(hlenh]hlen}(hjPChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0Cubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubeh}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjAhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjAhM ubah}(h]jAah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhM hjAhhubjS)}(hhh]jX)}(h%Copy a datagram to an iovec iterator.h]h%Copy a datagram to an iovec iterator.}(hjzChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjwChhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjAhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{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)}(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.chMhjCubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjCh]hconst struct sk_buff *skb}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjCubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMhjCubj)}(h:``int offset`` offset in the buffer to start copying from h](j)}(h``int offset``h]j)}(hjCh]h int offset}(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.chMhjCubj)}(hhh]jX)}(h*offset in the buffer to start copying fromh]h*offset in the buffer to start copying from}(hj DhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj DhMhj Dubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj DhMhjCubj)}(h2``struct iov_iter *to`` iovec iterator to copy to h](j)}(h``struct iov_iter *to``h]j)}(hj-Dh]hstruct iov_iter *to}(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.chMhj'Dubj)}(hhh]jX)}(hiovec iterator to copy toh]hiovec iterator to copy to}(hjFDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBDhMhjCDubah}(h]h ]h"]h$]h&]uh1jhj'Dubeh}(h]h ]h"]h$]h&]uh1jhjBDhMhjCubj)}(h7``int len`` amount of data to copy from buffer to iovech](j)}(h ``int len``h]j)}(hjfDh]hint len}(hjhDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdDubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj`Dubj)}(hhh]jX)}(h+amount of data to copy from buffer to iovech]h+amount of data to copy from buffer to iovec}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj|Dubah}(h]h ]h"]h$]h&]uh1jhj`Dubeh}(h]h ]h"]h$]h&]uh1jhj{DhMhjCubeh}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(skb_copy_datagram_from_iter (C function)c.skb_copy_datagram_from_iterhNtauh1hhj[hhhNhNubh)}(hhh](h)}(haint skb_copy_datagram_from_iter (struct sk_buff *skb, int offset, struct iov_iter *from, int len)h]h)}(h`int skb_copy_datagram_from_iter(struct sk_buff *skb, int offset, struct iov_iter *from, int len)h](j)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjDhMubj)}(hskb_copy_datagram_from_iterh]j%)}(hskb_copy_datagram_from_iterh]hskb_copy_datagram_from_iter}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjDhMubj)}(hA(struct sk_buff *skb, int offset, struct iov_iter *from, int len)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hj EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jjDsbc.skb_copy_datagram_from_iterasbuh1hhjDubj)}(h h]h }(hj;EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjIEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hskbh]hskb}(hjVEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(h int offseth](j)}(hinth]hint}(hjoEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkEubj)}(h h]h }(hj}EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkEubj%)}(hoffseth]hoffset}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hstruct iov_iter *fromh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j7Ec.skb_copy_datagram_from_iterasbuh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hfromh]hfrom}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hint lenh](j)}(hinth]hint}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(h h]h }(hj"FhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj%)}(hlenh]hlen}(hj0FhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubeh}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhjDhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjDhMubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhMhjDhhubjS)}(hhh]jX)}(h!Copy a datagram from an iov_iter.h]h!Copy a datagram from an iov_iter.}(hjZFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjWFhhubah}(h]h ]h"]h$]h&]uh1jRhjDhhhjDhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrFjxjrFjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to copy ``int offset`` offset in the buffer to start copying to ``struct iov_iter *from`` the copy source ``int len`` amount of data to copy to buffer from iovec **Description** Returns 0 or -EFAULT.h](jX)}(h**Parameters**h]j)}(hj|Fh]h Parameters}(hj~FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzFubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM!hjvFubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hjFh]hstruct sk_buff *skb}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjFubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjFubj)}(h8``int offset`` offset in the buffer to start copying to h](j)}(h``int offset``h]j)}(hjFh]h int offset}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjFubj)}(hhh]jX)}(h(offset in the buffer to start copying toh]h(offset in the buffer to start copying to}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjFubj)}(h*``struct iov_iter *from`` the copy source h](j)}(h``struct iov_iter *from``h]j)}(hj Gh]hstruct iov_iter *from}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Gubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjGubj)}(hhh]jX)}(hthe copy sourceh]hthe copy source}(hj&GhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"GhM hj#Gubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhj"GhM hjFubj)}(h8``int len`` amount of data to copy to buffer from iovec h](j)}(h ``int len``h]j)}(hjFGh]hint len}(hjHGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDGubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM!hj@Gubj)}(hhh]jX)}(h+amount of data to copy to buffer from iovech]h+amount of data to copy to buffer from iovec}(hj_GhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[GhM!hj\Gubah}(h]h ]h"]h$]h&]uh1jhj@Gubeh}(h]h ]h"]h$]h&]uh1jhj[GhM!hjFubeh}(h]h ]h"]h$]h&]uh1jhjvFubjX)}(h**Description**h]j)}(hjGh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM#hjvFubj )}(hReturns 0 or -EFAULT.h]jX)}(hjGh]hReturns 0 or -EFAULT.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM"hjGubah}(h]h ]h"]h$]h&]uh1j hjGhM"hjvFubeh}(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}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhjGhMubj)}(hzerocopy_sg_from_iterh]j%)}(hzerocopy_sg_from_iterh]hzerocopy_sg_from_iter}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGhhhjGhMubj)}(h,(struct sk_buff *skb, struct iov_iter *from)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj HhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj*HhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'Hubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,HmodnameN classnameNjj!)}j$]j')}jjGsbc.zerocopy_sg_from_iterasbuh1hhjHubj)}(h h]h }(hjJHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjXHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hskbh]hskb}(hjeHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubj)}(hstruct iov_iter *fromh](h)}(hjh]hstruct}(hj~HhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzHubh)}(hhh]j%)}(hiov_iterh]hiov_iter}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]jFHc.zerocopy_sg_from_iterasbuh1hhjzHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzHubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzHubj%)}(hfromh]hfrom}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubeh}(h]h ]h"]h$]h&]j<j=uh1jhjGhhhjGhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhjGhMubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjGhMhjGhhubjS)}(hhh]jX)}(h*Build a zerocopy datagram from an iov_iterh]h*Build a zerocopy datagram from an iov_iter}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhjGhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{uh1hhhhj[hNhNubj})}(hX**Parameters** ``struct sk_buff *skb`` buffer to copy ``struct iov_iter *from`` the source to copy from **Description** The function will first copy up to headlen, and then pin the userspace pages and build frags through them. Returns 0, -EFAULT or -EMSGSIZE.h](jX)}(h**Parameters**h]j)}(hj!Ih]h Parameters}(hj#IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjIubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hj@Ih]hstruct sk_buff *skb}(hjBIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>Iubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj:Iubj)}(hhh]jX)}(hbuffer to copyh]hbuffer to copy}(hjYIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUIhMhjVIubah}(h]h ]h"]h$]h&]uh1jhj:Iubeh}(h]h ]h"]h$]h&]uh1jhjUIhMhj7Iubj)}(h2``struct iov_iter *from`` the source to copy from h](j)}(h``struct iov_iter *from``h]j)}(hjyIh]hstruct iov_iter *from}(hj{IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwIubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjsIubj)}(hhh]jX)}(hthe source to copy fromh]hthe source to copy from}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhM hjIubah}(h]h ]h"]h$]h&]uh1jhjsIubeh}(h]h ]h"]h$]h&]uh1jhjIhM hj7Iubeh}(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&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjIubj )}(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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjIubjX)}(h Returns 0, -EFAULT or -EMSGSIZE.h]h Returns 0, -EFAULT or -EMSGSIZE.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjIubeh}(h]h ]h"]h$]h&]uh1j hjIhM hjIubeh}(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}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMlubj)}(h h]h }(hj!JhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJhhhj JhMlubj)}(hskb_copy_and_csum_datagram_msgh]j%)}(hskb_copy_and_csum_datagram_msgh]hskb_copy_and_csum_datagram_msg}(hj3JhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/Jubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJhhhj JhMlubj)}(h3(struct sk_buff *skb, int hlen, struct msghdr *msg)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjOJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKJubj)}(h h]h }(hj\JhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKJubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjmJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjoJmodnameN classnameNjj!)}j$]j')}jj5Jsb c.skb_copy_and_csum_datagram_msgasbuh1hhjKJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKJubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKJubj%)}(hskbh]hskb}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGJubj)}(hint hlenh](j)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hhlenh]hhlen}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGJubj)}(hstruct msghdr *msgh](h)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(hhh]j%)}(hmsghdrh]hmsghdr}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]jJ c.skb_copy_and_csum_datagram_msgasbuh1hhjJubj)}(h h]h }(hj2KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hj@KhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hmsgh]hmsg}(hjMKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGJubeh}(h]h ]h"]h$]h&]j<j=uh1jhjJhhhj JhMlubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj Jhhhj JhMlubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj JhMlhjJhhubjS)}(hhh]jX)}(h$Copy and checksum skb to user iovec.h]h$Copy and checksum skb to user iovec.}(hjwKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMlhjtKhhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhj JhMlubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{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)}(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.chMphjKubj)}(hhh](j)}(h``struct sk_buff *skb`` skbuff h](j)}(h``struct sk_buff *skb``h]j)}(hjKh]hstruct 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.chMmhjKubj)}(hhh]jX)}(hskbuffh]hskbuff}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMmhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMmhjKubj)}(h``int hlen`` hardware length h](j)}(h ``int hlen``h]j)}(hjKh]hint hlen}(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.chMnhjKubj)}(hhh]jX)}(hhardware lengthh]hhardware length}(hj LhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMnhjLubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjLhMnhjKubj)}(h#``struct msghdr *msg`` destination h](j)}(h``struct msghdr *msg``h]j)}(hj*Lh]hstruct msghdr *msg}(hj,LhhhNhNubah}(h]h ]h"]h$]h&]uh1jyhj(Lubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMohj$Lubj)}(hhh]jX)}(h destinationh]h destination}(hjCLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?LhMohj@Lubah}(h]h ]h"]h$]h&]uh1jhj$Lubeh}(h]h ]h"]h$]h&]uh1jhj?LhMohjKubeh}(h]h ]h"]h$]h&]uh1jhjKubjX)}(h**Description**h]j)}(hjeLh]h Description}(hjgLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcLubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMqhjKubj )}(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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMphj{Lubah}(h]h ]h"]h$]h&]uh1j hjLhMphjKubjX)}(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.chMrhjKubjX)}(hK0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.h]hK0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMshjKubeh}(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}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j')}jdatagram_poll_queuesbc.datagram_poll_queueasbuh1hhjLhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhjLhMubj)}(hdatagram_poll_queueh]j%)}(hjLh]hdatagram_poll_queue}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhjLhMubj)}(hZ(struct file *file, struct socket *sock, poll_table *wait, struct sk_buff_head *rcv_queue)h](j)}(hstruct file *fileh](h)}(hjh]hstruct}(hj-MhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)Mubj)}(h h]h }(hj:MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)Mubh)}(hhh]j%)}(hfileh]hfile}(hjKMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMMmodnameN classnameNjj!)}j$]jLc.datagram_poll_queueasbuh1hhj)Mubj)}(h h]h }(hjiMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)Mubj;)}(hj>h]h*}(hjwMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)Mubj%)}(hfileh]hfile}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)Mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%Mubj)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubh)}(hhh]j%)}(hsocketh]hsocket}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]jLc.datagram_poll_queueasbuh1hhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hsockh]hsock}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%Mubj)}(hpoll_table *waith](h)}(hhh]j%)}(h poll_tableh]h poll_table}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Nubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]jLc.datagram_poll_queueasbuh1hhj Nubj)}(h h]h }(hj.NhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Nubj;)}(hj>h]h*}(hjh]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^Nubj%)}(h rcv_queueh]h rcv_queue}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^Nubeh}(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)}(h6same as datagram_poll, but on a specific receive queueh]h6same as datagram_poll, but on a specific receive queue}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhjLhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{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)}(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"``struct file *file`` file struct h](j)}(h``struct file *file``h]j)}(hj$Oh]hstruct file *file}(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)}(h file structh]h file struct}(hj=OhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9OhMhj:Oubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhj9OhMhjOubj)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hj]Oh]hstruct socket *sock}(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.chMhjWOubj)}(hhh]jX)}(hsocketh]hsocket}(hjvOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrOhMhjsOubah}(h]h ]h"]h$]h&]uh1jhjWOubeh}(h]h ]h"]h$]h&]uh1jhjrOhMhjOubj)}(h ``poll_table *wait`` poll table h](j)}(h``poll_table *wait``h]j)}(hjOh]hpoll_table *wait}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjOubj)}(hhh]jX)}(h poll tableh]h poll table}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjOubj)}(h9``struct sk_buff_head *rcv_queue`` receive queue to poll h](j)}(h"``struct sk_buff_head *rcv_queue``h]j)}(hjOh]hstruct sk_buff_head *rcv_queue}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjOubj)}(hhh]jX)}(hreceive queue to pollh]hreceive queue to poll}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjOubeh}(h]h ]h"]h$]h&]uh1jhjNubjX)}(h**Description**h]j)}(hj Ph]h Description}(hj PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjNubj )}(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$PhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj Pubah}(h]h ]h"]h$]h&]uh1j hj2PhMhjNubjX)}(h **Return**h]j)}(hj;Ph]hReturn}(hj=PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Pubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjNubjX)}(h2poll bitmask indicating the socket's current stateh]h4poll bitmask indicating the socket’s current state}(hjQPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjNubeh}(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}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]j')}j datagram_pollsbc.datagram_pollasbuh1hhj|PhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|PhhhjPhMubj)}(h datagram_pollh]j%)}(hjPh]h datagram_poll}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj|PhhhjPhMubj)}(h:(struct file *file, struct socket *sock, poll_table *wait)h](j)}(hstruct file *fileh](h)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubh)}(hhh]j%)}(hfileh]hfile}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]jPc.datagram_pollasbuh1hhjPubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPubj%)}(hfileh]hfile}(hj)QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubj)}(hstruct socket *sockh](h)}(hjh]hstruct}(hjBQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>Qubj)}(h h]h }(hjOQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>Qubh)}(hhh]j%)}(hsocketh]hsocket}(hj`QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]Qubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbQmodnameN classnameNjj!)}j$]jPc.datagram_pollasbuh1hhj>Qubj)}(h h]h }(hj~QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>Qubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj>Qubj%)}(hsockh]hsock}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>Qubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubj)}(hpoll_table *waith](h)}(hhh]j%)}(h poll_tableh]h poll_table}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]jPc.datagram_pollasbuh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hwaith]hwait}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubeh}(h]h ]h"]h$]h&]j<j=uh1jhj|PhhhjPhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxPhhhjPhMubah}(h]jsPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjPhMhjuPhhubjS)}(hhh]jX)}(hgeneric datagram pollh]hgeneric datagram poll}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjRhhubah}(h]h ]h"]h$]h&]uh1jRhjuPhhhjPhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0Rjxj0Rjyjzj{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:Rh]h Parameters}(hjh]h*}(hjiThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hskh]hsk}(hjvThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(h long *timeo_ph](j)}(hlongh]hlong}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(htimeo_ph]htimeo_p}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubeh}(h]h ]h"]h$]h&]j<j=uh1jhjShhhjShK6ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjShhhjShK6ubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShK6hjShhubjS)}(hhh]jX)}(h1Wait for a socket to get into the connected stateh]h1Wait for a socket to get into the connected state}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK6hjThhubah}(h]h ]h"]h$]h&]uh1jRhjShhhjShK6ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{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)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK:hjTubj)}(hhh](j)}(h$``struct sock *sk`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hj#Uh]hstruct sock *sk}(hj%UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Uubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK7hjUubj)}(hhh]jX)}(hsock to wait onh]hsock to wait on}(hjh]h*}(hjeVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hskh]hsk}(hjrVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubj)}(h long *timeo_ph](j)}(hlongh]hlong}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(htimeo_ph]htimeo_p}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubeh}(h]h ]h"]h$]h&]j<j=uh1jhjUhhhjUhKvubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjUhKvubah}(h]jUah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjUhKvhjUhhubjS)}(hhh]jX)}(h!Wait for more memory for a socketh]h!Wait for more memory for a socket}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKvhjVhhubah}(h]h ]h"]h$]h&]uh1jRhjUhhhjUhKvubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVjxjVjyjzj{uh1hhhhj[hNhNubj})}(ha**Parameters** ``struct sock *sk`` socket to wait for memory ``long *timeo_p`` for how longh](jX)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKzhjVubj)}(hhh](j)}(h.``struct sock *sk`` socket to wait for memory h](j)}(h``struct sock *sk``h]j)}(hjWh]hstruct sock *sk}(hj!WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKwhjWubj)}(hhh]jX)}(hsocket to wait for memoryh]hsocket to wait for memory}(hj8WhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4WhKwhj5Wubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhj4WhKwhjWubj)}(h``long *timeo_p`` for how longh](j)}(h``long *timeo_p``h]j)}(hjXWh]h long *timeo_p}(hjZWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVWubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKyhjRWubj)}(hhh]jX)}(h for how longh]h for how long}(hjqWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKxhjnWubah}(h]h ]h"]h$]h&]uh1jhjRWubeh}(h]h ]h"]h$]h&]uh1jhjmWhKyhjWubeh}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj[hhhNhNubeh}(h]socket-buffer-functionsah ]h"]socket buffer functionsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Socket Filterh]h Socket Filter}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhhhhhK'ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_filter_trim_cap (C function)c.sk_filter_trim_caphNtauh1hhjWhhhNhNubh)}(hhh](h)}(hmint sk_filter_trim_cap (struct sock *sk, struct sk_buff *skb, unsigned int cap, enum skb_drop_reason *reason)h]h)}(hlint sk_filter_trim_cap(struct sock *sk, struct sk_buff *skb, unsigned int cap, enum skb_drop_reason *reason)h](j)}(hinth]hint}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKyubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjWhKyubj)}(hsk_filter_trim_caph]j%)}(hsk_filter_trim_caph]hsk_filter_trim_cap}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjWhKyubj)}(hV(struct sock *sk, struct sk_buff *skb, unsigned int cap, enum skb_drop_reason *reason)h](j)}(hstruct sock *skh](h)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hhh]j%)}(hsockh]hsock}(hj&XhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#Xubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(XmodnameN classnameNjj!)}j$]j')}jjWsbc.sk_filter_trim_capasbuh1hhjXubj)}(h h]h }(hjFXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hjTXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hskh]hsk}(hjaXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjzXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvXubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]jBXc.sk_filter_trim_capasbuh1hhjvXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvXubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvXubj%)}(hskbh]hskb}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(hunsigned int caph](j)}(hunsignedh]hunsigned}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(hinth]hint}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(hcaph]hcap}(hj"YhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(henum skb_drop_reason *reasonh](h)}(hhh]henum}(hj;YhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7Yubj)}(h h]h }(hjHYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7Yubh)}(hhh]j%)}(hskb_drop_reasonh]hskb_drop_reason}(hjYYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[YmodnameN classnameNjj!)}j$]jBXc.sk_filter_trim_capasbuh1hhj7Yubj)}(h h]h }(hjwYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7Yubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7Yubj%)}(hreasonh]hreason}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7Yubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubeh}(h]h ]h"]h$]h&]j<j=uh1jhjWhhhjWhKyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjWhKyubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhKyhjWhhubjS)}(hhh]jX)}(h$run a packet through a socket filterh]h$run a packet through a socket filter}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKyhjYhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjWhKyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhjWhNhNubj})}(hXo**Parameters** ``struct sock *sk`` sock associated with :c:type:`sk_buff` ``struct sk_buff *skb`` buffer to filter ``unsigned int cap`` limit on how short the eBPF program may trim the packet ``enum skb_drop_reason *reason`` record drop reason on errors (negative return value) **Description** Run the eBPF program and then cut skb->data to correct size returned by the program. If pkt_len is 0 we toss packet. If skb->len is smaller than pkt_len we keep whole skb->data. This is the socket level wrapper to bpf_prog_run. It returns 0 if the packet should be accepted or -EPERM if the packet should be tossed.h](jX)}(h**Parameters**h]j)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK}hjYubj)}(hhh](j)}(h;``struct sock *sk`` sock associated with :c:type:`sk_buff` h](j)}(h``struct sock *sk``h]j)}(hjYh]hstruct sock *sk}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKzhjYubj)}(hhh]jX)}(h&sock associated with :c:type:`sk_buff`h](hsock associated with }(hjZhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj Zh]hsk_buff}(hj"ZhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsk_buffuh1hhjZhKzhjZubeh}(h]h ]h"]h$]h&]uh1jWhjZhKzhjZubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjZhKzhjYubj)}(h)``struct sk_buff *skb`` buffer to filter h](j)}(h``struct sk_buff *skb``h]j)}(hjUZh]hstruct sk_buff *skb}(hjWZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSZubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK{hjOZubj)}(hhh]jX)}(hbuffer to filterh]hbuffer to filter}(hjnZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjZhK{hjkZubah}(h]h ]h"]h$]h&]uh1jhjOZubeh}(h]h ]h"]h$]h&]uh1jhjjZhK{hjYubj)}(hM``unsigned int cap`` limit on how short the eBPF program may trim the packet h](j)}(h``unsigned int cap``h]j)}(hjZh]hunsigned int cap}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK|hjZubj)}(hhh]jX)}(h7limit on how short the eBPF program may trim the packeth]h7limit on how short the eBPF program may trim the packet}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhK|hjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhK|hjYubj)}(hV``enum skb_drop_reason *reason`` record drop reason on errors (negative return value) h](j)}(h ``enum skb_drop_reason *reason``h]j)}(hjZh]henum skb_drop_reason *reason}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK}hjZubj)}(hhh]jX)}(h4record drop reason on errors (negative return value)h]h4record drop reason on errors (negative return value)}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhK}hjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhK}hjYubeh}(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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKhjYubjX)}(hX;Run the eBPF program and then cut skb->data to correct size returned by the program. If pkt_len is 0 we toss packet. If skb->len is smaller than pkt_len we keep whole skb->data. This is the socket level wrapper to bpf_prog_run. It returns 0 if the packet should be accepted or -EPERM if the packet should be tossed.h]hX;Run the eBPF program and then cut skb->data to correct size returned by the program. If pkt_len is 0 we toss packet. If skb->len is smaller than pkt_len we keep whole skb->data. This is the socket level wrapper to bpf_prog_run. It returns 0 if the packet should be accepted or -EPERM if the packet should be tossed.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK~hjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjWhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbpf_prog_create (C function)c.bpf_prog_createhNtauh1hhjWhhhNhNubh)}(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}(hjG[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjC[hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMbubj)}(h h]h }(hjV[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjC[hhhjU[hMbubj)}(hbpf_prog_createh]j%)}(hbpf_prog_createh]hbpf_prog_create}(hjh[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjd[ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjC[hhhjU[hMbubj)}(h6(struct bpf_prog **pfp, struct sock_fprog_kern *fprog)h](j)}(hstruct bpf_prog **pfph](h)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubh)}(hhh]j%)}(hbpf_progh]hbpf_prog}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]j')}jjj[sbc.bpf_prog_createasbuh1hhj[ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj;)}(hj>h]h*}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj;)}(hj>h]h*}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj%)}(hpfph]hpfp}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|[ubj)}(hstruct sock_fprog_kern *fprogh](h)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj[ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubh)}(hhh]j%)}(hsock_fprog_kernh]hsock_fprog_kern}(hj!\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#\modnameN classnameNjj!)}j$]j[c.bpf_prog_createasbuh1hhj[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%)}(hfprogh]hfprog}(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=uh1jhjC[hhhjU[hMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?[hhhjU[hMbubah}(h]j:[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjU[hMbhj<[hhubjS)}(hhh]jX)}(hcreate an unattached filterh]hcreate an unattached filter}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMbhj\hhubah}(h]h ]h"]h$]h&]uh1jRhj<[hhhjU[hMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\jxj\jyjzj{uh1hhhhjWhNhNubj})}(hX**Parameters** ``struct bpf_prog **pfp`` the unattached filter that is created ``struct sock_fprog_kern *fprog`` the filter program **Description** Create a filter independent of any socket. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.h](jX)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMfhj\ubj)}(hhh](j)}(h@``struct bpf_prog **pfp`` the unattached filter that is created h](j)}(h``struct bpf_prog **pfp``h]j)}(hj\h]hstruct bpf_prog **pfp}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMchj\ubj)}(hhh]jX)}(h%the unattached filter that is createdh]h%the unattached filter that is created}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMchj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMchj\ubj)}(h5``struct sock_fprog_kern *fprog`` the filter program h](j)}(h!``struct sock_fprog_kern *fprog``h]j)}(hj\h]hstruct sock_fprog_kern *fprog}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMdhj\ubj)}(hhh]jX)}(hthe filter programh]hthe filter program}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMdhj]ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj]hMdhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hj9]h]h Description}(hj;]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7]ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMfhj\ubjX)}(hXCreate a filter independent of any socket. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.h]hXCreate a filter independent of any socket. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.}(hjO]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMehj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjWhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&bpf_prog_create_from_user (C function)c.bpf_prog_create_from_userhNtauh1hhjWhhhNhNubh)}(hhh](h)}(h~int bpf_prog_create_from_user (struct bpf_prog **pfp, struct sock_fprog *fprog, bpf_aux_classic_check_t trans, bool save_orig)h]h)}(h}int bpf_prog_create_from_user(struct bpf_prog **pfp, struct sock_fprog *fprog, bpf_aux_classic_check_t trans, bool save_orig)h](j)}(hinth]hint}(hj~]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjz]hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjz]hhhj]hMubj)}(hbpf_prog_create_from_userh]j%)}(hbpf_prog_create_from_userh]hbpf_prog_create_from_user}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjz]hhhj]hMubj)}(h`(struct bpf_prog **pfp, struct sock_fprog *fprog, bpf_aux_classic_check_t trans, bool save_orig)h](j)}(hstruct bpf_prog **pfph](h)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubh)}(hhh]j%)}(hbpf_progh]hbpf_prog}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j')}jj]sbc.bpf_prog_create_from_userasbuh1hhj]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]ubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]ubj%)}(hpfph]hpfp}(hj!^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hstruct sock_fprog *fprogh](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 sock_fprogh]h sock_fprog}(hjX^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZ^modnameN classnameNjj!)}j$]j]c.bpf_prog_create_from_userasbuh1hhj6^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%)}(hfprogh]hfprog}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hbpf_aux_classic_check_t transh](h)}(hhh]j%)}(hbpf_aux_classic_check_th]hbpf_aux_classic_check_t}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j]c.bpf_prog_create_from_userasbuh1hhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(htransh]htrans}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hbool save_origh](j)}(hjTh]hbool}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(h save_origh]h save_orig}(hj _hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjz]hhhj]hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjv]hhhj]hMubah}(h]jq]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hMhjs]hhubjS)}(hhh]jX)}(h,create an unattached filter from user bufferh]h,create an unattached filter from user buffer}(hj7_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhj4_hhubah}(h]h ]h"]h$]h&]uh1jRhjs]hhhj]hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjO_jxjO_jyjzj{uh1hhhhjWhNhNubj})}(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)}(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:41: ./net/core/filter.chMhjS_ubj)}(hhh](j)}(h@``struct bpf_prog **pfp`` the unattached filter that is created h](j)}(h``struct bpf_prog **pfp``h]j)}(hjx_h]hstruct bpf_prog **pfp}(hjz_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv_ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjr_ubj)}(hhh]jX)}(h%the unattached filter that is createdh]h%the unattached filter that is created}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjr_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjo_ubj)}(h0``struct sock_fprog *fprog`` the filter program h](j)}(h``struct sock_fprog *fprog``h]j)}(hj_h]hstruct sock_fprog *fprog}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhj_ubj)}(hhh]jX)}(hthe filter programh]hthe filter program}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjo_ubj)}(hO``bpf_aux_classic_check_t trans`` post-classic verifier transformation handler h](j)}(h!``bpf_aux_classic_check_t trans``h]j)}(hj_h]hbpf_aux_classic_check_t trans}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhj_ubj)}(hhh]jX)}(h,post-classic verifier transformation handlerh]h,post-classic verifier transformation handler}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjo_ubj)}(h,``bool save_orig`` save classic BPF program h](j)}(h``bool save_orig``h]j)}(hj#`h]hbool save_orig}(hj%`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!`ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhj`ubj)}(hhh]jX)}(hsave classic BPF programh]hsave classic BPF program}(hj<`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8`hMhj9`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj8`hMhjo_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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjS_ubjX)}(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.}(hjt`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjS_ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjWhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_attach_filter (C function)c.sk_attach_filterhNtauh1hhjWhhhNhNubh)}(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`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhj`hM ubj)}(hsk_attach_filterh]j%)}(hsk_attach_filterh]hsk_attach_filter}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`hhhj`hM ubj)}(h+(struct sock_fprog *fprog, struct sock *sk)h](j)}(hstruct sock_fprog *fprogh](h)}(hjh]hstruct}(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 sock_fprogh]h sock_fprog}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jj`sbc.sk_attach_filterasbuh1hhj`ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj;)}(hj>h]h*}(hj,ahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj%)}(hfprogh]hfprog}(hj9ahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(hstruct sock *skh](h)}(hjh]hstruct}(hjRahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNaubj)}(h h]h }(hj_ahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNaubh)}(hhh]j%)}(hsockh]hsock}(hjpahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjramodnameN classnameNjj!)}j$]jac.sk_attach_filterasbuh1hhjNaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNaubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNaubj%)}(hskh]hsk}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNaubeh}(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)}(hattach a socket filterh]hattach a socket filter}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjahhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhj`hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhjWhNhNubj})}(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)}(hjah]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjaubj)}(hhh](j)}(h0``struct sock_fprog *fprog`` the filter program h](j)}(h``struct sock_fprog *fprog``h]j)}(hjbh]hstruct sock_fprog *fprog}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjbubj)}(hhh]jX)}(hthe filter programh]hthe filter program}(hj-bhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)bhM hj*bubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj)bhM hj bubj)}(h&``struct sock *sk`` the socket to use h](j)}(h``struct sock *sk``h]j)}(hjMbh]hstruct sock *sk}(hjObhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKbubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjGbubj)}(hhh]jX)}(hthe socket to useh]hthe socket to use}(hjfbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbbhM hjcbubah}(h]h ]h"]h$]h&]uh1jhjGbubeh}(h]h ]h"]h$]h&]uh1jhjbbhM hj bubeh}(h]h ]h"]h$]h&]uh1jhjaubjX)}(h**Description**h]j)}(hjbh]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjaubjX)}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjaubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjWhhhNhNubeh}(h] socket-filterah ]h"] socket filterah$]h&]uh1hhhhhhhhK'ubh)}(hhh](h)}(hGeneric Network Statisticsh]hGeneric Network Statistics}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhhhhhK-ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_stats_basic (C struct)c.gnet_stats_basichNtauh1hhjbhhhNhNubh)}(hhh](h)}(hgnet_stats_basich]h)}(hstruct gnet_stats_basich](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjbhKubj)}(hgnet_stats_basich]j%)}(hjbh]hgnet_stats_basic}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbhhhjbhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjbhKubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhKhjbhhubjS)}(hhh]jX)}(h!byte/packet throughput statisticsh]h!byte/packet throughput statistics}(hj(chhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhj%chhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhjbhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj@cjxj@cjyjzj{uh1hhhhjbhNhNubj})}(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}(hjLchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHcubh:}(hjHchhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjDcubjU)}(h@struct gnet_stats_basic { __u64 bytes; __u32 packets; };h]h@struct gnet_stats_basic { __u64 bytes; __u32 packets; };}hjecsbah}(h]h ]h"]h$]h&]j<j=uh1jTh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjDcubjX)}(h **Members**h]j)}(hjvch]hMembers}(hjxchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtcubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK!hjDcubj)}(hhh](j)}(h``bytes`` number of seen bytes h](j)}(h ``bytes``h]j)}(hjch]hbytes}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjcubj)}(hhh]jX)}(hnumber of seen bytesh]hnumber of seen bytes}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchKhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchKhjcubj)}(h"``packets`` number of seen packetsh](j)}(h ``packets``h]j)}(hjch]hpackets}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjcubj)}(hhh]jX)}(hnumber of seen packetsh]hnumber of seen packets}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchKhjcubeh}(h]h ]h"]h$]h&]uh1jhjDcubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_stats_rate_est (C struct)c.gnet_stats_rate_esthNtauh1hhjbhhhNhNubh)}(hhh](h)}(hgnet_stats_rate_esth]h)}(hstruct gnet_stats_rate_esth](h)}(hjh]hstruct}(hj(dhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$dhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKubj)}(h h]h }(hj6dhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$dhhhj5dhKubj)}(hgnet_stats_rate_esth]j%)}(hj"dh]hgnet_stats_rate_est}(hjHdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj$dhhhj5dhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj dhhhj5dhKubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5dhKhjdhhubjS)}(hhh]jX)}(hrate estimatorh]hrate estimator}(hjjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK hjgdhhubah}(h]h ]h"]h$]h&]uh1jRhjdhhhj5dhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjdjxjdjyjzj{uh1hhhhjbhNhNubj})}(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}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh:}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK$hjdubjU)}(h=struct gnet_stats_rate_est { __u32 bps; __u32 pps; };h]h=struct gnet_stats_rate_est { __u32 bps; __u32 pps; };}hjdsbah}(h]h ]h"]h$]h&]j<j=uh1jTh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK&hjdubjX)}(h **Members**h]j)}(hjdh]hMembers}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK+hjdubj)}(hhh](j)}(h``bps`` current byte rate h](j)}(h``bps``h]j)}(hjdh]hbps}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK"hjdubj)}(hhh]jX)}(hcurrent byte rateh]hcurrent byte rate}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhK"hjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhK"hjdubj)}(h``pps`` current packet rateh](j)}(h``pps``h]j)}(hjeh]hpps}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK"hj eubj)}(hhh]jX)}(hcurrent packet rateh]hcurrent packet rate}(hj)ehhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK#hj&eubah}(h]h ]h"]h$]h&]uh1jhj eubeh}(h]h ]h"]h$]h&]uh1jhj%ehK"hjdubeh}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h gnet_stats_rate_est64 (C struct)c.gnet_stats_rate_est64hNtauh1hhjbhhhNhNubh)}(hhh](h)}(hgnet_stats_rate_est64h]h)}(hstruct gnet_stats_rate_est64h](h)}(hjh]hstruct}(hjjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfehhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK)ubj)}(h h]h }(hjxehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfehhhjwehK)ubj)}(hgnet_stats_rate_est64h]j%)}(hjdeh]hgnet_stats_rate_est64}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfehhhjwehK)ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbehhhjwehK)ubah}(h]j]eah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwehK)hj_ehhubjS)}(hhh]jX)}(hrate estimatorh]hrate estimator}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK*hjehhubah}(h]h ]h"]h$]h&]uh1jRhj_ehhhjwehK)ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjejxjejyjzj{uh1hhhhjbhNhNubj})}(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}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh:}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK.hjeubjU)}(h?struct gnet_stats_rate_est64 { __u64 bps; __u64 pps; };h]h?struct gnet_stats_rate_est64 { __u64 bps; __u64 pps; };}hjesbah}(h]h ]h"]h$]h&]j<j=uh1jTh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK0hjeubjX)}(h **Members**h]j)}(hjeh]hMembers}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK5hjeubj)}(hhh](j)}(h``bps`` current byte rate h](j)}(h``bps``h]j)}(hjfh]hbps}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK,hjfubj)}(hhh]jX)}(hcurrent byte rateh]hcurrent byte rate}(hj2fhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.fhK,hj/fubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhj.fhK,hjfubj)}(h``pps`` current packet rateh](j)}(h``pps``h]j)}(hjRfh]hpps}(hjTfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPfubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK,hjLfubj)}(hhh]jX)}(hcurrent packet rateh]hcurrent packet rate}(hjkfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK-hjhfubah}(h]h ]h"]h$]h&]uh1jhjLfubeh}(h]h ]h"]h$]h&]uh1jhjgfhK,hjfubeh}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_stats_queue (C struct)c.gnet_stats_queuehNtauh1hhjbhhhNhNubh)}(hhh](h)}(hgnet_stats_queueh]h)}(hstruct gnet_stats_queueh](h)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK3ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjfhK3ubj)}(hgnet_stats_queueh]j%)}(hjfh]hgnet_stats_queue}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfhhhjfhK3ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfhhhjfhK3ubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhK3hjfhhubjS)}(hhh]jX)}(hqueuing statisticsh]hqueuing statistics}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK4hjfhhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjfhK3ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjgjxjgjyjzj{uh1hhhhjbhNhNubj})}(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}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh:}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK8hj gubjU)}(hzstruct gnet_stats_queue { __u32 qlen; __u32 backlog; __u32 drops; __u32 requeues; __u32 overlimits; };h]hzstruct gnet_stats_queue { __u32 qlen; __u32 backlog; __u32 drops; __u32 requeues; __u32 overlimits; };}hj+gsbah}(h]h ]h"]h$]h&]j<j=uh1jTh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK:hj gubjX)}(h **Members**h]j)}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:gubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKBhj gubj)}(hhh](j)}(h``qlen`` queue length h](j)}(h``qlen``h]j)}(hj[gh]hqlen}(hj]ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYgubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK6hjUgubj)}(hhh]jX)}(h queue lengthh]h queue length}(hjtghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjpghK6hjqgubah}(h]h ]h"]h$]h&]uh1jhjUgubeh}(h]h ]h"]h$]h&]uh1jhjpghK6hjRgubj)}(h"``backlog`` backlog size of queue h](j)}(h ``backlog``h]j)}(hjgh]hbacklog}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK7hjgubj)}(hhh]jX)}(hbacklog size of queueh]hbacklog size of queue}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghK7hjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghK7hjRgubj)}(h$``drops`` number of dropped packets h](j)}(h ``drops``h]j)}(hjgh]hdrops}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK8hjgubj)}(hhh]jX)}(hnumber of dropped packetsh]hnumber of dropped packets}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghK8hjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghK8hjRgubj)}(h ``requeues`` number of requeues h](j)}(h ``requeues``h]j)}(hjhh]hrequeues}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK9hjhubj)}(hhh]jX)}(hnumber of requeuesh]hnumber of requeues}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhK9hjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhK9hjRgubj)}(h0``overlimits`` number of enqueues over the limith](j)}(h``overlimits``h]j)}(hj?hh]h overlimits}(hjAhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=hubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK9hj9hubj)}(hhh]jX)}(h!number of enqueues over the limith]h!number of enqueues over the limit}(hjXhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK:hjUhubah}(h]h ]h"]h$]h&]uh1jhj9hubeh}(h]h ]h"]h$]h&]uh1jhjThhK9hjRgubeh}(h]h ]h"]h$]h&]uh1jhj gubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_estimator (C struct)c.gnet_estimatorhNtauh1hhjbhhhNhNubh)}(hhh](h)}(hgnet_estimatorh]h)}(hstruct gnet_estimatorh](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK@ubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhhjhhK@ubj)}(hgnet_estimatorh]j%)}(hjhh]hgnet_estimator}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhhjhhK@ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhhjhhK@ubah}(h]jhah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhhK@hjhhhubjS)}(hhh]jX)}(hrate estimator configurationh]hrate estimator configuration}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKDhjhhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjhhK@ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjhjxjhjyjzj{uh1hhhhjbhNhNubj})}(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}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh:}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKHhjhubjU)}(hVstruct gnet_estimator { signed char interval; unsigned char ewma_log; };h]hVstruct gnet_estimator { signed char interval; unsigned char ewma_log; };}hjisbah}(h]h ]h"]h$]h&]j<j=uh1jTh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKJhjhubjX)}(h **Members**h]j)}(hj)ih]hMembers}(hj+ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'iubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKOhjhubj)}(hhh](j)}(h``interval`` sampling period h](j)}(h ``interval``h]j)}(hjHih]hinterval}(hjJihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFiubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKFhjBiubj)}(hhh]jX)}(hsampling periodh]hsampling period}(hjaihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]ihKFhj^iubah}(h]h ]h"]h$]h&]uh1jhjBiubeh}(h]h ]h"]h$]h&]uh1jhj]ihKFhj?iubj)}(h1``ewma_log`` the log of measurement window weighth](j)}(h ``ewma_log``h]j)}(hjih]hewma_log}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKFhj{iubj)}(hhh]jX)}(h$the log of measurement window weighth]h$the log of measurement window weight}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKGhjiubah}(h]h ]h"]h$]h&]uh1jhj{iubeh}(h]h ]h"]h$]h&]uh1jhjihKFhj?iubeh}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)gnet_stats_start_copy_compat (C function)c.gnet_stats_start_copy_compathNtauh1hhjbhhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK(ubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjihhhjihK(ubj)}(hgnet_stats_start_copy_compath]j%)}(hgnet_stats_start_copy_compath]hgnet_stats_start_copy_compat}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjihhhjihK(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}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjubj)}(h h]h }(hj%jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj6jhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3jubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8jmodnameN classnameNjj!)}j$]j')}jjisbc.gnet_stats_start_copy_compatasbuh1hhjjubj)}(h h]h }(hjVjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjdjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hskbh]hskb}(hjqjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjubj)}(hint typeh](j)}(hinth]hint}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj%)}(htypeh]htype}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjubj)}(hint tc_stats_typeh](j)}(hinth]hint}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj%)}(h tc_stats_typeh]h tc_stats_type}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjubj)}(hint xstats_typeh](j)}(hinth]hint}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj%)}(h xstats_typeh]h xstats_type}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjubj)}(hspinlock_t *lockh](h)}(hhh]j%)}(h spinlock_th]h spinlock_t}(hj,khhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)kubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.kmodnameN classnameNjj!)}j$]jRjc.gnet_stats_start_copy_compatasbuh1hhj%kubj)}(h h]h }(hjJkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%kubj;)}(hj>h]h*}(hjXkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%kubj%)}(hlockh]hlock}(hjekhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%kubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjubj)}(hstruct gnet_dump *dh](h)}(hjh]hstruct}(hj~khhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzkubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]jRjc.gnet_stats_start_copy_compatasbuh1hhjzkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzkubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzkubj%)}(hdh]hd}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjubj)}(h int padattrh](j)}(hinth]hint}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj%)}(hpadattrh]hpadattr}(hj lhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjihhhjihK(ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhjihK(ubah}(h]jiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjihK(hjihhubjS)}(hhh]jX)}(h-start dumping procedure in compatibility modeh]h-start dumping procedure in compatibility mode}(hj4lhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK(hj1lhhubah}(h]h ]h"]h$]h&]uh1jRhjihhhjihK(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLljxjLljyjzj{uh1hhhhjbhNhNubj})}(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)}(hjVlh]h Parameters}(hjXlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTlubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK,hjPlubj)}(hhh](j)}(hB``struct sk_buff *skb`` socket buffer to put statistics TLVs into h](j)}(h``struct sk_buff *skb``h]j)}(hjulh]hstruct sk_buff *skb}(hjwlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjslubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK)hjolubj)}(hhh]jX)}(h)socket buffer to put statistics TLVs intoh]h)socket buffer to put statistics TLVs into}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhK)hjlubah}(h]h ]h"]h$]h&]uh1jhjolubeh}(h]h ]h"]h$]h&]uh1jhjlhK)hjllubj)}(h2``int type`` TLV type for top level statistic TLV h](j)}(h ``int type``h]j)}(hjlh]hint type}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK*hjlubj)}(hhh]jX)}(h$TLV type for top level statistic TLVh]h$TLV type for top level statistic TLV}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhK*hjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhK*hjllubj)}(hN``int tc_stats_type`` TLV type for backward compatibility struct tc_stats TLV h](j)}(h``int tc_stats_type``h]j)}(hjlh]hint tc_stats_type}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK+hjlubj)}(hhh]jX)}(h7TLV type for backward compatibility struct tc_stats TLVh]h7TLV type for backward compatibility struct tc_stats TLV}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhK+hjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhK+hjllubj)}(hC``int xstats_type`` TLV type for backward compatibility xstats TLV h](j)}(h``int xstats_type``h]j)}(hj mh]hint xstats_type}(hj"mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK,hjmubj)}(hhh]jX)}(h.TLV type for backward compatibility xstats TLVh]h.TLV type for backward compatibility xstats TLV}(hj9mhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5mhK,hj6mubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhj5mhK,hjllubj)}(h%``spinlock_t *lock`` statistics lock h](j)}(h``spinlock_t *lock``h]j)}(hjYmh]hspinlock_t *lock}(hj[mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK-hjSmubj)}(hhh]jX)}(hstatistics lockh]hstatistics lock}(hjrmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnmhK-hjomubah}(h]h ]h"]h$]h&]uh1jhjSmubeh}(h]h ]h"]h$]h&]uh1jhjnmhK-hjllubj)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjmh]hstruct gnet_dump *d}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK.hjmubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhK.hjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhK.hjllubj)}(h"``int padattr`` padding attribute h](j)}(h``int padattr``h]j)}(hjmh]h int padattr}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK/hjmubj)}(hhh]jX)}(hpadding attributeh]hpadding attribute}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhK/hjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhK/hjllubeh}(h]h ]h"]h$]h&]uh1jhjPlubjX)}(h**Description**h]j)}(hjnh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK1hjPlubjX)}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK0hjPlubjX)}(hThe dumping handle is marked to be in backward compatibility mode telling all gnet_stats_copy_XXX() functions to fill a local copy of struct tc_stats.h]hThe dumping handle is marked to be in backward compatibility mode telling all gnet_stats_copy_XXX() functions to fill a local copy of struct tc_stats.}(hj+nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK4hjPlubjX)}(hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.h]hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.}(hj:nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK7hjPlubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_start_copy (C function)c.gnet_stats_start_copyhNtauh1hhjbhhhNhNubh)}(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}(hjinhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjenhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK`ubj)}(h h]h }(hjxnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjenhhhjwnhK`ubj)}(hgnet_stats_start_copyh]j%)}(hgnet_stats_start_copyh]hgnet_stats_start_copy}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjenhhhjwnhK`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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]j')}jjnsbc.gnet_stats_start_copyasbuh1hhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj;)}(hj>h]h*}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(hskbh]hskb}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubj)}(hint typeh](j)}(hinth]hint}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hj&ohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj%)}(htypeh]htype}(hj4ohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubj)}(hspinlock_t *lockh](h)}(hhh]j%)}(h spinlock_th]h spinlock_t}(hjPohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRomodnameN classnameNjj!)}j$]jnc.gnet_stats_start_copyasbuh1hhjIoubj)}(h h]h }(hjnohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIoubj;)}(hj>h]h*}(hj|ohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIoubj%)}(hlockh]hlock}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubj)}(hstruct gnet_dump *dh](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]jnc.gnet_stats_start_copyasbuh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hjkh]hd}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubj)}(h int padattrh](j)}(hinth]hint}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj pubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj pubj%)}(hpadattrh]hpadattr}(hj-phhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj pubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubeh}(h]h ]h"]h$]h&]j<j=uh1jhjenhhhjwnhK`ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjanhhhjwnhK`ubah}(h]j\nah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwnhK`hj^nhhubjS)}(hhh]jX)}(h-start dumping procedure in compatibility modeh]h-start dumping procedure in compatibility mode}(hjWphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK`hjTphhubah}(h]h ]h"]h$]h&]uh1jRhj^nhhhjwnhK`ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjopjxjopjyjzj{uh1hhhhjbhNhNubj})}(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)}(hjyph]h Parameters}(hj{phhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwpubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKdhjspubj)}(hhh](j)}(hB``struct sk_buff *skb`` socket buffer to put statistics TLVs into h](j)}(h``struct sk_buff *skb``h]j)}(hjph]hstruct sk_buff *skb}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKahjpubj)}(hhh]jX)}(h)socket buffer to put statistics TLVs intoh]h)socket buffer to put statistics TLVs into}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphKahjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphKahjpubj)}(h2``int type`` TLV type for top level statistic TLV h](j)}(h ``int type``h]j)}(hjph]hint type}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKbhjpubj)}(hhh]jX)}(h$TLV type for top level statistic TLVh]h$TLV type for top level statistic TLV}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphKbhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphKbhjpubj)}(h%``spinlock_t *lock`` statistics lock h](j)}(h``spinlock_t *lock``h]j)}(hj qh]hspinlock_t *lock}(hj qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKchjqubj)}(hhh]jX)}(hstatistics lockh]hstatistics lock}(hj#qhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhKchj qubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhKchjpubj)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjCqh]hstruct gnet_dump *d}(hjEqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKdhj=qubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hj\qhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXqhKdhjYqubah}(h]h ]h"]h$]h&]uh1jhj=qubeh}(h]h ]h"]h$]h&]uh1jhjXqhKdhjpubj)}(h"``int padattr`` padding attribute h](j)}(h``int padattr``h]j)}(hj|qh]h int padattr}(hj~qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKehjvqubj)}(hhh]jX)}(hpadding attributeh]hpadding attribute}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhKehjqubah}(h]h ]h"]h$]h&]uh1jhjvqubeh}(h]h ]h"]h$]h&]uh1jhjqhKehjpubeh}(h]h ]h"]h$]h&]uh1jhjspubjX)}(h**Description**h]j)}(hjqh]h Description}(hjqhhhNhNubah}(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.chKghjspubjX)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKfhjspubjX)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKjhjspubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_basic (C function)c.gnet_stats_copy_basichNtauh1hhjbhhhNhNubh)}(hhh](h)}(hint gnet_stats_copy_basic (struct gnet_dump *d, struct gnet_stats_basic_sync __percpu *cpu, struct gnet_stats_basic_sync *b, bool running)h]h)}(hint gnet_stats_copy_basic(struct gnet_dump *d, struct gnet_stats_basic_sync __percpu *cpu, struct gnet_stats_basic_sync *b, bool running)h](j)}(hinth]hint}(hj rhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhjrhKubj)}(hgnet_stats_copy_basich]j%)}(hgnet_stats_copy_basich]hgnet_stats_copy_basic}(hj,rhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(rubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrhhhjrhKubj)}(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}(hjHrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDrubj)}(h h]h }(hjUrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDrubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hjfrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhrmodnameN classnameNjj!)}j$]j')}jj.rsbc.gnet_stats_copy_basicasbuh1hhjDrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDrubj;)}(hj>h]h*}(hjrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDrubj%)}(hjkh]hd}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@rubj)}(h*struct gnet_stats_basic_sync __percpu *cpuh](h)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrmodnameN classnameNjj!)}j$]jrc.gnet_stats_copy_basicasbuh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh__percpu}(hjrhhhNhNubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hcpuh]hcpu}(hj"shhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@rubj)}(hstruct gnet_stats_basic_sync *bh](h)}(hjh]hstruct}(hj;shhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7subj)}(h h]h }(hjHshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7subh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjYshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[smodnameN classnameNjj!)}j$]jrc.gnet_stats_copy_basicasbuh1hhj7subj)}(h h]h }(hjwshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7subj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7subj%)}(hbh]hb}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7subeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@rubj)}(h bool runningh](j)}(hjTh]hbool}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj%)}(hrunningh]hrunning}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@rubeh}(h]h ]h"]h$]h&]j<j=uh1jhjrhhhjrhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrhhhjrhKubah}(h]jqah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrhKhjrhhubjS)}(hhh]jX)}(h(copy basic statistics into statistic TLVh]h(copy basic statistics into statistic TLV}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjshhubah}(h]h ]h"]h$]h&]uh1jRhjrhhhjrhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtjxjtjyjzj{uh1hhhhjbhNhNubj})}(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)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj tubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hj1th]hstruct gnet_dump *d}(hj3thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/tubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj+tubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjJthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFthKhjGtubah}(h]h ]h"]h$]h&]uh1jhj+tubeh}(h]h ]h"]h$]h&]uh1jhjFthKhj(tubj)}(hF``struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu h](j)}(h.``struct gnet_stats_basic_sync __percpu *cpu``h]j)}(hjjth]h*struct gnet_stats_basic_sync __percpu *cpu}(hjlthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjdtubj)}(hhh]jX)}(hcopy statistic per cpuh]hcopy statistic per cpu}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthKhjtubah}(h]h ]h"]h$]h&]uh1jhjdtubeh}(h]h ]h"]h$]h&]uh1jhjthKhj(tubj)}(h5``struct gnet_stats_basic_sync *b`` basic statistics h](j)}(h#``struct gnet_stats_basic_sync *b``h]j)}(hjth]hstruct gnet_stats_basic_sync *b}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjtubj)}(hhh]jX)}(hbasic statisticsh]hbasic statistics}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthKhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthKhj(tubj)}(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)}(hjth]h bool running}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjtubj)}(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 }(hjthhhNhNubj)}(h**b**h]hb}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh" represents a running qdisc, thus }(hjthhhNhNubj)}(h**b**h]hb}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubhC’s internal values might change during basic reads. Only used if }(hjthhhNhNubj)}(h**cpu**h]hcpu}(hj!uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh is NULL}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthKhj(tubeh}(h]h ]h"]h$]h&]uh1jhj tubjX)}(h **Context**h]j)}(hjNuh]hContext}(hjPuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLuubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj tubjX)}(h-task; must not be run from IRQ or BH contextsh]h-task; must not be run from IRQ or BH contexts}(hjduhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj tubjX)}(h**Description**h]j)}(hjuuh]h Description}(hjwuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsuubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj tubjX)}(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().}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj tubjX)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj tubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%gnet_stats_copy_basic_hw (C function)c.gnet_stats_copy_basic_hwhNtauh1hhjbhhhNhNubh)}(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}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjuhMubj)}(hgnet_stats_copy_basic_hwh]j%)}(hgnet_stats_copy_basic_hwh]hgnet_stats_copy_basic_hw}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuhhhjuhMubj)}(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}(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}(hj$vhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!vubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&vmodnameN classnameNjj!)}j$]j')}jjusbc.gnet_stats_copy_basic_hwasbuh1hhjvubj)}(h h]h }(hjDvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjRvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hjkh]hd}(hj_vhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubj)}(h*struct gnet_stats_basic_sync __percpu *cpuh](h)}(hjh]hstruct}(hjwvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsvubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j@vc.gnet_stats_copy_basic_hwasbuh1hhjsvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsvubh__percpu}(hjsvhhhNhNubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsvubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsvubj%)}(hcpuh]hcpu}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubj)}(hstruct gnet_stats_basic_sync *bh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]j@vc.gnet_stats_copy_basic_hwasbuh1hhjvubj)}(h h]h }(hj5whhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjCwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hjsh]hb}(hjPwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubj)}(h bool runningh](j)}(hjTh]hbool}(hjhwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdwubj)}(h h]h }(hjuwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdwubj%)}(hrunningh]hrunning}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjuubeh}(h]h ]h"]h$]h&]j<j=uh1jhjuhhhjuhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjuhhhjuhMubah}(h]juah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjuhMhjuhhubjS)}(hhh]jX)}(h+copy basic hw statistics into statistic TLVh]h+copy basic hw statistics into statistic TLV}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjuhhhjuhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{uh1hhhhjbhNhNubj})}(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)}(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.chMhjwubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjwh]hstruct gnet_dump *d}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjwubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjxubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjwubj)}(hF``struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu h](j)}(h.``struct gnet_stats_basic_sync __percpu *cpu``h]j)}(hj'xh]h*struct gnet_stats_basic_sync __percpu *cpu}(hj)xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%xubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj!xubj)}(hhh]jX)}(hcopy statistic per cpuh]hcopy statistic per cpu}(hj@xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjh]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hjkh]hd}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(h*struct net_rate_estimator __rcu **rate_esth](h)}(hjh]hstruct}(hj4zhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0zubj)}(h h]h }(hjAzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0zubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjRzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTzmodnameN classnameNjj!)}j$]jyc.gnet_stats_copy_rate_estasbuh1hhj0zubj)}(h h]h }(hjpzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0zubh__rcu}(hj0zhhhNhNubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0zubj;)}(hj>h]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0zubj;)}(hj>h]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0zubj%)}(hrate_esth]hrate_est}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0zubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubeh}(h]h ]h"]h$]h&]j<j=uh1jhjyhhhjyhM)ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~yhhhjyhM)ubah}(h]jyyah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyhM)hj{yhhubjS)}(hhh]jX)}(h2copy rate estimator statistics into statistics TLVh]h2copy rate estimator statistics into statistics TLV}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM)hjzhhubah}(h]h ]h"]h$]h&]uh1jRhj{yhhhjyhM)ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhjbhNhNubj})}(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)}(hjzh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM-hjzubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hj{h]hstruct gnet_dump *d}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM*hj{ubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(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_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjN{h]h*struct net_rate_estimator __rcu **rate_est}(hjP{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM+hjH{ubj)}(hhh]jX)}(hrate estimatorh]hrate estimator}(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&]uh1jhjzubjX)}(h**Description**h]j)}(hj{h]h Description}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM-hjzubjX)}(h^Appends the rate estimator statistics to the top level TLV created by gnet_stats_start_copy().h]h^Appends the rate estimator statistics to the top level TLV created by gnet_stats_start_copy().}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM,hjzubjX)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM/hjzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_queue (C function)c.gnet_stats_copy_queuehNtauh1hhjbhhhNhNubh)}(hhh](h)}(hint gnet_stats_copy_queue (struct gnet_dump *d, struct gnet_stats_queue __percpu *cpu_q, struct gnet_stats_queue *q, __u32 qlen)h]h)}(hint gnet_stats_copy_queue(struct gnet_dump *d, struct gnet_stats_queue __percpu *cpu_q, struct gnet_stats_queue *q, __u32 qlen)h](j)}(hinth]hint}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMuubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhj{hMuubj)}(hgnet_stats_copy_queueh]j%)}(hgnet_stats_copy_queueh]hgnet_stats_copy_queue}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj{hhhj{hMuubj)}(hf(struct gnet_dump *d, struct gnet_stats_queue __percpu *cpu_q, struct gnet_stats_queue *q, __u32 qlen)h](j)}(hstruct gnet_dump *dh](h)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|ubj)}(h h]h }(hj'|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubh)}(hhh]j%)}(h gnet_dumph]h gnet_dump}(hj8|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:|modnameN classnameNjj!)}j$]j')}jj|sbc.gnet_stats_copy_queueasbuh1hhj|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%)}(hjkh]hd}(hjs|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubj)}(h'struct gnet_stats_queue __percpu *cpu_qh](h)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubh)}(hhh]j%)}(hgnet_stats_queueh]hgnet_stats_queue}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]jT|c.gnet_stats_copy_queueasbuh1hhj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubh__percpu}(hj|hhhNhNubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj;)}(hj>h]h*}(hj|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|ubj%)}(hcpu_qh]hcpu_q}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubj)}(hstruct gnet_stats_queue *qh](h)}(hjh]hstruct}(hj }hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj }ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj }ubh)}(hhh]j%)}(hgnet_stats_queueh]hgnet_stats_queue}(hj+}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-}modnameN classnameNjj!)}j$]jT|c.gnet_stats_copy_queueasbuh1hhj }ubj)}(h h]h }(hjI}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj }ubj;)}(hj>h]h*}(hjW}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj }ubj%)}(hqh]hq}(hjd}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj }ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubj)}(h __u32 qlenh](h)}(hhh]j%)}(h__u32h]h__u32}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]jT|c.gnet_stats_copy_queueasbuh1hhjy}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjy}ubj%)}(hqlenh]hqlen}(hj}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=uh1jhj{hhhj{hMuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{hhhj{hMuubah}(h]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{hMuhj{hhubjS)}(hhh]jX)}(h)copy queue statistics into statistics TLVh]h)copy queue statistics into statistics TLV}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMuhj}hhubah}(h]h ]h"]h$]h&]uh1jRhj{hhhj{hMuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhjbhNhNubj})}(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}(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.chMyhj}ubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hj~h]hstruct gnet_dump *d}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMvhj~ubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hj0~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,~hMvhj-~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj,~hMvhj~ubj)}(hE``struct gnet_stats_queue __percpu *cpu_q`` per cpu queue statistics h](j)}(h+``struct gnet_stats_queue __percpu *cpu_q``h]j)}(hjP~h]h'struct gnet_stats_queue __percpu *cpu_q}(hjR~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMwhjJ~ubj)}(hhh]jX)}(hper cpu queue statisticsh]hper cpu queue statistics}(hji~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhje~hMwhjf~ubah}(h]h ]h"]h$]h&]uh1jhjJ~ubeh}(h]h ]h"]h$]h&]uh1jhje~hMwhj~ubj)}(h0``struct gnet_stats_queue *q`` queue statistics h](j)}(h``struct gnet_stats_queue *q``h]j)}(hj~h]hstruct gnet_stats_queue *q}(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.chMxhj~ubj)}(hhh]jX)}(hqueue statisticsh]hqueue statistics}(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'``__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}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMyhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMyhj~ubeh}(h]h ]h"]h$]h&]uh1jhj}ubjX)}(h**Description**h]j)}(hj~h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM{hj}ubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMzhj}ubjX)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM~hj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h gnet_stats_copy_app (C function)c.gnet_stats_copy_apphNtauh1hhjbhhhNhNubh)}(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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhT/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 hjMhhhj_hMubj)}(hgnet_stats_copy_apph]j%)}(hgnet_stats_copy_apph]hgnet_stats_copy_app}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhj_hMubj)}(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')}jjtsbc.gnet_stats_copy_appasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjkh]hd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hvoid *sth](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsth]hst}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint lenh](j)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hjOhhhNhNubah}(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=uh1jhjMhhhj_hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIhhhj_hMubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj_hMhjFhhubjS)}(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&]uh1jRhjFhhhj_hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjbhNhNubj})}(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.chMhjubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjȀh]hstruct gnet_dump *d}(hjʀhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƀubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj€ubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj݀hMhjހubah}(h]h ]h"]h$]h&]uh1jhj€ubeh}(h]h ]h"]h$]h&]uh1jhj݀hMhjubj)}(h2``void *st`` application specific statistics data h](j)}(h ``void *st``h]j)}(hjh]hvoid *st}(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)}(h$application specific statistics datah]h$application specific statistics data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int len`` length of data h](j)}(h ``int len``h]j)}(hj:h]hint len}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhj4ubj)}(hhh]jX)}(hlength of datah]hlength of data}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubeh}(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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubjX)}(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.chMhjubjX)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#gnet_stats_finish_copy (C function)c.gnet_stats_finish_copyhNtauh1hhjbhhhNhNubh)}(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}(hjɁhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjŁhhhjׁhMubj)}(h(struct gnet_dump *d)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}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj&modnameN classnameNjj!)}j$]j')}jjsbc.gnet_stats_finish_copyasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjkh]hd}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjŁhhhjׁhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjׁhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjׁhMhjhhubjS)}(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&]uh1jRhjhhhjׁhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjbhNhNubj})}(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.chMhjubj)}(hhh]j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjɂh]hstruct gnet_dump *d}(hj˂hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǂubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjÂubj)}(hhh]jX)}(hdumping handleh]hdumping handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjނhMhj߂ubah}(h]h ]h"]h$]h&]uh1jhjÂubeh}(h]h ]h"]h$]h&]uh1jhjނhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**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.chMhjubjX)}(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.chMhjubjX)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_new_estimator (C function)c.gen_new_estimatorhNtauh1hhjbhhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKqubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjfhKqubj)}(hgen_new_estimatorh]j%)}(hgen_new_estimatorh]hgen_new_estimator}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjfhKqubj)}(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 }(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$]j')}jj{sbc.gen_new_estimatorasbuh1hhjubj)}(h h]h }(hjӃhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbstatsh]hbstats}(hjhhhNhNubah}(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}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]jσc.gen_new_estimatorasbuh1hhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh__percpu}(hjhhhNhNubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h cpu_bstatsh]h cpu_bstats}(hjphhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jσc.gen_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*}(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=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$]jσc.gen_new_estimatorasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlockh]hlock}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool runningh](j)}(hjTh]hbool}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj%)}(hrunningh]hrunning}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct nlattr *opth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnlattrh]hnlattr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jσc.gen_new_estimatorasbuh1hhjubj)}(h h]h }(hj݅hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hopth]hopt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjfhKqubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhjfhKqubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhKqhjMhhubjS)}(hhh]jX)}(hcreate a new rate estimatorh]hcreate a new rate estimator}(hj"hhhNhNubah}(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&]uh1jRhjMhhhjfhKqubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:jxj:jyjzj{uh1hhhhjbhNhNubj})}(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)}(hjDh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKuhj>ubj)}(hhh](j)}(h:``struct gnet_stats_basic_sync *bstats`` basic statistics h](j)}(h(``struct gnet_stats_basic_sync *bstats``h]j)}(hjch]h$struct gnet_stats_basic_sync *bstats}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(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}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhKrhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhKrhjZubj)}(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&]uh1jhjhKshjZubj)}(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.chKthjφubj)}(hhh]jX)}(hrate estimator statisticsh]hrate estimator statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKthjubah}(h]h ]h"]h$]h&]uh1jhjφubeh}(h]h ]h"]h$]h&]uh1jhjhKthjZubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKuhjubj)}(hhh]jX)}(h$lock for statistics and control pathh]h$lock for statistics and control path}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hKuhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hKuhjZubj)}(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)}(hjGh]h bool running}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKxhjAubj)}(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}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh" represents a running qdisc, thus }(hj`hhhNhNubj)}(h **bstats**h]hbstats}(hjzhhhNhNubah}(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&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hKxhjZubj)}(h8``struct nlattr *opt`` rate estimator configuration TLV h](j)}(h``struct nlattr *opt``h]j)}(hjh]hstruct nlattr *opt}(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.chKyhjubj)}(hhh]jX)}(h rate estimator configuration TLVh]h rate estimator configuration TLV}(hjЇhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj̇hKyhj͇ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̇hKyhjZubeh}(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:53: ./net/core/gen_estimator.chK{hj>ubjX)}(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 }(hjhhhNhNubh)}(h:c:type:`bstats`h]j)}(hjh]hbstats}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjbstatsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKzhjubh as source and }(hjhhhNhNubh)}(h:c:type:`rate_est`h]j)}(hj6h]hrate_est}(hj8hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjrate_estuh1hhj/hKzhjubh 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 }(hjhhhNhNubh)}(h:c:type:`bstats`h]j)}(hjYh]hbstats}(hj[hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjbstatsuh1hhj/hKzhjubh* and the estimated rate will be stored in }(hjhhhNhNubh)}(h:c:type:`rate_est`h]j)}(hj|h]hrate_est}(hj~hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjrate_estuh1hhj/hKzhjubh5 with the statistics lock grabbed during this period.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj/hKzhj>ubjX)}(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.chKhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_kill_estimator (C function)c.gen_kill_estimatorhNtauh1hhjbhhhNhNubh)}(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&]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_kill_estimatorh]j%)}(hgen_kill_estimatorh]hgen_kill_estimator}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjΈhhhjhKubj)}(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&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(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$]j')}jjsbc.gen_kill_estimatorasbuh1hhj ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh__rcu}(hj hhhNhNubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj;)}(hj>h]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hrate_esth]hrate_est}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjΈhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjʈhhhjhKubah}(h]jňah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjLjhhubjS)}(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&]uh1jRhjLjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjɉjxjɉjyjzj{uh1hhhhjbhNhNubj})}(h}**Parameters** ``struct net_rate_estimator __rcu **rate_est`` rate estimator **Description** Removes the rate estimator.h](jX)}(h**Parameters**h]j)}(hjӉh]h Parameters}(hjՉhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjщubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj͉ubj)}(hhh]j)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(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}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj͉ubjX)}(hRemoves the rate estimator.h]hRemoves the rate estimator.}(hjChhhNhNubah}(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|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gen_replace_estimator (C function)c.gen_replace_estimatorhNtauh1hhjbhhhNhNubh)}(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}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhjhKubj)}(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=uh1jhjnhhhjhKubj)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(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')}jjsbc.gen_replace_estimatorasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbstatsh]hbstats}(hjhhhNhNubah}(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}(hj!hhhNhNubah}(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}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]jc.gen_replace_estimatorasbuh1hhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh__percpu}(hjhhhNhNubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj}hhhNhNubah}(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}(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 reftargetjËmodnameN classnameNjj!)}j$]jc.gen_replace_estimatorasbuh1hhjubj)}(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*}(hj hhhNhNubah}(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}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]jc.gen_replace_estimatorasbuh1hhj.ubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hlockh]hlock}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct nlattr *opth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjȌhhhNhNubah}(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$]jc.gen_replace_estimatorasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hopth]hopt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjjhhhjhKubah}(h]jeah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjghhubjS)}(hhh]jX)}(h$replace rate estimator configurationh]h$replace rate estimator configuration}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj9hhubah}(h]h ]h"]h$]h&]uh1jRhjghhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{uh1hhhhjbhNhNubj})}(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.chKhjXubj)}(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}(hjhhhNhNubah}(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.chKhjwubj)}(hhh]jX)}(hbasic statisticsh]hbasic statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhKhjtubj)}(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.chKhjubj)}(hhh]jX)}(hbstats per cpuh]hbstats per cpu}(hjύhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjˍhKhj̍ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjˍhKhjtubj)}(hI``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics 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 estimator statisticsh]hrate estimator statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjtubj)}(h:``spinlock_t *lock`` lock for statistics and control path h](j)}(h``spinlock_t *lock``h]j)}(hj(h]hspinlock_t *lock}(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)}(h$lock for statistics and control pathh]h$lock for statistics and control path}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hKhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hKhjtubj)}(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)}(hjah]h bool running}(hjchhhNhNubah}(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 }(hjzhhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh" represents a running qdisc, thus }(hjzhhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubhB’ internal values might change during basic reads. Only used if }(hjzhhhNhNubj)}(h**cpu_bstats**h]h cpu_bstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh is NULL}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhKhjtubj)}(h8``struct nlattr *opt`` rate estimator configuration TLV h](j)}(h``struct nlattr *opt``h]j)}(hjюh]hstruct nlattr *opt}(hjӎhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjώubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjˎubj)}(hhh]jX)}(h rate estimator configuration TLVh]h rate estimator configuration TLV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjˎubeh}(h]h ]h"]h$]h&]uh1jhjhKhjtubeh}(h]h ]h"]h$]h&]uh1jhjXubjX)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjXubjX)}(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().}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjXubjX)}(h.Returns 0 on success or a negative error code.h]h.Returns 0 on success or a negative error code.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!gen_estimator_active (C function)c.gen_estimator_activehNtauh1hhjbhhhNhNubh)}(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 }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjmhKubj)}(hgen_estimator_activeh]j%)}(hgen_estimator_activeh]hgen_estimator_active}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\hhhjmhKubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.gen_estimator_activeasbuh1hhjubj)}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj\hhhjmhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhjmhKubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhKhjUhhubjS)}(hhh]jX)}(h%test if estimator is currently in useh]h%test if estimator is currently in use}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj;hhubah}(h]h ]h"]h$]h&]uh1jRhjUhhhjmhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVjxjVjyjzj{uh1hhhhjbhNhNubj})}(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}(hjbhhhNhNubah}(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.chKhjZubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjyubj)}(hhh]jX)}(hrate estimatorh]hrate estimator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhKhjvubah}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjZubjX)}(h6Returns true if estimator is active, and false if not.h]h6Returns true if estimator is active, and false if not.}(hjАhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjbhhhNhNubeh}(h]generic-network-statisticsah ]h"]generic network statisticsah$]h&]uh1hhhhhhhhK-ubh)}(hhh](h)}(hSUN RPC subsystemh]hSUN RPC subsystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK9ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xdr_encode_opaque_fixed (C function)c.xdr_encode_opaque_fixedhNtauh1hhjhhhNhNubh)}(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_fixedasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK)ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj<hK)ubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj<hK)ubj)}(hxdr_encode_opaque_fixedh]j%)}(hj9h]hxdr_encode_opaque_fixed}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj<hK)ubj)}(h1(__be32 *p, const void *ptr, unsigned int nbytes)h](j)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j7c.xdr_encode_opaque_fixedasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hjGh]hp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubj)}(hconst void *ptrh](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}(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%)}(hptrh]hptr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjǑubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubj)}(hunsigned int nbytesh](j)}(hunsignedh]hunsigned}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(hnbytesh]hnbytes}(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<hK)ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj<hK)ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<hK)hj hhubjS)}(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&]uh1jRhj hhhj<hK)ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(hj˒h]h __be32 *p}(hj͒hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɒubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK*hjŒubj)}(hhh]jX)}(h*pointer to current position in XDR buffer.h]h*pointer to current position in XDR buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhK*hjubah}(h]h ]h"]h$]h&]uh1jhjŒubeh}(h]h ]h"]h$]h&]uh1jhjhK*hj’ubj)}(h8``const void *ptr`` pointer to data to encode (or NULL) h](j)}(h``const void *ptr``h]j)}(hjh]hconst void *ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK+hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK+hj’ubj)}(h&``unsigned int nbytes`` size of data. h](j)}(h``unsigned int nbytes``h]j)}(hj=h]hunsigned int nbytes}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK,hj7ubj)}(hhh]jX)}(h size of data.h]h size of data.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhK,hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhK,hj’ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjxh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK1hjubjX)}(h.if ptr is NULL, only the padding is performed.h]h.if ptr is NULL, only the padding is performed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK1hjubjX)}(h/Returns the updated current XDR buffer positionh]h/Returns the updated current XDR buffer position}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_encode_opaque (C function)c.xdr_encode_opaquehNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jxdr_encode_opaquesbc.xdr_encode_opaqueasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKGubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhKGubj)}(hxdr_encode_opaqueh]j%)}(hjh]hxdr_encode_opaque}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKGubj)}(h1(__be32 *p, const void *ptr, unsigned int nbytes)h](j)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]jc.xdr_encode_opaqueasbuh1hhjNubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hjGh]hp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubj)}(hconst void *ptrh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjϔhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjݔhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hptrh]hptr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJubj)}(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 }(hj-hhhNhNubah}(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=uh1jhjJubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKGubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKGhjhhubjS)}(hhh]jX)}(h"Encode variable length opaque datah]h"Encode variable length opaque data}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKGhjbhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhjhNhNubj})}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKHhjubj)}(hhh]jX)}(h*pointer to current position in XDR buffer.h]h*pointer to current position in XDR buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKHhjubj)}(h8``const void *ptr`` pointer to data to encode (or NULL) h](j)}(h``const void *ptr``h]j)}(hjߕh]hconst void *ptr}(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.chKIhjٕubj)}(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&]uh1jWhjhKIhjubah}(h]h ]h"]h$]h&]uh1jhjٕubeh}(h]h ]h"]h$]h&]uh1jhjhKIhjubj)}(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.chKJhjubj)}(hhh]jX)}(h size of data.h]h size of data.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hKJhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hKJhjubeh}(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&]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}(hjihhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xdr_terminate_string (C function)c.xdr_terminate_stringhNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhK]ubj)}(h*(const struct xdr_buf *buf, const u32 len)h](j)}(hconst struct xdr_buf *bufh](h)}(hjh]hconst}(hjՖhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjіubj)}(h h]h }(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%)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_terminate_stringasbuh1hhjіubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjіubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjіubj%)}(hbufh]hbuf}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjіubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj͖ubj)}(h const u32 lenh](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%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j*c.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=uh1jhj͖ubeh}(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&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(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.chKahjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK^hjubj)}(hhh]jX)}(hXDR buffer where string residesh]hXDR buffer where string resides}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hK^hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hK^hjubj)}(h,``const u32 len`` length of string, in bytesh](j)}(h``const u32 len``h]j)}(hjPh]h const u32 len}(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.chK`hjJubj)}(hhh]jX)}(hlength of string, in bytesh]hlength of string, in bytes}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK_hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehK`hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_to_bvec (C function)c.xdr_buf_to_bvechNtauh1hhjhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hinth]hint}(hjǘhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubj)}(h h]h }(hj՘hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hxdr_buf_to_bvech]j%)}(hxdr_buf_to_bvech]hxdr_buf_to_bvec}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(hI(struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h](j)}(hstruct bio_vec *bvech](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hbio_vech]hbio_vec}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#modnameN classnameNjj!)}j$]j')}jjsbc.xdr_buf_to_bvecasbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbvech]hbvec}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int bvec_sizeh](j)}(hunsignedh]hunsigned}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj%)}(h bvec_sizeh]h bvec_size}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj™ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj™ubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j=c.xdr_buf_to_bvecasbuh1hhj™ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj™ubj;)}(hj>h]h*}(hj+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj™ubj%)}(hxdrh]hxdr}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj™ubeh}(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)}(h2Copy components of an xdr_buf into a bio_vec arrayh]h2Copy components of an xdr_buf into a bio_vec array}(hjbhhhNhNubah}(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&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhjhNhNubj})}(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.chKhj~ubj)}(hhh](j)}(h3``struct bio_vec *bvec`` bio_vec array to populate h](j)}(h``struct bio_vec *bvec``h]j)}(hjh]hstruct bio_vec *bvec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jX)}(hbio_vec array to populateh]hbio_vec array to populate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h8``unsigned int bvec_size`` element count of **bio_vec** h](j)}(h``unsigned int bvec_size``h]j)}(hjܚh]hunsigned int bvec_size}(hjޚhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjښubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj֚ubj)}(hhh]jX)}(helement count of **bio_vec**h](helement count of }(hjhhhNhNubj)}(h **bio_vec**h]hbio_vec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj֚ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h3``const struct xdr_buf *xdr`` xdr_buf to be copied h](j)}(h``const struct xdr_buf *xdr``h]j)}(hj#h]hconst struct xdr_buf *xdr}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(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}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hKhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hKhjubeh}(h]h ]h"]h$]h&]uh1jhj~ubjX)}(h**Description**h]j)}(hj^h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj~ubjX)}(h3Returns the number of entries consumed in **bvec**.h](h*Returns the number of entries consumed in }(hjthhhNhNubj)}(h**bvec**h]hbvec}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_pages (C function)c.xdr_inline_pageshNtauh1hhjhhhNhNubh)}(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}(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$]j')}jj؛sbc.xdr_inline_pagesasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int offseth](j)}(hunsignedh]hunsigned}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj%)}(hoffseth]hoffset}(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 }(hjœhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hpageh]hpage}(hjӜhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjМubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj՜modnameN classnameNjj!)}j$]j,c.xdr_inline_pagesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int baseh](j)}(hunsignedh]hunsigned}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj%)}(hbaseh]hbase}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(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=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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjÛhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct xdr_buf *xdr`` xdr_buf into which reply will be placed ``unsigned int offset`` expected offset where data payload will start, in bytes ``struct page **pages`` vector of struct page pointers ``unsigned int base`` offset in first page where receive should start, in bytes ``unsigned int len`` expected size of the upper layer data payload, in bytesh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh](j)}(h@``struct xdr_buf *xdr`` xdr_buf into which reply will be placed h](j)}(h``struct xdr_buf *xdr``h]j)}(hj&h]hstruct xdr_buf *xdr}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj ubj)}(hhh]jX)}(h'xdr_buf into which reply will be placedh]h'xdr_buf into which reply will be placed}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hKhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hKhjubj)}(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}(hjahhhNhNubah}(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.chKhjYubj)}(hhh]jX)}(h7expected offset where data payload will start, in bytesh]h7expected offset where data payload will start, in bytes}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthKhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthKhjubj)}(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)}(hjўh]hunsigned int base}(hjӞhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϞubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj˞ubj)}(hhh]jX)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj˞ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hL``unsigned int len`` expected size of the upper layer data payload, in bytesh](j)}(h``unsigned int len``h]j)}(hj h]hunsigned int len}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jX)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_copy_from_pages (C function)c._copy_from_pageshNtauh1hhjhhhNhNubh)}(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}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhjrhMubj)}(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`hhhjrhMubj)}(h9(char *p, struct page **pages, size_t pgbase, size_t len)h](j)}(hchar *ph](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjGh]hp}(hjʟhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct page **pagesh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjޟubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjޟubh)}(hhh]j%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc._copy_from_pagesasbuh1hhjޟubj)}(h h]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%)}(hpagesh]hpages}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjޟubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t pgbaseh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN 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_pagesasbuh1hhjubj)}(h h]h }(hjʠhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjؠhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj`hhhjrhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\hhhjrhMubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrhMhjYhhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjYhhhjrhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjhNhNubj})}(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)}(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#``char *p`` pointer to destination h](j)}(h ``char *p``h]j)}(hj4h]hchar *p}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj.ubj)}(hhh]jX)}(hpointer to destinationh]hpointer to destination}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhj+ubj)}(h'``struct page **pages`` array of pages h](j)}(h``struct page **pages``h]j)}(hjmh]hstruct page **pages}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjgubj)}(hhh]jX)}(harray of pagesh]harray of pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhj+ubj)}(h(``size_t pgbase`` offset of source data h](j)}(h``size_t pgbase``h]j)}(hjh]h size_t pgbase}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hoffset of source datah]hoffset of source data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj+ubj)}(h``size_t len`` length h](j)}(h``size_t len``h]j)}(hjߡh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݡubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj١ubj)}(hhh]jX)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj١ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj+ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjX)}(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.}(hj0hhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_pos (C function)c.xdr_stream_poshNtauh1hhjhhhNhNubh)}(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 }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhjmhMyubj)}(hinth]hint}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhjmhMyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhjmhMyubj)}(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[hhhjmhMyubj)}(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 }(hjŢhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjӢhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h 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_posasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(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[hhhjmhMyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjmhMyubah}(h]jRah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhMyhjThhubjS)}(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}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhjShhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjmhMyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjnjxjnjyjzj{uh1hhhhjhNhNubj})}(hO**Parameters** ``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](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.chM}hjrubj)}(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&]uh1jhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_page_pos (C function)c.xdr_page_poshNtauh1hhjhhhNhNubh)}(hhh](h)}(h8unsigned int xdr_page_pos (const struct xdr_stream *xdr)h]h)}(h7unsigned int xdr_page_pos(const struct xdr_stream *xdr)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h xdr_page_posh]j%)}(h xdr_page_posh]h xdr_page_pos}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(const struct xdr_stream *xdr)h]j)}(hconst struct xdr_stream *xdrh](h)}(hjh]hconst}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj0sbc.xdr_page_posasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h9Return the current offset from the start of the xdr pagesh]h9Return the current offset from the start of the xdr pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hO**Parameters** ``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]j)}(h=``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](j)}(h ``const struct xdr_stream *xdr``h]j)}(hj)h]hconst struct xdr_stream *xdr}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj#ubj)}(hhh]jX)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hjBhhhNhNubah}(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>hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_encode (C function)c.xdr_init_encodehNtauh1hhjhhhNhNubh)}(hhh](h)}(hdvoid xdr_init_encode (struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h]h)}(hcvoid xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_init_encodeh]j%)}(hxdr_init_encodeh]hxdr_init_encode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hO(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(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 reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_init_encodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]jc.xdr_init_encodeasbuh1hhj.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%)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.xdr_init_encodeasbuh1hhjubj)}(h h]h }(hjæhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjѦhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjGh]hp}(hjަhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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_encodeasbuh1hhjubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrqsth]hrqst}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{hhhjhMubah}(h]jvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjxhhubjS)}(hhh]jX)}(h0Initialize a struct xdr_stream for sending data.h]h0Initialize a struct xdr_stream for sending data.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjthhubah}(h]h ]h"]h$]h&]uh1jRhjxhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjѧhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjͧhMhjΧubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͧhMhjubj)}(hF``struct xdr_buf *buf`` pointer to XDR buffer in which to encode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjh]hstruct xdr_buf *buf}(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 in which to encode datah]h-pointer to XDR buffer in which to encode data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``__be32 *p`` current pointer inside XDR buffer h](j)}(h ``__be32 *p``h]j)}(hj*h]h __be32 *p}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj$ubj)}(hhh]jX)}(h!current pointer inside XDR bufferh]h!current pointer inside XDR buffer}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjubj)}(hI``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debugging h](j)}(h``struct rpc_rqst *rqst``h]j)}(hjch]hstruct rpc_rqst *rqst}(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)}(h.pointer to controlling rpc_rqst, for debuggingh]h.pointer to controlling rpc_rqst, for debugging}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjubeh}(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}(hjhhhNhNubah}(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.}(hjͨhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjʨubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɨhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_encode_pages (C function)c.xdr_init_encode_pageshNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj)}(hxdr_init_encode_pagesh]j%)}(hxdr_init_encode_pagesh]hxdr_init_encode_pages}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h-(struct xdr_stream *xdr, struct xdr_buf *buf)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j')}jj1sbc.xdr_init_encode_pagesasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(hstruct xdr_buf *bufh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjʩhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hj۩hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjةubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjݩmodnameN classnameNjj!)}j$]jc.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%)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h0Initialize an xdr_stream for encoding into pagesh]h0Initialize an xdr_stream for encoding into pages}(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&]jvjqjwjVjxjVjyjzj{uh1hhhhjhNhNubj})}(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}(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.chMhjZubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjyubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubj)}(hG``struct xdr_buf *buf`` pointer to XDR buffer into which to encode datah](j)}(h``struct xdr_buf *buf``h]j)}(hjh]hstruct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h/pointer to XDR buffer into which to encode datah]h/pointer to XDR buffer into which to encode data}(hjѪhhhNhNubah}(h]h ]h"]h$]h&]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ͪhMhjvubeh}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __xdr_commit_encode (C function)c.__xdr_commit_encodehNtauh1hhjhhhNhNubh)}(hhh](h)}(h1void __xdr_commit_encode (struct xdr_stream *xdr)h]h)}(h0void __xdr_commit_encode(struct xdr_stream *xdr)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(h__xdr_commit_encodeh]j%)}(h__xdr_commit_encodeh]h__xdr_commit_encode}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMubj)}(h(struct xdr_stream *xdr)h]j)}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}jj5sbc.__xdr_commit_encodeasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhjhhubjS)}(hhh]jX)}(h$Ensure all data is written to bufferh]h$Ensure all data is written to buffer}(hjҫhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjϫhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(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.chMhj ubj)}(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&]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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjX)}(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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjX)}(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.}(hjshhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_reserve_space (C function)c.xdr_reserve_spacehNtauh1hhjhhhNhNubh)}(hhh](h)}(hB__be32 * xdr_reserve_space (struct xdr_stream *xdr, size_t nbytes)h]h)}(h@__be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes)h](h)}(hhh]j%)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jxdr_reserve_spacesbc.xdr_reserve_spaceasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM'ubj)}(h h]h }(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]jc.xdr_reserve_spaceasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjXhhhNhNubah}(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}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]jc.xdr_reserve_spaceasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj%)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjƬhM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjƬhM'ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjƬhM'hjhhubjS)}(hhh]jX)}(h Reserve buffer space for sendingh]h Reserve buffer space for sending}(hjʭhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM'hjǭhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjƬhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(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)}(hj h]hstruct xdr_stream *xdr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM(hjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(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-``size_t nbytes`` number of bytes to reserve h](j)}(h``size_t nbytes``h]j)}(hjDh]h size_t nbytes}(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.chM)hj>ubj)}(hhh]jX)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhM)hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM)hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM+hjubjX)}(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*hjubjX)}(hX+The returned pointer is valid only until the next call to xdr_reserve_space() or xdr_commit_encode() on **xdr**. The current implementation of this API guarantees that space reserved for a four-byte data item remains valid until **xdr** is destroyed, but that might not always be true in the future.h](hhThe returned pointer is valid only until the next call to xdr_reserve_space() or xdr_commit_encode() on }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhv. The current implementation of this API guarantees that space reserved for a four-byte data item remains valid until }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh? is destroyed, but that might not always be true in the future.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM.hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_reserve_space_vec (C function)c.xdr_reserve_space_vechNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMLubj)}(hxdr_reserve_space_vech]j%)}(hxdr_reserve_space_vech]hxdr_reserve_space_vec}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMLubj)}(h'(struct xdr_stream *xdr, size_t nbytes)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_reserve_space_vecasbuh1hhj0ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubj)}(h size_t nbytesh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jnc.xdr_reserve_space_vecasbuh1hhjubj)}(h h]h }(hjǯhhhNhNubah}(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=uh1jhjhhhjhMLubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMLubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMLhjhhubjS)}(hhh]jX)}(h3Reserves a large amount of buffer space for sendingh]h3Reserves a large amount of buffer space for sending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMLhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMLubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPhjubj)}(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}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMMhj:ubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMMhj7ubj)}(h-``size_t nbytes`` number of bytes to reserve h](j)}(h``size_t nbytes``h]j)}(hjyh]h size_t nbytes}(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.chMNhjsubj)}(hhh]jX)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMNhj7ubeh}(h]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.}(hjʰhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMOhjubj)}(hhh]j)}(hUReturn values: ``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](j)}(hReturn values:h]hReturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMThjܰubj)}(hhh]jX)}(hF``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](j)}(h``0``h]h0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh : success }(hjhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh#: not enough space is available in }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_encode (C function)c.xdr_truncate_encodehNtauh1hhjhhhNhNubh)}(hhh](h)}(h=void xdr_truncate_encode (struct xdr_stream *xdr, size_t len)h]h)}(hh]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 lenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jױc.xdr_truncate_encodeasbuh1hhj ubj)}(h h]h }(hj0hhhNhNubah}(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\hhhjnhMwubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhjnhMwubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhMwhjUhhubjS)}(hhh]jX)}(htruncate an encode bufferh]htruncate an encode buffer}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMwhjehhubah}(h]h ]h"]h$]h&]uh1jRhjUhhhjnhMwubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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.chMxhjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hj²hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(h$``size_t len`` new length of buffer h](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhjܲubj)}(hhh]jX)}(hnew length of bufferh]hnew length of buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhjܲubeh}(h]h ]h"]h$]h&]uh1jhjhMyhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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.}(hj3hhhNhNubah}(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.}(hjBhhhNhNubah}(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 }(hjQhhhNhNubjz)}(h*not*h]hnot}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jzhjQubh 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.}(hjQhhhNhNubeh}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_decode (C function)c.xdr_truncate_decodehNtauh1hhjhhhNhNubh)}(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:hj˳ubj%)}(hxdrh]hxdr}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj˳ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdzubj)}(h size_t lenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j c.xdr_truncate_decodeasbuh1hhj=ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj%)}(hlenh]hlen}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdzubeh}(h]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{uh1hhhhjhNhNubj})}(hu**Parameters** ``struct xdr_stream *xdr`` pointer to struct xdr_stream ``size_t len`` Number of bytes to removeh](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 struct xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hj۴h]hstruct xdr_stream *xdr}(hjݴhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjٴubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjմubj)}(hhh]jX)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjմubeh}(h]h ]h"]h$]h&]uh1jhjhMhjҴubj)}(h(``size_t len`` Number of bytes to removeh](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hNumber of bytes to removeh]hNumber of bytes to remove}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjҴubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_restrict_buflen (C function)c.xdr_restrict_buflenhNtauh1hhjhhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhj|hMubj)}(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=uh1jhjjhhhj|hMubj)}(h'(struct xdr_stream *xdr, int newbuflen)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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_restrict_buflenasbuh1hhjubj)}(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 int newbuflenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h newbuflenh]h newbuflen}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjjhhhj|hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfhhhj|hMubah}(h]jaah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj|hMhjchhubjS)}(hhh]jX)}(hdecrease available buffer spaceh]hdecrease available buffer space}(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&]uh1jRhjchhhj|hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{jxj{jyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``int newbuflen`` new maximum number of bytes available **Description** Adjust our idea of how much space is available in the buffer. If we've already used too much space in the buffer, returns -1. If the available space is already smaller than newbuflen, returns 0 and does nothing. Otherwise, adjusts xdr->buf->buflen to newbuflen and ensures xdr->end is set at most offset newbuflen from the start of the buffer.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``int newbuflen`` new maximum number of bytes available h](j)}(h``int newbuflen``h]j)}(hjݶh]h int newbuflen}(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%new maximum number of bytes availableh]h%new maximum number of bytes available}(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&]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.}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_write_pages (C function)c.xdr_write_pageshNtauh1hhjhhhNhNubh)}(hhh](h)}(hgvoid xdr_write_pages (struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h]h)}(hfvoid xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h](j)}(hvoidh]hvoid}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYhhhjkhMubj)}(hxdr_write_pagesh]j%)}(hxdr_write_pagesh]hxdr_write_pages}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjkhMubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_write_pagesasbuh1hhjubj)}(h h]h }(hjطhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct page **pagesh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hpageh]hpage}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,modnameN classnameNjj!)}j$]jԷc.xdr_write_pagesasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpagesh]hpages}(hjphhhNhNubah}(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 }(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}(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=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)}(h5Insert a list of pages into an XDR buffer for sendingh]h5Insert a list of pages into an XDR buffer for sending}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj9hhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjkhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``struct page **pages`` array of pages to insert ``unsigned int base`` starting offset of first data byte in **pages** ``unsigned int len`` number of data bytes in **pages** to insert **Description** After the **pages** are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.h](jX)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjXubj)}(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.chMhjwubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h1``struct page **pages`` array of pages to insert h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(harray of pages to inserth]harray of pages to insert}(hjϹhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj˹hMhj̹ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˹hMhjtubj)}(hF``unsigned int base`` starting offset of first data byte in **pages** h](j)}(h``unsigned int base``h]j)}(hjh]hunsigned int base}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h/starting offset of first data byte in **pages**h](h&starting offset of first data byte in }(hjhhhNhNubj)}(h **pages**h]hpages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(hA``unsigned int len`` number of data bytes in **pages** to insert h](j)}(h``unsigned int len``h]j)}(hj6h]hunsigned int len}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj0ubj)}(hhh]jX)}(h+number of data bytes in **pages** to inserth](hnumber of data bytes in }(hjOhhhNhNubj)}(h **pages**h]hpages}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh to insert}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjtubeh}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjXubjX)}(hAfter the **pages** are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.h](h After the }(hjhhhNhNubj)}(h **pages**h]hpages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_decode (C function)c.xdr_init_decodehNtauh1hhjhhhNhNubh)}(hhh](h)}(hdvoid xdr_init_decode (struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h]h)}(hcvoid xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](j)}(hvoidh]hvoid}(hjںhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjֺhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjֺhhhjhMuubj)}(hxdr_init_decodeh]j%)}(hxdr_init_decodeh]hxdr_init_decode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjֺhhhjhMuubj)}(hO(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jjsbc.xdr_init_decodeasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct xdr_buf *bufh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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$]jQc.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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h __be32 *ph](h)}(hhh]j%)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jQc.xdr_init_decodeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjGh]hp}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct rpc_rqst *rqsth](h)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]jQc.xdr_init_decodeasbuh1hhjIubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hrqsth]hrqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(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+Initialize an xdr_stream for decoding data.h]h+Initialize an xdr_stream for decoding data.}(hjμhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMuhj˼hhubah}(h]h ]h"]h$]h&]uh1jRhjϺhhhjhMuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(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.chMyhjubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMvhj ubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMvhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMvhjubj)}(hH``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjHh]hstruct xdr_buf *buf}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMwhjBubj)}(hhh]jX)}(h/pointer to XDR buffer from which to decode datah]h/pointer to XDR buffer from which to decode data}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMwhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMwhjubj)}(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.chMxhj{ubj)}(hhh]jX)}(h!current pointer inside XDR bufferh]h!current pointer inside XDR buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(hH``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debuggingh](j)}(h``struct rpc_rqst *rqst``h]j)}(hjh]hstruct rpc_rqst *rqst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMzhjubj)}(hhh]jX)}(h.pointer to controlling rpc_rqst, for debuggingh]h.pointer to controlling rpc_rqst, for debugging}(hjӽhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhjнubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϽhMzhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_decode_pages (C function)c.xdr_init_decode_pageshNtauh1hhjhhhNhNubh)}(hhh](h)}(hovoid xdr_init_decode_pages (struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h]h)}(hnvoid xdr_init_decode_pages(struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj"hMubj)}(hxdr_init_decode_pagesh]j%)}(hxdr_init_decode_pagesh]hxdr_init_decode_pages}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj"hMubj)}(hT(struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j')}jj7sbc.xdr_init_decode_pagesasbuh1hhjMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(hstruct xdr_buf *bufh](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%)}(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_decode_pagesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(hstruct page **pagesh](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hhh]j%)}(hpageh]hpage}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]jc.xdr_init_decode_pagesasbuh1hhj/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;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj%)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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)}(h0Initialize an xdr_stream for decoding into pagesh]h0Initialize an xdr_stream for decoding into pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj"hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhjhNhNubj})}(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)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj.ubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct 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.chMhjMubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjJubj)}(hH``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjh]hstruct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h/pointer to XDR buffer from which to decode datah]h/pointer to XDR buffer from which to decode data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjJubj)}(h5``struct page **pages`` list of pages to decode into h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hlist of pages to decode intoh]hlist of pages to decode into}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjJubj)}(h7``unsigned int len`` length in bytes of buffer in pagesh](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"length in bytes of buffer in pagesh]h"length in bytes of buffer in pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjJubeh}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_finish_decode (C function)c.xdr_finish_decodehNtauh1hhjhhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjfhMubj)}(hxdr_finish_decodeh]j%)}(hxdr_finish_decodeh]hxdr_finish_decode}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjfhMubj)}(h(struct xdr_stream *xdr)h]j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj{sbc.xdr_finish_decodeasbuh1hhjubj)}(h h]h }(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=uh1jhjThhhjfhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhjfhMubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhMhjMhhubjS)}(hhh]jX)}(h,Clean up the xdr_stream after decoding data.h]h,Clean up the xdr_stream after decoding data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhjfhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhjhNhNubj})}(hI**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream structh](jX)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj4ubj)}(hhh]j)}(h7``struct xdr_stream *xdr`` pointer to xdr_stream structh](j)}(h``struct xdr_stream *xdr``h]j)}(hjYh]hstruct xdr_stream *xdr}(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)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_decode (C function)c.xdr_inline_decodehNtauh1hhjhhhNhNubh)}(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 reftargetjmodnameN 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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hxdr_inline_decodeh]j%)}(hjh]hxdr_inline_decode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]jc.xdr_inline_decodeasbuh1hhjubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h size_t nbytesh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.xdr_inline_decodeasbuh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj%)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hRetrieve XDR data to decodeh]hRetrieve XDR data to decode}(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{uh1hhhhjhNhNubj})}(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)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(h4``size_t nbytes`` number of bytes of data to decode h](j)}(h``size_t nbytes``h]j)}(hjUh]h size_t nbytes}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjOubj)}(hhh]jX)}(h!number of bytes of data to decodeh]h!number of bytes of data to decode}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjX)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_read_pages (C function)c.xdr_read_pageshNtauh1hhjhhhNhNubh)}(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}(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_read_pagesh]j%)}(hxdr_read_pagesh]hxdr_read_pages}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h*(struct xdr_stream *xdr, unsigned int len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_read_pagesasbuh1hhj*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%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h5align page-based XDR data to current pointer positionh]h5align page-based XDR data to current pointer position}(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{uh1hhhhjhNhNubj})}(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)}(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 xdr_stream struct 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 xdr_stream structh]hpointer to xdr_stream struct}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj:ubj)}(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&]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 of page datah]hnumber of bytes of page data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(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&]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 + }(hjhhhNhNubj)}(h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes is moved into the XDR tail[]. The xdr_stream current position is then advanced past that data to align to the next XDR object in the tail.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.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}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_set_pagelen (C function)c.xdr_set_pagelenhNtauh1hhjhhhNhNubh)}(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 }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj+hM2ubj)}(hxdr_set_pagelenh]j%)}(hxdr_set_pagelenh]hxdr_set_pagelen}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj+hM2ubj)}(h*(struct xdr_stream *xdr, unsigned int len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]j')}jj@sbc.xdr_set_pagelenasbuh1hhjVubj)}(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 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=uh1jhjRubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj+hM2ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj+hM2ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj+hM2hjhhubjS)}(hhh]jX)}(h Sets the length of the XDR pagesh]h Sets the length of the XDR pages}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM2hj+hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj+hM2ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFjxjFjyjzj{uh1hhhhjhNhNubj})}(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)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM6hjJubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjoh]hstruct xdr_stream *xdr}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM3hjiubj)}(hhh]jX)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjfubj)}(h5``unsigned int len`` new length of the XDR page data h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM4hjubj)}(hhh]jX)}(hnew length of the XDR page datah]hnew length of the XDR page data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjfubeh}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM6hjJubjX)}(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 }(hjhhhNhNubj)}(h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM5hjJubjX)}(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.chM9hjJubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_enter_page (C function)c.xdr_enter_pagehNtauh1hhjhhhNhNubh)}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhjWhMPubj)}(hxdr_enter_pageh]j%)}(hxdr_enter_pageh]hxdr_enter_page}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjWhMPubj)}(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')}jjlsbc.xdr_enter_pageasbuh1hhjubj)}(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=uh1jhj~ubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjEhhhjWhMPubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjWhMPubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhMPhj>hhubjS)}(hhh]jX)}(hdecode data from the XDR pageh]hdecode data from the XDR page}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPhjWhhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhjWhMPubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrjxjrjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``unsigned int len`` number of bytes of page data **Description** Moves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + "len" bytes is moved into the XDR tail[]. The current pointer is then repositioned at the beginning of the first XDR page.h](jX)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMThjvubj)}(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)}(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.chMRhjubj)}(hhh]jX)}(hnumber of bytes of page datah]hnumber of bytes of page data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubeh}(h]h ]h"]h$]h&]uh1jhjvubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMThjvubjX)}(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.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMShjvubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_subsegment (C function)c.xdr_buf_subsegmenthNtauh1hhjhhhNhNubh)}(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}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMqubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhhhjbhMqubj)}(hxdr_buf_subsegmenth]j%)}(hxdr_buf_subsegmenth]hxdr_buf_subsegment}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPhhhjbhMqubj)}(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 }(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')}jjwsbc.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%)}(hbufh]hbuf}(hjhhhNhNubah}(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 }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hxdr_bufh]hxdr_buf}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]jc.xdr_buf_subsegmentasbuh1hhjubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsubbufh]hsubbuf}(hjuhhhNhNubah}(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 }(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjPhhhjbhMqubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhjbhMqubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhMqhjIhhubjS)}(hhh]jX)}(hset subbuf to a portion of bufh]hset subbuf to a portion of buf}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMqhj>hhubah}(h]h ]h"]h$]h&]uh1jRhjIhhhjbhMqubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhjhNhNubj})}(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)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMuhj]ubj)}(hhh](j)}(h,``const struct xdr_buf *buf`` an xdr buffer h](j)}(h``const struct xdr_buf *buf``h]j)}(hjh]hconst struct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMrhj|ubj)}(hhh]jX)}(h an xdr bufferh]h an xdr buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjyubj)}(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.chMshjubj)}(hhh]jX)}(hthe result bufferh]hthe result buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjyubj)}(h2``unsigned int base`` beginning of range in bytes h](j)}(h``unsigned int base``h]j)}(hjh]hunsigned int base}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMthjubj)}(hhh]jX)}(hbeginning of range in bytesh]hbeginning of range in bytes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMthj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMthjyubj)}(h.``unsigned int len`` length of range in bytes 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.chMuhj'ubj)}(hhh]jX)}(hlength of range in bytesh]hlength of range in bytes}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMuhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMuhjyubeh}(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&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMwhj]ubjX)}(hssets **subbuf** to an xdr buffer representing the portion of **buf** of length **len** starting at offset **base**.h](hsets }(hj~hhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh. to an xdr buffer representing the portion of }(hj~hhhNhNubj)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh of length }(hj~hhhNhNubj)}(h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh starting at offset }(hj~hhhNhNubj)}(h**base**h]hbase}(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.chMvhj]ubjX)}(hB**buf** and **subbuf** may be pointers to the same struct xdr_buf.h](j)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, may be pointers to the same struct xdr_buf.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMyhj]ubjX)}(h/Returns -1 if base or length are out of bounds.h]h/Returns -1 if base or length are out of bounds.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM{hj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_stream_subsegment (C function)c.xdr_stream_subsegmenthNtauh1hhjhhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/hhhj@hMubj)}(hxdr_stream_subsegmenth]j%)}(hxdr_stream_subsegmenth]hxdr_stream_subsegment}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/hhhj@hMubj)}(hE(struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h](j)}(hstruct xdr_stream *xdrh](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 xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjUsbc.xdr_stream_subsegmentasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubj)}(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$]jc.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%)}(hsubbufh]hsubbuf}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubj)}(hunsigned int nbytesh](j)}(hunsignedh]hunsigned}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj)}(hinth]hint}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj%)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(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&set **subbuf** to a portion of **xdr**h](hset }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to a portion of }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj(hhhj@hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(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_stream *xdr`` an xdr_stream set up for decoding h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h!an xdr_stream set up for decodingh]h!an xdr_stream set up for decoding}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj ubj)}(h-``struct xdr_buf *subbuf`` the result buffer h](j)}(h``struct xdr_buf *subbuf``h]j)}(hjMh]hstruct xdr_buf *subbuf}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjGubj)}(hhh]jX)}(hthe result bufferh]hthe result buffer}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhj ubj)}(h?``unsigned int nbytes`` length of **xdr** to extract, in bytes h](j)}(h``unsigned int nbytes``h]j)}(hjh]hunsigned int nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(h&length of **xdr** to extract, in bytesh](h length of }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to extract, in bytes}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubeh}(h]h ]h"]h$]h&]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)}(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 }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to represent a portion of }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.. The portion starts at the current offset in }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, and extends for a length of }(hjhhhNhNubj)}(h **nbytes**h]hnbytes}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. If this is successful, }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh> is advanced to the next XDR data item following that portion.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(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:}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjUubj)}(hhh]jX)}(hp``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](j)}(h``true``h]htrue}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh: }(hjkhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh has been initialized, and }(hjkhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh has been advanced. }(hjkhhhNhNubj)}(h ``false``h]hfalse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh: a bounds error has occurred}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjghMhjRubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xdr_stream_move_subsegment (C function)c.xdr_stream_move_subsegmenthNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_stream_move_subsegmenth]j%)}(hxdr_stream_move_subsegmenth]hxdr_stream_move_subsegment}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hW(struct xdr_stream *xdr, unsigned int offset, unsigned int target, unsigned int length)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jj.sbc.xdr_stream_move_subsegmentasbuh1hhjDubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(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=uh1jhj@ubj)}(hunsigned int targeth](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htargeth]htarget}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(hunsigned int lengthh](j)}(hunsignedh]hunsigned}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(hinth]hint}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(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 part of a stream to another positionh]h)Move part of a stream to another position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(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`` the source 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)}(hthe source xdr_streamh]hthe source xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``unsigned int offset`` the source offset of the segment h](j)}(h``unsigned int offset``h]j)}(hj8h]hunsigned int offset}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj2ubj)}(hhh]jX)}(h the source offset of the segmenth]h the source offset of the segment}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubj)}(h9``unsigned int target`` the target offset of the segment h](j)}(h``unsigned int target``h]j)}(hjqh]hunsigned int target}(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)}(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&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``unsigned int length`` the number of bytes to move h](j)}(h``unsigned int length``h]j)}(hjh]hunsigned int length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hthe number of bytes to moveh]hthe number of bytes to move}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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)}(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 }(hjhhhNhNubj)}(h **length**h]hlength}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes from }(hjhhhNhNubj)}(h **offset**h]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h **target**h]htarget}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhb in the xdr_stream, overwriting anything in its space. Returns the number of bytes in the segment.}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_zero (C function)c.xdr_stream_zerohNtauh1hhjhhhNhNubh)}(hhh](h)}(h_unsigned int xdr_stream_zero (struct xdr_stream *xdr, unsigned int offset, unsigned int length)h]h)}(h^unsigned int xdr_stream_zero(struct xdr_stream *xdr, unsigned int offset, unsigned int length)h](j)}(hunsignedh]hunsigned}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjnhMubj)}(hinth]hint}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhhjnhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjnhMubj)}(hxdr_stream_zeroh]j%)}(hxdr_stream_zeroh]hxdr_stream_zero}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\hhhjnhMubj)}(hB(struct xdr_stream *xdr, unsigned int offset, 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_zeroasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int offseth](j)}(hunsignedh]hunsigned}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj)}(hinth]hint}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj%)}(hoffseth]hoffset}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int lengthh](j)}(hunsignedh]hunsigned}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]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%)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj\hhhjnhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhjnhMubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhMhjUhhubjS)}(hhh]jX)}(h#zero out a portion of an xdr_streamh]h#zero out a portion of an xdr_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&]uh1jRhjUhhhjnhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(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)}(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}(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)}(han xdr_stream to zero outh]han xdr_stream to zero out}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(h9``unsigned int offset`` the starting point in the stream h](j)}(h``unsigned int offset``h]j)}(hjXh]hunsigned int offset}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjRubj)}(hhh]jX)}(h the starting point in the streamh]h the starting point in the stream}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_trim (C function)c.xdr_buf_trimhNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h xdr_buf_trimh]j%)}(h xdr_buf_trimh]h xdr_buf_trim}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h'(struct xdr_buf *buf, unsigned int len)h](j)}(hstruct xdr_buf *bufh](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%)}(hxdr_bufh]hxdr_buf}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jjsbc.xdr_buf_trimasbuh1hhj$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%)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h,lop at most "len" bytes off the end of "buf"h]h4lop at most “len” bytes off the end of “buf”}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h*``struct xdr_buf *buf`` buf to be trimmed h](j)}(h``struct xdr_buf *buf``h]j)}(hj=h]hstruct xdr_buf *buf}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj7ubj)}(hhh]jX)}(hbuf to be trimmedh]hbuf to be trimmed}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhj4ubj)}(h8``unsigned int len`` number of bytes to reduce "buf" by h](j)}(h``unsigned int len``h]j)}(hjvh]hunsigned int len}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjpubj)}(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&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubeh}(h]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.}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)xdr_stream_decode_string_dup (C function)c.xdr_stream_decode_string_duphNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jxdr_stream_decode_string_dupsbc.xdr_stream_decode_string_dupasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_stream_decode_string_duph]j%)}(hjh]hxdr_stream_decode_string_dup}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hD(struct xdr_stream *xdr, char **str, size_t maxlen, gfp_t gfp_flags)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]jc.xdr_stream_decode_string_dupasbuh1hhjDubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(h char **strh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstrh]hstr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(h size_t maxlenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.xdr_stream_decode_string_dupasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaxlenh]hmaxlen}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(hgfp_t gfp_flagsh](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]jc.xdr_stream_decode_string_dupasbuh1hhjKubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj%)}(h gfp_flagsh]h gfp_flags}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(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+Decode and duplicate variable length stringh]h+Decode and duplicate variable length string}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``char **str`` location to store pointer to string ``size_t maxlen`` maximum acceptable string length ``gfp_t gfp_flags`` GFP mask to use **Description** Return values: On success, returns length of NUL-terminated string stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of the string would exceed **maxlen** ``-ENOMEM`` on memory allocation failureh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(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)}(h3``char **str`` location to store pointer to string h](j)}(h``char **str``h]j)}(hj"h]h char **str}(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.chMhjubj)}(hhh]jX)}(h#location to store pointer to stringh]h#location to store pointer to string}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h3``size_t maxlen`` maximum acceptable string length h](j)}(h``size_t maxlen``h]j)}(hj[h]h size_t maxlen}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjUubj)}(hhh]jX)}(h maximum acceptable string lengthh]h maximum acceptable string length}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(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&]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 length of NUL-terminated string stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of the string would exceed **maxlen** ``-ENOMEM`` on memory allocation failureh](j)}(hReturn values:h]hReturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(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 }(hjhhhNhNubj)}(h***ptr**h]h*ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh }(hjhhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on XDR buffer overflow }(hjhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( if the size of the string would exceed }(hjhhhNhNubj)}(h **maxlen**h]hmaxlen}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh }hjsbj)}(h ``-ENOMEM``h]h-ENOMEM}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on memory allocation failure}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xdr_stream_decode_opaque_auth (C function)c.xdr_stream_decode_opaque_authhNtauh1hhjhhhNhNubh)}(hhh](h)}(hpssize_t xdr_stream_decode_opaque_auth (struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h]h)}(hossize_t xdr_stream_decode_opaque_auth(struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h](h)}(hhh]j%)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jxdr_stream_decode_opaque_authsbc.xdr_stream_decode_opaque_authasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxdr_stream_decode_opaque_authh]j%)}(hjh]hxdr_stream_decode_opaque_auth}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hJ(struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(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$]jc.xdr_stream_decode_opaque_authasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxdrh]hxdr}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 *flavorh](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.xdr_stream_decode_opaque_authasbuh1hhjWubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWubj%)}(hflavorh]hflavor}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h void **bodyh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(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 }(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;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbody_lenh]hbody_len}(hjDhhhNhNubah}(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(Decode struct opaque_auth (RFC5531 S8.2)h]h(Decode struct opaque_auth (RFC5531 S8.2)}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjkhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``u32 *flavor`` location to store decoded flavor ``void **body`` location to store decode body ``unsigned int *body_len`` location to store length of decoded body **Description** Return values: On success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``u32 *flavor`` location to store decoded flavor h](j)}(h``u32 *flavor``h]j)}(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)}(h location to store decoded flavorh]h location to store decoded flavor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h.``void **body`` location to store decode body h](j)}(h``void **body``h]j)}(hj!h]h void **body}(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)}(hlocation to store decode bodyh]hlocation to store decode body}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(hD``unsigned int *body_len`` location to store length of decoded body h](j)}(h``unsigned int *body_len``h]j)}(hjZh]hunsigned int *body_len}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjTubj)}(hhh]jX)}(h(location to store length of decoded bodyh]h(location to store length of decoded body}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]j)}(hReturn values: On success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](j)}(hReturn values:h]hReturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hOn success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](h8On success, returns the number of buffer bytes consumed }(hjhhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on XDR buffer overflow }(hjhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9 if the decoded size of the body field exceeds 400 octets}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xdr_stream_encode_opaque_auth (C function)c.xdr_stream_encode_opaque_authhNtauh1hhjhhhNhNubh)}(hhh](h)}(hmssize_t xdr_stream_encode_opaque_auth (struct xdr_stream *xdr, u32 flavor, void *body, unsigned int body_len)h]h)}(hlssize_t xdr_stream_encode_opaque_auth(struct xdr_stream *xdr, u32 flavor, void *body, unsigned int body_len)h](h)}(hhh]j%)}(hssize_th]hssize_t}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jxdr_stream_encode_opaque_authsbc.xdr_stream_encode_opaque_authasbuh1hhj%hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%hhhjMhMubj)}(hxdr_stream_encode_opaque_authh]j%)}(hjJh]hxdr_stream_encode_opaque_auth}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj%hhhjMhMubj)}(hG(struct xdr_stream *xdr, u32 flavor, void *body, unsigned int body_len)h](j)}(hstruct xdr_stream *xdrh](h)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(hhh]j%)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jHc.xdr_stream_encode_opaque_authasbuh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(h u32 flavorh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jHc.xdr_stream_encode_opaque_authasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflavorh]hflavor}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(h void *bodyh](j)}(hvoidh]hvoid}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/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%)}(hbodyh]hbody}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubj)}(hunsigned int body_lenh](j)}(hunsignedh]hunsigned}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj%)}(hbody_lenh]hbody_len}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubeh}(h]h ]h"]h$]h&]j<j=uh1jhj%hhhjMhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj!hhhjMhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjMhMhjhhubjS)}(hhh]jX)}(h(Encode struct opaque_auth (RFC5531 S8.2)h]h(Encode 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&]uh1jRhjhhhjMhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubj)}(h)``u32 flavor`` verifier flavor to encode h](j)}(h``u32 flavor``h]j)}(hjQh]h u32 flavor}(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)}(hverifier flavor to encodeh]hverifier flavor to encode}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubj)}(h)``void *body`` content of body to encode h](j)}(h``void *body``h]j)}(hjh]h void *body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hcontent of body to encodeh]hcontent of body to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``unsigned int body_len`` length of body to encode h](j)}(h``unsigned int body_len``h]j)}(hjh]hunsigned int body_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jX)}(hlength of body to encodeh]hlength of body to encode}(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 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 }(hj-hhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh on XDR buffer overflow }(hj-hhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh if the size of }(hj-hhhNhNubj)}(h**body**h]hbody}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh exceeds 400 octets}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reg_xprt_class (C function)c.svc_reg_xprt_classhNtauh1hhjhhhNhNubh)}(hhh](h)}(h3int svc_reg_xprt_class (struct svc_xprt_class *xcl)h]h)}(h2int svc_reg_xprt_class(struct svc_xprt_class *xcl)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKNubj)}(hsvc_reg_xprt_classh]j%)}(hsvc_reg_xprt_classh]hsvc_reg_xprt_class}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKNubj)}(h(struct svc_xprt_class *xcl)h]j)}(hstruct svc_xprt_class *xclh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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_reg_xprt_classasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj-hhhNhNubah}(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=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}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKNhjahhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKNubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|jxj|jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct svc_xprt_class *xcl`` New transport class to be registered **Description** Returns zero on success; otherwise a negative errno is returned.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKRhjubj)}(hhh]j)}(hD``struct svc_xprt_class *xcl`` New transport class to be registered h](j)}(h``struct svc_xprt_class *xcl``h]j)}(hjh]hstruct svc_xprt_class *xcl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKOhjubj)}(hhh]jX)}(h$New transport class to be registeredh]h$New transport class to be registered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKOhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKQhjubjX)}(h@Returns zero on success; otherwise a negative errno is returned.h]h@Returns zero on success; otherwise a negative errno is returned.}(hjhhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_unreg_xprt_class (C function)c.svc_unreg_xprt_classhNtauh1hhjhhhNhNubh)}(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}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj3hKhubj)}(hsvc_unreg_xprt_classh]j%)}(hsvc_unreg_xprt_classh]hsvc_unreg_xprt_class}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj3hKhubj)}(h(struct svc_xprt_class *xcl)h]j)}(hstruct svc_xprt_class *xclh](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%)}(hsvc_xprt_classh]hsvc_xprt_class}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjHsbc.svc_unreg_xprt_classasbuh1hhj^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%)}(hxclh]hxcl}(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!hhhj3hKhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj3hKhubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hKhhjhhubjS)}(hhh]jX)}(h,Unregister a server-side RPC transport classh]h,Unregister a server-side RPC transport class}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj3hKhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hS**Parameters** ``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](jX)}(h**Parameters**h]j)}(hjh]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.chKlhjubj)}(hhh]j)}(hA``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](j)}(h``struct svc_xprt_class *xcl``h]j)}(hj&h]hstruct svc_xprt_class *xcl}(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.chKnhj ubj)}(hhh]jX)}(h"Transport class to be unregisteredh]h"Transport class to be unregistered}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKihj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hKnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_deferred_close (C function)c.svc_xprt_deferred_closehNtauh1hhjhhhNhNubh)}(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&]uh1jhj|hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|hhhjhKubj)}(hsvc_xprt_deferred_closeh]j%)}(hsvc_xprt_deferred_closeh]hsvc_xprt_deferred_close}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj|hhhjhKubj)}(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_deferred_closeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj|hhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxhhhjhKubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjuhhubjS)}(hhh]jX)}(hClose a transporth]hClose a transport}(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&]uh1jRhjuhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhjhNhNubj})}(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)}(hjbh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj\ubj)}(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.chKhj{ubj)}(hhh]jX)}(htransport instanceh]htransport instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj\ubjX)}(h^Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.h]h^Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_received (C function)c.svc_xprt_receivedhNtauh1hhjhhhNhNubh)}(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}(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_receivedh]j%)}(hsvc_xprt_receivedh]hsvc_xprt_received}(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 }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^modnameN classnameNjj!)}j$]j')}jj$sbc.svc_xprt_receivedasbuh1hhj: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=uh1jhj6ubah}(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)}(hstart next receiver threadh]hstart next receiver thread}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct svc_xprt *xprt`` controlling transport **Description** The caller must hold the XPT_BUSY bit and must not thereafter touch transport data. **Note** XPT_DATA only gets cleared when a read-attempt finds no (or insufficient) data.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubj)}(hhh]j)}(h0``struct svc_xprt *xprt`` controlling transport h](j)}(h``struct svc_xprt *xprt``h]j)}(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)}(hcontrolling transporth]hcontrolling transport}(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)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubjX)}(h**Note**h]j)}(hjdh]hNote}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjubjX)}(hOXPT_DATA only gets cleared when a read-attempt finds no (or insufficient) data.h]hOXPT_DATA only gets cleared when a read-attempt finds no (or insufficient) data.}(hjzhhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_create_from_sa (C function)c.svc_xprt_create_from_sahNtauh1hhjhhhNhNubh)}(hhh](h)}(hint svc_xprt_create_from_sa (struct svc_serv *serv, const char *xprt_name, struct net *net, struct sockaddr *sap, int flags, const struct cred *cred)h]h)}(hint svc_xprt_create_from_sa(struct svc_serv *serv, const char *xprt_name, struct net *net, struct sockaddr *sap, int flags, const struct cred *cred)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM"ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM"ubj)}(hsvc_xprt_create_from_sah]j%)}(hsvc_xprt_create_from_sah]hsvc_xprt_create_from_sa}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM"ubj)}(hy(struct svc_serv *serv, const char *xprt_name, struct net *net, struct sockaddr *sap, int flags, const struct cred *cred)h](j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_create_from_saasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *xprt_nameh](h)}(hjh]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(hcharh]hchar}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(h xprt_nameh]h xprt_name}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(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$]j c.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%)}(hneth]hnet}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sockaddr *saph](h)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j c.svc_xprt_create_from_saasbuh1hhj!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%)}(hsaph]hsap}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int flagsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst struct cred *credh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.svc_xprt_create_from_saasbuh1hhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hcredh]hcred}(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)}(h2Add a new listener to **serv** from socket addressh](hAdd a new listener to }(hjfhhhNhNubj)}(h**serv**h]hserv}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh from socket address}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM"hjchhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM"ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct svc_serv *serv`` target RPC service ``const char *xprt_name`` transport class name ``struct net *net`` network namespace ``struct sockaddr *sap`` socket address pointer ``int flags`` SVC_SOCK flags ``const struct cred *cred`` credential to bind to this transport **Description** Return local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM&hjubj)}(hhh](j)}(h-``struct svc_serv *serv`` target RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hjh]hstruct svc_serv *serv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM#hjubj)}(hhh]jX)}(htarget RPC serviceh]htarget RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h/``const char *xprt_name`` transport class name h](j)}(h``const char *xprt_name``h]j)}(hjh]hconst char *xprt_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.chM$hjubj)}(hhh]jX)}(htransport class nameh]htransport class name}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubj)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hj+h]hstruct net *net}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM%hj%ubj)}(hhh]jX)}(hnetwork namespaceh]hnetwork namespace}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hM%hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hM%hjubj)}(h0``struct sockaddr *sap`` socket address pointer h](j)}(h``struct sockaddr *sap``h]j)}(hjdh]hstruct sockaddr *sap}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM&hj^ubj)}(hhh]jX)}(hsocket address pointerh]hsocket address pointer}(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 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)}(hjh]hconst struct cred *cred}(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$credential to bind to this transporth]h$credential to bind to this transport}(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&]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 }(hj'hhhNhNubj)}(h``-EPROTONOSUPPORT``h]h-EPROTONOSUPPORT}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh on failure}(hj'hhhNhNubeh}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_create (C function)c.svc_xprt_createhNtauh1hhjhhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMLubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhjvhMLubj)}(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=uh1jhjdhhhjvhMLubj)}(h(struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred)h](j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_createasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *xprt_nameh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hcharh]hchar}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h xprt_nameh]h xprt_name}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net *neth](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.svc_xprt_createasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst int familyh](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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hfamilyh]hfamily}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned short porth](h)}(hjh]hconst}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj)}(hunsignedh]hunsigned}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj)}(hshorth]hshort}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj%)}(hporth]hport}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int flagsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst struct cred *credh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.svc_xprt_createasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hcredh]hcred}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjdhhhjvhMLubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`hhhjvhMLubah}(h]j[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhMLhj]hhubjS)}(hhh]jX)}(hAdd a new listener to **serv**h](hAdd a new listener to }(hjqhhhNhNubj)}(h**serv**h]hserv}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMLhjnhhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhjvhMLubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct svc_serv *serv`` target RPC service ``const char *xprt_name`` transport class name ``struct net *net`` network namespace ``const int family`` network address family ``const unsigned short port`` listener port ``int flags`` SVC_SOCK flags ``const struct cred *cred`` credential to bind to this transport **Description** Return local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMPhjubj)}(hhh](j)}(h-``struct svc_serv *serv`` target RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hjh]hstruct svc_serv *serv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMMhjubj)}(hhh]jX)}(htarget RPC serviceh]htarget RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(h/``const char *xprt_name`` transport class name h](j)}(h``const char *xprt_name``h]j)}(hjh]hconst char *xprt_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.chMNhjubj)}(hhh]jX)}(htransport class nameh]htransport class name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubj)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hj2h]hstruct net *net}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMOhj,ubj)}(hhh]jX)}(hnetwork namespaceh]hnetwork namespace}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMOhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMOhjubj)}(h,``const int family`` network address family h](j)}(h``const int family``h]j)}(hjkh]hconst int family}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMPhjeubj)}(hhh]jX)}(hnetwork address familyh]hnetwork address family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(h,``const unsigned short port`` listener port h](j)}(h``const unsigned short port``h]j)}(hjh]hconst unsigned short port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMQhjubj)}(hhh]jX)}(h listener porth]h listener port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(h``int flags`` SVC_SOCK flags h](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMRhjubj)}(hhh]jX)}(hSVC_SOCK flagsh]hSVC_SOCK flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubj)}(hA``const struct cred *cred`` credential to bind to this transport h](j)}(h``const struct cred *cred``h]j)}(hjh]hconst struct cred *cred}(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.chMShjubj)}(hhh]jX)}(h$credential to bind to this transporth]h$credential to bind to this transport}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMShj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMShjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(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 }(hjghhhNhNubj)}(h``-EPROTONOSUPPORT``h]h-EPROTONOSUPPORT}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh on failure}(hjghhhNhNubeh}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_print_addr (C function)c.svc_print_addrhNtauh1hhjhhhNhNubh)}(hhh](h)}(hEchar * svc_print_addr (struct svc_rqst *rqstp, char *buf, size_t len)h]h)}(hCchar *svc_print_addr(struct svc_rqst *rqstp, char *buf, size_t len)h](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hsvc_print_addrh]j%)}(hsvc_print_addrh]hsvc_print_addr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h/(struct svc_rqst *rqstp, char *buf, size_t len)h](j)}(hstruct svc_rqst *rqstph](h)}(hjh]hstruct}(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$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.svc_print_addrasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrqstph]hrqstp}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h char *bufh](j)}(hcharh]hchar}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj%)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h size_t lenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j,c.svc_print_addrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h!Format rq_addr field for printingh]h!Format rq_addr field for printing}(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{uh1hhhhjhNhNubj})}(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)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh](j)}(hG``struct svc_rqst *rqstp`` svc_rqst struct containing address to print h](j)}(h``struct svc_rqst *rqstp``h]j)}(hj@h]hstruct svc_rqst *rqstp}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj:ubj)}(hhh]jX)}(h+svc_rqst struct containing address to printh]h+svc_rqst struct containing address to print}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubj)}(h2``char *buf`` target buffer for formatted address h](j)}(h ``char *buf``h]j)}(hjyh]h char *buf}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjsubj)}(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&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj7ubj)}(h&``size_t len`` length of target bufferh](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(hlength of target bufferh]hlength of target buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj7ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_enqueue (C function)c.svc_xprt_enqueuehNtauh1hhjhhhNhNubh)}(hhh](h)}(h-void svc_xprt_enqueue (struct svc_xprt *xprt)h]h)}(h,void svc_xprt_enqueue(struct svc_xprt *xprt)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hsvc_xprt_enqueueh]j%)}(hsvc_xprt_enqueueh]hsvc_xprt_enqueue}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct svc_xprt *xprt)h]j)}(hstruct svc_xprt *xprth](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j')}jj/sbc.svc_xprt_enqueueasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hxprth]hxprt}(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)}(h(Queue a transport on an idle nfsd threadh]h(Queue a transport on an idle nfsd thread}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hG**Parameters** ``struct svc_xprt *xprt`` transport with data pendingh](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)}(h5``struct svc_xprt *xprt`` transport with data pendingh](j)}(h``struct svc_xprt *xprt``h]j)}(hj h]hstruct svc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(htransport with data pendingh]htransport with data pending}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reserve (C function) c.svc_reservehNtauh1hhjhhhNhNubh)}(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}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjchhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjchhhjuhMubj)}(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=uh1jhjchhhjuhMubj)}(h#(struct svc_rqst *rqstp, int space)h](j)}(hstruct svc_rqst *rqstph](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_rqsth]hsvc_rqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.svc_reserveasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(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=uh1jhjubj)}(h int spaceh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hspaceh]hspace}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjchhhjuhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj_hhhjuhMubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjuhMhj\hhubjS)}(hhh]jX)}(h5change the space reserved for the reply to a request.h]h5change the space reserved for the reply to a request.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jRhj\hhhjuhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtjxjtjyjzj{uh1hhhhjhNhNubj})}(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)}(hj~h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjxubj)}(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)}(hjh]h int space}(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)}(hnew max space to reserveh]hnew max space to reserve}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjxubjX)}(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 }(hj'hhhNhNubj)}(h **space**h]hspace}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_wake_up (C function) c.svc_wake_uphNtauh1hhjhhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMAubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhjvhMAubj)}(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=uh1jhjdhhhjvhMAubj)}(h(struct svc_serv *serv)h]j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.svc_wake_upasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjdhhhjvhMAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`hhhjvhMAubah}(h]j[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhMAhj]hhubjS)}(hhh]jX)}(h/Wake up a service thread for non-transport workh]h/Wake up a service thread for non-transport work}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMAhj%hhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhjvhMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{uh1hhhhjhNhNubj})}(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)}(hjJh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMEhjDubj)}(hhh]j)}(h&``struct svc_serv *serv`` RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hjih]hstruct svc_serv *serv}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMBhjcubj)}(hhh]jX)}(h RPC serviceh]h RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMBhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMBhj`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&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMDhjDubjX)}(hX2Some svc_serv's will have occasional work to do, even when a xprt is not waiting to be serviced. This function is there to "kick" a task in one of those services so that it can wake up and do that work. Note that we only bother with pool 0 as we don't need to wake up more than one thread for this purpose.h]hX:Some svc_serv’s will have occasional work to do, even when a xprt is not waiting to be serviced. This function is there to “kick” a task in one of those services so that it can wake up and do that work. Note that we only bother with pool 0 as we don’t need to wake up more than one thread for this purpose.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMChjDubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_recv (C function) c.svc_recvhNtauh1hhjhhhNhNubh)}(hhh](h)}(h&void svc_recv (struct svc_rqst *rqstp)h]h)}(h%void svc_recv(struct svc_rqst *rqstp)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMDubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMDubj)}(hsvc_recvh]j%)}(hsvc_recvh]hsvc_recv}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMDubj)}(h(struct svc_rqst *rqstp)h]j)}(hstruct svc_rqst *rqstph](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%)}(hsvc_rqsth]hsvc_rqst}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j')}jj sb c.svc_recvasbuh1hhj"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%)}(hrqstph]hrqstp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(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)}(h5Receive and process the next request on any transporth]h5Receive and process the next request on any transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMDhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct svc_rqst *rqstp`` an idle RPC service thread **Description** This code is carefully organised not to touch any cachelines in the shared svc_serv structure, only cachelines in the local svc_pool.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMHhjubj)}(hhh]j)}(h6``struct svc_rqst *rqstp`` an idle RPC service thread h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjh]hstruct svc_rqst *rqstp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMEhjubj)}(hhh]jX)}(han idle RPC service threadh]han idle RPC service thread}(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)}(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.chMGhjubjX)}(hThis code is carefully organised not to touch any cachelines in the shared svc_serv structure, only cachelines in the local svc_pool.h]hThis code is carefully organised not to touch any cachelines in the shared svc_serv structure, only cachelines in the local svc_pool.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMFhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_close (C function)c.svc_xprt_closehNtauh1hhjhhhNhNubh)}(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}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjxhMubj)}(hsvc_xprt_closeh]j%)}(hsvc_xprt_closeh]hsvc_xprt_close}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfhhhjxhMubj)}(h(struct svc_xprt *xprt)h]j)}(hstruct svc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_closeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjfhhhjxhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjxhMubah}(h]j]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhMhj_hhubjS)}(hhh]jX)}(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_hhhjxhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjBjxjBjyjzj{uh1hhhhjhNhNubj})}(hC**Parameters** ``struct svc_xprt *xprt`` transport to disconnecth](jX)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM!hjFubj)}(hhh]j)}(h1``struct svc_xprt *xprt`` transport to disconnecth](j)}(h``struct svc_xprt *xprt``h]j)}(hjkh]hstruct svc_xprt *xprt}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM#hjeubj)}(hhh]jX)}(htransport to disconnecth]htransport to disconnect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_xprt_destroy_all (C function)c.svc_xprt_destroy_allhNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM[ubj)}(hsvc_xprt_destroy_allh]j%)}(hsvc_xprt_destroy_allh]hsvc_xprt_destroy_all}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM[ubj)}(h9(struct svc_serv *serv, struct net *net, bool unregister)h](j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]j')}jjsbc.svc_xprt_destroy_allasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net *neth](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j<c.svc_xprt_destroy_allasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool unregisterh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h unregisterh]h unregister}(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+Destroy transports associated with **serv**h](h#Destroy transports associated with }(hj)hhhNhNubj)}(h**serv**h]hserv}(hj1hhhNhNubah}(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&]uh1jRhjhhhjhM[ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhjhNhNubj})}(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)}(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)}(h6``struct svc_serv *serv`` RPC service to be shut down 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.chM\hjrubj)}(hhh]jX)}(hRPC service to be shut downh]hRPC service to be shut down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjoubj)}(h-``struct net *net`` target network namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM]hjubj)}(hhh]jX)}(htarget network namespaceh]htarget network namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjoubj)}(hG``bool unregister`` true if it is OK to unregister the destroyed xprts h](j)}(h``bool unregister``h]j)}(hjh]hbool unregister}(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)}(h2true if it is OK to unregister the destroyed xprtsh]h2true if it is OK to unregister the destroyed xprts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjoubeh}(h]h ]h"]h$]h&]uh1jhjSubjX)}(h**Description**h]j)}(hj%h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM`hjSubjX)}(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_hjSubjX)}(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.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMbhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_listener (C function)c.svc_find_listenerhNtauh1hhjhhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjhMubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jsvc_find_listenersbc.svc_find_listenerasbuh1hhjuhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuhhhjhMubj)}(hsvc_find_listenerh]j%)}(hjh]hsvc_find_listener}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuhhhjhMubj)}(hY(struct svc_serv *serv, const char *xcl_name, struct net *net, const struct sockaddr *sa)h](j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.svc_find_listenerasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *xcl_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%)}(hxcl_nameh]hxcl_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$]jc.svc_find_listenerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst struct sockaddr *sah](h)}(hjh]hconst}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]jc.svc_find_listenerasbuh1hhj,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%)}(hsah]hsa}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjuhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjhMubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjnhhubjS)}(hhh]jX)}(hfind an RPC transport instanceh]hfind an RPC transport instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct svc_serv *serv`` pointer to svc_serv to search ``const char *xcl_name`` C string containing transport's class name ``struct net *net`` owner net pointer ``const struct sockaddr *sa`` sockaddr containing address **Description** Return the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, and matching sockaddr.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh](j)}(h8``struct svc_serv *serv`` pointer to svc_serv to search h](j)}(h``struct svc_serv *serv``h]j)}(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.chMhjubj)}(hhh]jX)}(hpointer to svc_serv to searchh]hpointer to svc_serv to search}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjubj)}(hD``const char *xcl_name`` C string containing transport's class name h](j)}(h``const char *xcl_name``h]j)}(hjFh]hconst char *xcl_name}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj@ubj)}(hhh]jX)}(h*C string containing transport's class nameh]h,C string containing transport’s class name}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjyubj)}(hhh]jX)}(howner net pointerh]howner net pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``const struct sockaddr *sa`` sockaddr containing address h](j)}(h``const struct sockaddr *sa``h]j)}(hjh]hconst struct sockaddr *sa}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jX)}(hsockaddr containing addressh]hsockaddr containing address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubjX)}(hReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, and matching sockaddr.h]hReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, and matching sockaddr.}(hj hhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_xprt (C function)c.svc_find_xprthNtauh1hhjhhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhhjEhMubh)}(hhh]j%)}(hsvc_xprth]hsvc_xprt}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]j')}j svc_find_xprtsbc.svc_find_xprtasbuh1hhj4hhhjEhMubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhhjEhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4hhhjEhMubj)}(h svc_find_xprth]j%)}(hjuh]h svc_find_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4hhhjEhMubj)}(ho(struct svc_serv *serv, const char *xcl_name, struct net *net, const sa_family_t af, const unsigned short port)h](j)}(hstruct svc_serv *servh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsvc_servh]hsvc_serv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jsc.svc_find_xprtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hservh]hserv}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *xcl_nameh](h)}(hjh]hconst}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]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 }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxcl_nameh]hxcl_name}(hjfhhhNhNubah}(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&]uh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jsc.svc_find_xprtasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst sa_family_t afh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h sa_family_th]h sa_family_t}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jsc.svc_find_xprtasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hafh]haf}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst unsigned short porth](h)}(hjh]hconst}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj)}(hunsignedh]hunsigned}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj)}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj%)}(hporth]hport}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj4hhhjEhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0hhhjEhMubah}(h]j+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEhMhj-hhubjS)}(hhh]jX)}(hfind an RPC transport instanceh]hfind an RPC transport instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj-hhhjEhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX**Parameters** ``struct svc_serv *serv`` pointer to svc_serv to search ``const char *xcl_name`` C string containing transport's class name ``struct net *net`` owner net pointer ``const sa_family_t af`` Address family of transport's local address ``const unsigned short port`` transport's IP port number **Description** Return the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, address family and port. Specifying 0 for the address family or port is effectively a wild-card, and will result in matching the first transport in the service's list that has a matching class name.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM!hjubj)}(hhh](j)}(h8``struct svc_serv *serv`` pointer to svc_serv to search 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.chMhj ubj)}(hhh]jX)}(hpointer to svc_serv to searchh]hpointer to svc_serv to search}(hj) hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj% hMhj& ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj% hMhj ubj)}(hD``const char *xcl_name`` C string containing transport's class name h](j)}(h``const char *xcl_name``h]j)}(hjI h]hconst char *xcl_name}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjC ubj)}(hhh]jX)}(h*C string containing transport's class nameh]h,C string containing transport’s class name}(hjb hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^ hMhj_ ubah}(h]h ]h"]h$]h&]uh1jhjC ubeh}(h]h ]h"]h$]h&]uh1jhj^ hMhj ubj)}(h&``struct net *net`` owner net pointer 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)}(howner net pointerh]howner net pointer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhj| ubeh}(h]h ]h"]h$]h&]uh1jhj hM hj ubj)}(hE``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!hj ubj)}(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&]uh1jWhj hM!hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM!hj ubj)}(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&]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's IP port numberh]htransport’s IP port number}(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&]uh1jhjubjX)}(h**Description**h]j)}(hj/ h]h Description}(hj1 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$hjubjX)}(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.}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM#hjubjX)}(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.}(hjT hhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_names (C function)c.svc_xprt_nameshNtauh1hhjhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMXubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMXubj)}(hsvc_xprt_namesh]j%)}(hsvc_xprt_namesh]hsvc_xprt_names}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMXubj)}(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 }(hj hhhNhNubah}(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')}jj sbc.svc_xprt_namesasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hservh]hserv}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h char *bufh](j)}(hcharh]hchar}(hj2 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj. ubj)}(h h]h }(hj@ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj. ubj;)}(hj>h]h*}(hjN hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj. ubj%)}(hbufh]hbuf}(hj[ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj. ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hconst int buflenh](h)}(hjh]hconst}(hjt hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjp ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjp ubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjp ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjp ubj%)}(hbuflenh]hbuflen}(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 hMXubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{ hhhj hMXubah}(h]jv ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMXhjx hhubjS)}(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&]uh1jRhjx hhhj hMXubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhjhNhNubj})}(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}(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)}(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}(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.chMYhj ubj)}(hhh]jX)}(hpointer to an RPC serviceh]hpointer to an RPC service}(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)}(h2``char *buf`` pointer to a buffer to be filled in h](j)}(h ``char *buf``h]j)}(hjO h]h char *buf}(hjQ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMZhjI ubj)}(hhh]jX)}(h#pointer to a buffer to be filled inh]h#pointer to a buffer to be filled in}(hjh hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjd hMZhje ubah}(h]h ]h"]h$]h&]uh1jhjI ubeh}(h]h ]h"]h$]h&]uh1jhjd hMZhj ubj)}(h6``const int buflen`` length of buffer to be filled in h](j)}(h``const int buflen``h]j)}(hj h]hconst int buflen}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM[hj ubj)}(hhh]jX)}(h length of buffer to be filled inh]h length of buffer to be filled in}(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&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM]hj ubjX)}(hdFills in **buf** with a string containing a list of transport names, each name terminated with '\n'.h](h Fills in }(hj hhhNhNubj)}(h**buf**h]hbuf}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhX with a string containing a list of transport names, each name terminated with ‘n’.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM\hj ubjX)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM_hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_register_transport (C function)c.xprt_register_transporthNtauh1hhjhhhNhNubh)}(hhh](h)}(h:int xprt_register_transport (struct xprt_class *transport)h]h)}(h9int xprt_register_transport(struct xprt_class *transport)h](j)}(hinth]hint}(hj) hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj% hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK[ubj)}(h h]h }(hj8 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj% hhhj7 hK[ubj)}(hxprt_register_transporth]j%)}(hxprt_register_transporth]hxprt_register_transport}(hjJ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjF ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj% hhhj7 hK[ubj)}(h(struct xprt_class *transport)h]j)}(hstruct xprt_class *transporth](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 xprt_classh]h xprt_class}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjL sbc.xprt_register_transportasbuh1hhjb 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%)}(h transporth]h transport}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjb ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ ubah}(h]h ]h"]h$]h&]j<j=uh1jhj% hhhj7 hK[ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj! hhhj7 hK[ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7 hK[hj hhubjS)}(hhh]jX)}(h#register a transport implementationh]h#register a transport implementation}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK[hj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj7 hK[ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(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.chK_hjubj)}(hhh]j)}(h7``struct xprt_class *transport`` transport to register h](j)}(h ``struct xprt_class *transport``h]j)}(hj*h]hstruct xprt_class *transport}(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.chK\hj$ubj)}(hhh]jX)}(htransport to registerh]htransport to register}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hK\hj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hK\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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK^hjubjX)}(h~If a transport implementation is loaded as a kernel module, it can call this interface to make itself known to the RPC client.h]h~If a transport implementation is loaded as a kernel module, it can call this interface to make itself known to the RPC client.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK]hjubjX)}(h **Return**h]j)}(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`hjubjX)}(h0: transport successfully registered -EEXIST: transport already registered -EINVAL: transport module being unloadedh]h0: transport successfully registered -EEXIST: transport already registered -EINVAL: transport module being unloaded}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKahjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&xprt_unregister_transport (C function)c.xprt_unregister_transporthNtauh1hhjhhhNhNubh)}(hhh](h)}(hh]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(h transporth]h transport}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(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&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct xprt_class *transport`` transport to unregister **Return** 0: transport successfully unregistered -ENOENT: transport never registeredh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubj)}(hhh]j)}(h9``struct xprt_class *transport`` transport to unregister h](j)}(h ``struct xprt_class *transport``h]j)}(hjh]hstruct xprt_class *transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubj)}(hhh]jX)}(htransport to unregisterh]htransport to unregister}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hj h]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubjX)}(hX0: transport successfully unregistered -ENOENT: transport never registeredh]hX0: transport successfully unregistered -ENOENT: transport never registered}(hj#hhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&xprt_find_transport_ident (C function)c.xprt_find_transport_identhNtauh1hhjhhhNhNubh)}(hhh](h)}(h1int xprt_find_transport_ident (const char *netid)h]h)}(h0int xprt_find_transport_ident(const char *netid)h](j)}(hinth]hint}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhj`hKubj)}(hxprt_find_transport_identh]j%)}(hxprt_find_transport_identh]hxprt_find_transport_ident}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhj`hKubj)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnetidh]hnetid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjNhhhj`hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhj`hKubah}(h]jEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`hKhjGhhubjS)}(hhh]jX)}(h+convert a netid into a transport identifierh]h+convert a netid into a transport identifier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhj`hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhjubj)}(hhh]j)}(h(``const char *netid`` transport to load h](j)}(h``const char *netid``h]j)}(hj>h]hconst char *netid}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhj8ubj)}(hhh]jX)}(htransport to loadh]htransport to load}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShKhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShKhj5ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h **Return**h]j)}(hjyh]hReturn}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_reserve_xprt (C function)c.xprt_reserve_xprthNtauh1hhjhhhNhNubh)}(hhh](h)}(hDint xprt_reserve_xprt (struct rpc_xprt *xprt, struct rpc_task *task)h]h)}(hCint xprt_reserve_xprt(struct rpc_xprt *xprt, struct rpc_task *task)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxprt_reserve_xprth]j%)}(hxprt_reserve_xprth]hxprt_reserve_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xprt_reserve_xprtasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j5c.xprt_reserve_xprtasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(htaskh]htask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h$serialize write access to transportsh]h$serialize write access to transports}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hXA**Parameters** ``struct rpc_xprt *xprt`` pointer to the target transport ``struct rpc_task *task`` task that is requesting access to the transport **Description** This prevents mixing the payload of separate requests, and prevents transport connects from colliding with writes. No congestion control is provided.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj ubj)}(hhh](j)}(h:``struct rpc_xprt *xprt`` pointer to the target transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj/h]hstruct rpc_xprt *xprt}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj)ubj)}(hhh]jX)}(hpointer to the target transporth]hpointer to the target transport}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj&ubj)}(hJ``struct rpc_task *task`` task that is requesting access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hjhh]hstruct rpc_task *task}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjbubj)}(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&]uh1jWhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj&ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj ubjX)}(hThis prevents mixing the payload of separate requests, and prevents transport connects from colliding with writes. No congestion control is provided.h]hThis prevents mixing the payload of separate requests, and prevents transport connects from colliding with writes. No congestion control is provided.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_release_xprt (C function)c.xprt_release_xprthNtauh1hhjhhhNhNubh)}(hhh](h)}(hEvoid xprt_release_xprt (struct rpc_xprt *xprt, struct rpc_task *task)h]h)}(hDvoid xprt_release_xprt(struct rpc_xprt *xprt, struct rpc_task *task)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hxprt_release_xprth]j%)}(hxprt_release_xprth]hxprt_release_xprt}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]j')}jj sbc.xprt_release_xprtasbuh1hhj!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=uh1jhjubj)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j_c.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%)}(htaskh]htask}(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'allow other requests to use a transporth]h'allow other requests to use a transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhjhNhNubj})}(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&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4ubj)}(hhh](j)}(hI``struct rpc_xprt *xprt`` transport with other tasks potentially waiting h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjYh]hstruct rpc_xprt *xprt}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjSubj)}(hhh]jX)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjPubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hjh]hstruct rpc_task *task}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubj)}(hhh]jX)}(h.task that is releasing access to the transporth]h.task that is releasing access to the transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjPubeh}(h]h ]h"]h$]h&]uh1jhj4ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4ubjX)}(hANote that "task" can be NULL. No congestion control is provided.h]hENote that “task” can be NULL. No congestion control is provided.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_xprt_cong (C function)c.xprt_release_xprt_conghNtauh1hhjhhhNhNubh)}(hhh](h)}(hJvoid xprt_release_xprt_cong (struct rpc_xprt *xprt, struct rpc_task *task)h]h)}(hIvoid xprt_release_xprt_cong(struct rpc_xprt *xprt, struct rpc_task *task)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(hxprt_release_xprt_congh]j%)}(hxprt_release_xprt_congh]hxprt_release_xprt_cong}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMubj)}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}jj5sbc.xprt_release_xprt_congasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(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_release_xprt_congasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htaskh]htask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhjhhubjS)}(hhh]jX)}(h'allow other requests to use a transporth]h'allow other requests to use a transport}(hjBhhhNhNubah}(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&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZjxjZjyjzj{uh1hhhhjhNhNubj})}(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)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(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)}(hjh]hstruct rpc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj}ubj)}(hhh]jX)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjzubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hjh]hstruct rpc_task *task}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubj)}(hhh]jX)}(h.task that is releasing access to the transporth]h.task that is releasing access to the transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjzubeh}(h]h ]h"]h$]h&]uh1jhj^ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi: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.}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xprt_request_get_cong (C function)c.xprt_request_get_conghNtauh1hhjhhhNhNubh)}(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&]uh1jhj8hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhjIhMubj)}(hxprt_request_get_congh]j%)}(hxprt_request_get_congh]hxprt_request_get_cong}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhjIhMubj)}(h-(struct rpc_xprt *xprt, struct rpc_rqst *req)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj^sbc.xprt_request_get_congasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hstruct rpc_rqst *reqh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.xprt_request_get_congasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hreqh]hreq}(hjAhhhNhNubah}(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"Request congestion control creditsh]h"Request congestion control credits}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjhhhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhjIhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubj)}(hhh](j)}(h/``struct rpc_xprt *xprt`` pointer to 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 transporth]hpointer to transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``struct rpc_rqst *req`` pointer to RPC request h](j)}(h``struct rpc_rqst *req``h]j)}(hjh]hstruct rpc_rqst *req}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubj)}(hhh]jX)}(hpointer to RPC requesth]hpointer to RPC request}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubjX)}(h6Useful for transports that require congestion control.h]h6Useful for transports that require congestion control.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_rqst_cong (C function)c.xprt_release_rqst_conghNtauh1hhjhhhNhNubh)}(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}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjshMubj)}(hxprt_release_rqst_congh]j%)}(hxprt_release_rqst_congh]hxprt_release_rqst_cong}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjahhhjshMubj)}(h(struct rpc_task *task)h]j)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.xprt_release_rqst_congasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htaskh]htask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjahhhjshMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]hhhjshMubah}(h]jXah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjshMhjZhhubjS)}(hhh]jX)}(h%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&]uh1jRhjZhhhjshMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj=jxj=jyjzj{uh1hhhhjhNhNubj})}(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)}(hjGh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjAubj)}(hhh]j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hjfh]hstruct rpc_task *task}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(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}(hjhhhNhNubah}(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&]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:65: ./net/sunrpc/xprt.chMhjAubjX)}(h6Useful for transports that require congestion control.h]h6Useful for transports that require congestion control.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_adjust_cwnd (C function)c.xprt_adjust_cwndhNtauh1hhjhhhNhNubh)}(hhh](h)}(hPvoid xprt_adjust_cwnd (struct rpc_xprt *xprt, struct rpc_task *task, int result)h]h)}(hOvoid xprt_adjust_cwnd(struct rpc_xprt *xprt, struct rpc_task *task, int result)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM#ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM#ubj)}(hxprt_adjust_cwndh]j%)}(hxprt_adjust_cwndh]hxprt_adjust_cwnd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM#ubj)}(h:(struct rpc_xprt *xprt, struct rpc_task *task, int result)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]j')}jj sbc.xprt_adjust_cwndasbuh1hhjubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j]c.xprt_adjust_cwndasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htaskh]htask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int resulth](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hresulth]hresult}(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"adjust transport congestion windowh]h"adjust transport congestion window}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM#hjHhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhjhNhNubj})}(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)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hjgubj)}(hhh](j)}(h*``struct rpc_xprt *xprt`` pointer to 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:65: ./net/sunrpc/xprt.chM$hjubj)}(hhh]jX)}(hpointer to xprth]hpointer to xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubj)}(hO``struct rpc_task *task`` recently completed RPC request used to adjust window h](j)}(h``struct rpc_task *task``h]j)}(hjh]hstruct rpc_task *task}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM%hjubj)}(hhh]jX)}(h4recently completed RPC request used to adjust windowh]h4recently completed RPC request used to adjust window}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjubj)}(h4``int result`` result code of completed RPC request h](j)}(h``int result``h]j)}(hjh]h int result}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM&hjubj)}(hhh]jX)}(h$result code of completed RPC requesth]h$result code of completed RPC request}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubeh}(h]h ]h"]h$]h&]uh1jhjgubjX)}(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:65: ./net/sunrpc/xprt.chM(hjgubjX)}(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}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hjgubj )}(h- a reply is received and - a full number of requests are outstanding and - the congestion window hasn't been updated recently.h]j&:)}(hhh](j+:)}(ha reply is received andh]jX)}(hjgh]ha reply is received and}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM-hjeubah}(h]h ]h"]h$]h&]uh1j*:hjbubj+:)}(h-a full number of requests are outstanding andh]jX)}(hjh]h-a full number of requests are outstanding and}(hjhhhNhNubah}(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&]uh1j*:hjbubj+:)}(h3the congestion window hasn't been updated recently.h]jX)}(hjh]h5the congestion window hasn’t been updated recently.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM/hjubah}(h]h ]h"]h$]h&]uh1j*:hjbubeh}(h]h ]h"]h$]h&]j:-uh1j%:hjvhM-hj^ubah}(h]h ]h"]h$]h&]uh1j hjvhM-hjgubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_wake_pending_tasks (C function)c.xprt_wake_pending_taskshNtauh1hhjhhhNhNubh)}(hhh](h)}(h@void xprt_wake_pending_tasks (struct rpc_xprt *xprt, int status)h]h)}(h?void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMKubj)}(hxprt_wake_pending_tasksh]j%)}(hxprt_wake_pending_tasksh]hxprt_wake_pending_tasks}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMKubj)}(h#(struct rpc_xprt *xprt, int status)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jjsbc.xprt_wake_pending_tasksasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int statush](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hstatush]hstatus}(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)}(h-wake all tasks on a transport's pending queueh]h/wake all tasks on a transport’s pending queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct rpc_xprt *xprt`` transport with waiting tasks ``int status`` result code to plant in each task before waking ith](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMOhjubj)}(hhh](j)}(h7``struct rpc_xprt *xprt`` transport with waiting tasks h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj h]hstruct rpc_xprt *xprt}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMLhj ubj)}(hhh]jX)}(htransport with waiting tasksh]htransport with waiting tasks}(hj) hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj% hMLhj& ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj% hMLhj ubj)}(hA``int status`` result code to plant in each task before waking ith](j)}(h``int status``h]j)}(hjI h]h int status}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMNhjC ubj)}(hhh]jX)}(h2result code to plant in each task before waking ith]h2result code to plant in each task before waking it}(hjb 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&]uh1jhjC ubeh}(h]h ]h"]h$]h&]uh1jhj^ hMNhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xprt_wait_for_buffer_space (C function)c.xprt_wait_for_buffer_spacehNtauh1hhjhhhNhNubh)}(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}(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_wait_for_buffer_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}(hj9!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj hMZubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMZubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMZhj hhubjS)}(hhh]jX)}(h)wait for transport output buffer to clearh]h)wait for transport output buffer to clear}(hjc!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{uh1hhhhjhNhNubj})}(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)}(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)}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_write_space (C function)c.xprt_write_spacehNtauh1hhjhhhNhNubh)}(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 }(hj2"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj "hhhj1"hMtubj)}(hxprt_write_spaceh]j%)}(hxprt_write_spaceh]hxprt_write_space}(hjD"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@"ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj "hhhj1"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 }(hjm"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')}jjF"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=uh1jhjX"ubah}(h]h ]h"]h$]h&]j<j=uh1jhj "hhhj1"hMtubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj"hhhj1"hMtubah}(h]j"ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1"hMthj"hhubjS)}(hhh]jX)}(h7wake the task waiting for transport output buffer spaceh]h7wake the task waiting for transport output buffer space}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMthj"hhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj1"hMtubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"jxj"jyjzj{uh1hhhhjhNhNubj})}(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)}(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.chMxhj"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&]uh1jWhj9#hMuhj:#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj9#hMuhj#ubah}(h]h ]h"]h$]h&]uh1jhj"ubjX)}(h**Description**h]j)}(hj_#h]h Description}(hja#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]#ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMwhj"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.}(hju#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMvhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xprt_disconnect_done (C function)c.xprt_disconnect_donehNtauh1hhjhhhNhNubh)}(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}(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_disconnect_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%)}(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#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}(hjd$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhja$hhubah}(h]h ]h"]h$]h&]uh1jRhj#hhhj#hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|$jxj|$jyjzj{uh1hhhhjhNhNubj})}(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$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 to flag for disconnecth]h transport to flag for disconnect}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xprt_force_disconnect (C function)c.xprt_force_disconnecthNtauh1hhjhhhNhNubh)}(hhh](h)}(h2void xprt_force_disconnect (struct rpc_xprt *xprt)h]h)}(h1void xprt_force_disconnect(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_force_disconnecth]j%)}(hxprt_force_disconnecth]hxprt_force_disconnect}(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}(hj<%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8%ubj)}(h h]h }(hjI%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8%ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjZ%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjW%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\%modnameN classnameNjj!)}j$]j')}jj"%sbc.xprt_force_disconnectasbuh1hhj8%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%)}(hxprth]hxprt}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4%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)}(hforce a transport to disconnecth]hforce a transport to disconnect}(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{uh1hhhhjhNhNubj})}(hC**Parameters** ``struct rpc_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&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj%ubj)}(hhh]j)}(h1``struct rpc_xprt *xprt`` transport to disconnecth](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)}(htransport to disconnecth]htransport to disconnect}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xprt_reconnect_delay (C function)c.xprt_reconnect_delayhNtauh1hhjhhhNhNubh)}(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}(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 }(hji&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjV&hhhjh&hMubj)}(hlongh]hlong}(hjw&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV&hhhjh&hMubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjV&hhhjh&hMubj)}(hxprt_reconnect_delayh]j%)}(hxprt_reconnect_delayh]hxprt_reconnect_delay}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjV&hhhjh&hMubj)}(h(const struct rpc_xprt *xprt)h]j)}(hconst struct rpc_xprt *xprth](h)}(hjh]hconst}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(hrpc_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_reconnect_delayasbuh1hhj&ubj)}(h h]h }(hj 'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hj'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(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=uh1jhjV&hhhjh&hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjR&hhhjh&hMubah}(h]jM&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjh&hMhjO&hhubjS)}(hhh]jX)}(h,compute the wait before scheduling a connecth]h,compute the wait before scheduling a connect}(hjQ'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjN'hhubah}(h]h ]h"]h$]h&]uh1jRhjO&hhhjh&hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwji'jxji'jyjzj{uh1hhhhjhNhNubj})}(hD**Parameters** ``const struct rpc_xprt *xprt`` transport instanceh](jX)}(h**Parameters**h]j)}(hjs'h]h Parameters}(hju'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq'ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjm'ubj)}(hhh]j)}(h2``const struct rpc_xprt *xprt`` transport instanceh](j)}(h``const struct rpc_xprt *xprt``h]j)}(hj'h]hconst struct 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)}(htransport instanceh]htransport instance}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhjm'ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_reconnect_backoff (C function)c.xprt_reconnect_backoffhNtauh1hhjhhhNhNubh)}(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}(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_reconnect_backoffh]j%)}(hxprt_reconnect_backoffh]hxprt_reconnect_backoff}(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, unsigned long init_to)h](j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj)(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%(ubj)}(h h]h }(hj6(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%(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_reconnect_backoffasbuh1hhj%(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%)}(hxprth]hxprt}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!(ubj)}(hunsigned long init_toh](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%)}(hinit_toh]hinit_to}(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$compute the new re-establish timeouth]h$compute the new re-establish timeout}(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{uh1hhhhjhNhNubj})}(hw**Parameters** ``struct rpc_xprt *xprt`` transport instance ``unsigned long init_to`` initial reestablish timeouth](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 instance h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj>)h]hstruct rpc_xprt *xprt}(hj@)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<)ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj8)ubj)}(hhh]jX)}(htransport instanceh]htransport instance}(hjW)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjS)hMhjT)ubah}(h]h ]h"]h$]h&]uh1jhj8)ubeh}(h]h ]h"]h$]h&]uh1jhjS)hMhj5)ubj)}(h5``unsigned long init_to`` initial reestablish timeouth](j)}(h``unsigned long init_to``h]j)}(hjw)h]hunsigned long init_to}(hjy)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju)ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjq)ubj)}(hhh]jX)}(hinitial reestablish timeouth]hinitial reestablish timeout}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj)ubah}(h]h ]h"]h$]h&]uh1jhjq)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj5)ubeh}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_lookup_rqst (C function)c.xprt_lookup_rqsthNtauh1hhjhhhNhNubh)}(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}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM$ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj)hM$ubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)modnameN classnameNjj!)}j$]j')}jxprt_lookup_rqstsbc.xprt_lookup_rqstasbuh1hhj)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)}(hxprt_lookup_rqsth]j%)}(hj*h]hxprt_lookup_rqst}(hj0*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)hhhj)hM$ubj)}(h#(struct rpc_xprt *xprt, __be32 xid)h](j)}(hstruct rpc_xprt *xprth](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%)}(hrpc_xprth]hrpc_xprt}(hji*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjk*modnameN classnameNjj!)}j$]j *c.xprt_lookup_rqstasbuh1hhjG*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%)}(hxprth]hxprt}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjC*ubj)}(h __be32 xidh](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 *c.xprt_lookup_rqstasbuh1hhj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj%)}(hxidh]hxid}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjC*ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj)hhhj)hM$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)hhhj)hM$ubah}(h]j)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj)hM$hj)hhubjS)}(hhh]jX)}(h+find an RPC request corresponding to an XIDh]h+find an RPC request corresponding to an XID}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM$hj+hhubah}(h]h ]h"]h$]h&]uh1jRhj)hhhj)hM$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,+jxj,+jyjzj{uh1hhhhjhNhNubj})}(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)}(hj6+h]h Parameters}(hj8+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4+ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hj0+ubj)}(hhh](j)}(hR``struct rpc_xprt *xprt`` transport on which the original request was transmitted h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjU+h]hstruct rpc_xprt *xprt}(hjW+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS+ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM%hjO+ubj)}(hhh]jX)}(h7transport on which the original request was transmittedh]h7transport on which the original request was transmitted}(hjn+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjj+hM%hjk+ubah}(h]h ]h"]h$]h&]uh1jhjO+ubeh}(h]h ]h"]h$]h&]uh1jhjj+hM%hjL+ubj)}(h)``__be32 xid`` RPC XID of incoming reply h](j)}(h``__be32 xid``h]j)}(hj+h]h __be32 xid}(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)}(hRPC XID of incoming replyh]hRPC XID of incoming reply}(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&hjL+ubeh}(h]h ]h"]h$]h&]uh1jhj0+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(hj0+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.chM'hj0+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_pin_rqst (C function)c.xprt_pin_rqsthNtauh1hhjhhhNhNubh)}(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}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ,hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ,hhhj,hMDubj)}(h xprt_pin_rqsth]j%)}(h xprt_pin_rqsth]h xprt_pin_rqst}(hj/,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj ,hhhj,hMDubj)}(h(struct rpc_rqst *req)h]j)}(hstruct rpc_rqst *reqh](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%)}(hrpc_rqsth]hrpc_rqst}(hji,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjk,modnameN classnameNjj!)}j$]j')}jj1,sbc.xprt_pin_rqstasbuh1hhjG,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%)}(hreqh]hreq}(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,hMDubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,hhhj,hMDubah}(h]j,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,hMDhj,hhubjS)}(hhh]jX)}(h+Pin a request on the transport receive listh]h+Pin a request on the transport receive list}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDhj,hhubah}(h]h ]h"]h$]h&]uh1jRhj,hhhj,hMDubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,jxj,jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct rpc_rqst *req`` Request to pin **Description** Caller must ensure this is atomic with the call to xprt_lookup_rqst() so should be holding xprt->queue_lock.h](jX)}(h**Parameters**h]j)}(hj,h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMHhj,ubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hj-h]hstruct rpc_rqst *req}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj -ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMEhj -ubj)}(hhh]jX)}(hRequest to pinh]hRequest to pin}(hj(-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$-hMEhj%-ubah}(h]h ]h"]h$]h&]uh1jhj -ubeh}(h]h ]h"]h$]h&]uh1jhj$-hMEhj-ubah}(h]h ]h"]h$]h&]uh1jhj,ubjX)}(h**Description**h]j)}(hjJ-h]h Description}(hjL-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH-ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMGhj,ubjX)}(hlCaller must ensure this is atomic with the call to xprt_lookup_rqst() so should be holding xprt->queue_lock.h]hlCaller must ensure this is atomic with the call to xprt_lookup_rqst() so should be holding xprt->queue_lock.}(hj`-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMFhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_unpin_rqst (C function)c.xprt_unpin_rqsthNtauh1hhjhhhNhNubh)}(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}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj-hMQubj)}(hxprt_unpin_rqsth]j%)}(hxprt_unpin_rqsth]hxprt_unpin_rqst}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj-hMQubj)}(h(struct rpc_rqst *req)h]j)}(hstruct rpc_rqst *reqh](h)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j')}jj-sbc.xprt_unpin_rqstasbuh1hhj-ubj)}(h h]h }(hj .hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj;)}(hj>h]h*}(hj.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-ubj%)}(hreqh]hreq}(hj%.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-ubah}(h]h ]h"]h$]h&]j<j=uh1jhj-hhhj-hMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-hhhj-hMQubah}(h]j-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-hMQhj-hhubjS)}(hhh]jX)}(h-Unpin a request on the transport receive listh]h-Unpin a request on the transport receive list}(hjO.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQhjL.hhubah}(h]h ]h"]h$]h&]uh1jRhj-hhhj-hMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjg.jxjg.jyjzj{uh1hhhhjhNhNubj})}(hv**Parameters** ``struct rpc_rqst *req`` Request to pin **Description** Caller should be holding xprt->queue_lock.h](jX)}(h**Parameters**h]j)}(hjq.h]h Parameters}(hjs.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo.ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMUhjk.ubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hj.h]hstruct rpc_rqst *req}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMRhj.ubj)}(hhh]jX)}(hRequest to pinh]hRequest to pin}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMRhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMRhj.ubah}(h]h ]h"]h$]h&]uh1jhjk.ubjX)}(h**Description**h]j)}(hj.h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMThjk.ubjX)}(h*Caller should be holding xprt->queue_lock.h]h*Caller should be holding xprt->queue_lock.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMShjk.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_update_rtt (C function)c.xprt_update_rtthNtauh1hhjhhhNhNubh)}(hhh](h)}(h,void xprt_update_rtt (struct rpc_task *task)h]h)}(h+void xprt_update_rtt(struct rpc_task *task)h](j)}(hvoidh]hvoid}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj /hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj /hhhj/hMubj)}(hxprt_update_rtth]j%)}(hxprt_update_rtth]hxprt_update_rtt}(hj1/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}(hjM/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjI/ubj)}(h h]h }(hjZ/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjI/ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjk/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjm/modnameN classnameNjj!)}j$]j')}jj3/sbc.xprt_update_rttasbuh1hhjI/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjI/ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjI/ubj%)}(htaskh]htask}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjI/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjE/ubah}(h]h ]h"]h$]h&]j<j=uh1jhj /hhhj/hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/hhhj/hMubah}(h]j/ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj/hMhj/hhubjS)}(hhh]jX)}(hUpdate RPC RTT statisticsh]hUpdate RPC RTT statistics}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj/hhubah}(h]h ]h"]h$]h&]uh1jRhj/hhhj/hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj/jxj/jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct rpc_task *task`` RPC request that recently completed **Description** Caller holds xprt->queue_lock.h](jX)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj/ubj)}(hhh]j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hj0h]hstruct rpc_task *task}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj 0ubj)}(hhh]jX)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hj*0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&0hMhj'0ubah}(h]h ]h"]h$]h&]uh1jhj 0ubeh}(h]h ]h"]h$]h&]uh1jhj&0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubjX)}(h**Description**h]j)}(hjL0h]h Description}(hjN0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ0ubah}(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.}(hjb0hhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_complete_rqst (C function)c.xprt_complete_rqsthNtauh1hhjhhhNhNubh)}(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}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhj0hMubj)}(hxprt_complete_rqsth]j%)}(hxprt_complete_rqsth]hxprt_complete_rqst}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0hhhj0hMubj)}(h#(struct rpc_task *task, int copied)h](j)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj0modnameN classnameNjj!)}j$]j')}jj0sbc.xprt_complete_rqstasbuh1hhj0ubj)}(h h]h }(hj 1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(htaskh]htask}(hj'1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(h int copiedh](j)}(hinth]hint}(hj@1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<1ubj)}(h h]h }(hjN1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<1ubj%)}(hcopiedh]hcopied}(hj\1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj0hhhj0hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj0hhhj0hMubah}(h]j0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hMhj0hhubjS)}(hhh]jX)}(h(called when reply processing is completeh]h(called when reply processing is complete}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj1hhubah}(h]h ]h"]h$]h&]uh1jRhj0hhhj0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1jxj1jyjzj{uh1hhhhjhNhNubj})}(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)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj1ubj)}(hhh](j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hj1h]hstruct rpc_task *task}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj1ubj)}(hhh]jX)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj1ubj)}(hB``int copied`` actual number of bytes received from the transport h](j)}(h``int copied``h]j)}(hj2h]h int copied}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj1ubj)}(hhh]jX)}(h2actual number of bytes received from the transporth]h2actual number of bytes received from the transport}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1ubjX)}(h**Description**h]j)}(hj;2h]h Description}(hj=2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj92ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj1ubjX)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hjQ2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,xprt_wait_for_reply_request_def (C function)!c.xprt_wait_for_reply_request_defhNtauh1hhjhhhNhNubh)}(hhh](h)}(hh]h*}(hj 3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(htaskh]htask}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubah}(h]h ]h"]h$]h&]j<j=uh1jhj|2hhhj2hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjx2hhhj2hMubah}(h]js2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj2hMhju2hhubjS)}(hhh]jX)}(hwait for replyh]hwait for reply}(hj@3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj=3hhubah}(h]h ]h"]h$]h&]uh1jRhju2hhhj2hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjX3jxjX3jyjzj{uh1hhhhjhNhNubj})}(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)}(hjb3h]h Parameters}(hjd3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`3ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj\3ubj)}(hhh]j)}(h.``struct rpc_task *task`` pointer to rpc_task h](j)}(h``struct rpc_task *task``h]j)}(hj3h]hstruct rpc_task *task}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj{3ubj)}(hhh]jX)}(hpointer to rpc_taskh]hpointer to rpc_task}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj{3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjx3ubah}(h]h ]h"]h$]h&]uh1jhj\3ubjX)}(h**Description**h]j)}(hj3h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj\3ubjX)}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj\3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,xprt_wait_for_reply_request_rtt (C function)!c.xprt_wait_for_reply_request_rtthNtauh1hhjhhhNhNubh)}(hhh](h)}(h4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:4ubj)}(h h]h }(hjK4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:4ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hj\4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjY4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^4modnameN classnameNjj!)}j$]j')}jj$4sb!c.xprt_wait_for_reply_request_rttasbuh1hhj: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%)}(htaskh]htask}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj64ubah}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhj4hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhj4hMubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4hMhj3hhubjS)}(hhh]jX)}(h"wait for reply using RTT estimatorh]h"wait for reply using RTT estimator}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhj4hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhjhNhNubj})}(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)}(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_task *task`` pointer to rpc_task h](j)}(h``struct rpc_task *task``h]j)}(hj5h]hstruct rpc_task *task}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4ubj)}(hhh]jX)}(hpointer to rpc_taskh]hpointer to rpc_task}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubjX)}(h**Description**h]j)}(hj=5h]h Description}(hj?5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;5ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4ubjX)}(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.}(hjS5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_get (C function) c.xprt_gethNtauh1hhjhhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~5hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMoubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~5hhhj5hMoubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j')}jxprt_getsb c.xprt_getasbuh1hhj~5hhhj5hMoubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~5hhhj5hMoubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~5hhhj5hMoubj)}(hxprt_geth]j%)}(hj5h]hxprt_get}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~5hhhj5hMoubj)}(h(struct rpc_xprt *xprt)h]j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hj 6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j5 c.xprt_getasbuh1hhj5ubj)}(h h]h }(hj86hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hjF6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hxprth]hxprt}(hjS6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubah}(h]h ]h"]h$]h&]j<j=uh1jhj~5hhhj5hMoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjz5hhhj5hMoubah}(h]ju5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5hMohjw5hhubjS)}(hhh]jX)}(h'return a reference to an RPC transport.h]h'return a reference to an RPC transport.}(hj}6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMohjz6hhubah}(h]h ]h"]h$]h&]uh1jRhjw5hhhj5hMoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{uh1hhhhjhNhNubj})}(hD**Parameters** ``struct rpc_xprt *xprt`` pointer to the transporth](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.chMshj6ubj)}(hhh]j)}(h2``struct rpc_xprt *xprt`` pointer to the transporth](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.chMuhj6ubj)}(hhh]jX)}(hpointer to the transporth]hpointer to the transport}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMphj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMuhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_put (C function) c.xprt_puthNtauh1hhjhhhNhNubh)}(hhh](h)}(h%void xprt_put (struct rpc_xprt *xprt)h]h)}(h$void xprt_put(struct rpc_xprt *xprt)h](j)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM|ubj)}(h h]h }(hj'7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhj&7hM|ubj)}(hxprt_puth]j%)}(hxprt_puth]hxprt_put}(hj97hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj57ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhj&7hM|ubj)}(h(struct rpc_xprt *xprt)h]j)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjU7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQ7ubj)}(h h]h }(hjb7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQ7ubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjs7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjp7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetju7modnameN classnameNjj!)}j$]j')}jj;7sb c.xprt_putasbuh1hhjQ7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQ7ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQ7ubj%)}(hxprth]hxprt}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQ7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjM7ubah}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhj&7hM|ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhj&7hM|ubah}(h]j 7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&7hM|hj 7hhubjS)}(hhh]jX)}(h(release a reference to an RPC transport.h]h(release a reference to an RPC transport.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM|hj7hhubah}(h]h ]h"]h$]h&]uh1jRhj 7hhhj&7hM|ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhjhNhNubj})}(hD**Parameters** ``struct rpc_xprt *xprt`` pointer to the transporth](jX)}(h**Parameters**h]j)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj7ubj)}(hhh]j)}(h2``struct rpc_xprt *xprt`` pointer to the transporth](j)}(h``struct rpc_xprt *xprt``h]j)}(hj8h]hstruct rpc_xprt *xprt}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj8ubj)}(hhh]jX)}(hpointer to the transporth]hpointer to the transport}(hj28hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM}hj/8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj.8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up (C function) c.rpc_wake_uphNtauh1hhjhhhNhNubh)}(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}(hjs8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo8hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo8hhhj8hMubj)}(h rpc_wake_uph]j%)}(h rpc_wake_uph]h rpc_wake_up}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjo8hhhj8hMubj)}(h(struct rpc_wait_queue *queue)h]j)}(hstruct rpc_wait_queue *queueh](h)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubh)}(hhh]j%)}(hrpc_wait_queueh]hrpc_wait_queue}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j')}jj8sb c.rpc_wake_upasbuh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hqueueh]hqueue}(hj 9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubah}(h]h ]h"]h$]h&]j<j=uh1jhjo8hhhj8hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjk8hhhj8hMubah}(h]jf8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj8hMhjh8hhubjS)}(hhh]jX)}(hwake up all rpc_tasksh]hwake up all rpc_tasks}(hj39hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj09hhubah}(h]h ]h"]h$]h&]uh1jRhjh8hhhj8hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjK9jxjK9jyjzj{uh1hhhhjhNhNubj})}(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)}(hjU9h]h Parameters}(hjW9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS9ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjO9ubj)}(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)}(hjt9h]hstruct rpc_wait_queue *queue}(hjv9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjn9ubj)}(hhh]jX)}(h.rpc_wait_queue on which the tasks are sleepingh]h.rpc_wait_queue on which the tasks are sleeping}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjn9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjk9ubah}(h]h ]h"]h$]h&]uh1jhjO9ubjX)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjO9ubjX)}(hGrabs queue->lockh]hGrabs queue->lock}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjO9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up_status (C function)c.rpc_wake_up_statushNtauh1hhjhhhNhNubh)}(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}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhj:hMubj)}(hrpc_wake_up_statush]j%)}(hrpc_wake_up_statush]hrpc_wake_up_status}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhj:hMubj)}(h*(struct rpc_wait_queue *queue, int status)h](j)}(hstruct rpc_wait_queue *queueh](h)}(hjh]hstruct}(hj1:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-:ubj)}(h h]h }(hj>:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-:ubh)}(hhh]j%)}(hrpc_wait_queueh]hrpc_wait_queue}(hjO:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQ:modnameN classnameNjj!)}j$]j')}jj:sbc.rpc_wake_up_statusasbuh1hhj-: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%)}(hqueueh]hqueue}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj):ubj)}(h int statush](j)}(hinth]hint}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj%)}(hstatush]hstatus}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj):ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj9hhhj:hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9hhhj:hMubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj:hMhj9hhubjS)}(hhh]jX)}(h1wake up all rpc_tasks and set their status value.h]h1wake up all rpc_tasks and set their status value.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj:hhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhj:hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct rpc_wait_queue *queue`` rpc_wait_queue on which the tasks are sleeping ``int status`` status value to set **Description** Grabs queue->lockh](jX)}(h**Parameters**h]j)}(hj ;h]h Parameters}(hj ;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ;ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj;ubj)}(hhh](j)}(hP``struct rpc_wait_queue *queue`` rpc_wait_queue on which the tasks are sleeping h](j)}(h ``struct rpc_wait_queue *queue``h]j)}(hj*;h]hstruct rpc_wait_queue *queue}(hj,;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(;ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj$;ubj)}(hhh]jX)}(h.rpc_wait_queue on which the tasks are sleepingh]h.rpc_wait_queue on which the tasks are sleeping}(hjC;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?;hMhj@;ubah}(h]h ]h"]h$]h&]uh1jhj$;ubeh}(h]h ]h"]h$]h&]uh1jhj?;hMhj!;ubj)}(h#``int status`` status value to set h](j)}(h``int status``h]j)}(hjc;h]h int status}(hje;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja;ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj];ubj)}(hhh]jX)}(hstatus value to seth]hstatus value to set}(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&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj;ubjX)}(hGrabs queue->lockh]hGrabs queue->lock}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_alloc_iostats (C function)c.rpc_alloc_iostatshNtauh1hhjhhhNhNubh)}(hhh](h)}(h>struct rpc_iostats * rpc_alloc_iostats (struct rpc_clnt *clnt)h]h)}(hh]h*}(hj1<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;hhhj;hKxubj)}(hrpc_alloc_iostatsh]j%)}(hj <h]hrpc_alloc_iostats}(hjB<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj><ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhj;hKxubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hj]<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjY<ubj)}(h h]h }(hjj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjY<ubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj{<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjx<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}<modnameN classnameNjj!)}j$]j<c.rpc_alloc_iostatsasbuh1hhjY<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjY<ubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjY<ubj%)}(hclnth]hclnt}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjY<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjU<ubah}(h]h ]h"]h$]h&]j<j=uh1jhj;hhhj;hKxubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhj;hKxubah}(h]j;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;hKxhj;hhubjS)}(hhh]jX)}(h!allocate an rpc_iostats structureh]h!allocate an rpc_iostats structure}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKxhj<hhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhj;hKxubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhjhNhNubj})}(hJ**Parameters** ``struct rpc_clnt *clnt`` RPC program, version, and xprth](jX)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chK|hj<ubj)}(hhh]j)}(h8``struct rpc_clnt *clnt`` RPC program, version, and xprth](j)}(h``struct rpc_clnt *clnt``h]j)}(hj=h]hstruct rpc_clnt *clnt}(hj!=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chK~hj=ubj)}(hhh]jX)}(hRPC program, version, and xprth]hRPC program, version, and xprt}(hj8=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKyhj5=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj4=hK~hj=ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_free_iostats (C function)c.rpc_free_iostatshNtauh1hhjhhhNhNubh)}(hhh](h)}(h1void rpc_free_iostats (struct rpc_iostats *stats)h]h)}(h0void rpc_free_iostats(struct rpc_iostats *stats)h](j)}(hvoidh]hvoid}(hjy=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju=hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hju=hhhj=hKubj)}(hrpc_free_iostatsh]j%)}(hrpc_free_iostatsh]hrpc_free_iostats}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhju=hhhj=hKubj)}(h(struct rpc_iostats *stats)h]j)}(hstruct rpc_iostats *statsh](h)}(hjh]hstruct}(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_iostatsh]h rpc_iostats}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]j')}jj=sbc.rpc_free_iostatsasbuh1hhj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(hstatsh]hstats}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubah}(h]h ]h"]h$]h&]j<j=uh1jhju=hhhj=hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjq=hhhj=hKubah}(h]jl=ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=hKhjn=hhubjS)}(hhh]jX)}(h release an rpc_iostats structureh]h release an rpc_iostats structure}(hj9>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj6>hhubah}(h]h ]h"]h$]h&]uh1jRhjn=hhhj=hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQ>jxjQ>jyjzj{uh1hhhhjhNhNubj})}(hL**Parameters** ``struct rpc_iostats *stats`` doomed rpc_iostats structureh](jX)}(h**Parameters**h]j)}(hj[>h]h Parameters}(hj]>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY>ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjU>ubj)}(hhh]j)}(h:``struct rpc_iostats *stats`` doomed rpc_iostats structureh](j)}(h``struct rpc_iostats *stats``h]j)}(hjz>h]hstruct rpc_iostats *stats}(hj|>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx>ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjt>ubj)}(hhh]jX)}(hdoomed rpc_iostats structureh]hdoomed rpc_iostats structure}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj>ubah}(h]h ]h"]h$]h&]uh1jhjt>ubeh}(h]h ]h"]h$]h&]uh1jhj>hKhjq>ubah}(h]h ]h"]h$]h&]uh1jhjU>ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&rpc_count_iostats_metrics (C function)c.rpc_count_iostats_metricshNtauh1hhjhhhNhNubh)}(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}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhj>hKubj)}(hrpc_count_iostats_metricsh]j%)}(hrpc_count_iostats_metricsh]hrpc_count_iostats_metrics}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhj>hKubj)}(h=(const struct rpc_task *task, struct rpc_iostats *op_metrics)h](j)}(hconst struct rpc_task *taskh](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 }(hj9?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ?ubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjJ?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjG?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjL?modnameN classnameNjj!)}j$]j')}jj>sbc.rpc_count_iostats_metricsasbuh1hhj ?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%)}(htaskh]htask}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ?ubj)}(hstruct rpc_iostats *op_metricsh](h)}(hjh]hstruct}(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_iostatsh]h rpc_iostats}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?modnameN classnameNjj!)}j$]jf?c.rpc_count_iostats_metricsasbuh1hhj?ubj)}(h h]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 op_metricsh]h op_metrics}(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)}(htally up per-task statsh]htally up per-task stats}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj@hhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhj>hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7@jxj7@jyjzj{uh1hhhhjhNhNubj})}(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)}(hjA@h]h Parameters}(hjC@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?@ubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj;@ubj)}(hhh](j)}(h3``const struct rpc_task *task`` completed rpc_task h](j)}(h``const struct rpc_task *task``h]j)}(hj`@h]hconst struct rpc_task *task}(hjb@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjZ@ubj)}(hhh]jX)}(hcompleted rpc_taskh]hcompleted rpc_task}(hjy@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhju@hKhjv@ubah}(h]h ]h"]h$]h&]uh1jhjZ@ubeh}(h]h ]h"]h$]h&]uh1jhju@hKhjW@ubj)}(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)}(hj@h]hstruct rpc_iostats *op_metrics}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj@ubj)}(hhh]jX)}(h>stat structure for OP that will accumulate stats from **task**h](h6stat structure for OP that will accumulate stats from }(hj@hhhNhNubj)}(h**task**h]htask}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hKhjW@ubeh}(h]h ]h"]h$]h&]uh1jhj;@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_count_iostats (C function)c.rpc_count_iostatshNtauh1hhjhhhNhNubh)}(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}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjAhKubj)}(hrpc_count_iostatsh]j%)}(hrpc_count_iostatsh]hrpc_count_iostats}(hj"AhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhjAhKubj)}(h8(const struct rpc_task *task, struct rpc_iostats *stats)h](j)}(hconst struct rpc_task *taskh](h)}(hjh]hconst}(hj>AhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:Aubj)}(h h]h }(hjKAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:Aubh)}(hjh]hstruct}(hjYAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:Aubj)}(h h]h }(hjfAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:Aubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjwAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjyAmodnameN classnameNjj!)}j$]j')}jj$Asbc.rpc_count_iostatsasbuh1hhj: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%)}(htaskh]htask}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:Aubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6Aubj)}(hstruct rpc_iostats *statsh](h)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hhh]j%)}(h rpc_iostatsh]h rpc_iostats}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]jAc.rpc_count_iostatsasbuh1hhjAubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hstatsh]hstats}(hj"BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6Aubeh}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhjAhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhjAhKubah}(h]j@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhKhj@hhubjS)}(hhh]jX)}(htally up per-task statsh]htally up per-task stats}(hjLBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjIBhhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhjAhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjdBjxjdBjyjzj{uh1hhhhjhNhNubj})}(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)}(hjnBh]h Parameters}(hjpBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlBubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjhBubj)}(hhh](j)}(h3``const struct rpc_task *task`` completed rpc_task h](j)}(h``const struct rpc_task *task``h]j)}(hjBh]hconst struct rpc_task *task}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjBubj)}(hhh]jX)}(hcompleted rpc_taskh]hcompleted rpc_task}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhKhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhKhjBubj)}(h7``struct rpc_iostats *stats`` array of stat structures h](j)}(h``struct rpc_iostats *stats``h]j)}(hjBh]hstruct rpc_iostats *stats}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjBubj)}(hhh]jX)}(harray of stat structuresh]harray of stat structures}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhKhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhKhjBubeh}(h]h ]h"]h$]h&]uh1jhjhBubjX)}(h**Description**h]j)}(hjCh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjhBubjX)}(hUses the statidx from **task**h](hUses the statidx from }(hjChhhNhNubj)}(h**task**h]htask}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjhBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_queue_upcall (C function)c.rpc_queue_upcallhNtauh1hhjhhhNhNubh)}(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}(hjTChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPChhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}ubj)}(h h]h }(hjcChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPChhhjbChK}ubj)}(hrpc_queue_upcallh]j%)}(hrpc_queue_upcallh]hrpc_queue_upcall}(hjuChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPChhhjbChK}ubj)}(h1(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)h](j)}(hstruct rpc_pipe *pipeh](h)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(hrpc_pipeh]hrpc_pipe}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]j')}jjwCsbc.rpc_queue_upcallasbuh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hpipeh]hpipe}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(hstruct rpc_pipe_msg *msgh](h)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubh)}(hhh]j%)}(h rpc_pipe_msgh]h rpc_pipe_msg}(hj!DhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#DmodnameN classnameNjj!)}j$]jCc.rpc_queue_upcallasbuh1hhjCubj)}(h h]h }(hj?DhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj;)}(hj>h]h*}(hjMDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCubj%)}(hmsgh]hmsg}(hjZDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubeh}(h]h ]h"]h$]h&]j<j=uh1jhjPChhhjbChK}ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLChhhjbChK}ubah}(h]jGCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbChK}hjIChhubjS)}(hhh]jX)}(h$queue an upcall message to userspaceh]h$queue an upcall message to userspace}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}hjDhhubah}(h]h ]h"]h$]h&]uh1jRhjIChhhjbChK}ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjDjxjDjyjzj{uh1hhhhjhNhNubj})}(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)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjDubj)}(hhh](j)}(hF``struct rpc_pipe *pipe`` upcall pipe on which to queue given message h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjDh]hstruct rpc_pipe *pipe}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK~hjDubj)}(hhh]jX)}(h+upcall pipe on which to queue given messageh]h+upcall pipe on which to queue given message}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhK~hjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhK~hjDubj)}(h.``struct rpc_pipe_msg *msg`` message to queue h](j)}(h``struct rpc_pipe_msg *msg``h]j)}(hjDh]hstruct rpc_pipe_msg *msg}(hjEhhhNhNubah}(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.chKhjDubj)}(hhh]jX)}(hmessage to queueh]hmessage to queue}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhKhjEubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjEhKhjDubeh}(h]h ]h"]h$]h&]uh1jhjDubjX)}(h**Description**h]j)}(hj9Eh]h Description}(hj;EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Eubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjDubjX)}(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 }(hjOEhhhNhNubj)}(h **inode**h]hinode}(hjWEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOEubh 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 }(hjOEhhhNhNubj)}(h**msg**h]hmsg}(hjiEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOEubh (other than }(hjOEhhhNhNubj)}(h **msg->list**h]h msg->list}(hj{EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOEubh) appropriately.}(hjOEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_mkpipe_dentry (C function)c.rpc_mkpipe_dentryhNtauh1hhjhhhNhNubh)}(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}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMkubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhjEhMkubj)}(hrpc_mkpipe_dentryh]j%)}(hrpc_mkpipe_dentryh]hrpc_mkpipe_dentry}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjEhMkubj)}(hO(struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h](j)}(hstruct dentry *parenth](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(hdentryh]hdentry}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Fubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j')}jjEsbc.rpc_mkpipe_dentryasbuh1hhjEubj)}(h h]h }(hj/FhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hj=FhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hparenth]hparent}(hjJFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(hconst char *nameh](h)}(hjh]hconst}(hjcFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_Fubj)}(h h]h }(hjpFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_Fubj)}(hcharh]hchar}(hj~FhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_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%)}(hnameh]hname}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_Fubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(h void *privateh](j)}(hvoidh]hvoid}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hprivateh]hprivate}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(hstruct rpc_pipe *pipeh](h)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hrpc_pipeh]hrpc_pipe}(hj GhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"GmodnameN classnameNjj!)}j$]j+Fc.rpc_mkpipe_dentryasbuh1hhjFubj)}(h h]h }(hj>GhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjLGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hpipeh]hpipe}(hjYGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubeh}(h]h ]h"]h$]h&]j<j=uh1jhjEhhhjEhMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjEhhhjEhMkubah}(h]jEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEhMkhjEhhubjS)}(hhh]jX)}(huserspace communicationh]huserspace communication}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMkhjGhhubah}(h]h ]h"]h$]h&]uh1jRhjEhhhjEhMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjGjxjGjyjzj{uh1hhhhjhNhNubj})}(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)}(hjGh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMohjGubj)}(hhh](j)}(hF``struct dentry *parent`` dentry of directory to create new "pipe" in h](j)}(h``struct dentry *parent``h]j)}(hjGh]hstruct dentry *parent}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMmhjGubj)}(hhh]jX)}(h+dentry of directory to create new "pipe" inh]h/dentry of directory to create new “pipe” in}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhMmhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMmhjGubj)}(h"``const char *name`` name of pipe h](j)}(h``const char *name``h]j)}(hjGh]hconst char *name}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMnhjGubj)}(hhh]jX)}(h name of pipeh]h name of pipe}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMnhjHubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjHhMnhjGubj)}(hP``void *private`` private data to associate with the pipe, for the caller's use h](j)}(h``void *private``h]j)}(hj6Hh]h void *private}(hj8HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Hubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMohj0Hubj)}(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}(hjOHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKHhMohjLHubah}(h]h ]h"]h$]h&]uh1jhj0Hubeh}(h]h ]h"]h$]h&]uh1jhjKHhMohjGubj)}(hI``struct rpc_pipe *pipe`` :c:type:`rpc_pipe` containing input parameters h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjoHh]hstruct rpc_pipe *pipe}(hjqHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmHubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMphjiHubj)}(hhh]jX)}(h.:c:type:`rpc_pipe` containing input parametersh](h)}(h:c:type:`rpc_pipe`h]j)}(hjHh]hrpc_pipe}(hjHhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjrpc_pipeuh1hhjHhMphjHubh containing input parameters}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjHhMphjHubah}(h]h ]h"]h$]h&]uh1jhjiHubeh}(h]h ]h"]h$]h&]uh1jhjHhMphjGubeh}(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&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMrhjGubjX)}(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 }(hjHhhhNhNubj)}(h**ops->upcall**h]h ops->upcall}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubhW, which will be called with the file pointer, message, and userspace buffer to copy to.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMqhjGubjX)}(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 }(hjIhhhNhNubj)}(h**msg->downcall**h]h msg->downcall}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMvhjGubjX)}(hThe **private** argument passed here will be available to all these methods from the file pointer, via RPC_I(file_inode(file))->private.h](hThe }(hj!IhhhNhNubj)}(h **private**h]hprivate}(hj)IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Iubhy argument passed here will be available to all these methods from the file pointer, via RPC_I(file_inode(file))->private.}(hj!IhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMyhjGubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_unlink (C function) c.rpc_unlinkhNtauh1hhjhhhNhNubh)}(hhh](h)}(h'void rpc_unlink (struct rpc_pipe *pipe)h]h)}(h&void rpc_unlink(struct rpc_pipe *pipe)h](j)}(hvoidh]hvoid}(hjbIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^IhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hjqIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^IhhhjpIhMubj)}(h rpc_unlinkh]j%)}(h rpc_unlinkh]h rpc_unlink}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^IhhhjpIhMubj)}(h(struct rpc_pipe *pipe)h]j)}(hstruct rpc_pipe *pipeh](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(hrpc_pipeh]hrpc_pipe}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j')}jjIsb c.rpc_unlinkasbuh1hhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hpipeh]hpipe}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubah}(h]h ]h"]h$]h&]j<j=uh1jhj^IhhhjpIhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZIhhhjpIhMubah}(h]jUIah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjpIhMhjWIhhubjS)}(hhh]jX)}(h remove a pipeh]h remove a pipe}(hj"JhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjJhhubah}(h]h ]h"]h$]h&]uh1jRhjWIhhhjpIhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:Jjxj:Jjyjzj{uh1hhhhjhNhNubj})}(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)}(hjDJh]h Parameters}(hjFJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBJubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj>Jubj)}(hhh]j)}(h1``struct rpc_pipe *pipe`` the pipe to be removed h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjcJh]hstruct rpc_pipe *pipe}(hjeJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaJubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj]Jubj)}(hhh]jX)}(hthe pipe to be removedh]hthe pipe to be removed}(hj|JhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxJhMhjyJubah}(h]h ]h"]h$]h&]uh1jhj]Jubeh}(h]h ]h"]h$]h&]uh1jhjxJhMhjZJubah}(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&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj>JubjX)}(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.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj>Jubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#rpc_init_pipe_dir_head (C function)c.rpc_init_pipe_dir_headhNtauh1hhjhhhNhNubh)}(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}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJhhhjJhMubj)}(hrpc_init_pipe_dir_headh]j%)}(hrpc_init_pipe_dir_headh]hrpc_init_pipe_dir_head}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJhhhjJhMubj)}(h(struct rpc_pipe_dir_head *pdh)h]j)}(hstruct rpc_pipe_dir_head *pdhh](h)}(hjh]hstruct}(hj KhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hj-KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hj>KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;Kubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@KmodnameN classnameNjj!)}j$]j')}jjKsbc.rpc_init_pipe_dir_headasbuh1hhjKubj)}(h h]h }(hj^KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hjlKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hpdhh]hpdh}(hjyKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubah}(h]h ]h"]h$]h&]j<j=uh1jhjJhhhjJhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhjJhMubah}(h]jJah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJhMhjJhhubjS)}(hhh]jX)}(h%initialise a struct rpc_pipe_dir_headh]h%initialise a struct rpc_pipe_dir_head}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjKhhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhjJhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{uh1hhhhjhNhNubj})}(hW**Parameters** ``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_headh](jX)}(h**Parameters**h]j)}(hjKh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjKubj)}(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)}(hjKh]hstruct rpc_pipe_dir_head *pdh}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjKubj)}(hhh]jX)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%rpc_init_pipe_dir_object (C function)c.rpc_init_pipe_dir_objecthNtauh1hhjhhhNhNubh)}(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}(hj>LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:LhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hjMLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:LhhhjLLhMubj)}(hrpc_init_pipe_dir_objecth]j%)}(hrpc_init_pipe_dir_objecth]hrpc_init_pipe_dir_object}(hj_LhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[Lubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:LhhhjLLhMubj)}(h`(struct rpc_pipe_dir_object *pdo, const struct rpc_pipe_dir_object_ops *pdo_ops, void *pdo_data)h](j)}(hstruct rpc_pipe_dir_object *pdoh](h)}(hjh]hstruct}(hj{LhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwLubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j')}jjaLsbc.rpc_init_pipe_dir_objectasbuh1hhjwLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwLubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwLubj%)}(hpdoh]hpdo}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsLubj)}(h-const struct rpc_pipe_dir_object_ops *pdo_opsh](h)}(hjh]hconst}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubh)}(hhh]j%)}(hrpc_pipe_dir_object_opsh]hrpc_pipe_dir_object_ops}(hj&MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#Mubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(MmodnameN classnameNjj!)}j$]jLc.rpc_init_pipe_dir_objectasbuh1hhjLubj)}(h h]h }(hjDMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjRMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hpdo_opsh]hpdo_ops}(hj_MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsLubj)}(hvoid *pdo_datah](j)}(hvoidh]hvoid}(hjxMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtMubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtMubj%)}(hpdo_datah]hpdo_data}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsLubeh}(h]h ]h"]h$]h&]j<j=uh1jhj:LhhhjLLhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6LhhhjLLhMubah}(h]j1Lah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLLhMhj3LhhubjS)}(hhh]jX)}(h'initialise a struct rpc_pipe_dir_objecth]h'initialise a struct rpc_pipe_dir_object}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jRhj3LhhhjLLhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{uh1hhhhjhNhNubj})}(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)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjMubj)}(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)}(hj Nh]hstruct rpc_pipe_dir_object *pdo}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Nubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjNubj)}(hhh]jX)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hj%NhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!NhMhj"Nubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhj!NhMhjNubj)}(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)}(hjENh]h-const struct rpc_pipe_dir_object_ops *pdo_ops}(hjGNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj?Nubj)}(hhh]jX)}(h/pointer to const struct rpc_pipe_dir_object_opsh]h/pointer to const struct rpc_pipe_dir_object_ops}(hj^NhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZNhMhj[Nubah}(h]h ]h"]h$]h&]uh1jhj?Nubeh}(h]h ]h"]h$]h&]uh1jhjZNhMhjNubj)}(h1``void *pdo_data`` pointer to caller-defined datah](j)}(h``void *pdo_data``h]j)}(hj~Nh]hvoid *pdo_data}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|Nubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjxNubj)}(hhh]jX)}(hpointer to caller-defined datah]hpointer to caller-defined data}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjNubah}(h]h ]h"]h$]h&]uh1jhjxNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjNubeh}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$rpc_add_pipe_dir_object (C function)c.rpc_add_pipe_dir_objecthNtauh1hhjhhhNhNubh)}(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}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhjNhMubj)}(hrpc_add_pipe_dir_objecth]j%)}(hrpc_add_pipe_dir_objecth]hrpc_add_pipe_dir_object}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhjNhMubj)}(hQ(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hj"OhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hhh]j%)}(hneth]hnet}(hj3OhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0Oubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5OmodnameN classnameNjj!)}j$]j')}jjNsbc.rpc_add_pipe_dir_objectasbuh1hhjOubj)}(h h]h }(hjSOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjaOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hneth]hnet}(hjnOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Oubj)}(hstruct rpc_pipe_dir_head *pdhh](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hhh]j%)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]jOOc.rpc_add_pipe_dir_objectasbuh1hhjOubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hpdhh]hpdh}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Oubj)}(hstruct rpc_pipe_dir_object *pdoh](h)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]jOOc.rpc_add_pipe_dir_objectasbuh1hhjOubj)}(h h]h }(hj3PhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjAPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hpdoh]hpdo}(hjNPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Oubeh}(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)}(h.associate a rpc_pipe_dir_object to a directoryh]h.associate a rpc_pipe_dir_object to a directory}(hjxPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjuPhhubah}(h]h ]h"]h$]h&]uh1jRhjNhhhjNhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjPjxjPjyjzj{uh1hhhhjhNhNubj})}(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)}(hjPh]h Parameters}(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.chMhjPubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjPh]hstruct net *net}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjPubj)}(hhh]jX)}(hpointer to struct neth]hpointer to struct net}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjPubj)}(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)}(hjPh]hstruct rpc_pipe_dir_head *pdh}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjPubj)}(hhh]jX)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hj QhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjPubj)}(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+Qh]hstruct rpc_pipe_dir_object *pdo}(hj-QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)Qubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj%Qubj)}(hhh]jX)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hjDQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjAQubah}(h]h ]h"]h$]h&]uh1jhj%Qubeh}(h]h ]h"]h$]h&]uh1jhj@QhMhjPubeh}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'rpc_remove_pipe_dir_object (C function)c.rpc_remove_pipe_dir_objecthNtauh1hhjhhhNhNubh)}(hhh](h)}(hqvoid rpc_remove_pipe_dir_object (struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h]h)}(hpvoid rpc_remove_pipe_dir_object(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](j)}(hvoidh]hvoid}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjQhM ubj)}(hrpc_remove_pipe_dir_objecth]j%)}(hrpc_remove_pipe_dir_objecth]hrpc_remove_pipe_dir_object}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjQhM ubj)}(hQ(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hhh]j%)}(hneth]hnet}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j')}jjQsbc.rpc_remove_pipe_dir_objectasbuh1hhjQubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hneth]hnet}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hstruct rpc_pipe_dir_head *pdhh](h)}(hjh]hstruct}(hj4RhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0Rubj)}(h h]h }(hjARhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0Rubh)}(hhh]j%)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hjRRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjORubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTRmodnameN classnameNjj!)}j$]jQc.rpc_remove_pipe_dir_objectasbuh1hhj0Rubj)}(h h]h }(hjpRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0Rubj;)}(hj>h]h*}(hj~RhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0Rubj%)}(hpdhh]hpdh}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0Rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hstruct rpc_pipe_dir_object *pdoh](h)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]jQc.rpc_remove_pipe_dir_objectasbuh1hhjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hpdoh]hpdo}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubeh}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhjQhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}QhhhjQhM ubah}(h]jxQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhM hjzQhhubjS)}(hhh]jX)}(h-remove a rpc_pipe_dir_object from a directoryh]h-remove a rpc_pipe_dir_object from a directory}(hj%ShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hj"Shhubah}(h]h ]h"]h$]h&]uh1jRhjzQhhhjQhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj=Sjxj=Sjyjzj{uh1hhhhjhNhNubj})}(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)}(hjGSh]h Parameters}(hjIShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjESubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjASubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjfSh]hstruct net *net}(hjhShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdSubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hj`Subj)}(hhh]jX)}(hpointer to struct neth]hpointer to struct net}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{ShM hj|Subah}(h]h ]h"]h$]h&]uh1jhj`Subeh}(h]h ]h"]h$]h&]uh1jhj{ShM hj]Subj)}(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)}(hjSh]hstruct rpc_pipe_dir_head *pdh}(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.chM hjSubj)}(hhh]jX)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM hjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShM hj]Subj)}(hI``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](j)}(h#``struct rpc_pipe_dir_object *pdo``h]j)}(hjSh]hstruct rpc_pipe_dir_object *pdo}(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.chMhjSubj)}(hhh]jX)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhj]Subeh}(h]h ]h"]h$]h&]uh1jhjASubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(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_objecthNtauh1hhjhhhNhNubh)}(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}(hj2ThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ThhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM!ubj)}(h h]h }(hj@ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.Thhhj?ThM!ubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjQThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSTmodnameN classnameNjj!)}j$]j')}j!rpc_find_or_alloc_pipe_dir_objectsb#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhj.Thhhj?ThM!ubj)}(h h]h }(hjrThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.Thhhj?ThM!ubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.Thhhj?ThM!ubj)}(h!rpc_find_or_alloc_pipe_dir_objecth]j%)}(hjoTh]h!rpc_find_or_alloc_pipe_dir_object}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.Thhhj?ThM!ubj)}(h(struct net *net, struct rpc_pipe_dir_head *pdh, int (*match)(struct rpc_pipe_dir_object*, void*), struct rpc_pipe_dir_object *(*alloc)(void*), void *data)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(hneth]hnet}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]jmT#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hneth]hnet}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(hstruct rpc_pipe_dir_head *pdhh](h)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hj)UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hj:UhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7Uubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjh]h*}(hjfUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hpdhh]hpdh}(hjsUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(h0int (*match)(struct rpc_pipe_dir_object*, void*)h](j)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hjh]h(}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hmatchh]hmatch}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubj;)}(hjh]h)}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj;)}(hjh]h(}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubh)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj VmodnameN classnameNjj!)}j$]jmT#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjUubj;)}(hj>h]h*}(hj&VhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj;)}(h,h]h,}(hj3VhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj)}(h h]h }(hjAVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj)}(hvoidh]hvoid}(hjOVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj;)}(hj>h]h*}(hj]VhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj;)}(hjh]h)}(hjjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(h+struct rpc_pipe_dir_object *(*alloc)(void*)h](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~Vubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~Vubh)}(hhh]j%)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]jmT#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhj~Vubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~Vubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~Vubj;)}(hjh]h(}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~Vubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~Vubj%)}(halloch]halloc}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~Vubj;)}(hjh]h)}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~Vubj;)}(hjh]h(}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~Vubj)}(hvoidh]hvoid}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~Vubj;)}(hj>h]h*}(hj)WhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~Vubj;)}(hjh]h)}(hj6WhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~Vubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(h void *datah](j)}(hvoidh]hvoid}(hjNWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJWubj)}(h h]h }(hj\WhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJWubj;)}(hj>h]h*}(hjjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJWubj%)}(hdatah]hdata}(hjwWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubeh}(h]h ]h"]h$]h&]j<j=uh1jhj.Thhhj?ThM!ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj*Thhhj?ThM!ubah}(h]j%Tah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj?ThM!hj'ThhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhj'Thhhj?ThM!ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjWjxjWjyjzj{uh1hhhhjhNhNubj})}(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)}(hjWh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM%hjWubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjWh]hstruct net *net}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM"hjWubj)}(hhh]jX)}(hpointer to struct neth]hpointer to struct net}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhM"hjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhM"hjWubj)}(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 Xh]hstruct rpc_pipe_dir_head *pdh}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Xubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM#hjXubj)}(hhh]jX)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hj%XhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!XhM#hj"Xubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhj!XhM#hjWubj)}(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)}(hjEXh]h2int (*match)(struct rpc_pipe_dir_object *, void *)}(hjGXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCXubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM$hj?Xubj)}(hhh]jX)}(h(match struct rpc_pipe_dir_object to datah]h(match struct rpc_pipe_dir_object to data}(hj^XhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZXhM$hj[Xubah}(h]h ]h"]h$]h&]uh1jhj?Xubeh}(h]h ]h"]h$]h&]uh1jhjZXhM$hjWubj)}(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)}(hj~Xh]h,struct rpc_pipe_dir_object *(*alloc)(void *)}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|Xubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM%hjxXubj)}(hhh]jX)}(h)allocate a new struct rpc_pipe_dir_objecth]h)allocate a new struct rpc_pipe_dir_object}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhM%hjXubah}(h]h ]h"]h$]h&]uh1jhjxXubeh}(h]h ]h"]h$]h&]uh1jhjXhM%hjWubj)}(h8``void *data`` user defined data for match() and alloc()h](j)}(h``void *data``h]j)}(hjXh]h void *data}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM'hjXubj)}(hhh]jX)}(h)user defined data for match() and alloc()h]h)user defined data for match() and alloc()}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM&hjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhM'hjWubeh}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpcb_getport_async (C function)c.rpcb_getport_asynchNtauh1hhjhhhNhNubh)}(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}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj YhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMubj)}(h h]h }(hj YhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj YhhhjYhMubj)}(hrpcb_getport_asynch]j%)}(hrpcb_getport_asynch]hrpcb_getport_async}(hj2YhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.Yubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj YhhhjYhMubj)}(h(struct rpc_task *task)h]j)}(hstruct rpc_task *taskh](h)}(hjh]hstruct}(hjNYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJYubj)}(h h]h }(hj[YhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJYubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjlYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnYmodnameN classnameNjj!)}j$]j')}jj4Ysbc.rpcb_getport_asyncasbuh1hhjJYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJYubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJYubj%)}(htaskh]htask}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFYubah}(h]h ]h"]h$]h&]j<j=uh1jhj YhhhjYhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj YhhhjYhMubah}(h]jYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYhMhjYhhubjS)}(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}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jRhjYhhhjYhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhjhNhNubj})}(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)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjYubj)}(hhh]j)}(hF``struct rpc_task *task`` task that is waiting for portmapper request h](j)}(h``struct rpc_task *task``h]j)}(hjZh]hstruct rpc_task *task}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhj Zubj)}(hhh]jX)}(h+task that is waiting for portmapper requesth]h+task that is waiting for portmapper request}(hj+ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'ZhMhj(Zubah}(h]h ]h"]h$]h&]uh1jhj Zubeh}(h]h ]h"]h$]h&]uh1jhj'ZhMhj Zubah}(h]h ]h"]h$]h&]uh1jhjYubjX)}(h**Description**h]j)}(hjMZh]h Description}(hjOZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKZubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjYubjX)}(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.}(hjcZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_create (C function) c.rpc_createhNtauh1hhjhhhNhNubh)}(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}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhjZhMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]j')}j rpc_createsb c.rpc_createasbuh1hhjZhhhjZhMubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhjZhMubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZhhhjZhMubj)}(h rpc_createh]j%)}(hjZh]h rpc_create}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhjZhMubj)}(h(struct rpc_create_args *args)h]j)}(hstruct rpc_create_args *argsh](h)}(hjh]hstruct}(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_create_argsh]hrpc_create_args}(hj*[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj,[modnameN classnameNjj!)}j$]jZ c.rpc_createasbuh1hhj[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%)}(hargsh]hargs}(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=uh1jhjZhhhjZhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZhhhjZhMubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZhMhjZhhubjS)}(hhh]jX)}(h0create an RPC client and transport with one callh]h0create an RPC client and transport with one 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&]uh1jRhjZhhhjZhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[jxj[jyjzj{uh1hhhhjhNhNubj})}(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)}(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)}(hD``struct rpc_create_args *args`` rpc_clnt create argument structure h](j)}(h ``struct rpc_create_args *args``h]j)}(hj[h]hstruct rpc_create_args *args}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj[ubj)}(hhh]jX)}(h"rpc_clnt create argument structureh]h"rpc_clnt create argument structure}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubjX)}(h**Description**h]j)}(hj \h]h Description}(hj \hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj[ubjX)}(h;Creates and initializes an RPC transport and an RPC client.h]h;Creates and initializes an RPC transport and an RPC client.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj[ubjX)}(hIt can ping the server in order to determine if it is up, and to see if it supports this program and version. RPC_CLNT_CREATE_NOPING disables this behavior so asynchronous tasks can also use rpc_create.h]hIt can ping the server in order to determine if it is up, and to see if it supports this program and version. RPC_CLNT_CREATE_NOPING disables this behavior so asynchronous tasks can also use rpc_create.}(hj.\hhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clone_client (C function)c.rpc_clone_clienthNtauh1hhjhhhNhNubh)}(hhh](h)}(h:struct rpc_clnt * rpc_clone_client (struct rpc_clnt *clnt)h]h)}(h8struct rpc_clnt *rpc_clone_client(struct rpc_clnt *clnt)h](h)}(hjh]hstruct}(hj]\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjY\hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjk\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjY\hhhjj\hMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj|\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjy\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj~\modnameN classnameNjj!)}j$]j')}jrpc_clone_clientsbc.rpc_clone_clientasbuh1hhjY\hhhjj\hMubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjY\hhhjj\hMubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjY\hhhjj\hMubj)}(hrpc_clone_clienth]j%)}(hj\h]hrpc_clone_client}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjY\hhhjj\hMubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\modnameN classnameNjj!)}j$]j\c.rpc_clone_clientasbuh1hhj\ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj;)}(hj>h]h*}(hj!]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\ubj%)}(hclnth]hclnt}(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=uh1jhjY\hhhjj\hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjU\hhhjj\hMubah}(h]jP\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjj\hMhjR\hhubjS)}(hhh]jX)}(hClone an RPC client structureh]hClone an RPC client structure}(hjX]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjU]hhubah}(h]h ]h"]h$]h&]uh1jRhjR\hhhjj\hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjp]jxjp]jyjzj{uh1hhhhjhNhNubj})}(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)}(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:83: ./net/sunrpc/clnt.chMhjt]ubj)}(hhh]j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied 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)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(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&]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:83: ./net/sunrpc/clnt.chMhjt]ubjX)}(h)Returns a fresh RPC client or an ERR_PTR.h]h)Returns a fresh RPC client or an ERR_PTR.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjt]ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&rpc_clone_client_set_auth (C function)c.rpc_clone_client_set_authhNtauh1hhjhhhNhNubh)}(hhh](h)}(h\struct rpc_clnt * rpc_clone_client_set_auth (struct rpc_clnt *clnt, rpc_authflavor_t flavor)h]h)}(hZstruct rpc_clnt *rpc_clone_client_set_auth(struct rpc_clnt *clnt, rpc_authflavor_t flavor)h](h)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^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&^hMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj8^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:^modnameN classnameNjj!)}j$]j')}jrpc_clone_client_set_authsbc.rpc_clone_client_set_authasbuh1hhj^hhhj&^hMubj)}(h h]h }(hjY^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhj&^hMubj;)}(hj>h]h*}(hjg^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^hhhj&^hMubj)}(hrpc_clone_client_set_authh]j%)}(hjV^h]hrpc_clone_client_set_auth}(hjx^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjt^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhj&^hMubj)}(h0(struct rpc_clnt *clnt, rpc_authflavor_t flavor)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$]jT^c.rpc_clone_client_set_authasbuh1hhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj%)}(hclnth]hclnt}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(hrpc_authflavor_t flavorh](h)}(hhh]j%)}(hrpc_authflavor_th]hrpc_authflavor_t}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]jT^c.rpc_clone_client_set_authasbuh1hhj^ubj)}(h h]h }(hj$_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj%)}(hflavorh]hflavor}(hj2_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.Clone an RPC client structure and set its authh]h.Clone an RPC client structure and set its auth}(hj\_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjY_hhubah}(h]h ]h"]h$]h&]uh1jRhj^hhhj&^hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjt_jxjt_jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct rpc_clnt *clnt`` RPC client whose parameters are copied ``rpc_authflavor_t flavor`` security flavor for new client **Description** Returns a fresh RPC client or an ERR_PTR.h](jX)}(h**Parameters**h]j)}(hj~_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.chMhjx_ubj)}(hhh](j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied 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)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(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;``rpc_authflavor_t flavor`` security flavor for new client h](j)}(h``rpc_authflavor_t flavor``h]j)}(hj_h]hrpc_authflavor_t flavor}(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)}(hsecurity flavor for new clienth]hsecurity flavor for new 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_ubeh}(h]h ]h"]h$]h&]uh1jhjx_ubjX)}(h**Description**h]j)}(hj`h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjx_ubjX)}(h)Returns a fresh RPC client or an ERR_PTR.h]h)Returns a fresh RPC client or an ERR_PTR.}(hj'`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjx_ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(rpc_switch_client_transport (C function)c.rpc_switch_client_transporthNtauh1hhjhhhNhNubh)}(hhh](h)}(htint rpc_switch_client_transport (struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)h]h)}(hsint rpc_switch_client_transport(struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)h](j)}(hinth]hint}(hjV`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjR`hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hje`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjR`hhhjd`hMubj)}(hrpc_switch_client_transporth]j%)}(hrpc_switch_client_transporth]hrpc_switch_client_transport}(hjw`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjs`ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjR`hhhjd`hMubj)}(hT(struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)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')}jjy`sbc.rpc_switch_client_transportasbuh1hhj`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj%)}(hclnth]hclnt}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(hstruct xprt_create *argsh](h)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(hhh]j%)}(h xprt_createh]h xprt_create}(hj#ahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj aubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%amodnameN classnameNjj!)}j$]j`c.rpc_switch_client_transportasbuh1hhjaubj)}(h h]h }(hjAahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjOahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hargsh]hargs}(hj\ahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(h!const struct rpc_timeout *timeouth](h)}(hjh]hconst}(hjuahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqaubh)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqaubh)}(hhh]j%)}(h rpc_timeouth]h rpc_timeout}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j`c.rpc_switch_client_transportasbuh1hhjqaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqaubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqaubj%)}(htimeouth]htimeout}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjR`hhhjd`hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjN`hhhjd`hMubah}(h]jI`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjd`hMhjK`hhubjS)}(hhh]jX)}(h#switch the RPC transport on the flyh]h#switch the RPC transport on the fly}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjbhhubah}(h]h ]h"]h$]h&]uh1jRhjK`hhhjd`hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj)bjxj)bjyjzj{uh1hhhhjhNhNubj})}(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)}(hj3bh]h Parameters}(hj5bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1bubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj-bubj)}(hhh](j)}(h7``struct rpc_clnt *clnt`` pointer to a struct rpc_clnt h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjRbh]hstruct rpc_clnt *clnt}(hjTbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPbubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjLbubj)}(hhh]jX)}(hpointer to a struct rpc_clnth]hpointer to a struct rpc_clnt}(hjkbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjgbhMhjhbubah}(h]h ]h"]h$]h&]uh1jhjLbubeh}(h]h ]h"]h$]h&]uh1jhjgbhMhjIbubj)}(hD``struct xprt_create *args`` pointer to the new transport arguments h](j)}(h``struct xprt_create *args``h]j)}(hjbh]hstruct xprt_create *args}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjbubj)}(hhh]jX)}(h&pointer to the new transport argumentsh]h&pointer to the new transport arguments}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjIbubj)}(hL``const struct rpc_timeout *timeout`` pointer to the new timeout parameters h](j)}(h%``const struct rpc_timeout *timeout``h]j)}(hjbh]h!const struct rpc_timeout *timeout}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjbubj)}(hhh]jX)}(h%pointer to the new timeout parametersh]h%pointer to the new timeout parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjIbubeh}(h]h ]h"]h$]h&]uh1jhj-bubjX)}(h**Description**h]j)}(hjbh]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj-bubjX)}(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.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj-bubjX)}(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.}(hj$chhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj-bubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+rpc_clnt_iterate_for_each_xprt (C function) c.rpc_clnt_iterate_for_each_xprthNtauh1hhjhhhNhNubh)}(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}(hjSchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOchhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMBubj)}(h h]h }(hjbchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOchhhjachMBubj)}(hrpc_clnt_iterate_for_each_xprth]j%)}(hrpc_clnt_iterate_for_each_xprth]hrpc_clnt_iterate_for_each_xprt}(hjtchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOchhhjachMBubj)}(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}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}jjvcsb c.rpc_clnt_iterate_for_each_xprtasbuh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hclnth]hclnt}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubj)}(h4int (*fn)(struct rpc_clnt*, struct rpc_xprt*, void*)h](j)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hjh]h(}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj;)}(hj>h]h*}(hj+dhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hfnh]hfn}(hj8dhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubj;)}(hjh]h)}(hjFdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj;)}(hjh]h(}(hjSdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubh)}(hjh]hstruct}(hj`dhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjmdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj~dhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{dubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]jc c.rpc_clnt_iterate_for_each_xprtasbuh1hhjcubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj;)}(hj5Vh]h,}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]jc c.rpc_clnt_iterate_for_each_xprtasbuh1hhjcubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj;)}(hj5Vh]h,}(hj ehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(hvoidh]hvoid}(hj(ehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj;)}(hj>h]h*}(hj6ehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj;)}(hjh]h)}(hjCehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubj)}(h void *datah](j)}(hvoidh]hvoid}(hj[ehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWeubj)}(h h]h }(hjiehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWeubj;)}(hj>h]h*}(hjwehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWeubj%)}(hdatah]hdata}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubeh}(h]h ]h"]h$]h&]j<j=uh1jhjOchhhjachMBubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjKchhhjachMBubah}(h]jFcah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjachMBhjHchhubjS)}(hhh]jX)}(h"Apply a function to all transportsh]h"Apply a function to all transports}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMBhjehhubah}(h]h ]h"]h$]h&]uh1jRhjHchhhjachMBubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjejxjejyjzj{uh1hhhhjhNhNubj})}(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)}(hjeh]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhjeubj)}(hhh](j)}(h,``struct rpc_clnt *clnt`` pointer to client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjeh]hstruct rpc_clnt *clnt}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMChjeubj)}(hhh]jX)}(hpointer to clienth]hpointer to client}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMChjfubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjfhMChjeubj)}(hN``int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)`` function to apply h](j)}(h;``int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)``h]j)}(hj(fh]h7int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)}(hj*fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&fubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMDhj"fubj)}(hhh]jX)}(hfunction to applyh]hfunction to apply}(hjAfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=fhMDhj>fubah}(h]h ]h"]h$]h&]uh1jhj"fubeh}(h]h ]h"]h$]h&]uh1jhj=fhMDhjeubj)}(h-``void *data`` void pointer to function data h](j)}(h``void *data``h]j)}(hjafh]h void *data}(hjcfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_fubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMEhj[fubj)}(hhh]jX)}(hvoid pointer to function datah]hvoid pointer to function data}(hjzfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvfhMEhjwfubah}(h]h ]h"]h$]h&]uh1jhj[fubeh}(h]h ]h"]h$]h&]uh1jhjvfhMEhjeubeh}(h]h ]h"]h$]h&]uh1jhjeubjX)}(h**Description**h]j)}(hjfh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMGhjeubjX)}(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).}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhjeubjX)}(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.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMIhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_cancel_tasks (C function)c.rpc_cancel_taskshNtauh1hhjhhhNhNubh)}(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}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM}ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjfhM}ubj)}(hlongh]hlong}(hj ghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfhhhjfhM}ubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjfhM}ubj)}(hrpc_cancel_tasksh]j%)}(hrpc_cancel_tasksh]hrpc_cancel_tasks}(hj-ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)gubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfhhhjfhM}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}(hjIghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEgubj)}(h h]h }(hjVghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEgubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjgghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjigmodnameN classnameNjj!)}j$]j')}jj/gsbc.rpc_cancel_tasksasbuh1hhjEgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEgubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEgubj%)}(hclnth]hclnt}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAgubj)}(h int errorh](j)}(hinth]hint}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(herrorh]herror}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAgubj)}(h4bool (*fnmatch)(const struct rpc_task*, const void*)h](j)}(hjTh]hbool}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hjh]h(}(hj hhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hfnmatchh]hfnmatch}(hj%hhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubj;)}(hjh]h)}(hj3hhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj;)}(hjh]h(}(hj@hhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubh)}(hjh]hconst}(hjMhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hjZhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(hjh]hstruct}(hjhhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hjuhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(hhh]j%)}(hrpc_taskh]hrpc_task}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]jgc.rpc_cancel_tasksasbuh1hhjgubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj;)}(hj5Vh]h,}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(hjh]hconst}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj;)}(hjh]h)}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAgubj)}(hconst void *datah](h)}(hjh]hconst}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hj'ihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(hvoidh]hvoid}(hj5ihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj)}(h h]h }(hjCihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hjQihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hdatah]hdata}(hj^ihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAgubeh}(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)}(h try to cancel a set of RPC tasksh]h try to cancel a set of RPC tasks}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM}hjihhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjfhM}ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhjhNhNubj})}(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)}(hjih]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjiubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` Pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjih]hstruct rpc_clnt *clnt}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM~hjiubj)}(hhh]jX)}(hPointer to RPC clienth]hPointer to RPC client}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihM~hjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihM~hjiubj)}(h*``int error`` RPC task error value to set h](j)}(h ``int error``h]j)}(hjjh]h int error}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjiubj)}(hhh]jX)}(hRPC task error value to seth]hRPC task error value to set}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjiubj)}(hX``bool (*fnmatch)(const struct rpc_task *, const void *)`` Pointer to selector function h](j)}(h:``bool (*fnmatch)(const struct rpc_task *, const void *)``h]j)}(hj;jh]h6bool (*fnmatch)(const struct rpc_task *, const void *)}(hj=jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9jubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj5jubj)}(hhh]jX)}(hPointer to selector functionh]hPointer to selector function}(hjTjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPjhMhjQjubah}(h]h ]h"]h$]h&]uh1jhj5jubeh}(h]h ]h"]h$]h&]uh1jhjPjhMhjiubj)}(h``const void *data`` User data h](j)}(h``const void *data``h]j)}(hjtjh]hconst void *data}(hjvjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjnjubj)}(hhh]jX)}(h User datah]h User data}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjnjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjiubeh}(h]h ]h"]h$]h&]uh1jhjiubjX)}(h**Description**h]j)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjiubjX)}(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 }(hjjhhhNhNubj)}(h **fnmatch**h]hfnmatch}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubhE to define a set of RPC tasks that are to be cancelled. The argument }(hjjhhhNhNubj)}(h **error**h]herror}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh must be a negative error value.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!rpc_bind_new_program (C function)c.rpc_bind_new_programhNtauh1hhjhhhNhNubh)}(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}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hj&khhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhhj%khMubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj7khhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4kubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9kmodnameN classnameNjj!)}j$]j')}jrpc_bind_new_programsbc.rpc_bind_new_programasbuh1hhjkhhhj%khMubj)}(h h]h }(hjXkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhhj%khMubj;)}(hj>h]h*}(hjfkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkhhhj%khMubj)}(hrpc_bind_new_programh]j%)}(hjUkh]hrpc_bind_new_program}(hjwkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjskubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjkhhhj%khMubj)}(hC(struct rpc_clnt *old, const struct rpc_program *program, u32 vers)h](j)}(hstruct rpc_clnt *oldh](h)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]jSkc.rpc_bind_new_programasbuh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(holdh]hold}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(h!const struct rpc_program *programh](h)}(hjh]hconst}(hjlhhhNhNubah}(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 }(hj*lhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(h rpc_programh]h rpc_program}(hj;lhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8lubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=lmodnameN classnameNjj!)}j$]jSkc.rpc_bind_new_programasbuh1hhjkubj)}(h h]h }(hjYlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjglhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hprogramh]hprogram}(hjtlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(hu32 versh](h)}(hhh]j%)}(hu32h]hu32}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]jSkc.rpc_bind_new_programasbuh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj%)}(hversh]hvers}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubeh}(h]h ]h"]h$]h&]j<j=uh1jhjkhhhj%khMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhj%khMubah}(h]j kah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj%khMhj khhubjS)}(hhh]jX)}(h,bind a new RPC program to an existing clienth]h,bind a new RPC program to an existing client}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjlhhubah}(h]h ]h"]h$]h&]uh1jRhj khhhj%khMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjljxjljyjzj{uh1hhhhjhNhNubj})}(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)}(hjmh]h Parameters}(hj mhhhNhNubah}(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)}(h(``struct rpc_clnt *old`` old rpc_client h](j)}(h``struct rpc_clnt *old``h]j)}(hj'mh]hstruct rpc_clnt *old}(hj)mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%mubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj!mubj)}(hhh]jX)}(hold rpc_clienth]hold rpc_client}(hj@mhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjh]h*}(hjgnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnhhhj&nhMubj)}(h rpc_run_taskh]j%)}(hjVnh]h rpc_run_task}(hjxnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjnhhhj&nhMubj)}(h.(const struct rpc_task_setup *task_setup_data)h]j)}(h,const struct rpc_task_setup *task_setup_datah](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%)}(hrpc_task_setuph]hrpc_task_setup}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]jTnc.rpc_run_taskasbuh1hhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj;)}(hj>h]h*}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(htask_setup_datah]htask_setup_data}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjnubah}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhj&nhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhj&nhMubah}(h]j nah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&nhMhjnhhubjS)}(hhh]jX)}(h8Allocate a new RPC task, then run rpc_execute against ith]h8Allocate a new RPC task, then run rpc_execute against it}(hj/ohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj,ohhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhj&nhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjGojxjGojyjzj{uh1hhhhjhNhNubj})}(hf**Parameters** ``const struct rpc_task_setup *task_setup_data`` pointer to task initialisation datah](jX)}(h**Parameters**h]j)}(hjQoh]h Parameters}(hjSohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOoubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjKoubj)}(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)}(hjpoh]h,const struct rpc_task_setup *task_setup_data}(hjrohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnoubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjjoubj)}(hhh]jX)}(h#pointer to task initialisation datah]h#pointer to task initialisation data}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjoubah}(h]h ]h"]h$]h&]uh1jhjjoubeh}(h]h ]h"]h$]h&]uh1jhjohMhjgoubah}(h]h ]h"]h$]h&]uh1jhjKoubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_sync (C function)c.rpc_call_synchNtauh1hhjhhhNhNubh)}(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}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjohMubj)}(h rpc_call_synch]j%)}(h rpc_call_synch]h rpc_call_sync}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjohhhjohMubj)}(hA(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hj%phhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"pubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'pmodnameN classnameNjj!)}j$]j')}jjosbc.rpc_call_syncasbuh1hhjpubj)}(h h]h }(hjEphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjSphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hclnth]hclnt}(hj`phhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubj)}(hconst struct rpc_message *msgh](h)}(hjh]hconst}(hjyphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjupubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjupubh)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjupubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjupubh)}(hhh]j%)}(h rpc_messageh]h rpc_message}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]jApc.rpc_call_syncasbuh1hhjupubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjupubj;)}(hj>h]h*}(hjphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjupubj%)}(hmsgh]hmsg}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjupubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubj)}(h int flagsh](j)}(hinth]hint}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj%)}(hflagsh]hflags}(hj qhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubeh}(h]h ]h"]h$]h&]j<j=uh1jhjohhhjohMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjohhhjohMubah}(h]joah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjohMhjohhubjS)}(hhh]jX)}(hPerform a synchronous RPC callh]hPerform a synchronous RPC call}(hjJqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjGqhhubah}(h]h ]h"]h$]h&]uh1jRhjohhhjohMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjbqjxjbqjyjzj{uh1hhhhjhNhNubj})}(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)}(hjlqh]h Parameters}(hjnqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjqubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjfqubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjqh]hstruct rpc_clnt *clnt}(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.chMhjqubj)}(hhh]jX)}(hpointer to RPC clienth]hpointer to RPC client}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjqubj)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hjqh]hconst struct rpc_message *msg}(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.chMhjqubj)}(hhh]jX)}(hRPC call parametersh]hRPC call parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjqubj)}(h``int flags`` RPC call flagsh](j)}(h ``int flags``h]j)}(hjqh]h int flags}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjqubj)}(hhh]jX)}(hRPC call flagsh]hRPC call flags}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjrubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjqubeh}(h]h ]h"]h$]h&]uh1jhjfqubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_async (C function)c.rpc_call_asynchNtauh1hhjhhhNhNubh)}(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}(hjWrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSrhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj)}(h h]h }(hjfrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSrhhhjerhMubj)}(hrpc_call_asynch]j%)}(hrpc_call_asynch]hrpc_call_async}(hjxrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjSrhhhjerhMubj)}(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}(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')}jjzrsbc.rpc_call_asyncasbuh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hjrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hclnth]hclnt}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(hconst struct rpc_message *msgh](h)}(hjh]hconst}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hjh]hstruct}(hj!shhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsubj)}(h h]h }(hj.shhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubh)}(hhh]j%)}(h rpc_messageh]h rpc_message}(hj?shhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh]h*}(hjkshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(hmsgh]hmsg}(hjxshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(h int flagsh](j)}(hinth]hint}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj%)}(hflagsh]hflags}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(h!const struct rpc_call_ops *tk_opsh](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 rpc_call_opsh]h rpc_call_ops}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]jrc.rpc_call_asyncasbuh1hhjsubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj;)}(hj>h]h*}(hj+thhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsubj%)}(htk_opsh]htk_ops}(hj8thhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(h void *datah](j)}(hvoidh]hvoid}(hjQthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMtubj)}(h h]h }(hj_thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMtubj;)}(hj>h]h*}(hjmthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMtubj%)}(hdatah]hdata}(hjzthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubeh}(h]h ]h"]h$]h&]j<j=uh1jhjSrhhhjerhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjOrhhhjerhMubah}(h]jJrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjerhMhjLrhhubjS)}(hhh]jX)}(h Perform an asynchronous RPC callh]h Perform an asynchronous RPC call}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjthhubah}(h]h ]h"]h$]h&]uh1jRhjLrhhhjerhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjtjxjtjyjzj{uh1hhhhjhNhNubj})}(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)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjtubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjth]hstruct rpc_clnt *clnt}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjtubj)}(hhh]jX)}(hpointer to RPC clienth]hpointer to RPC client}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMhjtubj)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hjuh]hconst struct rpc_message *msg}(hj uhhhNhNubah}(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)}(hRPC call parametersh]hRPC call parameters}(hj7uhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3uhMhj4uubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhj3uhMhjtubj)}(h``int flags`` RPC call flags h](j)}(h ``int flags``h]j)}(hjWuh]h int flags}(hjYuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUuubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjQuubj)}(hhh]jX)}(hRPC call flagsh]hRPC call flags}(hjpuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjluhMhjmuubah}(h]h ]h"]h$]h&]uh1jhjQuubeh}(h]h ]h"]h$]h&]uh1jhjluhMhjtubj)}(h3``const struct rpc_call_ops *tk_ops`` RPC call ops h](j)}(h%``const struct rpc_call_ops *tk_ops``h]j)}(hjuh]h!const struct rpc_call_ops *tk_ops}(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 RPC call opsh]h RPC call ops}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjtubj)}(h``void *data`` user call datah](j)}(h``void *data``h]j)}(hjuh]h 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)}(huser call datah]huser call data}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjtubeh}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$rpc_prepare_reply_pages (C function)c.rpc_prepare_reply_pageshNtauh1hhjhhhNhNubh)}(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}(hj#vhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMGubj)}(h h]h }(hj2vhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvhhhj1vhMGubj)}(hrpc_prepare_reply_pagesh]j%)}(hrpc_prepare_reply_pagesh]hrpc_prepare_reply_pages}(hjDvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@vubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvhhhj1vhMGubj)}(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`vhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\vubj)}(h h]h }(hjmvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\vubh)}(hhh]j%)}(hrpc_rqsth]hrpc_rqst}(hj~vhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{vubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jjFvsbc.rpc_prepare_reply_pagesasbuh1hhj\vubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\vubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\vubj%)}(hreqh]hreq}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\vubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXvubj)}(hstruct page **pagesh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(hpageh]hpage}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]jvc.rpc_prepare_reply_pagesasbuh1hhjvubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjwhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj;)}(hj>h]h*}(hj)whhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hpagesh]hpages}(hj6whhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXvubj)}(hunsigned int baseh](j)}(hunsignedh]hunsigned}(hjOwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKwubj)}(h h]h }(hj]whhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKwubj)}(hinth]hint}(hjkwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKwubj)}(h h]h }(hjywhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKwubj%)}(hbaseh]hbase}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXvubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(hinth]hint}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj%)}(hlenh]hlen}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXvubj)}(hunsigned int hdrsizeh](j)}(hunsignedh]hunsigned}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(hinth]hint}(hj xhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj%)}(hhdrsizeh]hhdrsize}(hj)xhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXvubeh}(h]h ]h"]h$]h&]j<j=uh1jhjvhhhj1vhMGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvhhhj1vhMGubah}(h]jvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1vhMGhjvhhubjS)}(hhh]jX)}(h2Prepare to receive a reply data payload into pagesh]h2Prepare to receive a reply data payload into pages}(hjSxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMGhjPxhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhj1vhMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjkxjxjkxjyjzj{uh1hhhhjhNhNubj})}(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)}(hjuxh]h Parameters}(hjwxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsxubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMKhjoxubj)}(hhh](j)}(h0``struct rpc_rqst *req`` RPC request to prepare h](j)}(h``struct rpc_rqst *req``h]j)}(hjxh]hstruct rpc_rqst *req}(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.chMHhjxubj)}(hhh]jX)}(hRPC request to prepareh]hRPC request to prepare}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMHhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMHhjxubj)}(h7``struct page **pages`` vector of struct page pointers h](j)}(h``struct page **pages``h]j)}(hjxh]hstruct page **pages}(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.chMIhjxubj)}(hhh]jX)}(hvector of struct page pointersh]hvector of struct page pointers}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMIhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMIhjxubj)}(hP``unsigned int base`` offset in first page where receive should start, in bytes h](j)}(h``unsigned int base``h]j)}(hjyh]hunsigned int base}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMJhjyubj)}(hhh]jX)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMJhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMJhjxubj)}(hM``unsigned int len`` expected size of the upper layer data payload, in bytes h](j)}(h``unsigned int len``h]j)}(hj?yh]hunsigned int len}(hjAyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=yubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMKhj9yubj)}(hhh]jX)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hjXyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjTyhMKhjUyubah}(h]h ]h"]h$]h&]uh1jhj9yubeh}(h]h ]h"]h$]h&]uh1jhjTyhMKhjxubj)}(hP``unsigned int hdrsize`` expected size of upper layer reply header, in XDR wordsh](j)}(h``unsigned int hdrsize``h]j)}(hjxyh]hunsigned int hdrsize}(hjzyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvyubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMMhjryubj)}(hhh]jX)}(h7expected size of upper layer reply header, in XDR wordsh]h7expected size of upper layer reply header, in XDR words}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMLhjyubah}(h]h ]h"]h$]h&]uh1jhjryubeh}(h]h ]h"]h$]h&]uh1jhjyhMMhjxubeh}(h]h ]h"]h$]h&]uh1jhjoxubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr (C function)c.rpc_peeraddrhNtauh1hhjhhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j')}j rpc_peeraddrsbc.rpc_peeraddrasbuh1hhjyhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMbubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjyhMbubj)}(h rpc_peeraddrh]j%)}(hjyh]h rpc_peeraddr}(hj zhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjyhMbubj)}(h=(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)h](j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hj$zhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj zubj)}(h h]h }(hj1zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj zubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjBzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?zubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDzmodnameN classnameNjj!)}j$]jyc.rpc_peeraddrasbuh1hhj zubj)}(h h]h }(hj`zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj zubj;)}(hj>h]h*}(hjnzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj zubj%)}(hclnth]hclnt}(hj{zhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj zubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(hstruct sockaddr *bufh](h)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubh)}(hhh]j%)}(hsockaddrh]hsockaddr}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]jyc.rpc_peeraddrasbuh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj;)}(hj>h]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzubj%)}(hbufh]hbuf}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(hsize_t bufsizeh](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$]jyc.rpc_peeraddrasbuh1hhj{ubj)}(h h]h }(hj%{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj%)}(hbufsizeh]hbufsize}(hj3{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubeh}(h]h ]h"]h$]h&]j<j=uh1jhjyhhhjyhMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjyhhhjyhMbubah}(h]jyah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyhMbhjyhhubjS)}(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.chMbhjZ{hhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjyhMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwju{jxju{jyjzj{uh1hhhhjhNhNubj})}(h**Parameters** ``struct rpc_clnt *clnt`` RPC client structure ``struct sockaddr *buf`` target buffer ``size_t bufsize`` length of target buffer **Description** Returns the number of bytes that are actually in the stored address.h](jX)}(h**Parameters**h]j)}(hj{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.chMfhjy{ubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj{h]hstruct rpc_clnt *clnt}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMchj{ubj)}(hhh]jX)}(hRPC client structureh]hRPC client structure}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hMchj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMchj{ubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hj{h]hstruct sockaddr *buf}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMdhj{ubj)}(hhh]jX)}(h target bufferh]h target buffer}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hMdhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMdhj{ubj)}(h+``size_t bufsize`` length of target buffer h](j)}(h``size_t bufsize``h]j)}(hj|h]hsize_t bufsize}(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.chMehj |ubj)}(hhh]jX)}(hlength of target bufferh]hlength of target buffer}(hj)|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%|hMehj&|ubah}(h]h ]h"]h$]h&]uh1jhj |ubeh}(h]h ]h"]h$]h&]uh1jhj%|hMehj{ubeh}(h]h ]h"]h$]h&]uh1jhjy{ubjX)}(h**Description**h]j)}(hjK|h]h Description}(hjM|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI|ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMghjy{ubjX)}(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.}(hja|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMfhjy{ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr2str (C function)c.rpc_peeraddr2strhNtauh1hhjhhhNhNubh)}(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}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|hhhj|hM|ubj)}(hcharh]hchar}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|hhhj|hM|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|hhhj|hM|ubj;)}(hj>h]h*}(hj|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|hhhj|hM|ubj)}(hrpc_peeraddr2strh]j%)}(hrpc_peeraddr2strh]hrpc_peeraddr2str}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj|hhhj|hM|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&]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_peeraddr2strasbuh1hhj|ubj)}(h h]h }(hj3}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj;)}(hj>h]h*}(hjA}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|ubj%)}(hclnth]hclnt}(hjN}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubj)}(h enum rpc_display_format_t formath](h)}(hhh]henum}(hjg}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjc}ubj)}(h h]h }(hjt}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjc}ubh)}(hhh]j%)}(hrpc_display_format_th]hrpc_display_format_t}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j/}c.rpc_peeraddr2strasbuh1hhjc}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjc}ubj%)}(hformath]hformat}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjc}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.return remote peer address in printable formath]h.return remote peer address in printable format}(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&]uh1jRhj|hhhj|hM|ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhjhNhNubj})}(hX9**Parameters** ``struct rpc_clnt *clnt`` RPC client structure ``enum rpc_display_format_t format`` address format **Description** NB: the lifetime of the memory referenced by the returned pointer is the same as the rpc_xprt itself. As long as the caller uses this pointer, it must hold the RCU read lock.h](jX)}(h**Parameters**h]j)}(hj}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)}(hj~h]hstruct rpc_clnt *clnt}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM}hj~ubj)}(hhh]jX)}(hRPC client structureh]hRPC client structure}(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~ubj)}(h4``enum rpc_display_format_t format`` address format h](j)}(h$``enum rpc_display_format_t format``h]j)}(hjU~h]h enum rpc_display_format_t format}(hjW~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS~ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM~hjO~ubj)}(hhh]jX)}(haddress formath]haddress format}(hjn~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjj~hM~hjk~ubah}(h]h ]h"]h$]h&]uh1jhjO~ubeh}(h]h ]h"]h$]h&]uh1jhjj~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: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.}(hj~hhhNhNubah}(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|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_localaddr (C function)c.rpc_localaddrhNtauh1hhjhhhNhNubh)}(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&]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)}(h rpc_localaddrh]j%)}(h rpc_localaddrh]h rpc_localaddr}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhj~hMubj)}(h<(struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)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}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j')}jj~sbc.rpc_localaddrasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hclnth]hclnt}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jLc.rpc_localaddrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h size_t buflenh](h)}(hhh]j%)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jLc.rpc_localaddrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hbuflenh]hbuflen}(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=jDuh1hjEjFhj~hhhj~hMubah}(h]j~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hMhj~hhubjS)}(hhh]jX)}(h1discover local endpoint address for an RPC clienth]h1discover local endpoint address for an RPC client}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjJhhubah}(h]h ]h"]h$]h&]uh1jRhj~hhhj~hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjejxjejyjzj{uh1hhhhjhNhNubj})}(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)}(hjoh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjiubj)}(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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hjǀh]hstruct sockaddr *buf}(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.chMhjubj)}(hhh]jX)}(h target bufferh]h target buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj܀hMhj݀ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj܀hMhjubj)}(h2``size_t buflen`` size of target buffer, in bytes h](j)}(h``size_t buflen``h]j)}(hjh]h size_t buflen}(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)}(hsize of target buffer, in bytesh]hsize of target buffer, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjiubjX)}(h**Description**h]j)}(hj;h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjiubjX)}(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.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjiubjX)}(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.chMhjiubjX)}(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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_net_ns (C function) c.rpc_net_nshNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j rpc_net_nssb c.rpc_net_nsasbuh1hhjhhhjhM6ubj)}(h h]h }(hjށhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM6ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM6ubj)}(h rpc_net_nsh]j%)}(hjہh]h rpc_net_ns}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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&]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$]jف c.rpc_net_nsasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hclnth]hclnt}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(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{uh1hhhhjhNhNubj})}(h?**Parameters** ``struct rpc_clnt *clnt`` RPC client to queryh](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)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](j)}(h``struct rpc_clnt *clnt``h]j)}(hjڂh]hstruct rpc_clnt *clnt}(hj܂hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj؂ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM<hjԂubj)}(hhh]jX)}(hRPC client to queryh]hRPC client to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM7hjubah}(h]h ]h"]h$]h&]uh1jhjԂubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjтubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_payload (C function)c.rpc_max_payloadhNtauh1hhjhhhNhNubh)}(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}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj9modnameN classnameNjj!)}j$]j')}jrpc_max_payloadsbc.rpc_max_payloadasbuh1hhj0hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhjXhMFubj)}(hrpc_max_payloadh]j%)}(hjUh]hrpc_max_payload}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0hhhjXhMFubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jSc.rpc_max_payloadasbuh1hhjubj)}(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}(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=uh1jhj0hhhjXhMFubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,hhhjXhMFubah}(h]j'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjXhMFhj)hhubjS)}(hhh]jX)}(h2Get maximum payload size for a transport, in bytesh]h2Get maximum payload size for a transport, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMFhjhhubah}(h]h ]h"]h$]h&]uh1jRhj)hhhjXhMFubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(hX+**Parameters** ``struct rpc_clnt *clnt`` RPC client to query **Description** For stream transports, this is one RPC record fragment (see RFC 1831), as we don't support multi-record requests yet. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes.h](jX)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMJhj#ubj)}(hhh]j)}(h.``struct rpc_clnt *clnt`` RPC client to query h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjHh]hstruct rpc_clnt *clnt}(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.chMGhjBubj)}(hhh]jX)}(hRPC client to queryh]hRPC client to query}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMGhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMGhj?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:83: ./net/sunrpc/clnt.chMIhj#ubjX)}(hFor stream transports, this is one RPC record fragment (see RFC 1831), as we don't support multi-record requests yet. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes.h]hFor stream transports, this is one RPC record fragment (see RFC 1831), as we don’t support multi-record requests yet. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMHhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_bc_payload (C function)c.rpc_max_bc_payloadhNtauh1hhjhhhNhNubh)}(hhh](h)}(h1size_t rpc_max_bc_payload (struct rpc_clnt *clnt)h]h)}(h0size_t rpc_max_bc_payload(struct rpc_clnt *clnt)h](h)}(hhh]j%)}(hsize_th]hsize_t}(hj˄hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjȄubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj̈́modnameN classnameNjj!)}j$]j')}jrpc_max_bc_payloadsbc.rpc_max_bc_payloadasbuh1hhjĄhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjĄhhhjhMZubj)}(hrpc_max_bc_payloadh]j%)}(hjh]hrpc_max_bc_payload}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjĄhhhjhMZubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](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_clnth]hrpc_clnt}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]jc.rpc_max_bc_payloadasbuh1hhjubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hclnth]hclnt}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjĄhhhjhMZubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMZubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMZhjhhubjS)}(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&]uh1jRhjhhhjhMZubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h?**Parameters** ``struct rpc_clnt *clnt`` RPC client to queryh](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)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](j)}(h``struct rpc_clnt *clnt``h]j)}(hj܅h]hstruct rpc_clnt *clnt}(hjޅhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڅubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM`hjօubj)}(hhh]jX)}(hRPC client to queryh]hRPC client to query}(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Ӆubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_force_rebind (C function)c.rpc_force_rebindhNtauh1hhjhhhNhNubh)}(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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMxubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhjDhMxubj)}(hrpc_force_rebindh]j%)}(hrpc_force_rebindh]hrpc_force_rebind}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2hhhjDhMxubj)}(h(struct rpc_clnt *clnt)h]j)}(hstruct rpc_clnt *clnth](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjYsbc.rpc_force_rebindasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hclnth]hclnt}(hj̆hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubah}(h]h ]h"]h$]h&]j<j=uh1jhj2hhhjDhMxubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhjDhMxubah}(h]j)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhMxhj+hhubjS)}(hhh]jX)}(h6force transport to check that remote port is unchangedh]h6force transport to check that remote port is unchanged}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMxhjhhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhjDhMxubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(h<**Parameters** ``struct rpc_clnt *clnt`` client to rebindh](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)}(h*``struct rpc_clnt *clnt`` client to rebindh](j)}(h``struct rpc_clnt *clnt``h]j)}(hj7h]hstruct rpc_clnt *clnt}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM~hj1ubj)}(hhh]jX)}(hclient to rebindh]hclient to rebind}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMyhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhM~hj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'rpc_clnt_test_and_add_xprt (C function)c.rpc_clnt_test_and_add_xprthNtauh1hhjhhhNhNubh)}(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}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.rpc_clnt_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%)}(hclnth]hclnt}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjʇubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjƇubj)}(hstruct rpc_xprt_switch *xpsh](h)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hhh]j%)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`modnameN classnameNjj!)}j$]jc.rpc_clnt_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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjƇubj)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjΈhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjˈubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjЈmodnameN classnameNjj!)}j$]jc.rpc_clnt_test_and_add_xprtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjƇubj)}(hvoid *in_max_connecth](j)}(hvoidh]hvoid}(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%)}(hin_max_connecth]hin_max_connect}(hjIhhhNhNubah}(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}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjphhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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}(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)}(hC``struct rpc_xprt_switch *xps`` pointer to struct rpc_xprt_switch, h](j)}(h``struct rpc_xprt_switch *xps``h]j)}(hjh]hstruct rpc_xprt_switch *xps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jX)}(h"pointer to struct rpc_xprt_switch,h]h"pointer to struct rpc_xprt_switch,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h2``struct rpc_xprt *xprt`` pointer struct rpc_xprt h](j)}(h``struct rpc_xprt *xprt``h]j)}(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:83: ./net/sunrpc/clnt.chM hj ubj)}(hhh]jX)}(hpointer struct rpc_xprth]hpointer struct rpc_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 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}(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.chM hjYubj)}(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}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(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_xprthNtauh1hhjhhhNhNubh)}(hhh](h)}(h|int rpc_clnt_setup_test_and_add_xprt (struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *data)h]h)}(h{int rpc_clnt_setup_test_and_add_xprt(struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *data)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj)}(h h]h }(hjȊhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjNJhM ubj)}(h rpc_clnt_setup_test_and_add_xprth]j%)}(h rpc_clnt_setup_test_and_add_xprth]h rpc_clnt_setup_test_and_add_xprt}(hjڊhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj֊ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjNJhM 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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj܊sb"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hclnth]hclnt}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct rpc_xprt_switch *xpsh](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(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$]j0"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hxpsh]hxps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct rpc_xprt *xprth](h)}(hjh]hstruct}(hj؋hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjԋubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjԋubh)}(hhh]j%)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j0"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhjԋubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjԋubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjԋubj%)}(hxprth]hxprt}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjԋubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h void *datah](j)}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hdatah]hdata}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjNJhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjNJhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNJhM hjhhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhjhhhjNJhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhjhNhNubj})}(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)}(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 hjnjubj)}(hhh]jX)}(h(struct rpc_clnt to get the new transporth]h(struct rpc_clnt to get the new transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjnjubeh}(h]h ]h"]h$]h&]uh1jhjhM 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)}(hjh]hstruct rpc_xprt_switch *xps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(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&]uh1jhjubeh}(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)}(hj?h]hstruct rpc_xprt *xprt}(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.chM hj9ubj)}(hhh]jX)}(hthe rpc_xprt to testh]hthe rpc_xprt to test}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThM hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM 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)}(hjxh]h void *data}(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.chM hjrubj)}(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&]uh1jhjrubeh}(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:}(hjэhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj͍ubj)}(hhh]jX)}(h1) caller of the test function must dereference the rpc_xprt_switch and the rpc_xprt. 2) test function must call rpc_xprt_switch_add_xprt, usually in the rpc_call_done routine.h]h1) caller of the test function must dereference the rpc_xprt_switch and the rpc_xprt. 2) test function must call rpc_xprt_switch_add_xprt, usually in the rpc_call_done routine.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubah}(h]h ]h"]h$]h&]uh1jhj͍ubeh}(h]h ]h"]h$]h&]uh1jhjߍhM hjʍubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h`Upon success (return of 1), the test function adds the new transport to the rpc_clnt xprt switchh]h`Upon success (return of 1), the test function adds the new transport to the rpc_clnt xprt switch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clnt_add_xprt (C function)c.rpc_clnt_add_xprthNtauh1hhjhhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/hhhjAhM ubj)}(hrpc_clnt_add_xprth]j%)}(hrpc_clnt_add_xprth]hrpc_clnt_add_xprt}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/hhhjAhM 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}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hhh]j%)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjVsbc.rpc_clnt_add_xprtasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hclnth]hclnt}(hjɎhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubj)}(hstruct xprt_create *xprtargsh](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 xprt_createh]h xprt_create}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.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%)}(hxprtargsh]hxprtargs}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjގubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubj)}(hPint (*setup)(struct rpc_clnt*, struct rpc_xprt_switch*, struct rpc_xprt*, void*)h](j)}(hinth]hint}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hjh]h(}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj;)}(hj>h]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(hsetuph]hsetup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(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$]jc.rpc_clnt_add_xprtasbuh1hhjNubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj;)}(hj5Vh]h,}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]jc.rpc_clnt_add_xprtasbuh1hhjNubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj;)}(hj5Vh]h,}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(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_xprtasbuh1hhjNubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj;)}(hj5Vh]h,}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj)}(h h]h }(hjΐhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj)}(hvoidh]hvoid}(hjܐhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubj)}(h void *datah](j)}(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*}(hj+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hdatah]hdata}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubeh}(h]h ]h"]h$]h&]j<j=uh1jhj/hhhjAhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhjAhM ubah}(h]j&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhM hj(hhubjS)}(hhh]jX)}(h!Add a new transport to a rpc_clnth]h!Add a new transport to a rpc_clnt}(hjbhhhNhNubah}(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&]uh1jRhj(hhhjAhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzjxjzjyjzj{uh1hhhhjhNhNubj})}(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 hj~ubj)}(hhh](j)}(h5``struct rpc_clnt *clnt`` pointer to struct rpc_clnt h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jX)}(hpointer to struct rpc_clnth]hpointer to struct rpc_clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h?``struct xprt_create *xprtargs`` pointer to struct xprt_create h](j)}(h ``struct xprt_create *xprtargs``h]j)}(hjܑh]hstruct xprt_create *xprtargs}(hjޑhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڑubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj֑ubj)}(hhh]jX)}(hpointer to struct xprt_createh]hpointer to struct xprt_create}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj֑ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)`` callback to test and/or set up the connection h](j)}(hX``int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)``h]j)}(hjh]hTint (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jX)}(h-callback to test and/or set up the connectionh]h-callback to test and/or set up the connection}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hM hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hM hjubj)}(h.``void *data`` pointer to setup function data h](j)}(h``void *data``h]j)}(hjNh]h void *data}(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)}(hpointer to setup function datah]hpointer to setup function data}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchM hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM 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:83: ./net/sunrpc/clnt.chM hj~ubjX)}(hCreates a new transport using the parameters set in args and adds it to clnt. If ping is set, then test that connectivity succeeds before adding the new transport.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 hj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hjhhhNhNubeh}(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}(hjȒhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjŒhhhhhKWubh)}(hhh](h)}(hDriver Supporth]hDriver Support}(hjْhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMQubj)}(h dev_add_packh]j%)}(h dev_add_packh]h dev_add_pack}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMQubj)}(h(struct packet_type *pt)h]j)}(hstruct packet_type *pth](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 packet_typeh]h packet_type}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j')}jj#sbc.dev_add_packasbuh1hhj9ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hpth]hpt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubah}(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)}(hadd packet handlerh]hadd packet handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMQubeh}(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)}(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.chMUhjܓubj)}(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.chMRhjubj)}(hhh]jX)}(hpacket type declarationh]hpacket type declaration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubah}(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.chMThjܓubj )}(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 }(hjVhhhNhNubh)}(h:c:type:`packet_type`h]j)}(hj`h]h packet_type}(hjbhhhNhNubah}(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.chMShjVubhb is linked into kernel lists and may not be freed until it has been removed from the kernel lists.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj}hMShjRubjX)}(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.chMWhjRubeh}(h]h ]h"]h$]h&]uh1j hj}hMShjܓubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMkubj)}(h h]h }(hj̔hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj˔hMkubj)}(h__dev_remove_packh]j%)}(h__dev_remove_packh]h__dev_remove_pack}(hjޔhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjڔubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj˔hMkubj)}(h(struct packet_type *pt)h]j)}(hstruct packet_type *pth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h packet_typeh]h packet_type}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__dev_remove_packasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpth]hpt}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj˔hMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj˔hMkubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj˔hMkhjhhubjS)}(hhh]jX)}(hremove packet handlerh]hremove packet handler}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMkhjzhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj˔hMkubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMohjubj)}(hhh]j)}(h3``struct packet_type *pt`` packet type declaration h](j)}(h``struct packet_type *pt``h]j)}(hjh]hstruct packet_type *pt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMlhjubj)}(hhh]jX)}(hpacket type declarationh]hpacket type declaration}(hjוhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjӕhMlhjԕubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӕhMlhjubah}(h]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.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 }(hjhhhNhNubh)}(h:c:type:`packet_type`h]j)}(hjh]h packet_type}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj packet_typeuh1hhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMmhjubhX is removed from the kernel lists and can be freed or reused once this function returns.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj:hMmhjubjX)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMrhjubeh}(h]h ]h"]h$]h&]uh1j hj:hMmhjubeh}(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}(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)}(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=uh1jhjvhhhjhMubj)}(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 }(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=uh1jhjvhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrhhhjhMubah}(h]jmah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjohhubjS)}(hhh]jX)}(hremove packet handlerh]hremove packet handler}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jRhjohhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRjxjRjyjzj{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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjVubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjuubj)}(hhh]jX)}(hpacket type declarationh]hpacket type declaration}(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 )}(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 }(hjЗhhhNhNubh)}(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.chMhjЗubhX is removed from the kernel lists and can be freed or reused once this function returns.}(hjЗhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhj̗ubjX)}(hUThis call sleeps to guarantee that no CPU is looking at the packet type after return.h]hUThis call sleeps to guarantee that no CPU is looking at the packet type after return.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj̗ubeh}(h]h ]h"]h$]h&]uh1j hjhMhjVubeh}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhjEhMubj)}(hdev_get_iflinkh]j%)}(hdev_get_iflinkh]hdev_get_iflink}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhjEhMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(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')}jjZsbc.dev_get_iflinkasbuh1hhjpubj)}(h h]h }(hj͘hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjۘhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubah}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhjEhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/hhhjEhMubah}(h]j*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEhMhj,hhubjS)}(hhh]jX)}(h!get 'iflink' value of a interfaceh]h%get ‘iflink’ value of a interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj,hhhjEhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{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)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj.ubj)}(hhh]j)}(h4``const struct net_device *dev`` targeted interface h](j)}(h ``const struct net_device *dev``h]j)}(hjSh]hconst struct net_device *dev}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjMubj)}(hhh]jX)}(htargeted interfaceh]htargeted interface}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjJubah}(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 )}(hrIndicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values.h]jX)}(hrIndicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values.h]hzIndicates the ifindex the interface is linked to. Physical interfaces have the same ‘ifindex’ and ‘iflink’ values.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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}(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)}(hdev_fill_metadata_dsth]j%)}(hdev_fill_metadata_dsth]hdev_fill_metadata_dst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjٙhhhjhMubj)}(h-(struct net_device *dev, struct sk_buff *skb)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]j')}jjsbc.dev_fill_metadata_dstasbuh1hhjubj)}(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=uh1jhjubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jTc.dev_fill_metadata_dstasbuh1hhjubj)}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjٙhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjՙhhhjhMubah}(h]jЙah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjҙhhubjS)}(hhh]jX)}(h#Retrieve tunnel egress information.h]h#Retrieve tunnel egress information.}(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ҙhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%jxj%jyjzj{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)}(hj/h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj)ubj)}(hhh](j)}(h.``struct net_device *dev`` targeted interface h](j)}(h``struct net_device *dev``h]j)}(hjNh]hstruct net_device *dev}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjHubj)}(hhh]jX)}(htargeted interfaceh]htargeted interface}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjEubj)}(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&]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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj)ubj )}(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.}(hjܛhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj؛ubah}(h]h ]h"]h$]h&]uh1j hjhMhj)ubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMQubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j')}j__dev_get_by_namesbc.__dev_get_by_nameasbuh1hhj hhhjhMQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMQubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj hhhjhMQubj)}(h__dev_get_by_nameh]j%)}(hjNh]h__dev_get_by_name}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMQubj)}(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$]jLc.__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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *nameh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnameh]hname}(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 hhhjhMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhjhMQubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMQhjhhubjS)}(hhh]jX)}(hfind a device by its nameh]hfind a device by its name}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQhjfhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMQubeh}(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.chMRhjubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjÝhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(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.chMShjݝubj)}(hhh]jX)}(h name to findh]h name to find}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjݝubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubeh}(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.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 }(hj8hhhNhNubj)}(h``NULL``h]hNULL}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubhb is returned. The reference counters are not incremented so the caller must be careful with locks.}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMThj4ubah}(h]h ]h"]h$]h&]uh1j hjXhMThjubeh}(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&]uh1hhj{hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhjhMfubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jdev_get_by_name_rcusbc.dev_get_by_name_rcuasbuh1hhj{hhhjhMfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhjhMfubj;)}(hj>h]h*}(hj͞hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{hhhjhMfubj)}(hdev_get_by_name_rcuh]j%)}(hjh]hdev_get_by_name_rcu}(hjޞhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjڞubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj{hhhjhMfubj)}(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_name_rcuasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *nameh](h)}(hjh]hconst}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjeubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj{hhhjhMfubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjwhhhjhMfubah}(h]jrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMfhjthhubjS)}(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&]uh1jRhjthhhjhMfubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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.chMjhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMghj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMghjubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjQh]hconst char *name}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhhjKubj)}(hhh]jX)}(h name to findh]h name to find}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhhjubeh}(h]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.chMjhjubjX)}(hFind an interface by name. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock.h](hsFind an interface by name. If the name is found a pointer to the device is returned. If the name is not found then }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is returned. The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMihjubeh}(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}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jnetdev_get_by_namesbc.netdev_get_by_nameasbuh1hhjߠhhhjhMubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjߠhhhjhMubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjߠhhhjhMubj)}(hnetdev_get_by_nameh]j%)}(hj h]hnetdev_get_by_name}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjߠhhhjhMubj)}(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&]uh1hhjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubh)}(hhh]j%)}(hneth]hnet}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]jc.netdev_get_by_nameasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(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=uh1jhjUubj)}(hnetdevice_tracker *trackerh](h)}(hhh]j%)}(hnetdevice_trackerh]hnetdevice_tracker}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/modnameN classnameNjj!)}j$]jc.netdev_get_by_nameasbuh1hhj&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%)}(htrackerh]htracker}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjUubj)}(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_nameasbuh1hhj{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=uh1jhjUubeh}(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)}(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ؠhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjRh]hconst char *name}(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)}(h name to findh]h name to find}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubj)}(hJ``netdevice_tracker *tracker`` tracking object for the acquired reference h](j)}(h``netdevice_tracker *tracker``h]j)}(hjh]hnetdevice_tracker *tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h*tracking object for the acquired referenceh]h*tracking object for the acquired reference}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.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٣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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, is returned if no matching device is found.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hj9hMhjubeh}(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 }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjmhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}j__dev_get_by_indexsbc.__dev_get_by_indexasbuh1hhj\hhhjmhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\hhhjmhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\hhhjmhMubj)}(h__dev_get_by_indexh]j%)}(hjh]h__dev_get_by_index}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\hhhjmhMubj)}(h(struct net *net, int ifindex)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjڤhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj֤ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֤ubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__dev_get_by_indexasbuh1hhj֤ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֤ubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj֤ubj%)}(hneth]hnet}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj֤ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjҤubj)}(h int ifindexh](j)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj%)}(hifindexh]hifindex}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjҤubeh}(h]h ]h"]h$]h&]j<j=uh1jhj\hhhjmhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhjmhMubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhMhjUhhubjS)}(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&]uh1jRhjUhhhjmhMubeh}(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)}(hjѥh]hstruct net *net}(hjӥhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϥubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj˥ubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj˥ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjȥubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hj h]h int ifindex}(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)}(hindex of deviceh]hindex of device}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjȥ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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.h]jX)}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.h](h*Search for an interface by index. Returns }(hj_hhhNhNubj)}(h``NULL``h]hNULL}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.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&]uh1hhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjŦhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj¦ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjǦmodnameN classnameNjj!)}j$]j')}jdev_get_by_index_rcusbc.dev_get_by_index_rcuasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hdev_get_by_index_rcuh]j%)}(hjh]hdev_get_by_index_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct net *net, int ifindex)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}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj@modnameN classnameNjj!)}j$]jc.dev_get_by_index_rcuasbuh1hhjubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int ifindexh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hifindexh]hifindex}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hfind a device by its ifindexh]hfind a device by its ifindex}(hj֧hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjӧhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjPh]h int ifindex}(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.chMhjJubj)}(hhh]jX)}(hindex of deviceh]hindex of device}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjubeh}(h]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 RCU lock.h]jX)}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.h](h*Search for an interface by index. Returns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hjŨhMhjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jnetdev_get_by_indexsbc.netdev_get_by_indexasbuh1hhjhhhjhMubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hnetdev_get_by_indexh]j%)}(hj)h]hnetdev_get_by_index}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hE(struct net *net, int ifindex, netdevice_tracker *tracker, gfp_t gfp)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j'c.netdev_get_by_indexasbuh1hhjbubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjҩubj%)}(hifindexh]hifindex}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjҩubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(hnetdevice_tracker *trackerh](h)}(hhh]j%)}(hnetdevice_trackerh]hnetdevice_tracker}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j'c.netdev_get_by_indexasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htrackerh]htracker}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(h gfp_t gfph](h)}(hhh]j%)}(hgfp_th]hgfp_t}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j'c.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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jߨah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjѪjxjѪjyjzj{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)}(hj۪h]h Parameters}(hjݪhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj٪ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjժubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hj3h]h int ifindex}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj-ubj)}(hhh]jX)}(hindex of deviceh]hindex of device}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubj)}(hJ``netdevice_tracker *tracker`` tracking object for the acquired reference h](j)}(h``netdevice_tracker *tracker``h]j)}(hjlh]hnetdevice_tracker *tracker}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjfubj)}(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&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``gfp_t gfp`` allocation flags for the tracker h](j)}(h ``gfp_t gfp``h]j)}(hjh]h gfp_t gfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h allocation flags for the trackerh]h allocation flags for the tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjժubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޫubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjժ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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjժubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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}(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}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]j')}jdev_getbyhwaddr_rcusbc.dev_getbyhwaddr_rcuasbuh1hhj+hhhj<hMubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+hhhj<hMubj;)}(hj>h]h*}(hj}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+hhhj<hMubj)}(hdev_getbyhwaddr_rcuh]j%)}(hjlh]hdev_getbyhwaddr_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+hhhj<hMubj)}(h6(struct net *net, unsigned short type, const char *ha)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hneth]hnet}(hjǬhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjĬubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjɬmodnameN classnameNjj!)}j$]jjc.dev_getbyhwaddr_rcuasbuh1hhjubj)}(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)}(hunsigned short typeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hshorth]hshort}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htypeh]htype}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *hah](h)}(hjh]hconst}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfubj%)}(hhah]hha}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubeh}(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%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&]uh1jRhj$hhhj<hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(h-``unsigned short type`` media type of device h](j)}(h``unsigned short type``h]j)}(hjRh]hunsigned short type}(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)}(hmedia type of deviceh]hmedia type of device}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjƮh]h Description}(hjȮhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĮubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(hSearch for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about lockingh]jX)}(hSearch for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about lockingh]hSearch for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about locking}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.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_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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj"hMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j')}jdev_getbyhwaddrsbc.dev_getbyhwaddrasbuh1hhjhhhj"hMubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj"hMubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhj"hMubj)}(hdev_getbyhwaddrh]j%)}(hjRh]hdev_getbyhwaddr}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj"hMubj)}(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$]jPc.dev_getbyhwaddrasbuh1hhjubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned short typeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htypeh]htype}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *hah](h)}(hjh]hconst}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj)}(hcharh]hchar}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hhah]hha}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj"hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj"hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"hMhj hhubjS)}(hhh]jX)}(h%find a device by its hardware addressh]h%find a device by its hardware address}(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})}(hXY**Parameters** ``struct net *net`` the applicable net namespace ``unsigned short type`` media type of device ``const char *ha`` hardware address **Description** Similar to dev_getbyhwaddr_rcu(), but the owner needs to hold rtnl_lock. **Context** rtnl_lock() must be held. **Return** pointer to the net_device, or NULL if not foundh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjްubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjڰubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h-``unsigned short type`` media type of device h](j)}(h``unsigned short type``h]j)}(hj8h]hunsigned short type}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj2ubj)}(hhh]jX)}(hmedia type of deviceh]hmedia type of device}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubj)}(h$``const char *ha`` hardware address h](j)}(h``const char *ha``h]j)}(hjqh]hconst char *ha}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjkubj)}(hhh]jX)}(hhardware addressh]hhardware address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjڰubjX)}(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.chMhjڰubjX)}(h **Context**h]j)}(hjӱh]hContext}(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ڰubjX)}(hrtnl_lock() must be held.h]hrtnl_lock() must be held.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjڰubjX)}(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.chMhjڰubjX)}(h/pointer to the net_device, or NULL if not foundh]h/pointer to the net_device, or NULL if not found}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjڰubeh}(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}(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 }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhjLhMubj)}(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=uh1jhj;hhhjLhMubj)}(h(const char *name)h]j)}(hconst char *nameh](h)}(hjh]hconst}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjsubah}(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)}(h(check if name is okay for network deviceh]h(check if name is okay for network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhjLhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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)}(h!``const char *name`` name string h](j)}(h``const char *name``h]j)}(hj*h]hconst char *name}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj$ubj)}(hhh]jX)}(h name stringh]h name string}(hjChhhNhNubah}(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)}(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 )}(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.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_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*}(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)}(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=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}(hjѴhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjδhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj³hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj ubj)}(h(``const char *name`` name format string 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.chMhjEubj)}(hhh]jX)}(hname format stringh]hname format string}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj ubeh}(h]h ]h"]h$]h&]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 )}(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 hjhMhjubeh}(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&]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)}(hnetdev_features_changeh]j%)}(hnetdev_features_changeh]hnetdev_features_change}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjѵhhhjhMubj)}(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}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j')}jjsbc.netdev_features_changeasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(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)}(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&]uh1jRhjʵhhhjhMubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h8``struct net_device *dev`` device to cause notification h](j)}(h``struct net_device *dev``h]j)}(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)}(hdevice to cause notificationh]hdevice to cause notification}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjжubeh}(h]h ]h"]h$]h&]uh1jhjhMhjͶubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(h1Called to indicate a device has changed features.h]jX)}(hj)h]h1Called to indicate a device has changed features.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj'ubah}(h]h ]h"]h$]h&]uh1j hj8hMhjubeh}(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}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM6ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhjmhM6ubj)}(h__netdev_notify_peersh]j%)}(h__netdev_notify_peersh]h__netdev_notify_peers}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[hhhjmhM6ubj)}(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 }(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=uh1jhj[hhhjmhM6ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjmhM6ubah}(h]jRah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhM6hjThhubjS)}(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}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh., to be called when rtnl lock is already held.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM6hjhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjmhM6ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{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)}(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.chM:hjMubj)}(hhh]j)}(h*``struct net_device *dev`` network 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.chM8hjlubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjiubah}(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.chM:hjMubjX)}(hXGenerate traffic such that interested network peers are aware of **dev**, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.h](hAGenerate traffic such that interested network peers are aware of }(hjøhhhNhNubj)}(h**dev**h]hdev}(hj˸hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjøubh, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.}(hjøhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM9hjMubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMIubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMIubj)}(hnetdev_notify_peersh]j%)}(hnetdev_notify_peersh]hnetdev_notify_peers}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMIubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jj'sbc.netdev_notify_peersasbuh1hhj=ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMIubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMIubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMIhjhhubjS)}(hhh]jX)}(h/notify network peers about existence of **dev**h](h(notify network peers about existence of }(hjĹhhhNhNubj)}(h**dev**h]hdev}(hj̹hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĹubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMIhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMIubeh}(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.chMMhjubj)}(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.chMJhj ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMJhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMJhj 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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMLhjubjX)}(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 }(hjdhhhNhNubj)}(h**dev**h]hdev}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh, 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.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMKhjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hregister_netdevice_notifierh]j%)}(hregister_netdevice_notifierh]hregister_netdevice_notifier}(hjƺhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjºubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct notifier_block *nb)h]j)}(hstruct notifier_block *nbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj޺ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj޺ubh)}(hhh]j%)}(hnotifier_blockh]hnotifier_block}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjȺsbc.register_netdevice_notifierasbuh1hhj޺ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj޺ubj;)}(hj>h]h*}(hj.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj޺ubj%)}(hnbh]hnb}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj޺ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjںubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h!register a network notifier blockh]h!register a network notifier block}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjbhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{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&]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&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߻ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hRegister a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.h]hRegister a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hWhen registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.h]hWhen registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(hnbh]hnb}(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)}(h#unregister a network notifier blockh]h#unregister a network notifier block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj*hhhjChMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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&]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)}(hj6h]hstruct notifier_block *nb}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj0ubj)}(hhh]jX)}(hnotifierh]hnotifier}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjqh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hUnregister a notifier previously registered by register_netdevice_notifier(). The notifier is unlinked into the kernel structures and may then be reused. A negative errno code is returned on a failure.h]hUnregister a notifier previously registered by register_netdevice_notifier(). The notifier is unlinked into the kernel structures and may then be reused. A negative errno code is returned on a failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hAfter unregistering unregister and down device events are synthesized for all devices on the device list to the removed notifier to remove the need for special case cleanup code.h]hAfter unregistering unregister and down device events are synthesized for all devices on the device list to the removed notifier to remove the need for special case cleanup code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjԽhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjӽhMubj)}(hregister_netdevice_notifier_neth]j%)}(hregister_netdevice_notifier_neth]hregister_netdevice_notifier_net}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjӽhMubj)}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]j')}jjsb!c.register_netdevice_notifier_netasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct notifier_block *nbh](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(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_netasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hnbh]hnb}(hj˾hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjӽhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjӽhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjӽhMhjhhubjS)}(hhh]jX)}(h+register a per-netns network notifier blockh]h+register a per-netns network notifier block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjӽhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hj6h]hstruct net *net}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj0ubj)}(hhh]jX)}(hnetwork namespaceh]hnetwork namespace}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhj-ubj)}(h'``struct notifier_block *nb`` notifier h](j)}(h``struct notifier_block *nb``h]j)}(hjoh]hstruct notifier_block *nb}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjiubj)}(hhh]jX)}(hnotifierh]hnotifier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhj-ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hRegister a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.h]hRegister a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hWhen registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.h]hWhen registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.}(hjϿhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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}(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)}(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=uh1jhjhhhj hM+ubj)}(h,(struct net *net, struct notifier_block *nb)h](j)}(hstruct net *neth](h)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(hneth]hnet}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]j')}jj!sb#c.unregister_netdevice_notifier_netasbuh1hhj7ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubj)}(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$]ju#c.unregister_netdevice_notifier_netasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnbh]hnb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubeh}(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-unregister a per-netns network notifier blockh]h-unregister a per-netns network notifier block}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hj+hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hM+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFjxjFjyjzj{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)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjJubj)}(hhh](j)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjoh]hstruct net *net}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjiubj)}(hhh]jX)}(hnetwork namespaceh]hnetwork namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjfubj)}(h'``struct notifier_block *nb`` notifier h](j)}(h``struct notifier_block *nb``h]j)}(hjh]hstruct notifier_block *nb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjubj)}(hhh]jX)}(hnotifierh]hnotifier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjfubeh}(h]h ]h"]h$]h&]uh1jhjJubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjJubjX)}(hUnregister a notifier previously registered by register_netdevice_notifier_net(). The notifier is unlinked from the kernel structures and may then be reused. A negative errno code is returned on a failure.h]hUnregister a notifier previously registered by register_netdevice_notifier_net(). The notifier is unlinked from the kernel structures and may then be reused. A negative errno code is returned on a failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjJubjX)}(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.chM4hjJubeh}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhjEhMubj)}(hcall_netdevice_notifiersh]j%)}(hcall_netdevice_notifiersh]hcall_netdevice_notifiers}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhjEhMubj)}(h+(unsigned long val, struct net_device *dev)h](j)}(hunsigned long valh](j)}(hunsignedh]hunsigned}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(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')}jjZsbc.call_netdevice_notifiersasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubeh}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhjEhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/hhhjEhMubah}(h]j*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEhMhj,hhubjS)}(hhh]jX)}(h call all network notifier blocksh]h call all network notifier blocks}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjEhhubah}(h]h ]h"]h$]h&]uh1jRhj,hhhjEhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj`jxj`jyjzj{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)}(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.chMhjdubj)}(hhh](j)}(hC``unsigned long val`` value passed unmodified to notifier function h](j)}(h``unsigned long val``h]j)}(hjh]hunsigned long val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h,value passed unmodified to notifier functionh]h,value passed unmodified to notifier function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``struct net_device *dev`` net_device pointer passed unmodified to notifier function h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h9net_device pointer passed unmodified to notifier functionh]h9net_device pointer passed unmodified to notifier function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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.chMhjdubj )}(hdCall all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().h]jX)}(hdCall all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().h]hdCall all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1j hj%hMhjdubeh}(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}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhhN/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 hjHhhhjZhM ubj)}(hdev_forward_skbh]j%)}(hdev_forward_skbh]hdev_forward_skb}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjZhM 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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjosbc.dev_forward_skbasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.dev_forward_skbasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjHhhhjZhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjZhM ubah}(h]j?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZhM hjAhhubjS)}(hhh]jX)}(h loopback an skb to another netifh]h loopback an skb to another netif}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjyhhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjZhM 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)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hdestination network deviceh]hdestination network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h*``struct sk_buff *skb`` buffer to forward h](j)}(h``struct sk_buff *skb``h]j)}(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 forwardh]hbuffer to forward}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj1h]h Description}(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 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:}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjJubj)}(hhh]jX)}(hONET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped, but freed)h]hONET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped, but freed)}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj]ubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj\hM hjGubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hdev_nit_active_rcuh]j%)}(hdev_nit_active_rcuh]hdev_nit_active_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(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 net_deviceh]h net_device}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j')}jjsbc.dev_nit_active_rcuasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h4return true if any network interface taps are in useh]h4return true if any network interface taps are in use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]j)}(hR``const struct net_device *dev`` network device to check for the presence of taps h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(h0network device to check for the presence of tapsh]h0network device to check for the presence of taps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjX)}(h!The caller must hold the RCU lockh]h!The caller must hold the RCU lock}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVhhhjhhM ubj)}(hnetif_set_real_num_rx_queuesh]j%)}(hnetif_set_real_num_rx_queuesh]hnetif_set_real_num_rx_queues}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjVhhhjhhM ubj)}(h*(struct net_device *dev, unsigned int rxq)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj}sbc.netif_set_real_num_rx_queuesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int rxqh](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hrxqh]hrxq}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjVhhhjhhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjRhhhjhhM ubah}(h]jMah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhhM hjOhhubjS)}(hhh]jX)}(h#set actual number of RX queues usedh]h#set actual number of RX queues used}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhhubah}(h]h ]h"]h$]h&]uh1jRhjOhhhjhhM 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h0``unsigned int rxq`` Actual number of RX queues h](j)}(h``unsigned int rxq``h]j)}(hjh]hunsigned int rxq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hActual number of RX queuesh]hActual number of RX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM 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.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj6ubah}(h]h ]h"]h$]h&]uh1j hjHhM 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}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkhhhN/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 hjkhhhj}hM 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=uh1jhjkhhhj}hM ubj)}(h<(struct net_device *dev, unsigned int txq, unsigned int rxq)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_set_real_num_queuesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int txqh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(htxqh]htxq}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int rxqh](j)}(hunsignedh]hunsigned}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj%)}(hrxqh]hrxq}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjkhhhj}hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjghhhj}hM ubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}hM hjdhhubjS)}(hhh]jX)}(h*set actual number of RX and TX queues usedh]h*set actual number of RX and TX queues used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjdhhhj}hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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 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)}(h0``unsigned int txq`` Actual number of TX queues h](j)}(h``unsigned int txq``h]j)}(hjKh]hunsigned int txq}(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)}(hActual number of TX queuesh]hActual number of TX queues}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hM hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(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)}(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 hj~ubj)}(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&]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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj )}(hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h]jX)}(hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h]hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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}(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_set_tso_max_sizeh]j%)}(hnetif_set_tso_max_sizeh]hnetif_set_tso_max_size}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM ubj)}(h+(struct net_device *dev, unsigned int size)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j')}jj1sbc.netif_set_tso_max_sizeasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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(set the max size of TSO frames supportedh]h(set the max size of TSO frames supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{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)}(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.chM hj;ubj)}(hhh](j)}(h,``struct net_device *dev`` netdev to update h](j)}(h``struct net_device *dev``h]j)}(hj`h]hstruct net_device *dev}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjZubj)}(hhh]jX)}(hnetdev to updateh]hnetdev to update}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhM hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM hjWubj)}(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 hjWubeh}(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)}(hSet the limit on the size of TSO super-frames the device can handle. Unless explicitly set the stack will assume the value of ``GSO_LEGACY_MAX_SIZE``.h](h~Set the limit on the size of TSO super-frames the device can handle. Unless explicitly set the stack will assume the value of }(hjhhhNhNubj)}(h``GSO_LEGACY_MAX_SIZE``h]hGSO_LEGACY_MAX_SIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj;ubeh}(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}(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'hhhj9hM ubj)}(hnetif_set_tso_max_segsh]j%)}(hnetif_set_tso_max_segsh]hnetif_set_tso_max_segs}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj9hM ubj)}(h+(struct net_device *dev, unsigned int segs)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjNsbc.netif_set_tso_max_segsasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(hunsigned int segsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsegsh]hsegs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj'hhhj9hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj9hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hM hj hhubjS)}(hhh]jX)}(h,set the max number of segs supported for TSOh]h,set the max number of segs supported for TSO}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj9hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj9hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{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)}(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 hjXubj)}(hhh](j)}(h,``struct net_device *dev`` netdev to update h](j)}(h``struct net_device *dev``h]j)}(hj}h]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjwubj)}(hhh]jX)}(hnetdev to updateh]hnetdev to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM hjtubj)}(h1``unsigned int segs`` max number of TCP segments h](j)}(h``unsigned int segs``h]j)}(hjh]hunsigned int segs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hmax number of TCP segmentsh]hmax number of TCP segments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM 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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjXubjX)}(hSet the limit on the number of TCP segments the device can generate from a single TSO super-frame. Unless explicitly set the stack will assume the value of ``GSO_MAX_SEGS``.h](hSet the limit on the number of TCP segments the device can generate from a single TSO super-frame. Unless explicitly set the stack will assume the value of }(hjhhhNhNubj)}(h``GSO_MAX_SEGS``h]h GSO_MAX_SEGS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjXubeh}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjVhM ubj)}(hnetif_inherit_tso_maxh]j%)}(hnetif_inherit_tso_maxh]hnetif_inherit_tso_max}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjVhM 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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjksbc.netif_inherit_tso_maxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htoh]hto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubj)}(hconst struct net_device *fromh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]jc.netif_inherit_tso_maxasbuh1hhjubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfromh]hfrom}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhjVhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhjVhM ubah}(h]j;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVhM hj=hhubjS)}(hhh]jX)}(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&]uh1jRhj=hhhjVhM 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)}(hjh]hstruct net_device *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(hnetdev to updateh]hnetdev to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hF``const struct net_device *from`` netdev from which to copy the limitsh](j)}(h!``const struct net_device *from``h]j)}(hj h]hconst struct net_device *from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jX)}(h$netdev from which to copy the limitsh]h$netdev from which to copy the limits}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj֒hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-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}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjchhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjchhhjuhM ubj)}(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=uh1jhjchhhjuhM ubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(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)}(hdefault number of RSS queuesh]hdefault number of RSS queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj\hhhjuhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjh]hvoid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhj ubj)}(hhh]jX)}(h no argumentsh]h no arguments}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hKhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hKhjubah}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjubjX)}(hjDefault value is the number of physical cores if there are only 1 or 2, or divided by 2 if there are more.h]hjDefault value is the number of physical cores if there are only 1 or 2, or divided by 2 if there are more.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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.chMx ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMx 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=uh1jhjhhhjhMx ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_device_detachasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMx ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMx ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMx hjhhubjS)}(hhh]jX)}(hmark device as removedh]hmark device as removed}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMx hjLhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMx ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjgjxjgjyjzj{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)}(hjqh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM| hjkubj)}(hhh]j)}(h*``struct net_device *dev`` 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.chMy hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMy hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMy hjubah}(h]h ]h"]h$]h&]uh1jhjkubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM{ hjkubjX)}(hEMark device as removed from system and therefore no longer available.h]hEMark device as removed from system and therefore no longer available.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMz hjkubeh}(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}(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_device_attachh]j%)}(hnetif_device_attachh]hnetif_device_attach}(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_device_attachasbuh1hhjIubj)}(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)}(hmark device as attachedh]hmark device as attached}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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 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 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)}(h:Mark device as attached from system and restart if needed.h]h:Mark device as attached from system and restart if needed.}(hjbhhhNhNubah}(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_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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hneth]hnet}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.dev_loopback_xmitasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hneth]hnet}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sock *skh](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%)}(hsockh]hsock}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`modnameN classnameNjj!)}j$]jc.dev_loopback_xmitasbuh1hhj<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%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.dev_loopback_xmitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=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 }(hj1hhhNhNubj)}(h**skb**h]hskb}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(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&]jvjqjwjWjxjWjyjzj{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)}(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.chMhj[ubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjzubj)}(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&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjwubj)}(h5``struct sock *sk`` sk needed to be a netfilter okfn h](j)}(h``struct sock *sk``h]j)}(hjh]hstruct sock *sk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h sk needed to be a netfilter okfnh]h sk needed to be a netfilter okfn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjwubj)}(h*``struct sk_buff *skb`` buffer to transmith](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hbuffer to transmith]hbuffer to transmit}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjwubeh}(h]h ]h"]h$]h&]uh1jhj[ubeh}(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}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhhN/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 hjHhhhjZhM*ubj)}(h__dev_queue_xmith]j%)}(h__dev_queue_xmith]h__dev_queue_xmit}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjZhM*ubj)}(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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjosbc.__dev_queue_xmitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net_device *sb_devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__dev_queue_xmitasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hsb_devh]hsb_dev}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjHhhhjZhM*ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjZhM*ubah}(h]j?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZhM*hjAhhubjS)}(hhh]jX)}(htransmit a bufferh]htransmit a buffer}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hjyhhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjZhM*ubeh}(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.chM.hjubj)}(hhh](j)}(h+``struct sk_buff *skb`` buffer to transmit h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hjubj)}(hhh]jX)}(hbuffer to transmith]hbuffer to transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjubj)}(hQ``struct net_device *sb_dev`` suboordinate device used for L2 forwarding offload h](j)}(h``struct net_device *sb_dev``h]j)}(hjh]hstruct net_device *sb_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hjubj)}(hhh]jX)}(h2suboordinate device used for L2 forwarding offloadh]h2suboordinate device used for L2 forwarding offload}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM,hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM,hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj1h]h Description}(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.hjubjX)}(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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjubjX)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjubjX)}(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.)}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM4hjubjX)}(h **Return**h]j)}(hjvh]hReturn}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM8hjubj&:)}(hhh](j+:)}(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.chM9hjubah}(h]h ]h"]h$]h&]uh1j*:hjubj+:)}(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.chM:hjubah}(h]h ]h"]h$]h&]uh1j*:hjubj+:)}(h)negative errno - other errorsh]jX)}(hjh]h)negative errno - other errors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM;hjubah}(h]h ]h"]h$]h&]uh1j*:hjubeh}(h]h ]h"]h$]h&]j:j>uh1j%:hjhM9hjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(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=uh1jhjhhhj hMubj)}(hC(struct net_device *dev, u16 rxq_index, u32 flow_id, u16 filter_id)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]j')}jjsbc.rps_may_expire_flowasbuh1hhj5ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(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$]jsc.rps_may_expire_flowasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h rxq_indexh]h rxq_index}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(h u32 flow_idh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jsc.rps_may_expire_flowasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflow_idh]hflow_id}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(h u16 filter_idh](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$]jsc.rps_may_expire_flowasbuh1hhj7ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj%)}(h filter_idh]h filter_id}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubeh}(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)}(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&]uh1jRhjhhhj hMubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h>``struct net_device *dev`` Device on which the filter was set h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h"Device on which the filter was seth]h"Device on which the filter was set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``u16 rxq_index`` RX queue index h](j)}(h``u16 rxq_index``h]j)}(hjh]h u16 rxq_index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hRX queue indexh]hRX queue index}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubj)}(h6``u32 flow_id`` Flow ID passed to ndo_rx_flow_steer() h](j)}(h``u32 flow_id``h]j)}(hjGh]h u32 flow_id}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjAubj)}(hhh]jX)}(h%Flow ID passed to ndo_rx_flow_steer()h]h%Flow ID passed to ndo_rx_flow_steer()}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubj)}(h<``u16 filter_id`` Filter ID returned by ndo_rx_flow_steer() h](j)}(h``u16 filter_id``h]j)}(hjh]h u16 filter_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjzubj)}(hhh]jX)}(h)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&]uh1jhjzubeh}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hDrivers that implement ndo_rx_flow_steer() should periodically call this function for each installed filter and remove the filters for which it returns ``true``.h](hDrivers that implement ndo_rx_flow_steer() should periodically call this function for each installed filter and remove the filters for which it returns }(hjhhhNhNubj)}(h``true``h]htrue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(h __netif_rxh]j%)}(h __netif_rxh]h __netif_rx}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMubj)}(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}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}jj5sb c.__netif_rxasbuh1hhjKubj)}(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=uh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMhjhhubjS)}(hhh]jX)}(h&Slightly optimized version of netif_rxh]h&Slightly optimized version of netif_rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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 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.chMhj ubj)}(hhh]jX)}(hbuffer to posth]hbuffer to post}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(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).}(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 hjvhMhjubeh}(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.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hnetif_rxh]j%)}(hnetif_rxh]hnetif_rx}(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')}jjsb c.netif_rxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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)}(hpost buffer to the network codeh]hpost buffer to the network code}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{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&]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 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.chMhjubj)}(hhh]jX)}(hbuffer to posth]hbuffer to post}(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.chMhjyubj )}(hXQThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function. return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)h](jX)}(hXThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function.h]hXThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hSreturn values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)h]hSreturn values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhjyubeh}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMoubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhjDhMoubj)}(hnetdev_is_rx_handler_busyh]j%)}(hnetdev_is_rx_handler_busyh]hnetdev_is_rx_handler_busy}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhjDhMoubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(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')}jjYsbc.netdev_is_rx_handler_busyasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubah}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhjDhMoubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/hhhjDhMoubah}(h]j*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhMohj,hhubjS)}(hhh]jX)}(h&check if receive handler is registeredh]h&check if receive handler is registered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMohjhhubah}(h]h ]h"]h$]h&]uh1jRhj,hhhjDhMoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMshjubj)}(hhh]j)}(h+``struct net_device *dev`` device to check h](j)}(h``struct net_device *dev``h]j)}(hj7h]hstruct net_device *dev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMphj1ubj)}(hhh]jX)}(hdevice to checkh]hdevice to check}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMphjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMphj.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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMrhjubj )}(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.chMqhjubjX)}(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.chMthjubeh}(h]h ]h"]h$]h&]uh1j hjhMqhjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hnetdev_rx_handler_registerh]j%)}(hnetdev_rx_handler_registerh]hnetdev_rx_handler_register}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(hN(struct net_device *dev, rx_handler_func_t *rx_handler, void *rx_handler_data)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(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}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j')}jjsbc.netdev_rx_handler_registerasbuh1hhj 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)}(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$]jGc.netdev_rx_handler_registerasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(h rx_handlerh]h rx_handler}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hvoid *rx_handler_datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hrx_handler_datah]hrx_handler_data}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hregister receive handlerh]hregister receive handler}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj$hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{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)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjCubj)}(hhh](j)}(h<``struct net_device *dev`` device to register a handler for h](j)}(h``struct net_device *dev``h]j)}(hjhh]hstruct net_device *dev}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjbubj)}(hhh]jX)}(h device to register a handler forh]h device to register a handler for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj_ubj)}(h>``rx_handler_func_t *rx_handler`` receive handler to register h](j)}(h!``rx_handler_func_t *rx_handler``h]j)}(hjh]hrx_handler_func_t *rx_handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hreceive handler to registerh]hreceive handler to register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubj)}(hB``void *rx_handler_data`` data pointer that is used by rx handler h](j)}(h``void *rx_handler_data``h]j)}(hjh]hvoid *rx_handler_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h'data pointer that is used by rx handlerh]h'data pointer that is used by rx handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjCubj )}(hRegister a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure. The caller must hold the rtnl_mutex. For a general description of rx_handler, see enum rx_handler_result.h](jX)}(hRegister a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure.h]hRegister a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj+ubjX)}(h$The caller must hold the rtnl_mutex.h]h$The caller must hold the rtnl_mutex.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj+ubjX)}(hDFor a general description of rx_handler, see enum rx_handler_result.h]hDFor a general description of rx_handler, see enum rx_handler_result.}(hjMhhhNhNubah}(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 hj=hMhjCubeh}(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&]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)}(hnetdev_rx_handler_unregisterh]j%)}(hnetdev_rx_handler_unregisterh]hnetdev_rx_handler_unregister}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhjhMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_rx_handler_unregisterasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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)}(hunregister receive handlerh]hunregister receive handler}(hjBhhhNhNubah}(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&]jvjqjwjZjxjZjyjzj{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)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj^ubj)}(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.chMhj}ubj)}(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&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjzubah}(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 )}(hQUnregister a receive handler from a device. The caller must hold the rtnl_mutex.h](jX)}(h+Unregister a receive handler from a device.h]h+Unregister a receive handler from a device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.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 hjhMhj^ubeh}(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 }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj*hMubj)}(hnetif_receive_skb_coreh]j%)}(hnetif_receive_skb_coreh]hnetif_receive_skb_core}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj*hMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](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?sbc.netif_receive_skb_coreasbuh1hhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj*hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj*hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*hMhjhhubjS)}(hhh]jX)}(h,special purpose version of netif_receive_skbh]h,special purpose version of netif_receive_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj*hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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 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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubah}(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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj )}(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 }(hjrhhhNhNubj)}(h``(page_is_)pfmemalloc``h]h(page_is_)pfmemalloc}(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.chMhjnubjX)}(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.chMhjnubjX)}(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.chMhjnubeh}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(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}(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_skbh]j%)}(hnetif_receive_skbh]hnetif_receive_skb}(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 }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j')}jjsbc.netif_receive_skbasbuh1hhjubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(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#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&]uh1jRhjhhhjhMubeh}(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)}(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 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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.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.}(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.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj)ubjX)}(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}(hjKhhhNhNubah}(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 hj;hMhjubeh}(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&]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)}(hnetif_receive_skb_listh]j%)}(hnetif_receive_skb_listh]hnetif_receive_skb_list}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj|hhhjhMubj)}(h(struct list_head *head)h]j)}(hstruct list_head *headh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h list_headh]h list_head}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_receive_skb_listasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj|hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxhhhjhMubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjuhhubjS)}(hhh]jX)}(h)process many receive buffers from networkh]h)process many receive buffers from network}(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&]uh1jRhjuhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{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)}(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)}(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.chMhj{ubj)}(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&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjxubah}(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 )}(hSince return value of netif_receive_skb() is normally ignored, and wouldn't be meaningful for a list, this function returns void. This function may only be called from softirq context and interrupts should be enabled.h](jX)}(hSince return value of netif_receive_skb() is normally ignored, and wouldn't be meaningful for a list, this function returns void.h]hSince return value of netif_receive_skb() is normally ignored, and wouldn’t be meaningful for a list, this function returns void.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.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.chMhjubeh}(h]h ]h"]h$]h&]uh1j hjhMhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj֒hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__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&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj(hMubj)}(h__napi_scheduleh]j%)}(h__napi_scheduleh]h__napi_schedule}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj(hMubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]j')}jj=sbc.__napi_scheduleasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj(hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj(hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(hMhjhhubjS)}(hhh]jX)}(hschedule for receiveh]hschedule for receive}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj(hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h,``struct napi_struct *n`` entry to schedule h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hentry to scheduleh]hentry to schedule}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjUh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(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.}(hjkhhhNhNubah}(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_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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.napi_schedule_prepasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hcheck if napi can be scheduledh]hcheck if napi can be scheduled}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjUhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjpjxjpjyjzj{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)}(hjzh]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjtubj)}(hhh]j)}(h'``struct napi_struct *n`` napi context h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h napi contexth]h napi context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjtubjX)}(hTest if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.h]hTest if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjtubeh}(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&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj'hMubj)}(h__napi_schedule_irqoffh]j%)}(h__napi_schedule_irqoffh]h__napi_schedule_irqoff}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj'hMubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jj<sbc.__napi_schedule_irqoffasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj'hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj'hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'hMhjhhubjS)}(hhh]jX)}(hschedule for receiveh]hschedule for receive}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj'hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h,``struct napi_struct *n`` entry to schedule h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hentry to scheduleh]hentry to schedule}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjTh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(h;Variant of __napi_schedule() assuming hard irqs are masked.h]h;Variant of __napi_schedule() assuming hard irqs are masked.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hOn PREEMPT_RT enabled kernels this maps to __napi_schedule() because the interrupt disabled assumption might not be true due to force-threaded interrupts and spinlock substitution.h]hOn PREEMPT_RT enabled kernels this maps to __napi_schedule() because the interrupt disabled assumption might not be true due to force-threaded interrupts and spinlock substitution.}(hjyhhhNhNubah}(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"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&]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_threaded_enableh]j%)}(hnetif_threaded_enableh]hnetif_threaded_enable}(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.netif_threaded_enableasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(henable threaded NAPIsh]henable threaded NAPIs}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjehhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(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.chMhjubj)}(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.chMhjubj)}(hhh]jX)}(hnet_device instanceh]hnet_device instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hEnable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped.h]hEnable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(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)}(hunsigned int queue_indexh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h queue_indexh]h queue_index}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(henum netdev_queue_type typeh](h)}(hhh]henum}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hnetdev_queue_typeh]hnetdev_queue_type}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jc.netif_queue_set_napiasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj%)}(htypeh]htype}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netif_queue_set_napiasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjFhhhjXhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjBhhhjXhMubah}(h]j=ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjXhMhj?hhubjS)}(hhh]jX)}(hAssociate queue with the napih]hAssociate queue with the napi}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj+hhubah}(h]h ]h"]h$]h&]uh1jRhj?hhhjXhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFjxjFjyjzj{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)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjJubj)}(hhh](j)}(hA``struct net_device *dev`` device to which NAPI and queue belong h](j)}(h``struct net_device *dev``h]j)}(hjoh]hstruct net_device *dev}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjiubj)}(hhh]jX)}(h%device to which NAPI and queue belongh]h%device to which NAPI and queue belong}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubj)}(h,``unsigned int queue_index`` Index of queue h](j)}(h``unsigned int queue_index``h]j)}(hjh]hunsigned int queue_index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hIndex of queueh]hIndex of queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubj)}(h7``enum netdev_queue_type type`` queue type as RX or TX h](j)}(h``enum netdev_queue_type type``h]j)}(hjh]henum netdev_queue_type type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hqueue type as RX or TXh]hqueue type as RX or TX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubj)}(hR``struct napi_struct *napi`` NAPI context, pass NULL to clear previously set NAPI h](j)}(h``struct napi_struct *napi``h]j)}(hjh]hstruct napi_struct *napi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(h4NAPI context, pass NULL to clear previously set NAPIh]h4NAPI context, pass NULL to clear previously set NAPI}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjfubeh}(h]h ]h"]h$]h&]uh1jhjJubjX)}(h**Description**h]j)}(hjUh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjJubjX)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjJubeh}(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.chMKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMKubj)}(h napi_disableh]j%)}(h napi_disableh]h napi_disable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMKubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.napi_disableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMKhjhhubjS)}(hhh]jX)}(hprevent NAPI from schedulingh]hprevent NAPI from scheduling}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMKhjVhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqjxjqjyjzj{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)}(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.chMOhjuubj)}(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.chMLhjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjubah}(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.chMNhjuubjX)}(hStop NAPI from being scheduled on this context. Waits till any outstanding processing completes. Takes netdev_lock() for associated net_device.h]hStop NAPI from being scheduled on this context. Waits till any outstanding processing completes. Takes netdev_lock() for associated net_device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMMhjuubeh}(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&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMnubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj(hMnubj)}(h napi_enableh]j%)}(h napi_enableh]h napi_enable}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj(hMnubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]j')}jj=sb c.napi_enableasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj(hMnubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj(hMnubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(hMnhjhhubjS)}(hhh]jX)}(henable NAPI schedulingh]henable NAPI scheduling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMnhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj(hMnubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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.chMrhjubj)}(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.chMohjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMohj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMohjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjUh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMqhjubjX)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMphjubeh}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h6(struct net_device *dev, struct net_device *upper_dev)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_has_upper_devasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net_device *upper_devh](h)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]jc.netdev_has_upper_devasbuh1hhjDubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(h upper_devh]h upper_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h,Check if device is linked to an upper deviceh]h,Check if device is linked to an upper device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj h]hstruct net_device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hdeviceh]hdevice}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``struct net_device *upper_dev`` upper device to check h](j)}(h ``struct net_device *upper_dev``h]j)}(hjCh]hstruct net_device *upper_dev}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj=ubj)}(hhh]jX)}(hupper device to checkh]hupper device to check}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj~h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks only immediate upper device, not through a complete stack of devices. The caller must hold the RTNL lock.h]hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks only immediate upper device, not through a complete stack of devices. The caller must hold the RTNL lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hnetdev_has_upper_dev_all_rcuh]j%)}(hnetdev_has_upper_dev_all_rcuh]hnetdev_has_upper_dev_all_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h6(struct net_device *dev, struct net_device *upper_dev)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_has_upper_dev_all_rcuasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(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)}(hstruct net_device *upper_devh](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j9c.netdev_has_upper_dev_all_rcuasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(h upper_devh]h upper_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h,Check if device is linked to an upper deviceh]h,Check if device is linked to an upper device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj3h]hstruct net_device *dev}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj-ubj)}(hhh]jX)}(hdeviceh]hdevice}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhj*ubj)}(h7``struct net_device *upper_dev`` upper device to check h](j)}(h ``struct net_device *upper_dev``h]j)}(hjlh]hstruct net_device *upper_dev}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjfubj)}(hhh]jX)}(hupper device to checkh]hupper device to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhj*ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks the entire upper device chain. The caller must hold rcu lock.h]hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks the entire upper device chain. The caller must hold rcu lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(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}(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_any_upper_devh]j%)}(hnetdev_has_any_upper_devh]hnetdev_has_any_upper_dev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=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 }(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_has_any_upper_devasbuh1hhj$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 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 device is linked to some deviceh]h(Check if device is linked to some device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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)}(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.chMhjubeh}(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}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhhjyhMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jnetdev_master_upper_dev_getsbc.netdev_master_upper_dev_getasbuh1hhjhhhhjyhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhhjyhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhhjyhMubj)}(hnetdev_master_upper_dev_geth]j%)}(hjh]hnetdev_master_upper_dev_get}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhhjyhMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_master_upper_dev_getasbuh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj0hhhNhNubah}(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=uh1jhjhhhhjyhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjdhhhjyhMubah}(h]j_ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjyhMhjahhubjS)}(hhh]jX)}(hGet master upper deviceh]hGet master upper device}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjdhhubah}(h]h ]h"]h$]h&]uh1jRhjahhhjyhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(hwFind a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RTNL lock.h]hyFind a master upper device and return pointer to it or NULL in case it’s not there. The caller must hold the RTNL lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(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.chM*ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$hhhj5hM*ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j')}jnetdev_upper_get_next_dev_rcusbc.netdev_upper_get_next_dev_rcuasbuh1hhj$hhhj5hM*ubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$hhhj5hM*ubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$hhhj5hM*ubj)}(hnetdev_upper_get_next_dev_rcuh]j%)}(hjeh]hnetdev_upper_get_next_dev_rcu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj$hhhj5hM*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$]jcc.netdev_upper_get_next_dev_rcuasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct list_head **iterh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h list_headh]h list_head}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]jcc.netdev_upper_get_next_dev_rcuasbuh1hhjubj)}(h h]h }(hjNhhhNhNubah}(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%)}(hiterh]hiter}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj$hhhj5hM*ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj5hM*ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5hM*hjhhubjS)}(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.chM*hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj5hM*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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)}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hM,hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM,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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjubjX)}(hpGets the next device from the dev's upper list, starting from iter position. The caller must hold RCU read lock.h]hrGets the next device from the dev’s upper list, starting from iter position. The caller must hold RCU read lock.}(hjkhhhNhNubah}(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_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.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hnetdev_lower_get_next_privateh]j%)}(hnetdev_lower_get_next_privateh]hnetdev_lower_get_next_private}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h1(struct net_device *dev, struct list_head **iter)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_lower_get_next_privateasbuh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj0hhhNhNubah}(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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(h list_headh]h list_head}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]jc.netdev_lower_get_next_privateasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hiterh]hiter}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(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)}(h4Get the next ->private from the lower neighbour listh]h4Get the next ->private from the lower neighbour list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj%h]hstruct net_device *dev}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jX)}(hdeviceh]hdevice}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hj^h]hstruct list_head **iter}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjXubj)}(hhh]jX)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjX)}(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.chMhjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(h!netdev_lower_get_next_private_rcuh]j%)}(h!netdev_lower_get_next_private_rcuh]h!netdev_lower_get_next_private_rcu}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h1(struct net_device *dev, struct list_head **iter)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(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')}jjsb#c.netdev_lower_get_next_private_rcuasbuh1hhj$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 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$]jb#c.netdev_lower_get_next_private_rcuasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hiterh]hiter}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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)}(hAGet the next ->private from the lower neighbour list, RCU varianth]hAGet the next ->private from the lower neighbour list, RCU variant}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj%hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{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)}(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.chMhjDubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMhjubah}(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.chMhjubj)}(hhh]jX)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj`ubeh}(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.chMhjDubjX)}(hGets the next netdev_adjacent->private from the dev's lower neighbour list, starting from iter position. The caller must hold RCU read lock.h]hGets the next netdev_adjacent->private from the dev’s lower neighbour list, starting from iter position. The caller must hold RCU read lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjDubeh}(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}(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 }(hj1 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj0 hM ubj;)}(hj>h]h*}(hj? hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj hhhj0 hM ubj)}(hnetdev_lower_get_nexth]j%)}(hnetdev_lower_get_nexth]hnetdev_lower_get_next}(hjP hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj0 hM ubj)}(h1(struct net_device *dev, struct list_head **iter)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjl hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjh ubj)}(h h]h }(hjy hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjR sbc.netdev_lower_get_nextasbuh1hhjh ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjh ubj%)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjd ubj)}(hstruct list_head **iterh](h)}(hjh]hstruct}(hj hhhNh@Nubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h list_headh]h list_head}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j c.netdev_lower_get_nextasbuh1hhj ubj)}(h h]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*}(hj5 hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hiterh]hiter}(hjB hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjd ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj0 hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj0 hM ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0 hM hj hhubjS)}(hhh]jX)}(h1Get the next device from the lower neighbour listh]h1Get the next device from the lower neighbour list}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hji hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj0 hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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)}(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)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hj h]hstruct list_head **iter}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj ubj)}(hhh]jX)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(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)}(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.}(hj7 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_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}(hjf hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-!ubj)}(h h]h }(hju hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb hhhjt hM-!ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjb hhhjt hM-!ubj)}(h"netdev_lower_get_first_private_rcuh]j%)}(h"netdev_lower_get_first_private_rcuh]h"netdev_lower_get_first_private_rcu}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjb hhhjt hM-!ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jj sb$c.netdev_lower_get_first_private_rcuasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhjb hhhjt hM-!ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^ hhhjt hM-!ubah}(h]jY ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjt hM-!hj[ hhubjS)}(hhh]jX)}(hBGet the first ->private from the lower neighbour list, RCU varianth]hBGet the first ->private from the lower neighbour list, RCU variant}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-!hj0 hhubah}(h]h ]h"]h$]h&]uh1jRhj[ hhhjt hM-!ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjK jxjK jyjzj{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)}(hjU h]h Parameters}(hjW hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1!hjO 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.chM0!hjn ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM0!hj ubah}(h]h ]h"]h$]h&]uh1jhjn ubeh}(h]h ]h"]h$]h&]uh1jhj hM0!hjk ubah}(h]h ]h"]h$]h&]uh1jhjO ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2!hjO ubjX)}(hpGets the first netdev_adjacent->private from the dev's lower neighbour list. The caller must hold RCU read lock.h]hrGets the first netdev_adjacent->private from the dev’s lower neighbour list. The caller must hold RCU read lock.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1!hjO ubeh}(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&]uh1hhj hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMB!ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMB!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_master_upper_dev_get_rcusb!c.netdev_master_upper_dev_get_rcuasbuh1hhj hhhj hMB!ubj)}(h h]h }(hj4 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMB!ubj;)}(hj>h]h*}(hjB hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj hhhj hMB!ubj)}(hnetdev_master_upper_dev_get_rcuh]j%)}(hj1 h]hnetdev_master_upper_dev_get_rcu}(hjS hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMB!ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j/ !c.netdev_master_upper_dev_get_rcuasbuh1hhjj 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 hMB!ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hMB!ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hMB!hj hhubjS)}(hhh]jX)}(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.chMB!hj hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMB!ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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.chMF!hj ubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj0h]hstruct net_device *dev}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMC!hj*ubj)}(hhh]jX)}(hdeviceh]hdevice}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMC!hjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMC!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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chME!hj ubjX)}(h{Find a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RCU read lock.h]h}Find a master upper device and return pointer to it or NULL in case it’s not there. The caller must hold the RCU read lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMD!hj ubeh}(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.chMU"ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMU"ubj)}(hnetdev_upper_dev_linkh]j%)}(hnetdev_upper_dev_linkh]hnetdev_upper_dev_link}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMU"ubj)}(hV(struct net_device *dev, struct net_device *upper_dev, struct netlink_ext_ack *extack)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.netdev_upper_dev_linkasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net_device *upper_devh](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 net_deviceh]h net_device}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j'c.netdev_upper_dev_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%)}(h upper_devh]h upper_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j'c.netdev_upper_dev_linkasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hextackh]hextack}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMU"ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMU"ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMU"hjhhubjS)}(hhh]jX)}(hAdd a link to the upper deviceh]hAdd a link to the upper device}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMU"hjMhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMU"ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{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)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMY"hjlubj)}(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.chMV"hjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMV"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMV"hjubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hjh]hstruct net_device *upper_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMW"hjubj)}(hhh]jX)}(hnew upper deviceh]hnew upper device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMW"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMW"hjubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjh]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMX"hjubj)}(hhh]jX)}(hnetlink extended ackh]hnetlink extended ack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMX"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMX"hjubeh}(h]h ]h"]h$]h&]uh1jhjlubjX)}(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.chMZ"hjlubjX)}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMY"hjlubeh}(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.chMn"ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMn"ubj)}(hnetdev_master_upper_dev_linkh]j%)}(hnetdev_master_upper_dev_linkh]hnetdev_master_upper_dev_link}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMn"ubj)}(hz(struct net_device *dev, struct net_device *upper_dev, void *upper_priv, void *upper_info, struct netlink_ext_ack *extack)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_master_upper_dev_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net_device *upper_devh](h)}(hjh]hstruct}(hj2hhhNhNubah}(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}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]jc.netdev_master_upper_dev_linkasbuh1hhj.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%)}(h upper_devh]h upper_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hvoid *upper_privh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h upper_privh]h upper_priv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hvoid *upper_infoh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h upper_infoh]h upper_info}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]jc.netdev_master_upper_dev_linkasbuh1hhj"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%)}(hextackh]hextack}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMn"ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj{hhhjhMn"ubah}(h]jvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMn"hjxhhubjS)}(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.chMn"hjhhubah}(h]h ]h"]h$]h&]uh1jRhjxhhhjhMn"ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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.chMo"hjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMo"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMo"hjubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hj!h]hstruct net_device *upper_dev}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMp"hjubj)}(hhh]jX)}(hnew upper deviceh]hnew upper device}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMp"hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMp"hjubj)}(h*``void *upper_priv`` upper device private h](j)}(h``void *upper_priv``h]j)}(hjZh]hvoid *upper_priv}(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.chMq"hjTubj)}(hhh]jX)}(hupper device privateh]hupper device private}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMq"hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMq"hjubj)}(h?``void *upper_info`` upper info to be passed down via notifier h](j)}(h``void *upper_info``h]j)}(hjh]hvoid *upper_info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMr"hjubj)}(hhh]jX)}(h)upper info to be passed down via notifierh]h)upper info to be passed down via notifier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMr"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMr"hjubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjh]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMs"hjubj)}(hhh]jX)}(hnetlink extended ackh]hnetlink extended ack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMs"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMs"hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMu"hjubjX)}(hXFAdds a link to device which is upper to this one. In this case, only one master upper device can be linked, although other non-master devices might be linked as well. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.h]hXFAdds a link to device which is upper to this one. In this case, only one master upper device can be linked, although other non-master devices might be linked as well. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMt"hjubeh}(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}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhhN/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 hjHhhhjZhM"ubj)}(hnetdev_upper_dev_unlinkh]j%)}(hnetdev_upper_dev_unlinkh]hnetdev_upper_dev_unlink}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjZhM"ubj)}(h6(struct net_device *dev, struct net_device *upper_dev)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjosbc.netdev_upper_dev_unlinkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct net_device *upper_devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_upper_dev_unlinkasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h upper_devh]h upper_dev}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjHhhhjZhM"ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjZhM"ubah}(h]j?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZhM"hjAhhubjS)}(hhh]jX)}(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"hjyhhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjZhM"ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hjubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hjh]hstruct net_device *upper_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hjubj)}(hhh]jX)}(hnew upper deviceh]hnew upper device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM"hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM"hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj1h]h Description}(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"hjubjX)}(hXRemoves a link to device which is upper to this one. The caller must hold the RTNL lock.h]hXRemoves a link to device which is upper to this one. The caller must hold the RTNL lock.}(hjGhhhNhNubah}(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_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}(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)}(hnetdev_bonding_info_changeh]j%)}(hnetdev_bonding_info_changeh]hnetdev_bonding_info_change}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrhhhjhM#ubj)}(hB(struct net_device *dev, struct netdev_bonding_info *bonding_info)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_bonding_info_changeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h(struct netdev_bonding_info *bonding_infoh](h)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(hnetdev_bonding_infoh]hnetdev_bonding_info}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jc.netdev_bonding_info_changeasbuh1hhj!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%)}(h bonding_infoh]h bonding_info}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjrhhhjhM#ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjhM#ubah}(h]jiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM#hjkhhubjS)}(hhh]jX)}(h!Dispatch event about slave changeh]h!Dispatch event about slave change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjhhubah}(h]h ]h"]h$]h&]uh1jRhjkhhhjhM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!#hjubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h>``struct netdev_bonding_info *bonding_info`` info to dispatch h](j)}(h,``struct netdev_bonding_info *bonding_info``h]j)}(hj h]h(struct netdev_bonding_info *bonding_info}(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)}(hinfo to dispatchh]hinfo to dispatch}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hM#hj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hM#hjubeh}(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.chM!#hjubjX)}(h[Send NETDEV_BONDING_INFO to netdev notifiers with info. The caller must hold the RTNL lock.h]h[Send NETDEV_BONDING_INFO to netdev notifiers with info. The caller must hold the RTNL lock.}(hjqhhhNhNubah}(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_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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM$ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jnetdev_get_xmit_slavesbc.netdev_get_xmit_slaveasbuh1hhjhhhjhM$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_get_xmit_slaveh]j%)}(hjh]hnetdev_get_xmit_slave}(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, bool all_slaves)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$]jc.netdev_get_xmit_slaveasbuh1hhjubj)}(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)}(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.netdev_get_xmit_slaveasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool all_slavesh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h all_slavesh]h all_slaves}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM$ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM$hjhhubjS)}(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&]uh1jRhjhhhjhM$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjWjxjWjyjzj{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)}(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.chM#$hj[ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM $hjzubj)}(hhh]jX)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM $hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM $hjwubj)}(h#``struct sk_buff *skb`` The packet h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!$hjubj)}(hhh]jX)}(h The packeth]h The packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM!$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!$hjwubj)}(h5``bool all_slaves`` assume all the slaves are active h](j)}(h``bool all_slaves``h]j)}(hjh]hbool all_slaves}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"$hjubj)}(hhh]jX)}(h assume all the slaves are activeh]h assume all the slaves are active}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM"$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"$hjwubeh}(h]h ]h"]h$]h&]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. }(hjChhhNhNubj)}(h``NULL``h]hNULL}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh" is returned if no slave is found.}(hjChhhNhNubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM@$ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM@$ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jnetdev_sk_get_lowest_devsbc.netdev_sk_get_lowest_devasbuh1hhjhhhjhM@$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_sk_get_lowest_devh]j%)}(hjh]hnetdev_sk_get_lowest_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM@$ubj)}(h)(struct net_device *dev, struct sock *sk)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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$]jc.netdev_sk_get_lowest_devasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sock *skh](h)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubh)}(hhh]j%)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_sk_get_lowest_devasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hskh]hsk}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM@$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj|hhhjhM@$ubah}(h]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM@$hjyhhubjS)}(hhh]jX)}(h6Get the lowest device in chain given device and socketh]h6Get the lowest device in chain given device and socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM@$hjhhubah}(h]h ]h"]h$]h&]uh1jRhjyhhhjhM@$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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.chMD$hj ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj0h]hstruct net_device *dev}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMA$hj*ubj)}(hhh]jX)}(hdeviceh]hdevice}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMA$hjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMA$hj'ubj)}(h``struct sock *sk`` the socket h](j)}(h``struct sock *sk``h]j)}(hjih]hstruct sock *sk}(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.chMB$hjcubj)}(hhh]jX)}(h the socketh]h the socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMB$hjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMB$hj'ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMD$hj ubjX)}(h1``NULL`` is returned if no lower device is found.h](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) is returned if no lower device is found.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMC$hj 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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM$ubj)}(hnetdev_lower_state_changedh]j%)}(hnetdev_lower_state_changedh]hnetdev_lower_state_changed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM$ubj)}(h6(struct net_device *lower_dev, void *lower_state_info)h](j)}(hstruct net_device *lower_devh](h)}(hjh]hstruct}(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.netdev_lower_state_changedasbuh1hhj0ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(h lower_devh]h lower_dev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubj)}(hvoid *lower_state_infoh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hlower_state_infoh]hlower_state_info}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM$ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM$hjhhubjS)}(hhh]jX)}(h.Dispatch event about lower device state changeh]h.Dispatch event about lower device state change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM$ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj 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&]uh1jhj8 ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj4 ubj)}(hhh]jX)}(hdeviceh]hdevice}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjO hM$hjP ubah}(h]h ]h"]h$]h&]uh1jhj4 ubeh}(h]h ]h"]h$]h&]uh1jhjO hM$hj1 ubj)}(h-``void *lower_state_info`` state to dispatch h](j)}(h``void *lower_state_info``h]j)}(hjs h]hvoid *lower_state_info}(hju hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjm 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&]uh1jhjm ubeh}(h]h ]h"]h$]h&]uh1jhj hM$hj1 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&]uh1jhj hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMa%ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj!hMa%ubj)}(hinth]hint}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhj!hMa%ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj!hMa%ubj)}(hnetif_get_flagsh]j%)}(hnetif_get_flagsh]hnetif_get_flags}(hj0!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj!hMa%ubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjL!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjH!ubj)}(h h]h }(hjY!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH!ubh)}(hjh]hstruct}(hjg!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjH!ubj)}(h h]h }(hjt!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH!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')}jj2!sbc.netif_get_flagsasbuh1hhjH!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH!ubj;)}(hj>h]h*}(hj!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjH!ubj%)}(hdevh]hdev}(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!hMa%ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj!hMa%ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj!hMa%hj hhubjS)}(hhh]jX)}(hget flags reported to userspaceh]hget flags reported to userspace}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMa%hj!hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj!hMa%ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"jxj"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)}(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.chMe%hj"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.chMb%hj%"ubj)}(hhh]jX)}(hdeviceh]hdevice}(hjD"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@"hMb%hjA"ubah}(h]h ]h"]h$]h&]uh1jhj%"ubeh}(h]h ]h"]h$]h&]uh1jhj@"hMb%hj""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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMd%hj"ubjX)}(hDGet the combination of flag bits exported through APIs to userspace.h]hDGet the combination of flag bits exported through APIs to userspace.}(hj|"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMc%hj"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.chMk&ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhj"hMk&ubj)}(hnetif_pre_changeaddr_notifyh]j%)}(hnetif_pre_changeaddr_notifyh]hnetif_pre_changeaddr_notify}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"hhhj"hMk&ubj)}(hJ(struct net_device *dev, const char *addr, 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 }(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_pre_changeaddr_notifyasbuh1hhj"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%)}(hdevh]hdev}(hjA#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubj)}(hconst char *addrh](h)}(hjh]hconst}(hjZ#hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjV#ubj)}(h h]h }(hjg#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjV#ubj)}(hcharh]hchar}(hju#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV#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%)}(haddrh]haddr}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjV#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"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*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubj%)}(hextackh]hextack}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj"hhhj"hMk&ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj"hhhj"hMk&ubah}(h]j"ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"hMk&hj"hhubjS)}(hhh]jX)}(hCall NETDEV_PRE_CHANGEADDR.h]hCall NETDEV_PRE_CHANGEADDR.}(hj8$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMk&hj5$hhubah}(h]h ]h"]h$]h&]uh1jRhj"hhhj"hMk&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjP$jxjP$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)}(hjZ$h]h Parameters}(hj\$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX$ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMo&hjT$ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjy$h]hstruct net_device *dev}(hj{$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw$ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMl&hjs$ubj)}(hhh]jX)}(hdeviceh]hdevice}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMl&hj$ubah}(h]h ]h"]h$]h&]uh1jhjs$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMl&hjp$ubj)}(h!``const char *addr`` new address h](j)}(h``const char *addr``h]j)}(hj$h]hconst char *addr}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMm&hj$ubj)}(hhh]jX)}(h new addressh]h new address}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMm&hj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMm&hjp$ubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj$h]hstruct netlink_ext_ack *extack}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMn&hj$ubj)}(hhh]jX)}(hnetlink extended ackh]hnetlink extended ack}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMn&hj%ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj%hMn&hjp$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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMp&hjT$ubjX)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(hj<%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMp&hjT$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}(hjk%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg%hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&ubj)}(h h]h }(hjz%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjg%hhhjy%hM&ubj)}(hnetif_get_port_parent_idh]j%)}(hnetif_get_port_parent_idh]hnetif_get_port_parent_id}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjg%hhhjy%hM&ubj)}(hH(struct net_device *dev, struct netdev_phys_item_id *ppid, bool recurse)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_get_port_parent_idasbuh1hhj%ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj;)}(hj>h]h*}(hj%hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%ubj%)}(hdevh]hdev}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubj)}(h struct netdev_phys_item_id *ppidh](h)}(hjh]hstruct}(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_phys_item_idh]hnetdev_phys_item_id}(hj8&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:&modnameN classnameNjj!)}j$]j%c.netif_get_port_parent_idasbuh1hhj&ubj)}(h h]h }(hjV&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hjd&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hppidh]hppid}(hjq&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubj)}(h bool recurseh](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%)}(hrecurseh]hrecurse}(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=uh1jhjg%hhhjy%hM&ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjc%hhhjy%hM&ubah}(h]j^%ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjy%hM&hj`%hhubjS)}(hhh]jX)}(h'Get the device's port parent identifierh]h)Get the device’s port parent identifier}(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`%hhhjy%hM&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{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)}(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`` 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&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 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)}(hjI'h]h struct netdev_phys_item_id *ppid}(hjK'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG'ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hjC'ubj)}(hhh]jX)}(h5pointer to a storage for the port's parent identifierh]h7pointer to a storage for the port’s parent identifier}(hjb'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^'hM&hj_'ubah}(h]h ]h"]h$]h&]uh1jhjC'ubeh}(h]h ]h"]h$]h&]uh1jhj^'hM&hj'ubj)}(h;``bool recurse`` allow/disallow recursion to lower devices h](j)}(h``bool recurse``h]j)}(hj'h]h bool recurse}(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)allow/disallow recursion to lower devicesh]h)allow/disallow recursion to lower devices}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hM&hj'ubah}(h]h ]h"]h$]h&]uh1jhj|'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM&hj'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)Get the devices's port parent identifier.h]h+Get the devices’s port parent identifier.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj&ubjX)}(h **Return**h]j)}(hj'h]hReturn}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&hj&ubjX)}(h 0 on success, -errno on failure.h]h 0 on success, -errno on failure.}(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_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}(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 }(hj7(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%(hhhj6(hM'ubj)}(hnetdev_port_same_parent_idh]j%)}(hnetdev_port_same_parent_idh]hnetdev_port_same_parent_id}(hjI(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjE(ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj%(hhhj6(hM'ubj)}(h,(struct net_device *a, struct net_device *b)h](j)}(hstruct net_device *ah](h)}(hjh]hstruct}(hje(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhja(ubj)}(h h]h }(hjr(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hja(ubh)}(hhh]j%)}(h 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')}jjK(sbc.netdev_port_same_parent_idasbuh1hhja(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hja(ubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hja(ubj%)}(hah]ha}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hja(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj](ubj)}(hstruct net_device *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%)}(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_port_same_parent_idasbuh1hhj(ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj;)}(hj>h]h*}(hj!)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj(ubj%)}(hjsh]hb}(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%(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)}(hDIndicate if two network devices have the same port parent identifierh]hDIndicate if two network devices have the same port parent identifier}(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(hhhj6(hM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjo)jxjo)jyjzj{uh1hhhhj֒hNhNubj})}(hq**Parameters** ``struct net_device *a`` first network device ``struct net_device *b`` second network deviceh](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 *a`` first network device h](j)}(h``struct net_device *a``h]j)}(hj)h]hstruct net_device *a}(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)}(hfirst network deviceh]hfirst network 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 net_device *b`` second network deviceh](j)}(h``struct net_device *b``h]j)}(hj)h]hstruct net_device *b}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hj)ubj)}(hhh]jX)}(hsecond network deviceh]hsecond network device}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM'hj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hM'hj)ubeh}(h]h ]h"]h$]h&]uh1jhjs)ubeh}(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}(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'*hhhj9*hM*ubj)}(hnetdev_update_featuresh]j%)}(hnetdev_update_featuresh]hnetdev_update_features}(hjL*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH*ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'*hhhj9*hM*ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjh*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjd*ubj)}(h h]h }(hju*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd*ubh)}(hhh]j%)}(h 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')}jjN*sbc.netdev_update_featuresasbuh1hhjd*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd*ubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjd*ubj%)}(hdevh]hdev}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjd*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`*ubah}(h]h ]h"]h$]h&]j<j=uh1jhj'*hhhj9*hM*ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#*hhhj9*hM*ubah}(h]j*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9*hM*hj *hhubjS)}(hhh]jX)}(hrecalculate device featuresh]hrecalculate device features}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj*hhubah}(h]h ]h"]h$]h&]uh1jRhj *hhhj9*hM*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+jxj+jyjzj{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)}(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`` the device to check h](j)}(h``struct net_device *dev``h]j)}(hj,+h]hstruct net_device *dev}(hj.+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*+ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj&+ubj)}(hhh]jX)}(hthe device to checkh]hthe device to check}(hjE+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjA+hM*hjB+ubah}(h]h ]h"]h$]h&]uh1jhj&+ubeh}(h]h ]h"]h$]h&]uh1jhjA+hM*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&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj+ubj )}(hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h]jX)}(hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h]hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj}+ubah}(h]h ]h"]h$]h&]uh1j hj+hM*hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj֒hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#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}(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_change_featuresh]j%)}(hnetdev_change_featuresh]hnetdev_change_features}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+hhhj+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.netdev_change_featuresasbuh1hhj+ubj)}(h h]h }(hj1,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj;)}(hj>h]h*}(hj?,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+ubj%)}(hdevh]hdev}(hjL,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)}(hrecalculate device featuresh]hrecalculate device features}(hjv,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hjs,hhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhj+hM*ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,jxj,jyjzj{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)}(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`` the device to check h](j)}(h``struct net_device *dev``h]j)}(hj,h]hstruct net_device *dev}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj,ubj)}(hhh]jX)}(hthe device to checkh]hthe 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,ubah}(h]h ]h"]h$]h&]uh1jhj,ubjX)}(h**Description**h]j)}(hj,h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj,ubj )}(hRecalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.h]jX)}(hRecalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.h]hRecalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.}(hj -hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj-ubah}(h]h ]h"]h$]h&]uh1j hj-hM*hj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj֒hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-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}(hjA-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 }(hjP-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=-hhhjO-hM*ubj)}(h netif_stacked_transfer_operstateh]j%)}(h netif_stacked_transfer_operstateh]h netif_stacked_transfer_operstate}(hjb-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj=-hhhjO-hM*ubj)}(h:(const struct net_device *rootdev, struct net_device *dev)h](j)}(h const struct net_device *rootdevh](h)}(hjh]hconst}(hj~-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjz-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjz-ubh)}(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%)}(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')}jjd-sb"c.netif_stacked_transfer_operstateasbuh1hhjz-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%)}(hrootdevh]hrootdev}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjz-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjv-ubj)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj .hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj).hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+.modnameN classnameNjj!)}j$]j-"c.netif_stacked_transfer_operstateasbuh1hhj.ubj)}(h h]h }(hjG.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hjU.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hdevh]hdev}(hjb.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjv-ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj=-hhhjO-hM*ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9-hhhjO-hM*ubah}(h]j4-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjO-hM*hj6-hhubjS)}(hhh]jX)}(htransfer operstateh]htransfer operstate}(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&]uh1jRhj6-hhhjO-hM*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.chM*hj.ubj)}(hhh](j)}(h[``const struct net_device *rootdev`` the root or lower level device to transfer state from h](j)}(h$``const struct net_device *rootdev``h]j)}(hj.h]h const struct net_device *rootdev}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj.ubj)}(hhh]jX)}(h5the root or lower level device to transfer state fromh]h5the root or lower level device to transfer state from}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hM*hj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hM*hj.ubj)}(h?``struct net_device *dev`` the device to transfer operstate to h](j)}(h``struct net_device *dev``h]j)}(hj/h]hstruct net_device *dev}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj/ubj)}(hhh]jX)}(h#the device to transfer operstate toh]h#the device to transfer operstate to}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hM*hj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hM*hj.ubeh}(h]h ]h"]h$]h&]uh1jhj.ubjX)}(h**Description**h]j)}(hjA/h]h Description}(hjC/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?/ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj.ubj )}(hTransfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).h]jX)}(hTransfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).h]hTransfer operational state from root to device. This is normally called when a stacking relationship exists between the root device and the device(a leaf device).}(hj[/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hjW/ubah}(h]h ]h"]h$]h&]uh1j hji/hM*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}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/modnameN classnameNjj!)}j$]j')}jj/sbc.register_netdeviceasbuh1hhj/ubj)}(h h]h }(hj 0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj;)}(hj>h]h*}(hj0hhhNhNubah}(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/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}(hjP0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hjM0hhubah}(h]h ]h"]h$]h&]uh1jRhj/hhhj/hM+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjh0jxjh0jyjzj{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)}(hjr0h]h Parameters}(hjt0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp0ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hjl0ubj)}(hhh]j)}(h.``struct net_device *dev`` device to register h](j)}(h``struct net_device *dev``h]j)}(hj0h]hstruct net_device *dev}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hj0ubj)}(hhh]jX)}(hdevice to registerh]hdevice to register}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hM+hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hM+hj0ubah}(h]h ]h"]h$]h&]uh1jhjl0ubjX)}(h**Description**h]j)}(hj0h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hjl0ubjX)}(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 }(hj0hhhNhNubj)}(h``NETDEV_REGISTER``h]hNETDEV_REGISTER}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh message is sent to the netdev notifier chain. Callers must hold the rtnl lock - you may want register_netdev() instead of this.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hjl0ubeh}(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#1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~,ubj)}(h h]h }(hj21hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhj11hM~,ubj)}(hregister_netdevh]j%)}(hregister_netdevh]hregister_netdev}(hjD1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhj11hM~,ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj`1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj\1ubj)}(h h]h }(hjm1hhhNhNubah}(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 reftargetj1modnameN classnameNjj!)}j$]j')}jjF1sbc.register_netdevasbuh1hhj\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%)}(hdevh]hdev}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjX1ubah}(h]h ]h"]h$]h&]j<j=uh1jhj1hhhj11hM~,ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1hhhj11hM~,ubah}(h]j1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj11hM~,hj1hhubjS)}(hhh]jX)}(hregister a network deviceh]hregister a network device}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~,hj1hhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhj11hM~,ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1jxj1jyjzj{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)}(hj2h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hj1ubj)}(hhh]j)}(h.``struct net_device *dev`` device to register h](j)}(h``struct net_device *dev``h]j)}(hj$2h]hstruct net_device *dev}(hj&2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"2ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hj2ubj)}(hhh]jX)}(hdevice to registerh]hdevice to register}(hj=2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj92hM,hj:2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj92hM,hj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubjX)}(h**Description**h]j)}(hj_2h]h Description}(hja2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]2ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hj1ubj )}(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 }(hjy2hhhNhNubj)}(h``NETDEV_REGISTER``h]hNETDEV_REGISTER}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy2ubh 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.}(hjy2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hju2ubjX)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hju2ubeh}(h]h ]h"]h$]h&]uh1j hj2hM,hj1ubeh}(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}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhj2hM-ubh)}(hhh]j%)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j')}j dev_get_statssbc.dev_get_statsasbuh1hhj2hhhj2hM-ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhj2hM-ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2hhhj2hM-ubj)}(h dev_get_statsh]j%)}(hj 3h]h dev_get_stats}(hj.3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2hhhj2hM-ubj)}(h;(struct net_device *dev, struct rtnl_link_stats64 *storage)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjI3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjE3ubj)}(h h]h }(hjV3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjE3ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjg3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjd3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetji3modnameN classnameNjj!)}j$]j 3c.dev_get_statsasbuh1hhjE3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjE3ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjE3ubj%)}(hdevh]hdev}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjE3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjA3ubj)}(h!struct rtnl_link_stats64 *storageh](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j 3c.dev_get_statsasbuh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hstorageh]hstorage}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjA3ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj2hhhj2hM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2hhhj2hM-ubah}(h]j2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj2hM-hj2hhubjS)}(hhh]jX)}(hget network device statisticsh]hget network device statistics}(hj:4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj74hhubah}(h]h ]h"]h$]h&]uh1jRhj2hhhj2hM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjR4jxjR4jyjzj{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\4h]h Parameters}(hj^4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ4ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjV4ubj)}(hhh](j)}(h9``struct net_device *dev`` device to get statistics from h](j)}(h``struct net_device *dev``h]j)}(hj{4h]hstruct net_device *dev}(hj}4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy4ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hju4ubj)}(hhh]jX)}(hdevice to get statistics fromh]hdevice to get statistics from}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hM-hj4ubah}(h]h ]h"]h$]h&]uh1jhju4ubeh}(h]h ]h"]h$]h&]uh1jhj4hM-hjr4ubj)}(h;``struct rtnl_link_stats64 *storage`` place to store stats h](j)}(h%``struct rtnl_link_stats64 *storage``h]j)}(hj4h]h!struct rtnl_link_stats64 *storage}(hj4hhhNhNubah}(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)}(hplace to store statsh]hplace to store stats}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hM-hj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hM-hjr4ubeh}(h]h ]h"]h$]h&]uh1jhjV4ubjX)}(h**Description**h]j)}(hj4h]h Description}(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-hjV4ubj )}(hGet network statistics from device. Return **storage**. The device driver may provide its own method by setting dev->netdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.h]jX)}(hGet network statistics from device. Return **storage**. The device driver may provide its own method by setting dev->netdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.h](h+Get network statistics from device. Return }(hj 5hhhNhNubj)}(h **storage**h]hstorage}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 5ubh. The device driver may provide its own method by setting dev->netdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.}(hj 5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj5ubah}(h]h ]h"]h$]h&]uh1j hj)5hM-hjV4ubeh}(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}(hjP5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjL5hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-ubj)}(h h]h }(hj_5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL5hhhj^5hM-ubj)}(hdev_fetch_sw_netstatsh]j%)}(hdev_fetch_sw_netstatsh]hdev_fetch_sw_netstats}(hjq5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjL5hhhj^5hM-ubj)}(hO(struct rtnl_link_stats64 *s, const struct pcpu_sw_netstats __percpu *netstats)h](j)}(hstruct rtnl_link_stats64 *sh](h)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j')}jjs5sbc.dev_fetch_sw_netstatsasbuh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hsh]hs}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(h0const struct pcpu_sw_netstats __percpu *netstatsh](h)}(hjh]hconst}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hj 6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5ubj)}(h h]h }(hj'6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh)}(hhh]j%)}(hpcpu_sw_netstatsh]hpcpu_sw_netstats}(hj86hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj56ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:6modnameN classnameNjj!)}j$]j5c.dev_fetch_sw_netstatsasbuh1hhj5ubj)}(h h]h }(hjV6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubh__percpu}(hj5hhhNhNubj)}(h h]h }(hjh6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hjv6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hnetstatsh]hnetstats}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjL5hhhj^5hM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjH5hhhj^5hM-ubah}(h]jC5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj^5hM-hjE5hhubjS)}(hhh]jX)}(h%get per-cpu network device statisticsh]h%get per-cpu network device statistics}(hj6hhhNhNubah}(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&]uh1jRhjE5hhhj^5hM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{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)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj6ubj)}(hhh](j)}(h5``struct rtnl_link_stats64 *s`` place to store stats h](j)}(h``struct rtnl_link_stats64 *s``h]j)}(hj6h]hstruct rtnl_link_stats64 *s}(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)}(hplace to store statsh]hplace to store stats}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hM-hj7ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj7hM-hj6ubj)}(hX``const struct pcpu_sw_netstats __percpu *netstats`` per-cpu network stats to read from h](j)}(h4``const struct pcpu_sw_netstats __percpu *netstats``h]j)}(hj'7h]h0const struct pcpu_sw_netstats __percpu *netstats}(hj)7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%7ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj!7ubj)}(hhh]jX)}(h"per-cpu network stats to read fromh]h"per-cpu network stats to read from}(hj@7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<7hM-hj=7ubah}(h]h ]h"]h$]h&]uh1jhj!7ubeh}(h]h ]h"]h$]h&]uh1jhj<7hM-hj6ubeh}(h]h ]h"]h$]h&]uh1jhj6ubjX)}(h**Description**h]j)}(hjb7h]h Description}(hjd7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`7ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj6ubj )}(hIRead per-cpu network statistics and populate the related fields in **s**.h]jX)}(hjz7h](hCRead per-cpu network statistics and populate the related fields in }(hj|7hhhNhNubj)}(h**s**h]hs}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|7ubh.}(hj|7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hjx7ubah}(h]h ]h"]h$]h&]uh1j hj7hM-hj6ubeh}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhj7hM.ubj)}(hdev_get_tstats64h]j%)}(hdev_get_tstats64h]hdev_get_tstats64}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhj7hM.ubj)}(h5(struct net_device *dev, struct rtnl_link_stats64 *s)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hj 8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j')}jj7sbc.dev_get_tstats64asbuh1hhj7ubj)}(h h]h }(hj=8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hjK8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hdevh]hdev}(hjX8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(hstruct rtnl_link_stats64 *sh](h)}(hjh]hstruct}(hjq8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjm8ubj)}(h h]h }(hj~8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm8ubh)}(hhh]j%)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j98c.dev_get_tstats64asbuh1hhjm8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjm8ubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjm8ubj%)}(hj5h]hs}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhj7hM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhj7hM.ubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hM.hj7hhubjS)}(hhh]jX)}(hndo_get_stats64 implementationh]hndo_get_stats64 implementation}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj8hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhj7hM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj 9jxj 9jyjzj{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)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM .hj 9ubj)}(hhh](j)}(h9``struct net_device *dev`` device to get statistics from h](j)}(h``struct net_device *dev``h]j)}(hj29h]hstruct net_device *dev}(hj49hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj09ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj,9ubj)}(hhh]jX)}(hdevice to get statistics fromh]hdevice to get statistics from}(hjK9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjG9hM.hjH9ubah}(h]h ]h"]h$]h&]uh1jhj,9ubeh}(h]h ]h"]h$]h&]uh1jhjG9hM.hj)9ubj)}(h5``struct rtnl_link_stats64 *s`` place to store stats h](j)}(h``struct rtnl_link_stats64 *s``h]j)}(hjk9h]hstruct rtnl_link_stats64 *s}(hjm9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji9ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hje9ubj)}(hhh]jX)}(hplace to store statsh]hplace to store stats}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hM.hj9ubah}(h]h ]h"]h$]h&]uh1jhje9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM.hj)9ubeh}(h]h ]h"]h$]h&]uh1jhj 9ubjX)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM .hj 9ubj )}(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 }(hj9hhhNhNubj)}(h**s**h]hs}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubhL from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj9ubah}(h]h ]h"]h$]h&]uh1j hj9hM.hj 9ubeh}(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}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMG.ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hhhj:hMG.ubj)}(h!netdev_sw_irq_coalesce_default_onh]j%)}(h!netdev_sw_irq_coalesce_default_onh]h!netdev_sw_irq_coalesce_default_on}(hj(:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:hhhj:hMG.ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjD:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@:ubj)}(h h]h }(hjQ:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@:ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjb:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjd:modnameN classnameNjj!)}j$]j')}jj*:sb#c.netdev_sw_irq_coalesce_default_onasbuh1hhj@:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@:ubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj@:ubj%)}(hdevh]hdev}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<:ubah}(h]h ]h"]h$]h&]j<j=uh1jhj:hhhj:hMG.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9hhhj:hMG.ubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj:hMG.hj9hhubjS)}(hhh]jX)}(h#enable SW IRQ coalescing by defaulth]h#enable SW IRQ coalescing by default}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMG.hj:hhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhj:hMG.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:jxj:jyjzj{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)}(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.chMK.hj:ubj)}(hhh]j)}(hB``struct net_device *dev`` netdev to enable the IRQ coalescing on h](j)}(h``struct net_device *dev``h]j)}(hj;h]hstruct net_device *dev}(hj ;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMH.hj;ubj)}(hhh]jX)}(h&netdev to enable the IRQ coalescing onh]h&netdev to enable the IRQ coalescing on}(hj!;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMH.hj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMH.hj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubjX)}(h**Description**h]j)}(hjC;h]h Description}(hjE;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA;ubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMJ.hj:ubjX)}(hqSets a conservative default for SW IRQ coalescing. Users can use sysfs attributes to override the default values.h]hqSets a conservative default for SW IRQ coalescing. Users can use sysfs attributes to override the default values.}(hjY;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMI.hj:ubeh}(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}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMY.ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhj;hMY.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')}jalloc_netdev_mqssbc.alloc_netdev_mqsasbuh1hhj;hhhj;hMY.ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhj;hMY.ubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;hhhj;hMY.ubj)}(halloc_netdev_mqsh]j%)}(hj;h]halloc_netdev_mqs}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj;hhhj;hMY.ubj)}(h(int sizeof_priv, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device*), unsigned int txqs, unsigned int rxqs)h](j)}(hint sizeof_privh](j)}(hinth]hint}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj%)}(h sizeof_privh]h sizeof_priv}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(hconst char *nameh](h)}(hjh]hconst}(hj7<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3<ubj)}(h h]h }(hjD<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3<ubj)}(hcharh]hchar}(hjR<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3<ubj)}(h h]h }(hj`<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3<ubj;)}(hj>h]h*}(hjn<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3<ubj%)}(hnameh]hname}(hj{<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(hunsigned char name_assign_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)}(hcharh]hchar}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj%)}(hname_assign_typeh]hname_assign_type}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(h!void (*setup)(struct net_device*)h](j)}(hvoidh]hvoid}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj;)}(hjh]h(}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj%)}(hsetuph]hsetup}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubj;)}(hjh]h)}(hj)=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj;)}(hjh]h(}(hj6=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubh)}(hjh]hstruct}(hjC=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hjP=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hja=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjc=modnameN classnameNjj!)}j$]j;c.alloc_netdev_mqsasbuh1hhj<ubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj;)}(hjh]h)}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(hunsigned int txqsh](j)}(hunsignedh]hunsigned}(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%)}(htxqsh]htxqs}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(hunsigned int rxqsh](j)}(hunsignedh]hunsigned}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj%)}(hrxqsh]hrxqs}(hj->hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj;hhhj;hMY.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj;hhhj;hMY.ubah}(h]j{;ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;hMY.hj};hhubjS)}(hhh]jX)}(hallocate network deviceh]hallocate network device}(hjW>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMY.hjT>hhubah}(h]h ]h"]h$]h&]uh1jRhj};hhhj;hMY.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjo>jxjo>jyjzj{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)}(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?``int sizeof_priv`` size of private data to allocate space for h](j)}(h``int sizeof_priv``h]j)}(hj>h]hint sizeof_priv}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMZ.hj>ubj)}(hhh]jX)}(h*size of private data to allocate space forh]h*size of private data to allocate space for}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMZ.hj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMZ.hj>ubj)}(h/``const char *name`` device name format string h](j)}(h``const char *name``h]j)}(hj>h]hconst char *name}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM[.hj>ubj)}(hhh]jX)}(hdevice name format stringh]hdevice name format string}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hM[.hj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hM[.hj>ubj)}(h9``unsigned char name_assign_type`` origin of device name h](j)}(h"``unsigned char name_assign_type``h]j)}(hj ?h]hunsigned char name_assign_type}(hj ?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM\.hj?ubj)}(hhh]jX)}(horigin of device nameh]horigin of device name}(hj#?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hM\.hj ?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hM\.hj>ubj)}(hE``void (*setup)(struct net_device *)`` callback to initialize device h](j)}(h&``void (*setup)(struct net_device *)``h]j)}(hjC?h]h"void (*setup)(struct net_device *)}(hjE?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA?ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM].hj=?ubj)}(hhh]jX)}(hcallback to initialize deviceh]hcallback to initialize device}(hj\?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjX?hM].hjY?ubah}(h]h ]h"]h$]h&]uh1jhj=?ubeh}(h]h ]h"]h$]h&]uh1jhjX?hM].hj>ubj)}(h=``unsigned int txqs`` the number of TX subqueues to allocate h](j)}(h``unsigned int txqs``h]j)}(hj|?h]hunsigned int txqs}(hj~?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz?ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM^.hjv?ubj)}(hhh]jX)}(h&the number of TX subqueues to allocateh]h&the number of TX subqueues to allocate}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hM^.hj?ubah}(h]h ]h"]h$]h&]uh1jhjv?ubeh}(h]h ]h"]h$]h&]uh1jhj?hM^.hj>ubj)}(h=``unsigned int rxqs`` the number of RX subqueues to allocate h](j)}(h``unsigned int rxqs``h]j)}(hj?h]hunsigned int rxqs}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM_.hj?ubj)}(hhh]jX)}(h&the number of RX subqueues to allocateh]h&the number of RX subqueues 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>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.chMa.hjs>ubjX)}(hAllocates a struct net_device with private data area for driver use and performs basic initialization. Also allocates subqueue structs for each queue on the device.h]hAllocates a struct net_device with private data area for driver use and performs basic initialization. Also allocates subqueue structs for each queue on the device.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM`.hjs>ubeh}(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}(hj5@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1@hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj)}(h h]h }(hjD@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1@hhhjC@hM.ubj)}(h free_netdevh]j%)}(h free_netdevh]h free_netdev}(hjV@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjR@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1@hhhjC@hM.ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjr@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjn@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn@ubh)}(hhh]j%)}(h 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')}jjX@sb c.free_netdevasbuh1hhjn@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%)}(hdevh]hdev}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjj@ubah}(h]h ]h"]h$]h&]j<j=uh1jhj1@hhhjC@hM.ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-@hhhjC@hM.ubah}(h]j(@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjC@hM.hj*@hhubjS)}(hhh]jX)}(hfree network deviceh]hfree 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*@hhhjC@hM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj Ajxj Ajyjzj{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)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjAubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj6Ah]hstruct net_device *dev}(hj8AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Aubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj0Aubj)}(hhh]jX)}(hdeviceh]hdevice}(hjOAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKAhM.hjLAubah}(h]h ]h"]h$]h&]uh1jhj0Aubeh}(h]h ]h"]h$]h&]uh1jhjKAhM.hj-Aubah}(h]h ]h"]h$]h&]uh1jhjAubjX)}(h**Description**h]j)}(hjqAh]h Description}(hjsAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoAubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjAubjX)}(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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjAubeh}(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}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM?/ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjAhM?/ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jalloc_netdev_dummysbc.alloc_netdev_dummyasbuh1hhjAhhhjAhM?/ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjAhM?/ubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAhhhjAhM?/ubj)}(halloc_netdev_dummyh]j%)}(hjAh]halloc_netdev_dummy}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjAhM?/ubj)}(h(int sizeof_priv)h]j)}(hint sizeof_privh](j)}(hinth]hint}(hj0BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,Bubj)}(h h]h }(hj>BhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,Bubj%)}(h sizeof_privh]h sizeof_priv}(hjLBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,Bubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj(Bubah}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjAhM?/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjAhM?/ubah}(h]jAah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhM?/hjAhhubjS)}(hhh]jX)}(h+Allocate and initialize a dummy net device.h]h+Allocate and initialize a dummy net device.}(hjvBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM?/hjsBhhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjAhM?/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjBjxjBjyjzj{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)}(hjBh]h Parameters}(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.chMC/hjBubj)}(hhh]j)}(h?``int sizeof_priv`` size of private data to allocate space for h](j)}(h``int sizeof_priv``h]j)}(hjBh]hint sizeof_priv}(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*size of private data to allocate space forh]h*size of private data to allocate space for}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM@/hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM@/hjBubah}(h]h ]h"]h$]h&]uh1jhjBubjX)}(h **Return**h]j)}(hjBh]hReturn}(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.chMB/hjBubjX)}(h3the allocated net_device on success, NULL otherwiseh]h3the allocated net_device on success, NULL otherwise}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMB/hjBubeh}(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}(hj7ChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ChhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chML/ubj)}(h h]h }(hjFChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ChhhjEChML/ubj)}(hsynchronize_neth]j%)}(hsynchronize_neth]hsynchronize_net}(hjXChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTCubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3ChhhjEChML/ubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hjtChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpCubah}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlCubah}(h]h ]h"]h$]h&]j<j=uh1jhj3ChhhjEChML/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/ChhhjEChML/ubah}(h]j*Cah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEChML/hj,ChhubjS)}(hhh]jX)}(h*Synchronize with packet receive processingh]h*Synchronize with packet receive processing}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chML/hjChhubah}(h]h ]h"]h$]h&]uh1jRhj,ChhhjEChML/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{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)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMP/hjCubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjCh]hvoid}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjCubj)}(hhh]jX)}(h no argumentsh]h no arguments}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChKhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChKhjCubah}(h]h ]h"]h$]h&]uh1jhjCubjX)}(h**Description**h]j)}(hjDh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjCubj )}(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.}(hj4DhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMM/hj0Dubah}(h]h ]h"]h$]h&]uh1j hjBDhMM/hjCubeh}(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}(hjiDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeDhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMk/ubj)}(h h]h }(hjxDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeDhhhjwDhMk/ubj)}(hunregister_netdevice_queueh]j%)}(hunregister_netdevice_queueh]hunregister_netdevice_queue}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjeDhhhjwDhMk/ubj)}(h0(struct net_device *dev, struct list_head *head)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjDmodnameN classnameNjj!)}j$]j')}jjDsbc.unregister_netdevice_queueasbuh1hhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hdevh]hdev}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubj)}(hstruct list_head *headh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hj%EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(h list_headh]h list_head}(hj6EhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3Eubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8EmodnameN classnameNjj!)}j$]jDc.unregister_netdevice_queueasbuh1hhjEubj)}(h h]h }(hjTEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjbEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(hheadh]hhead}(hjoEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubeh}(h]h ]h"]h$]h&]j<j=uh1jhjeDhhhjwDhMk/ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjaDhhhjwDhMk/ubah}(h]j\Dah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwDhMk/hj^DhhubjS)}(hhh]jX)}(hremove device from the kernelh]hremove device from the kernel}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMk/hjEhhubah}(h]h ]h"]h$]h&]uh1jRhj^DhhhjwDhMk/ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjEjxjEjyjzj{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)}(hjEh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMo/hjEubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjEh]hstruct net_device *dev}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMl/hjEubj)}(hhh]jX)}(hdeviceh]hdevice}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMl/hjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhMl/hjEubj)}(h ``struct list_head *head`` list h](j)}(h``struct list_head *head``h]j)}(hjFh]hstruct list_head *head}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMm/hj Fubj)}(hhh]jX)}(hlisth]hlist}(hj,FhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(FhMm/hj)Fubah}(h]h ]h"]h$]h&]uh1jhj Fubeh}(h]h ]h"]h$]h&]uh1jhj(FhMm/hjEubeh}(h]h ]h"]h$]h&]uh1jhjEubjX)}(h**Description**h]j)}(hjNFh]h Description}(hjPFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLFubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMo/hjEubj )}(hThis function shuts down a device interface and removes it from the kernel tables. If head not NULL, device is queued to be unregistered later. Callers must hold the rtnl semaphore. You may want unregister_netdev() instead of this.h](jX)}(hThis function shuts down a device interface and removes it from the kernel tables. If head not NULL, device is queued to be unregistered later.h]hThis function shuts down a device interface and removes it from the kernel tables. If head not NULL, device is queued to be unregistered later.}(hjhFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMn/hjdFubjX)}(hXCallers must hold the rtnl semaphore. You may want unregister_netdev() instead of this.h]hXCallers must hold the rtnl semaphore. You may want unregister_netdev() instead of this.}(hjwFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMr/hjdFubeh}(h]h ]h"]h$]h&]uh1j hjvFhMn/hjEubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj֒hhhNhNubh)}(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}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM30ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhjFhM30ubj)}(hunregister_netdevice_manyh]j%)}(hunregister_netdevice_manyh]hunregister_netdevice_many}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjFhhhjFhM30ubj)}(h(struct list_head *head)h]j)}(hstruct list_head *headh](h)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(h list_headh]h list_head}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj GmodnameN classnameNjj!)}j$]j')}jjFsbc.unregister_netdevice_manyasbuh1hhjFubj)}(h h]h }(hj'GhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hj5GhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hheadh]hhead}(hjBGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubah}(h]h ]h"]h$]h&]j<j=uh1jhjFhhhjFhM30ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjFhhhjFhM30ubah}(h]jFah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjFhM30hjFhhubjS)}(hhh]jX)}(hunregister many devicesh]hunregister many devices}(hjlGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM30hjiGhhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhjFhM30ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjGjxjGjyjzj{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)}(hjGh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM70hjGubj)}(hhh]j)}(h+``struct list_head *head`` list of devices h](j)}(h``struct list_head *head``h]j)}(hjGh]hstruct list_head *head}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM40hjGubj)}(hhh]jX)}(hlist of devicesh]hlist of devices}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhM40hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhM40hjGubah}(h]h ]h"]h$]h&]uh1jhjGubjX)}(h**Note**h]j)}(hjGh]hNote}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM60hjGubj)}(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,}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM60hjHubj)}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM70hjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhM60hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(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}(hjXHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTHhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM@0ubj)}(h h]h }(hjgHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTHhhhjfHhM@0ubj)}(hunregister_netdevh]j%)}(hunregister_netdevh]hunregister_netdev}(hjyHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjTHhhhjfHhM@0ubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jj{Hsbc.unregister_netdevasbuh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hdevh]hdev}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubah}(h]h ]h"]h$]h&]j<j=uh1jhjTHhhhjfHhM@0ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPHhhhjfHhM@0ubah}(h]jKHah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfHhM@0hjMHhhubjS)}(hhh]jX)}(hremove device from the kernelh]hremove device from the kernel}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM@0hjIhhubah}(h]h ]h"]h$]h&]uh1jRhjMHhhhjfHhM@0ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0Ijxj0Ijyjzj{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)}(hj:Ih]h Parameters}(hjh]h*}(hj)MhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLubj%)}(hskbh]hskb}(hj6MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjOMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKMubj)}(h h]h }(hj\MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKMubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjmMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjoMmodnameN classnameNjj!)}j$]jM c.eth_headerasbuh1hhjKMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKMubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKMubj%)}(hdevh]hdev}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(hunsigned short typeh](j)}(hunsignedh]hunsigned}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj)}(hshorth]hshort}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj%)}(htypeh]htype}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(hconst void *daddrh](h)}(hjh]hconst}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj Nubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Nubj)}(hvoidh]hvoid}(hj+NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Nubj)}(h h]h }(hj9NhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Nubj;)}(hj>h]h*}(hjGNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj Nubj%)}(hdaddrh]hdaddr}(hjTNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Nubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(hconst void *saddrh](h)}(hjh]hconst}(hjmNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiNubj)}(h h]h }(hjzNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiNubj)}(hvoidh]hvoid}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiNubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiNubj%)}(hsaddrh]hsaddr}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj%)}(hlenh]hlen}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubeh}(h]h ]h"]h$]h&]j<j=uh1jhjLhhhjLhKCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLhhhjLhKCubah}(h]jLah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjLhKChjLhhubjS)}(hhh]jX)}(hcreate the Ethernet headerh]hcreate the Ethernet header}(hj,OhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKChj)Ohhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhjLhKCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjDOjxjDOjyjzj{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)}(hjNOh]h Parameters}(hjPOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLOubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKGhjHOubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjmOh]hstruct sk_buff *skb}(hjoOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkOubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKDhjgOubj)}(hhh]jX)}(hbuffer to alterh]hbuffer to alter}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhKDhjOubah}(h]h ]h"]h$]h&]uh1jhjgOubeh}(h]h ]h"]h$]h&]uh1jhjOhKDhjdOubj)}(h)``struct net_device *dev`` source 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.chKEhjOubj)}(hhh]jX)}(h source deviceh]h source device}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhKEhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhKEhjdOubj)}(h,``unsigned short type`` Ethernet type field h](j)}(h``unsigned short type``h]j)}(hjOh]hunsigned short type}(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.chKFhjOubj)}(hhh]jX)}(hEthernet type fieldh]hEthernet type field}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhKFhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhKFhjdOubj)}(hK``const void *daddr`` destination address (NULL leave destination address) h](j)}(h``const void *daddr``h]j)}(hjPh]hconst void *daddr}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKGhjPubj)}(hhh]jX)}(h4destination address (NULL leave destination address)h]h4destination address (NULL leave destination address)}(hj1PhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-PhKGhj.Pubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhj-PhKGhjdOubj)}(hF``const void *saddr`` source address (NULL use device source address) h](j)}(h``const void *saddr``h]j)}(hjQPh]hconst void *saddr}(hjSPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOPubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKHhjKPubj)}(hhh]jX)}(h/source address (NULL use device source address)h]h/source address (NULL use device source address)}(hjjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfPhKHhjgPubah}(h]h ]h"]h$]h&]uh1jhjKPubeh}(h]h ]h"]h$]h&]uh1jhjfPhKHhjdOubj)}(h1``unsigned int len`` packet length (<= skb->len) h](j)}(h``unsigned int len``h]j)}(hjPh]hunsigned int len}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKIhjPubj)}(hhh]jX)}(hpacket length (<= skb->len)h]hpacket length (<= skb->len)}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhKIhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhKIhjdOubeh}(h]h ]h"]h$]h&]uh1jhjHOubjX)}(h**Description**h]j)}(hjPh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKKhjHOubjX)}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKJhjHOubeh}(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}(hj QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj Qubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j')}jeth_get_headlensbc.eth_get_headlenasbuh1hhjQhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuubj)}(h h]h }(hj/QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhj.QhKuubj)}(heth_get_headlenh]j%)}(hj+Qh]heth_get_headlen}(hjAQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=Qubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhj.QhKuubj)}(h9(const struct net_device *dev, const void *data, u32 len)h](j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj\QhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXQubj)}(h h]h }(hjiQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXQubh)}(hjh]hstruct}(hjwQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXQubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j)Qc.eth_get_headlenasbuh1hhjXQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXQubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXQubj%)}(hdevh]hdev}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTQubj)}(hconst void *datah](h)}(hjh]hconst}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hdatah]hdata}(hj+RhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTQubj)}(hu32 lenh](h)}(hhh]j%)}(hu32h]hu32}(hjGRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjIRmodnameN classnameNjj!)}j$]j)Qc.eth_get_headlenasbuh1hhj@Rubj)}(h h]h }(hjeRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@Rubj%)}(hlenh]hlen}(hjsRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@Rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTQubeh}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhj.QhKuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjQhhhj.QhKuubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.QhKuhjPhhubjS)}(hhh]jX)}(h4determine the length of header for an ethernet frameh]h4determine the length of header for an ethernet frame}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuhjRhhubah}(h]h ]h"]h$]h&]uh1jRhjPhhhj.QhKuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjRjxjRjyjzj{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)}(hjRh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKyhjRubj)}(hhh](j)}(h;``const struct net_device *dev`` pointer to network device h](j)}(h ``const struct net_device *dev``h]j)}(hjRh]hconst struct net_device *dev}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKvhjRubj)}(hhh]jX)}(hpointer to network deviceh]hpointer to network device}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhKvhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhKvhjRubj)}(h/``const void *data`` pointer to start of frame h](j)}(h``const void *data``h]j)}(hjSh]hconst void *data}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKwhjSubj)}(hhh]jX)}(hpointer to start of frameh]hpointer to start of frame}(hj0ShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,ShKwhj-Subah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhj,ShKwhjRubj)}(h"``u32 len`` total length of frame h](j)}(h ``u32 len``h]j)}(hjPSh]hu32 len}(hjRShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNSubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKxhjJSubj)}(hhh]jX)}(htotal length of frameh]htotal length of frame}(hjiShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjeShKxhjfSubah}(h]h ]h"]h$]h&]uh1jhjJSubeh}(h]h ]h"]h$]h&]uh1jhjeShKxhjRubeh}(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&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKzhjRubjX)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKyhjRubeh}(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}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j')}jeth_type_transsbc.eth_type_transasbuh1hhjShhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjShhhjShKubj)}(heth_type_transh]j%)}(hjSh]heth_type_trans}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjShhhjShKubj)}(h-(struct sk_buff *skb, struct net_device *dev)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hj"ThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hj/ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj@ThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=Tubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBTmodnameN classnameNjj!)}j$]jSc.eth_type_transasbuh1hhjTubj)}(h h]h }(hj^ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjlThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hskbh]hskb}(hjyThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]jSc.eth_type_transasbuh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjTubj%)}(hdevh]hdev}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubeh}(h]h ]h"]h$]h&]j<j=uh1jhjShhhjShKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjShhhjShKubah}(h]jSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShKhjShhubjS)}(hhh]jX)}(h#determine the packet's protocol ID.h]h%determine the packet’s protocol ID.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjUhhubah}(h]h ]h"]h$]h&]uh1jRhjShhhjShKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+Ujxj+Ujyjzj{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)}(hj5Uh]h Parameters}(hj7UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Uubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj/Uubj)}(hhh](j)}(h-``struct sk_buff *skb`` received socket data h](j)}(h``struct sk_buff *skb``h]j)}(hjTUh]hstruct sk_buff *skb}(hjVUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRUubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjNUubj)}(hhh]jX)}(hreceived socket datah]hreceived socket data}(hjmUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjiUhKhjjUubah}(h]h ]h"]h$]h&]uh1jhjNUubeh}(h]h ]h"]h$]h&]uh1jhjiUhKhjKUubj)}(h4``struct net_device *dev`` receiving network device h](j)}(h``struct net_device *dev``h]j)}(hjUh]hstruct net_device *dev}(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.chKhjUubj)}(hhh]jX)}(hreceiving network deviceh]hreceiving network device}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhKhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhKhjKUubeh}(h]h ]h"]h$]h&]uh1jhj/UubjX)}(h**Description**h]j)}(hjUh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj/UubjX)}(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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj/Uubeh}(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}(hj VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj VhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj VhhhjVhKubj)}(heth_header_parseh]j%)}(heth_header_parseh]heth_header_parse}(hj.VhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*Vubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj VhhhjVhKubj)}(h1(const struct sk_buff *skb, unsigned char *haddr)h](j)}(hconst struct sk_buff *skbh](h)}(hjh]hconst}(hjJVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFVubj)}(h h]h }(hjWVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFVubh)}(hjh]hstruct}(hjeVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFVubj)}(h h]h }(hjrVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFVubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]j')}jj0Vsbc.eth_header_parseasbuh1hhjFVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFVubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFVubj%)}(hskbh]hskb}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBVubj)}(hunsigned char *haddrh](j)}(hunsignedh]hunsigned}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(hcharh]hchar}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hhaddrh]hhaddr}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjBVubeh}(h]h ]h"]h$]h&]j<j=uh1jhj VhhhjVhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVhhhjVhKubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVhKhjVhhubjS)}(hhh]jX)}(h$extract hardware address from packeth]h$extract hardware address from packet}(hjFWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjCWhhubah}(h]h ]h"]h$]h&]uh1jRhjVhhhjVhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^Wjxj^Wjyjzj{uh1hhhhj֒hNhNubj})}(h|**Parameters** ``const struct sk_buff *skb`` packet to extract header from ``unsigned char *haddr`` destination bufferh](jX)}(h**Parameters**h]j)}(hjhWh]h Parameters}(hjjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfWubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjbWubj)}(hhh](j)}(h<``const struct sk_buff *skb`` packet to extract header from 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjWubj)}(hhh]jX)}(hpacket to extract header fromh]hpacket to extract header from}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhKhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhKhj~Wubj)}(h+``unsigned char *haddr`` destination bufferh](j)}(h``unsigned char *haddr``h]j)}(hjWh]hunsigned char *haddr}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjWubj)}(hhh]jX)}(hdestination bufferh]hdestination buffer}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhKhj~Wubeh}(h]h ]h"]h$]h&]uh1jhjbWubeh}(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}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj)}(h h]h }(hj)XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhj(XhKubj)}(heth_header_cacheh]j%)}(heth_header_cacheh]heth_header_cache}(hj;XhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7Xubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXhhhj(XhKubj)}(hA(const struct neighbour *neigh, struct hh_cache *hh, __be16 type)h](j)}(hconst struct neighbour *neighh](h)}(hjh]hconst}(hjWXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSXubj)}(h h]h }(hjdXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSXubh)}(hjh]hstruct}(hjrXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSXubh)}(hhh]j%)}(h neighbourh]h neighbour}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]j')}jj=Xsbc.eth_header_cacheasbuh1hhjSXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSXubj;)}(hj>h]h*}(hjXhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSXubj%)}(hneighh]hneigh}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOXubj)}(hstruct hh_cache *hhh](h)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubh)}(hhh]j%)}(hhh_cacheh]hhh_cache}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYmodnameN classnameNjj!)}j$]jXc.eth_header_cacheasbuh1hhjXubj)}(h h]h }(hj YhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hj.YhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hhhh]hhh}(hj;YhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOXubj)}(h __be16 typeh](h)}(hhh]j%)}(h__be16h]h__be16}(hjWYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTYubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjYYmodnameN classnameNjj!)}j$]jXc.eth_header_cacheasbuh1hhjPYubj)}(h h]h }(hjuYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPYubj%)}(htypeh]htype}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjOXubeh}(h]h ]h"]h$]h&]j<j=uh1jhjXhhhj(XhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhj(XhKubah}(h]j Xah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(XhKhjXhhubjS)}(hhh]jX)}(hfill cache entry from neighbourh]hfill cache entry from neighbour}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjYhhubah}(h]h ]h"]h$]h&]uh1jRhjXhhhj(XhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{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)}(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.chKhjYubj)}(hhh](j)}(h3``const struct neighbour *neigh`` source neighbour h](j)}(h!``const struct neighbour *neigh``h]j)}(hjYh]hconst struct neighbour *neigh}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjYubj)}(hhh]jX)}(hsource neighbourh]hsource neighbour}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhKhjZubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjZhKhjYubj)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hj'Zh]hstruct hh_cache *hh}(hj)ZhhhNhNubah}(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.chKhj!Zubj)}(hhh]jX)}(hdestination cache entryh]hdestination cache entry}(hj@ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjh]h*}(hji[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj%)}(hhhh]hhh}(hjv[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[ubj)}(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$]jW[c.eth_header_cache_updateasbuh1hhj[ubj)}(h h]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 unsigned char *haddrh](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}(hj5\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj)}(h h]h }(hjC\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(hcharh]hchar}(hjQ\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj)}(h h]h }(hj_\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj;)}(hj>h]h*}(hjm\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj\ubj%)}(hhaddrh]hhaddr}(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=uh1jhjZhhhjZhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZhhhjZhKubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZhKhjZhhubjS)}(hhh]jX)}(hupdate cache entryh]hupdate cache entry}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj\hhubah}(h]h ]h"]h$]h&]uh1jRhjZhhhjZhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj\jxj\jyjzj{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\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.chKhj\ubj)}(hhh](j)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hj\h]hstruct hh_cache *hh}(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.chKhj\ubj)}(hhh]jX)}(hdestination cache entryh]hdestination cache entry}(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)}(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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj]ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj7]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3]hKhj4]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj3]hKhj\ubj)}(h4``const unsigned char *haddr`` new hardware address h](j)}(h``const unsigned char *haddr``h]j)}(hjW]h]hconst unsigned char *haddr}(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.chKhjQ]ubj)}(hhh]jX)}(hnew hardware addressh]hnew hardware address}(hjp]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjl]hKhjm]ubah}(h]h ]h"]h$]h&]uh1jhjQ]ubeh}(h]h ]h"]h$]h&]uh1jhjl]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&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj\ubjX)}(hACalled by Address Resolution module to notify changes in address.h]hACalled by Address Resolution module to notify changes in address.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj\ubeh}(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}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j')}jeth_header_parse_protocolsbc.eth_header_parse_protocolasbuh1hhj]hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhj]hMubj)}(heth_header_parse_protocolh]j%)}(hj]h]heth_header_parse_protocol}(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 }(hj6^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%^ubh)}(hjh]hstruct}(hjD^hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%^ubj)}(h h]h }(hjQ^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%^ubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hjb^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjd^modnameN classnameNjj!)}j$]j]c.eth_header_parse_protocolasbuh1hhj%^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%^ubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%^ubj%)}(hskbh]hskb}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!^ubah}(h]h ]h"]h$]h&]j<j=uh1jhj]hhhj]hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]hhhj]hMubah}(h]j]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hMhj]hhubjS)}(hhh]jX)}(hextract protocol from L2 headerh]hextract protocol from L2 header}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj^hhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhj]hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^jxj^jyjzj{uh1hhhhj֒hNhNubj})}(hO**Parameters** ``const struct sk_buff *skb`` packet to extract protocol fromh](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.chMhj^ubj)}(hhh]j)}(h=``const struct sk_buff *skb`` packet to extract protocol fromh](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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hj_ubj)}(hhh]jX)}(hpacket to extract protocol fromh]hpacket to extract protocol from}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.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|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}(hj`_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\_hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj)}(h h]h }(hjo_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\_hhhjn_hMubj)}(heth_prepare_mac_addr_changeh]j%)}(heth_prepare_mac_addr_changeh]heth_prepare_mac_addr_change}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\_hhhjn_hMubj)}(h!(struct net_device *dev, void *p)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j')}jj_sbc.eth_prepare_mac_addr_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%)}(hdevh]hdev}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj_ubj)}(hvoid *ph](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%)}(hjGh]hp}(hj8`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\_hhhjn_hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjX_hhhjn_hMubah}(h]jS_ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjn_hMhjU_hhubjS)}(hhh]jX)}(hprepare for mac changeh]hprepare for mac change}(hja`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj^`hhubah}(h]h ]h"]h$]h&]uh1jRhjU_hhhjn_hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjy`jxjy`jyjzj{uh1hhhhj֒hNhNubj})}(hY**Parameters** ``struct net_device *dev`` network device ``void *p`` socket addressh](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.chMhj}`ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj`h]hstruct net_device *dev}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj`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``void *p`` socket addressh](j)}(h ``void *p``h]j)}(hj`h]hvoid *p}(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.chMhj`ubj)}(hhh]jX)}(hsocket addressh]hsocket address}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj`ubeh}(h]h ]h"]h$]h&]uh1jhj}`ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj֒hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'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}(hj5ahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ahhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM ubj)}(h h]h }(hjDahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ahhhjCahM ubj)}(heth_commit_mac_addr_changeh]j%)}(heth_commit_mac_addr_changeh]heth_commit_mac_addr_change}(hjVahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1ahhhjCahM ubj)}(h!(struct net_device *dev, void *p)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjrahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnaubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jjXasbc.eth_commit_mac_addr_changeasbuh1hhjnaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnaubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnaubj%)}(hdevh]hdev}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjaubj)}(hvoid *ph](j)}(hvoidh]hvoid}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hjGh]hp}(hj bhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjjaubeh}(h]h ]h"]h$]h&]j<j=uh1jhj1ahhhjCahM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-ahhhjCahM ubah}(h]j(aah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjCahM hj*ahhubjS)}(hhh]jX)}(hcommit mac changeh]hcommit mac change}(hj6bhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hj3bhhubah}(h]h ]h"]h$]h&]uh1jRhj*ahhhjCahM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNbjxjNbjyjzj{uh1hhhhj֒hNhNubj})}(hY**Parameters** ``struct net_device *dev`` network device ``void *p`` socket addressh](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:95: ./net/ethernet/eth.chM$hjRbubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjwbh]hstruct net_device *dev}(hjybhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjububah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM!hjqbubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhM!hjbubah}(h]h ]h"]h$]h&]uh1jhjqbubeh}(h]h ]h"]h$]h&]uh1jhjbhM!hjnbubj)}(h``void *p`` socket addressh](j)}(h ``void *p``h]j)}(hjbh]hvoid *p}(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.chM#hjbubj)}(hhh]jX)}(hsocket addressh]hsocket address}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM"hjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhM#hjnbubeh}(h]h ]h"]h$]h&]uh1jhjRbubeh}(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}(hj chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjchhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM-ubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjchhhjchM-ubj)}(h eth_mac_addrh]j%)}(h eth_mac_addrh]h eth_mac_addr}(hj+chhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'cubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjchhhjchM-ubj)}(h!(struct net_device *dev, void *p)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}(hjechhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgcmodnameN classnameNjj!)}j$]j')}jj-csbc.eth_mac_addrasbuh1hhjCcubj)}(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)}(hvoid *ph](j)}(hvoidh]hvoid}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hjGh]hp}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj?cubeh}(h]h ]h"]h$]h&]j<j=uh1jhjchhhjchM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjchhhjchM-ubah}(h]jbah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjchM-hjbhhubjS)}(hhh]jX)}(h!set new Ethernet hardware addressh]h!set new Ethernet hardware address}(hj dhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM-hjdhhubah}(h]h ]h"]h$]h&]uh1jRhjbhhhjchM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj#djxj#djyjzj{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)}(hj-dh]h Parameters}(hj/dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+dubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM1hj'dubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjLdh]hstruct net_device *dev}(hjNdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJdubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM.hjFdubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjedhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjadhM.hjbdubah}(h]h ]h"]h$]h&]uh1jhjFdubeh}(h]h ]h"]h$]h&]uh1jhjadhM.hjCdubj)}(h``void *p`` socket address h](j)}(h ``void *p``h]j)}(hjdh]hvoid *p}(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.chM/hjdubj)}(hhh]jX)}(hsocket addressh]hsocket address}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhM/hjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhM/hjCdubeh}(h]h ]h"]h$]h&]uh1jhj'dubjX)}(h**Description**h]j)}(hjdh]h Description}(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.chM1hj'dubjX)}(h"Change hardware address of device.h]h"Change hardware address of device.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM0hj'dubjX)}(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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM2hj'dubeh}(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}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMTubj)}(h h]h }(hj#ehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhj"ehMTubj)}(h ether_setuph]j%)}(h ether_setuph]h ether_setup}(hj5ehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1eubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhj"ehMTubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](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 net_deviceh]h net_device}(hjoehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjleubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqemodnameN classnameNjj!)}j$]j')}jj7esb c.ether_setupasbuh1hhjMeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMeubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMeubj%)}(hdevh]hdev}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIeubah}(h]h ]h"]h$]h&]j<j=uh1jhjehhhj"ehMTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj ehhhj"ehMTubah}(h]jeah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj"ehMThj ehhubjS)}(hhh]jX)}(hsetup Ethernet network deviceh]hsetup Ethernet network device}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMThjehhubah}(h]h ]h"]h$]h&]uh1jRhj ehhhj"ehMTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjejxjejyjzj{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)}(hjeh]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMXhjeubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjfh]hstruct net_device *dev}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMUhjfubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj.fhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*fhMUhj+fubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhj*fhMUhj fubah}(h]h ]h"]h$]h&]uh1jhjeubjX)}(h**Description**h]j)}(hjPfh]h Description}(hjRfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNfubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMWhjeubjX)}(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.}(hjffhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMVhjeubeh}(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}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjfhMmubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}jalloc_etherdev_mqssbc.alloc_etherdev_mqsasbuh1hhjfhhhjfhMmubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjfhMmubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfhhhjfhMmubj)}(halloc_etherdev_mqsh]j%)}(hjfh]halloc_etherdev_mqs}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfhhhjfhMmubj)}(h7(int sizeof_priv, unsigned int txqs, unsigned int rxqs)h](j)}(hint sizeof_privh](j)}(hinth]hint}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj gubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj gubj%)}(h sizeof_privh]h sizeof_priv}(hj+ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj gubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubj)}(hunsigned int txqsh](j)}(hunsignedh]hunsigned}(hjDghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@gubj)}(h h]h }(hjRghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@gubj)}(hinth]hint}(hj`ghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@gubj)}(h h]h }(hjnghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@gubj%)}(htxqsh]htxqs}(hj|ghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@gubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubj)}(hunsigned int rxqsh](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%)}(hrxqsh]hrxqs}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjgubeh}(h]h ]h"]h$]h&]j<j=uh1jhjfhhhjfhMmubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjfhhhjfhMmubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhMmhjfhhubjS)}(hhh]jX)}(h(Allocates and sets up an Ethernet deviceh]h(Allocates and sets up an Ethernet device}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmhjghhubah}(h]h ]h"]h$]h&]uh1jRhjfhhhjfhMmubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{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)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhjhubj)}(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)}(hj8hh]hint sizeof_priv}(hj:hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6hubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMohj2hubj)}(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}(hjQhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMnhjNhubah}(h]h ]h"]h$]h&]uh1jhj2hubeh}(h]h ]h"]h$]h&]uh1jhjMhhMohj/hubj)}(h?``unsigned int txqs`` The number of TX queues this device has. h](j)}(h``unsigned int txqs``h]j)}(hjrhh]hunsigned int txqs}(hjthhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjphubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMphjlhubj)}(hhh]jX)}(h(The number of TX queues this device has.h]h(The number of TX queues this device has.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMphjhubah}(h]h ]h"]h$]h&]uh1jhjlhubeh}(h]h ]h"]h$]h&]uh1jhjhhMphj/hubj)}(h?``unsigned int rxqs`` The number of RX queues this device has. h](j)}(h``unsigned int rxqs``h]j)}(hjhh]hunsigned int rxqs}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhjhubj)}(hhh]jX)}(h(The number of RX queues this device has.h]h(The number of RX queues this device has.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMqhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMqhj/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&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMshjhubjX)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMrhjhubjX)}(hConstructs a new net device, complete with a private data area of size (sizeof_priv). A 32-byte (not bit) alignment is enforced for this private data area.h]hConstructs a new net device, complete with a private data area of size (sizeof_priv). A 32-byte (not bit) alignment is enforced for this private data area.}(hj ihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMuhjhubeh}(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}(hj:ihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ihhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj)}(h h]h }(hjIihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ihhhjHihMubj)}(hplatform_get_ethdev_addressh]j%)}(hplatform_get_ethdev_addressh]hplatform_get_ethdev_address}(hj[ihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6ihhhjHihMubj)}(h/(struct device *dev, struct net_device *netdev)h](j)}(hstruct device *devh](h)}(hjh]hstruct}(hjwihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsiubh)}(hhh]j%)}(hdeviceh]hdevice}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j')}jj]isbc.platform_get_ethdev_addressasbuh1hhjsiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsiubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsiubj%)}(hdevh]hdev}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoiubj)}(hstruct net_device *netdevh](h)}(hjh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj jmodnameN classnameNjj!)}j$]jic.platform_get_ethdev_addressasbuh1hhjiubj)}(h h]h }(hj%jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj;)}(hj>h]h*}(hj3jhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjiubj%)}(hnetdevh]hnetdev}(hj@jhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoiubeh}(h]h ]h"]h$]h&]j<j=uh1jhj6ihhhjHihMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2ihhhjHihMubah}(h]j-iah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjHihMhj/ihhubjS)}(hhh]jX)}(h,Set netdev's MAC address from a given deviceh]h.Set netdev’s MAC address from a given device}(hjjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjgjhhubah}(h]h ]h"]h$]h&]uh1jRhj/ihhhjHihMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjjxjjjyjzj{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)}(hjjh]h Parameters}(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.chMhjjubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hjjh]hstruct device *dev}(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.chMhjjubj)}(hhh]jX)}(hPointer to the deviceh]hPointer to the device}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjjubj)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to h](j)}(h``struct net_device *netdev``h]j)}(hjjh]hstruct net_device *netdev}(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.chMhjjubj)}(hhh]jX)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjjubeh}(h]h ]h"]h$]h&]uh1jhjjubjX)}(h**Description**h]j)}(hjkh]h Description}(hj!khhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjjubjX)}(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.}(hj5khhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjjubeh}(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}(hjdkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`khhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMAubj)}(h h]h }(hjskhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`khhhjrkhMAubj)}(hfwnode_get_mac_addressh]j%)}(hfwnode_get_mac_addressh]hfwnode_get_mac_address}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`khhhjrkhMAubj)}(h*(struct fwnode_handle *fwnode, char *addr)h](j)}(hstruct fwnode_handle *fwnodeh](h)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j')}jjksbc.fwnode_get_mac_addressasbuh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hfwnodeh]hfwnode}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(h char *addrh](j)}(hcharh]hchar}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj)}(h h]h }(hj!lhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hj/lhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(haddrh]haddr}(hj``struct fwnode_handle *fwnode`` Pointer to the firmware node h](j)}(h ``struct fwnode_handle *fwnode``h]j)}(hjlh]hstruct fwnode_handle *fwnode}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMBhjlubj)}(hhh]jX)}(hPointer to the firmware nodeh]hPointer to the firmware node}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMBhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMBhjlubj)}(h5``char *addr`` Address of buffer to store the MAC in h](j)}(h``char *addr``h]j)}(hjlh]h char *addr}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMChjlubj)}(hhh]jX)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMChjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMChjlubeh}(h]h ]h"]h$]h&]uh1jhjlubjX)}(h**Description**h]j)}(hjmh]h Description}(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.chMEhjlubjX)}(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.}(hj1mhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMDhjlubjX)}(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.}(hj@mhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMJhjlubjX)}(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.}(hjOmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMNhjlubeh}(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}(hj~mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzmhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMbubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzmhhhjmhMbubj)}(hdevice_get_mac_addressh]j%)}(hdevice_get_mac_addressh]hdevice_get_mac_address}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzmhhhjmhMbubj)}(h (struct device *dev, char *addr)h](j)}(hstruct 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%)}(hdeviceh]hdevice}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j')}jjmsbc.device_get_mac_addressasbuh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjnhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hdevh]hdev}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(h char *addrh](j)}(hcharh]hchar}(hj-nhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)nubj)}(h h]h }(hj;nhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)nubj;)}(hj>h]h*}(hjInhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj)nubj%)}(haddrh]haddr}(hjVnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)nubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubeh}(h]h ]h"]h$]h&]j<j=uh1jhjzmhhhjmhMbubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvmhhhjmhMbubah}(h]jqmah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhMbhjsmhhubjS)}(hhh]jX)}(hGet the MAC for a given deviceh]hGet the MAC for a given device}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMbhj}nhhubah}(h]h ]h"]h$]h&]uh1jRhjsmhhhjmhMbubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjnjxjnjyjzj{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)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMfhjnubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hjnh]hstruct device *dev}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMchjnubj)}(hhh]jX)}(hPointer to the deviceh]hPointer to the device}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMchjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMchjnubj)}(h4``char *addr`` Address of buffer to store the MAC inh](j)}(h``char *addr``h]j)}(hjnh]h char *addr}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMehjnubj)}(hhh]jX)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMdhjoubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjohMehjnubeh}(h]h ]h"]h$]h&]uh1jhjnubeh}(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}(hjTohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPohhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMpubj)}(h h]h }(hjcohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPohhhjbohMpubj)}(hdevice_get_ethdev_addressh]j%)}(hdevice_get_ethdev_addressh]hdevice_get_ethdev_address}(hjuohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPohhhjbohMpubj)}(h/(struct device *dev, struct net_device *netdev)h](j)}(hstruct device *devh](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(hhh]j%)}(hdeviceh]hdevice}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjomodnameN classnameNjj!)}j$]j')}jjwosbc.device_get_ethdev_addressasbuh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hdevh]hdev}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubj)}(hstruct net_device *netdevh](h)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj!phhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#pmodnameN classnameNjj!)}j$]joc.device_get_ethdev_addressasbuh1hhjoubj)}(h h]h }(hj?phhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjMphhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hnetdevh]hnetdev}(hjZphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoubeh}(h]h ]h"]h$]h&]j<j=uh1jhjPohhhjbohMpubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjLohhhjbohMpubah}(h]jGoah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbohMphjIohhubjS)}(hhh]jX)}(h,Set netdev's MAC address from a given deviceh]h.Set netdev’s MAC address from a given device}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMphjphhubah}(h]h ]h"]h$]h&]uh1jRhjIohhhjbohMpubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjpjxjpjyjzj{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)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMthjpubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hjph]hstruct device *dev}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhjpubj)}(hhh]jX)}(hPointer to the deviceh]hPointer to the device}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMqhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMqhjpubj)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to h](j)}(h``struct net_device *netdev``h]j)}(hjph]hstruct net_device *netdev}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMrhjpubj)}(hhh]jX)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMrhjqubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjqhMrhjpubeh}(h]h ]h"]h$]h&]uh1jhjpubjX)}(h**Description**h]j)}(hj9qh]h Description}(hj;qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7qubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMthjpubjX)}(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.}(hjOqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMshjpubeh}(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~qhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzqhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMAubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzqhhhjqhMAubj)}(hnetif_carrier_onh]j%)}(hnetif_carrier_onh]hnetif_carrier_on}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzqhhhjqhMAubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjqmodnameN classnameNjj!)}j$]j')}jjqsbc.netif_carrier_onasbuh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj;)}(hj>h]h*}(hjrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(hdevh]hdev}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubah}(h]h ]h"]h$]h&]j<j=uh1jhjzqhhhjqhMAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvqhhhjqhMAubah}(h]jqqah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjqhMAhjsqhhubjS)}(hhh]jX)}(h set carrierh]h set carrier}(hj>rhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMAhj;rhhubah}(h]h ]h"]h$]h&]uh1jRhjsqhhhjqhMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVrjxjVrjyjzj{uh1hhhhj֒hNhNubj})}(hy**Parameters** ``struct net_device *dev`` network device **Description** Device has detected acquisition of carrier.h](jX)}(h**Parameters**h]j)}(hj`rh]h Parameters}(hjbrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^rubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMEhjZrubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjrh]hstruct net_device *dev}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}rubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMBhjyrubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMBhjrubah}(h]h ]h"]h$]h&]uh1jhjyrubeh}(h]h ]h"]h$]h&]uh1jhjrhMBhjvrubah}(h]h ]h"]h$]h&]uh1jhjZrubjX)}(h**Description**h]j)}(hjrh]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMDhjZrubjX)}(h+Device has detected acquisition of carrier.h]h+Device has detected acquisition of carrier.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMChjZrubeh}(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}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMTubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhj shMTubj)}(hnetif_carrier_offh]j%)}(hnetif_carrier_offh]hnetif_carrier_off}(hj shhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrhhhj shMTubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjh]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8subj%)}(hdevh]hdev}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8subeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4subah}(h]h ]h"]h$]h&]j<j=uh1jhjrhhhj shMTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrhhhj shMTubah}(h]jrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj shMThjrhhubjS)}(hhh]jX)}(h clear carrierh]h clear carrier}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMThjshhubah}(h]h ]h"]h$]h&]uh1jRhjrhhhj shMTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{uh1hhhhj֒hNhNubj})}(hr**Parameters** ``struct net_device *dev`` network device **Description** Device has detected loss of carrier.h](jX)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMXhjsubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjth]hstruct net_device *dev}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMUhjsubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMUhjtubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjthMUhjsubah}(h]h ]h"]h$]h&]uh1jhjsubjX)}(h**Description**h]j)}(hj;th]h Description}(hj=thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9tubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMWhjsubjX)}(h$Device has detected loss of carrier.h]h$Device has detected loss of carrier.}(hjQthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMVhjsubeh}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|thhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMeubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|thhhjthMeubj)}(hnetif_carrier_eventh]j%)}(hnetif_carrier_eventh]hnetif_carrier_event}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj|thhhjthMeubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]j')}jjtsbc.netif_carrier_eventasbuh1hhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hj uhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hdevh]hdev}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubah}(h]h ]h"]h$]h&]j<j=uh1jhj|thhhjthMeubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxthhhjthMeubah}(h]jstah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjthMehjuthhubjS)}(hhh]jX)}(hreport carrier state eventh]hreport carrier state event}(hj@uhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMehj=uhhubah}(h]h ]h"]h$]h&]uh1jRhjuthhhjthMeubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXujxjXujyjzj{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)}(hjbuh]h Parameters}(hjduhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`uubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMihj\uubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjuh]hstruct net_device *dev}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMfhj{uubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMfhjuubah}(h]h ]h"]h$]h&]uh1jhj{uubeh}(h]h ]h"]h$]h&]uh1jhjuhMfhjxuubah}(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&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhhj\uubjX)}(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.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMghj\uubeh}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKQubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjvhKQubj)}(his_link_local_ether_addrh]j%)}(his_link_local_ether_addrh]his_link_local_ether_addr}(hj!vhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuhhhjvhKQubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hj=vhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9vubj)}(h h]h }(hjJvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9vubh)}(hhh]j%)}(hu8h]hu8}(hj[vhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]vmodnameN classnameNjj!)}j$]j')}jj#vsbc.is_link_local_ether_addrasbuh1hhj9vubj)}(h h]h }(hj{vhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9vubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9vubj%)}(haddrh]haddr}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9vubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5vubah}(h]h ]h"]h$]h&]j<j=uh1jhjuhhhjvhKQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjuhhhjvhKQubah}(h]juah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhKQhjuhhubjS)}(hhh]jX)}(h1Determine if given Ethernet address is link-localh]h1Determine if given Ethernet address is link-local}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKQhjvhhubah}(h]h ]h"]h$]h&]uh1jRhjuhhhjvhKQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjvjxjvjyjzj{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)}(hjvh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKUhjvubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjwh]hconst u8 *addr}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKRhjvubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhKRhjwubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjwhKRhjvubah}(h]h ]h"]h$]h&]uh1jhjvubjX)}(h **Return**h]j)}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:wubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKThjvubjX)}(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.}(hjRwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKThjvubjX)}(h**Description**h]j)}(hjcwh]h Description}(hjewhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjawubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKWhjvubjX)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjywhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKVhjvubeh}(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}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhhjwhKhubj)}(his_zero_ether_addrh]j%)}(his_zero_ether_addrh]his_zero_ether_addr}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwhhhjwhKhubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubh)}(hhh]j%)}(hu8h]hu8}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j')}jjwsbc.is_zero_ether_addrasbuh1hhjwubj)}(h h]h }(hj"xhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj;)}(hj>h]h*}(hj0xhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwubj%)}(haddrh]haddr}(hj=xhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjwubah}(h]h ]h"]h$]h&]j<j=uh1jhjwhhhjwhKhubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjwhhhjwhKhubah}(h]jwah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwhKhhjwhhubjS)}(hhh]jX)}(h0Determine if give Ethernet address is all zeros.h]h0Determine if give Ethernet address is all zeros.}(hjgxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhhjdxhhubah}(h]h ]h"]h$]h&]uh1jRhjwhhhjwhKhubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{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)}(hjxh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKlhjxubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjxh]hconst u8 *addr}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKihjxubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhKihjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhKihjxubah}(h]h ]h"]h$]h&]uh1jhjxubjX)}(h **Return**h]j)}(hjxh]hReturn}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKkhjxubjX)}(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.hhKkhjxubjX)}(h**Description**h]j)}(hj yh]h Description}(hj yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKmhjxubjX)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hj yhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKlhjxubeh}(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}(hjOyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKyhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK{ubj)}(h h]h }(hj]yhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKyhhhj\yhK{ubj)}(his_multicast_ether_addrh]j%)}(his_multicast_ether_addrh]his_multicast_ether_addr}(hjoyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjKyhhhj\yhK{ubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hu8h]hu8}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j')}jjqysbc.is_multicast_ether_addrasbuh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(haddrh]haddr}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubah}(h]h ]h"]h$]h&]j<j=uh1jhjKyhhhj\yhK{ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGyhhhj\yhK{ubah}(h]jByah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\yhK{hjDyhhubjS)}(hhh]jX)}(h1Determine if the Ethernet address is a multicast.h]h1Determine if the Ethernet address is a multicast.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK{hj zhhubah}(h]h ]h"]h$]h&]uh1jRhjDyhhhj\yhK{ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&zjxj&zjyjzj{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)}(hj0zh]h Parameters}(hj2zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.zubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj*zubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjOzh]hconst u8 *addr}(hjQzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMzubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK|hjIzubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdzhK|hjezubah}(h]h ]h"]h$]h&]uh1jhjIzubeh}(h]h ]h"]h$]h&]uh1jhjdzhK|hjFzubah}(h]h ]h"]h$]h&]uh1jhj*zubjX)}(h **Return**h]j)}(hjzh]hReturn}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK~hj*zubjX)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK~hj*zubeh}(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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhjzhKubj)}(his_local_ether_addrh]j%)}(his_local_ether_addrh]his_local_ether_addr}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjzhhhjzhKubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hj {hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubh)}(hhh]j%)}(hu8h]hu8}(hj){hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&{ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+{modnameN classnameNjj!)}j$]j')}jjzsbc.is_local_ether_addrasbuh1hhj{ubj)}(h h]h }(hjI{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hjW{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(haddrh]haddr}(hjd{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubah}(h]h ]h"]h$]h&]j<j=uh1jhjzhhhjzhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjzhKubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzhKhjzhhubjS)}(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).}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj{hhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjzhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{jxj{jyjzj{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)}(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)}(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}(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 **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)}(h'true if the address is a local address.h]h'true if the address is a local address.}(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](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}(hjO|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK|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 hjK|hhhj\|hKubj)}(his_broadcast_ether_addrh]j%)}(his_broadcast_ether_addrh]his_broadcast_ether_addr}(hjo|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjk|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjK|hhhj\|hKubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubh)}(hhh]j%)}(hu8h]hu8}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j')}jjq|sbc.is_broadcast_ether_addrasbuh1hhj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj;)}(hj>h]h*}(hj|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj|ubj%)}(haddrh]haddr}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubah}(h]h ]h"]h$]h&]j<j=uh1jhjK|hhhj\|hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjG|hhhj\|hKubah}(h]jB|ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\|hKhjD|hhubjS)}(hhh]jX)}(h.Determine if the Ethernet address is broadcasth]h.Determine if the Ethernet address is broadcast}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj }hhubah}(h]h ]h"]h$]h&]uh1jRhjD|hhhj\|hKubeh}(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 the broadcast address. **Description** Please note: addr must be aligned to u16.h](jX)}(h**Parameters**h]j)}(hj0}h]h Parameters}(hj2}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)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjO}h]hconst u8 *addr}(hjQ}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM}ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjI}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}(hjh}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjd}hKhje}ubah}(h]h ]h"]h$]h&]uh1jhjI}ubeh}(h]h ]h"]h$]h&]uh1jhjd}hKhjF}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&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj*}ubjX)}(h-true if the address is the broadcast address.h]h-true if the address is the broadcast address.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj*}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)}(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.hhKhj*}ubeh}(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}(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_unicast_ether_addrh]j%)}(his_unicast_ether_addrh]his_unicast_ether_addr}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}hhhj~hKubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hj2~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.~ubj)}(h h]h }(hj?~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.~ubh)}(hhh]j%)}(hu8h]hu8}(hjP~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjM~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjR~modnameN classnameNjj!)}j$]j')}jj~sbc.is_unicast_ether_addrasbuh1hhj.~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%)}(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=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,Determine if the Ethernet address is unicasth]h,Determine if the Ethernet address is unicast}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj~hhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhj~hKubeh}(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)}(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)}(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&]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 **Return**h]j)}(hj1h]hReturn}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj~ubjX)}(h)true if the address is a unicast address.h]h)true if the address is a unicast address.}(hjGhhhNhNubah}(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_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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhjhKubj)}(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=uh1jhjrhhhjhKubj)}(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_valid_ether_addrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddrh]haddr}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjrhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnhhhjhKubah}(h]jiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjkhhubjS)}(hhh]jX)}(h0Determine if the given Ethernet address is validh]h0Determine if the given Ethernet address is valid}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj2hhubah}(h]h ]h"]h$]h&]uh1jRhjkhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMjxjMjyjzj{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)}(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.hhKhjQubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjvh]hconst u8 *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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhKhjmubah}(h]h ]h"]h$]h&]uh1jhjQubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjQubjX)}(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.hhKhjQubjX)}(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.hhKhjQubjX)}(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.hhKhjQubjX)}(htrue if the address is valid.h]htrue if the address is valid.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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}(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(hhhj9hKubj)}(heth_proto_is_802_3h]j%)}(heth_proto_is_802_3h]heth_proto_is_802_3}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj(hhhj9hKubj)}(h(__be16 proto)h]j)}(h __be16 protoh](h)}(hhh]j%)}(h__be16h]h__be16}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j')}jjNsbc.eth_proto_is_802_3asbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj%)}(hprotoh]hproto}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubah}(h]h ]h"]h$]h&]j<j=uh1jhj(hhhj9hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj$hhhj9hKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hKhj!hhubjS)}(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&]uh1jRhj!hhhj9hKubeh}(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)}(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.hhKhj߁ubj)}(hhh]j)}(h5``__be16 proto`` Ethertype/length value to be tested h](j)}(h``__be16 proto``h]j)}(hjh]h __be16 proto}(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#Ethertype/length value to be testedh]h#Ethertype/length value to be tested}(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߁ubjX)}(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: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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj߁ubjX)}(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.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}(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_random_addrh]j%)}(heth_random_addrh]heth_random_addr}(hĵ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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj΂sbc.eth_random_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}(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)}(h2Generate software assigned random Ethernet addressh]h2Generate software assigned random Ethernet address}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjMhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{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)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjlubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjlubjX)}(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.hhKhjlubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjlubeh}(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}(hjhhhNhNubah}(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 hhhjhKubj)}(heth_broadcast_addrh]j%)}(heth_broadcast_addrh]heth_broadcast_addr}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhKubj)}(h (u8 *addr)h]j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j')}jj4sbc.eth_broadcast_addrasbuh1hhjJubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhjhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(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&]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** Assign the broadcast address to the given address array.h](jX)}(h**Parameters**h]j)}(hj؄h]h Parameters}(hjڄhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjքubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj҄ubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(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}(hjhhhNhNubah}(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&]uh1jhj҄ubjX)}(h**Description**h]j)}(hj2h]h Description}(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.hhKhj҄ubjX)}(h8Assign the broadcast address to the given address array.h]h8Assign the broadcast address to the given address array.}(hjHhhhNhNubah}(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_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}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhhjhKubj)}(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=uh1jhjshhhjhKubj)}(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 }(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=uh1jhjshhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjohhhjhKubah}(h]jjah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjlhhubjS)}(hhh]jX)}(hAssign zero addressh]hAssign zero 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&]uh1jRhjlhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{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)}(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.hhMhj8ubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hj]h]hu8 *addr}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjWubj)}(hhh]jX)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(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&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj8ubjX)}(h3Assign the zero address to the given address array.h]h3Assign the zero 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.hhMhj8ubeh}(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&]uh1jhjنhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjنhhhjhM ubj)}(heth_hw_addr_randomh]j%)}(heth_hw_addr_randomh]heth_hw_addr_random}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjنhhhjhM 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}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]j')}jjsbc.eth_hw_addr_randomasbuh1hhjubj)}(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نhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjՆhhhjhM ubah}(h]jІah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hj҆hhubjS)}(hhh]jX)}(h>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&]uh1jRhj҆hhhjhM 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]j)}(h;``struct net_device *dev`` pointer to net_device structure 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&]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Շ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.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.}(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](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}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}jeth_hw_addr_crcsbc.eth_hw_addr_crcasbuh1hhjZhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhjhMubj)}(heth_hw_addr_crch]j%)}(hjh]heth_hw_addr_crc}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhjhMubj)}(h(struct netdev_hw_addr *ha)h]j)}(hstruct netdev_hw_addr *hah](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnetdev_hw_addrh]hnetdev_hw_addr}(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_crcasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hhah]hha}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjZhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVhhhjhMubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjShhubjS)}(hhh]jX)}(h!Calculate CRC from netdev_hw_addrh]h!Calculate CRC from netdev_hw_addr}(hj1hhhNhNubah}(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&]uh1jRhjShhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{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)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hjMubj)}(hhh]j)}(h:``struct netdev_hw_addr *ha`` pointer to hardware address h](j)}(h``struct netdev_hw_addr *ha``h]j)}(hjrh]hstruct netdev_hw_addr *ha}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjlubj)}(hhh]jX)}(hpointer to hardware addressh]hpointer to hardware address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(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.hhMhjMubjX)}(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.hhMhjMubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM'ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM'ubj)}(hether_addr_copyh]j%)}(hether_addr_copyh]hether_addr_copy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM'ubj)}(h(u8 *dst, const u8 *src)h](j)}(hu8 *dsth](h)}(hhh]j%)}(hu8h]hu8}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j')}jjsbc.ether_addr_copyasbuh1hhj+ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj;)}(hj>h]h*}(hj`hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+ubj%)}(hdsth]hdst}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubj)}(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$]jNc.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=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)}(hCopy an Ethernet addressh]hCopy an Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM'hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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.hhM+hj#ubj)}(hhh](j)}(hE``u8 *dst`` Pointer to a six-byte array Ethernet address destination h](j)}(h ``u8 *dst``h]j)}(hjHh]hu8 *dst}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM(hjBubj)}(hhh]jX)}(h8Pointer to a six-byte array Ethernet address destinationh]h8Pointer to a six-byte array Ethernet address destination}(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)}(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&]uh1jhjubah}(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)hj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM+hj#ubjX)}(h3Please note: dst & src must both be aligned to u16.h]h3Please note: dst & src must both be aligned to u16.}(hjҋhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM*hj#ubeh}(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)}(hhhhNhNubah}(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.eth_hw_addr_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%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubj)}(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}(hjΌhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjˌubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjЌmodnameN classnameNjj!)}j$]jxc.eth_hw_addr_setasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(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=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'Assign Ethernet address to a net_deviceh]h'Assign Ethernet address to a net_device}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM=hj.hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM=ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{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)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMAhjMubj)}(hhh](j)}(h;``struct net_device *dev`` pointer to net_device structure 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&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM>hjlubj)}(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&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjiubj)}(h%``const u8 *addr`` address to assign h](j)}(h``const u8 *addr``h]j)}(hjh]hconst u8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM?hjubj)}(hhh]jX)}(haddress to assignh]haddress to assign}(hjčhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjiubeh}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMAhjMubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM@hjMubeh}(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}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMIubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj9hMIubj)}(heth_hw_addr_inherith]j%)}(heth_hw_addr_inherith]heth_hw_addr_inherit}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj9hMIubj)}(h0(struct net_device *dst, struct net_device *src)h](j)}(hstruct net_device *dsth](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjNsbc.eth_hw_addr_inheritasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(hstruct net_device *srch](h)}(hjh]hstruct}(hjڎhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj֎ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֎ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.eth_hw_addr_inheritasbuh1hhj֎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%)}(hsrch]hsrc}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj֎ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj'hhhj9hMIubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj9hMIubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hMIhj hhubjS)}(hhh]jX)}(h%Copy dev_addr from another net_deviceh]h%Copy dev_addr from another net_device}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMIhjXhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj9hMIubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{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}(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.hhMMhjwubj)}(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)}(hjՏh]hstruct net_device *src}(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.hhMKhjϏubj)}(hhh]jX)}(h+pointer to net_device to copy dev_addr fromh]h+pointer to net_device to copy dev_addr from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjϏubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubeh}(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&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMMhjwubjX)}(hnCopy the Ethernet address from one net_device to another along with the address attributes (addr_assign_type).h]hnCopy the Ethernet address from one net_device to another along with the address attributes (addr_assign_type).}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMLhjwubeh}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMXubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjbhMXubj)}(hether_addr_equalh]j%)}(hether_addr_equalh]hether_addr_equal}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjbhMXubj)}(h"(const u8 *addr1, const u8 *addr2)h](j)}(hconst u8 *addr1h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjwsbc.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}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#modnameN classnameNjj!)}j$]jːc.ether_addr_equalasbuh1hhjubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjMhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddr2h]haddr2}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhjbhMXubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMhhhjbhMXubah}(h]jHah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhMXhjJhhubjS)}(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&]uh1jRhjJhhhjbhMXubeh}(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&]uh1jWhjڑhMYhjۑubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڑhMYhjubj)}(hQ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address h](j)}(h``const u8 *addr2``h]j)}(hjh]hconst u8 *addr2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMZhjubj)}(hhh]jX)}(hbool 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}(hjhhhNhNubah}(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 }(hj֒hhhNhNubah}(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.ether_addr_equal_64bitsasbuh1hhjŒ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%)}(haddr1h]haddr1}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjŒubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst u8 *addr2h](h)}(hjh]hconst}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(hu8h]hu8}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]jc.ether_addr_equal_64bitsasbuh1hhj7ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(haddr2h]haddr2}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(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)}(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&]jvjqjwjԓjxjԓjyjzj{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}(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.hhMthjؓubj)}(hhh](j)}(h3``const u8 *addr1`` Pointer to an array of 8 bytes 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.hhMqhjubj)}(hhh]jX)}(hPointer to an array of 8 bytesh]hPointer to an array of 8 bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjubj)}(h9``const u8 *addr2`` Pointer to an other array of 8 bytes h](j)}(h``const u8 *addr2``h]j)}(hj6h]hconst u8 *addr2}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMrhj0ubj)}(hhh]jX)}(h$Pointer to an other array of 8 bytesh]h$Pointer to an other array of 8 bytes}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMrhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMrhjubeh}(h]h ]h"]h$]h&]uh1jhjؓubjX)}(h**Description**h]j)}(hjqh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMthjؓubjX)}(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.hhMshjؓubjX)}(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.hhMuhjؓubjX)}(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.hhMyhjؓubeh}(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}(hjԔhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjДhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjДhhhjhMubj)}(hether_addr_equal_unalignedh]j%)}(hether_addr_equal_unalignedh]hether_addr_equal_unaligned}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjДhhhjhMubj)}(h"(const u8 *addr1, const u8 *addr2)h](j)}(hconst u8 *addr1h](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 reftargetj0modnameN classnameNjj!)}j$]j')}jjsbc.ether_addr_equal_unalignedasbuh1hhj 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%)}(haddr1h]haddr1}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst u8 *addr2h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]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$]jJc.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}(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=jDuh1hjEjFhj̔hhhjhMubah}(h]jǔah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjɔhhubjS)}(hhh]jX)}(h.Compare two not u16 aligned Ethernet addressesh]h.Compare two not u16 aligned Ethernet addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjɔhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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.hhMhjubj)}(hhh](j)}(hP``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr1``h]j)}(hjDh]hconst u8 *addr1}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(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}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhj;ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjwubj)}(hhh]jX)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(haddr1h]haddr1}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(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 }(hjǗhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hu8h]hu8}(hjؗhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj՗ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjڗmodnameN classnameNjj!)}j$]jc.ether_addr_equal_maskedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddr2h]haddr2}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(hconst u8 *maskh](h)}(hjh]hconst}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(hu8h]hu8}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]jc.ether_addr_equal_maskedasbuh1hhj&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%)}(hmaskh]hmask}(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*Compare two Ethernet addresses with a maskh]h*Compare two Ethernet addresses with a mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(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)}(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 1st Ethernet addressh]h?Pointer to a six-byte array containing the 1st Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hT``const u8 *addr2`` Pointer to a six-byte array containing the 2nd Ethernet address h](j)}(h``const u8 *addr2``h]j)}(hj%h]hconst u8 *addr2}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jX)}(h?Pointer to a six-byte array containing the 2nd Ethernet addressh]h?Pointer to a six-byte array containing the 2nd Ethernet address}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(hW``const u8 *mask`` Pointer to a six-byte array containing the Ethernet address bitmask h](j)}(h``const u8 *mask``h]j)}(hj^h]hconst u8 *mask}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjXubj)}(hhh]jX)}(hCPointer to a six-byte array containing the Ethernet address bitmaskh]hCPointer to a six-byte array containing the Ethernet address bitmask}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubeh}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjޙubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jether_addr_to_u64sbc.ether_addr_to_u64asbuh1hhjڙhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjڙhhhjhMubj)}(hether_addr_to_u64h]j%)}(hjh]hether_addr_to_u64}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjڙhhhjhMubj)}(h(const u8 *addr)h]j)}(hconst u8 *addrh](h)}(hjh]hconst}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj,ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubh)}(hhh]j%)}(hu8h]hu8}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]jc.ether_addr_to_u64asbuh1hhj,ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj;)}(hj>h]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj,ubj%)}(haddrh]haddr}(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ڙhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj֙hhhjhMubah}(h]jљah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjәhhubjS)}(hhh]jX)}(h-Convert an Ethernet address into a u64 value.h]h-Convert an Ethernet address into a u64 value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjәhhhjhMubeh}(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)}(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)}(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.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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(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&]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}(hjChhhNhNubah}(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}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhjhMubj)}(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=uh1jhjnhhhjhMubj)}(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_addrasbuh1hhjubj)}(h h]h }(hjқhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(huh]hu}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jΛc.u64_to_ether_addrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddrh]haddr}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjnhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjjhhhjhMubah}(h]jeah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjghhubjS)}(hhh]jX)}(h%Convert a u64 to an Ethernet address.h]h%Convert a u64 to an Ethernet address.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj\hhubah}(h]h ]h"]h$]h&]uh1jRhjghhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{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&]uh1jhjubah}(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)}(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)}(h;Pointer to a six-byte array to contain the Ethernet addressh]h;Pointer to a six-byte array to contain the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjӜubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/hhhjAhMubj)}(h eth_addr_dech]j%)}(h eth_addr_dech]h eth_addr_dec}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/hhhjAhMubj)}(h (u8 *addr)h]j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]j')}jjVsbc.eth_addr_decasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(haddrh]haddr}(hjhhhNhNubah}(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)}(hDecrement the given MAC addressh]hDecrement the given MAC address}(hj؝hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj՝hhubah}(h]h ]h"]h$]h&]uh1jRhj(hhhjAhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj֒hNhNubj})}(hc**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to decrementh](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)}(hQ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to decrementh](j)}(h ``u8 *addr``h]j)}(hjh]hu8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jX)}(hDPointer to a six-byte array containing Ethernet address to decrementh]hDPointer to a six-byte array containing Ethernet address to decrement}(hj2hhhNhNubah}(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_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}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjhMubj)}(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=uh1jhjohhhjhMubj)}(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_incasbuh1hhjubj)}(h h]h }(hjӞhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(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)}(h Increment the given MAC address.h]h Increment the given MAC address.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhj֒hNhNubj})}(hd**Parameters** ``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment.h](jX)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj4ubj)}(hhh]j)}(hR``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment.h](j)}(h ``u8 *addr``h]j)}(hjYh]hu8 *addr}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjSubj)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(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 hjhhhjhMubj)}(h eth_addr_addh]j%)}(h eth_addr_addh]h eth_addr_add}(hjԟhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjПubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(u8 *addr, long offset)h](j)}(hu8 *addrh](h)}(hhh]j%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj֟sbc.eth_addr_addasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(haddrh]haddr}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h long offseth](j)}(hlongh]hlong}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj%)}(hoffseth]hoffset}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h: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&]uh1jRhjhhhjhMubeh}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh](j)}(hS``u8 *addr`` Pointer to a six-byte array containing Ethernet address to increment. h](j)}(h ``u8 *addr``h]j)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjȠubeh}(h]h ]h"]h$]h&]uh1jhjhMhjŠubj)}(h``long offset`` Offset to add.h](j)}(h``long offset``h]j)}(hjh]h long offset}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jX)}(hOffset to add.h]hOffset to add.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjŠ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}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhjnhMubj)}(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=uh1jhj]hhhjnhMubj)}(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 }(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 net_deviceh]h net_device}(hj֡hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӡubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjءmodnameN classnameNjj!)}j$]j')}jjsbc.is_etherdev_addrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst u8 addr[6 + 2]h](h)}(hjh]hconst}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubh)}(hhh]j%)}(hu8h]hu8}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]jc.is_etherdev_addrasbuh1hhj&ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj%)}(haddrh]haddr}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubj;)}(h[h]h[}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubhdesc_sig_literal_number)}(h6h]h6}(hjhhhNhNubah}(h]h ]mah"]h$]h&]uh1jhj&ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubhdesc_sig_operator)}(h+h]h+}(hjhhhNhNubah}(h]h ]oah"]h$]h&]uh1jhj&ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h2h]h2}(hj΢hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj;)}(h]h]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=uh1jhj]hhhjnhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYhhhjnhMubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnhMhjVhhubjS)}(hhh]jX)}(h5Tell if given Ethernet address belongs to the device.h]h5Tell if given Ethernet address belongs to the device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjVhhhjnhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hj(h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj"ubj)}(hhh](j)}(h?``const struct net_device *dev`` Pointer to a device structure h](j)}(h ``const struct net_device *dev``h]j)}(hjGh]hconst struct net_device *dev}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjAubj)}(hhh]jX)}(hPointer to a device structureh]hPointer to a device structure}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>ubj)}(hU``const u8 addr[6 + 2]`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 addr[6 + 2]``h]j)}(hjh]hconst u8 addr[6 + 2]}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjzubj)}(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&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhj>ubeh}(h]h ]h"]h$]h&]uh1jhj"ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj"ubjX)}(hsCompare passed address with all addresses of the device. Return true if the address if one of the device addresses.h]hsCompare passed address with all addresses of the device. Return true if the address if one of the device addresses.}(hjѣhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj"ubjX)}(hZNote that this function calls ether_addr_equal_64bits() so take care of the right padding.h]hZNote that this function calls ether_addr_equal_64bits() so take care of the right padding.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM-ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhM-ubj)}(hlongh]hlong}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhjhM-ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhM-ubj)}(hcompare_ether_headerh]j%)}(hcompare_ether_headerh]hcompare_ether_header}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM-ubj)}(h(const void *a, const void *b)h](j)}(h const void *ah](h)}(hjh]hconst}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hj(h]ha}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(h const void *bh](h)}(hjh]hconst}(hjĤhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjѤhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hvoidh]hvoid}(hjߤhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hjsh]hb}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM-ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM-hjhhubjS)}(hhh]jX)}(hCompare two Ethernet headersh]hCompare two Ethernet headers}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM-hj.hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{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)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM1hjMubj)}(hhh](j)}(h-``const void *a`` Pointer to Ethernet header h](j)}(h``const void *a``h]j)}(hjrh]h const void *a}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM.hjlubj)}(hhh]jX)}(hPointer to Ethernet headerh]hPointer to Ethernet header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjiubj)}(h-``const void *b`` Pointer to Ethernet header h](j)}(h``const void *b``h]j)}(hjh]h const void *b}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM/hjubj)}(hhh]jX)}(hPointer to Ethernet headerh]hPointer to Ethernet header}(hjĥhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjiubeh}(h]h ]h"]h$]h&]uh1jhjMubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM1hjMubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM0hjMubeh}(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}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMRubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj9hMRubj)}(heth_hw_addr_genh]j%)}(heth_hw_addr_genh]heth_hw_addr_gen}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj9hMRubj)}(h>(struct net_device *dev, const u8 *base_addr, unsigned int id)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjNsbc.eth_hw_addr_genasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(hconst u8 *base_addrh](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%)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.eth_hw_addr_genasbuh1hhj֦ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֦ubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj֦ubj%)}(h base_addrh]h base_addr}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj֦ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubj)}(hunsigned int idh](j)}(hunsignedh]hunsigned}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj%)}(hidh]hid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj'hhhj9hMRubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#hhhj9hMRubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hMRhj hhubjS)}(hhh]jX)}(h.Generate and assign Ethernet address to a porth]h.Generate and assign Ethernet address to a port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMRhjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj9hMRubeh}(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)}(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:101: ./include/linux/etherdevice.hhMShjubj)}(hhh]jX)}(h&pointer to port's net_device structureh]h(pointer to port’s net_device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(h.``const u8 *base_addr`` base Ethernet address h](j)}(h``const u8 *base_addr``h]j)}(hj&h]hconst u8 *base_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.hhMThj ubj)}(hhh]jX)}(hbase Ethernet addressh]hbase Ethernet address}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMThj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMThjubj)}(h6``unsigned int id`` offset to add to the base address h](j)}(h``unsigned int id``h]j)}(hj_h]hunsigned int id}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMUhjYubj)}(hhh]jX)}(h!offset to add to the base addressh]h!offset to add to the base address}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMUhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMUhjubeh}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjۨhhhjhMgubj)}(heth_skb_pkt_typeh]j%)}(heth_skb_pkt_typeh]heth_skb_pkt_type}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjۨhhhjhMgubj)}(h3(struct sk_buff *skb, const struct net_device *dev)h](j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsk_buffh]hsk_buff}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj<modnameN classnameNjj!)}j$]j')}jjsbc.eth_skb_pkt_typeasbuh1hhjubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]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)}(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$]jVc.eth_skb_pkt_typeasbuh1hhjubj)}(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=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjۨhhhjhMgubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjרhhhjhMgubah}(h]jҨah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMghjԨhhubjS)}(hhh]jX)}(h8Assign packet type if destination address does not matchh]h8Assign packet type if destination address does not match}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMghj'hhubah}(h]h ]h"]h$]h&]uh1jRhjԨhhhjhMgubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjBjxjBjyjzj{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)}(hjLh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMkhjFubj)}(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)}(hjkh]hstruct sk_buff *skb}(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.hhMhhjeubj)}(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&]uh1jWhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjbubj)}(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˪hMihjbubeh}(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:101: ./include/linux/etherdevice.hhMkhjFubjX)}(hzIf the destination MAC address of the packet does not match the network device address, assign an appropriate packet type.h]hzIf the destination MAC address of the packet does not match the network device address, assign an appropriate packet type.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMjhjFubeh}(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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhjDhMubj)}(h eth_skb_padh]j%)}(h eth_skb_padh]h eth_skb_pad}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2hhhjDhMubj)}(h(struct sk_buff *skb)h]j)}(hstruct sk_buff *skbh](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(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.eth_skb_padasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hskbh]hskb}(hj̫hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubah}(h]h ]h"]h$]h&]j<j=uh1jhj2hhhjDhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhjDhMubah}(h]j)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhMhj+hhubjS)}(hhh]jX)}(h9Pad buffer to minimum number of octets for Ethernet frameh]h9Pad buffer to minimum number of octets for Ethernet frame}(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+hhhjDhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]j)}(h&``struct sk_buff *skb`` Buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hj7h]hstruct sk_buff *skb}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj1ubj)}(hhh]jX)}(h Buffer to padh]h Buffer to pad}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjrh]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjX)}(hAn Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.h]hAn Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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}(hj׬hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjӬubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjĬhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjĬhKubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjĬhKhjhhubjS)}(hhh]jX)}(h,structure to support Generic Receive Offloadh]h,structure to support Generic Receive Offload}(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&]uh1jRhjhhhjĬhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjubjU)}(hstruct gro_node { unsigned long bitmask; struct gro_list hash[GRO_HASH_BUCKETS]; struct list_head rx_list; u32 rx_count; u32 cached_napi_id; };h]hstruct gro_node { unsigned long bitmask; struct gro_list hash[GRO_HASH_BUCKETS]; struct list_head rx_list; u32 rx_count; u32 cached_napi_id; };}hj6sbah}(h]h ]h"]h$]h&]j<j=uh1jThZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjubjX)}(h **Members**h]j)}(hjGh]hMembers}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMkhjubj)}(hhh](j)}(h9``bitmask`` bitmask to indicate used buckets in **hash** h](j)}(h ``bitmask``h]j)}(hjfh]hbitmask}(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,bitmask to indicate used buckets in **hash**h](h$bitmask to indicate used buckets in }(hjhhhNhNubj)}(h**hash**h]hhash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhj{hM_hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM_hj]ubj)}(hB``hash`` hashtable of pending aggregated skbs, separated by flows h](j)}(h``hash``h]j)}(hjh]hhash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM`hjubj)}(hhh]jX)}(h8hashtable of pending aggregated skbs, separated by flowsh]h8hashtable of pending aggregated skbs, separated by flows}(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``rx_list`` list of pending ``GRO_NORMAL`` skbs h](j)}(h ``rx_list``h]j)}(hjh]hrx_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.hhMahjubj)}(hhh]jX)}(h#list of pending ``GRO_NORMAL`` skbsh](hlist of pending }(hjhhhNhNubj)}(h``GRO_NORMAL``h]h GRO_NORMAL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh skbs}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahj]ubj)}(h2``rx_count`` cached current length of **rx_list** h](j)}(h ``rx_count``h]j)}(hj1h]hrx_count}(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.hhMbhj+ubj)}(hhh]jX)}(h$cached current length of **rx_list**h](hcached current length of }(hjJhhhNhNubj)}(h **rx_list**h]hrx_list}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jWhjFhMbhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMbhj]ubj)}(hL``cached_napi_id`` napi_struct::napi_id cached for hotpath, 0 for standaloneh](j)}(h``cached_napi_id``h]j)}(hjxh]hcached_napi_id}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhjrubj)}(hhh]jX)}(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&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMbhj]ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjήhhhj߮hMubj)}(hnapi_is_scheduledh]j%)}(hnapi_is_scheduledh]hnapi_is_scheduled}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjήhhhj߮hMubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(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}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jjsbc.napi_is_scheduledasbuh1hhj 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%)}(hj0h]hn}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjήhhhj߮hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjʮhhhj߮hMubah}(h]jŮah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj߮hMhjǮ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.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjǮhhhj߮hMubeh}(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.hhM hjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjѯh]hstruct napi_struct *n}(hjӯhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϯubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj˯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&]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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(hThis check is "best-effort". With no locking implemented, a NAPI can be scheduled or terminate right after this check and produce not precise results.h]hThis check is “best-effort”. With no locking implemented, a NAPI can be scheduled or terminate right after this check and produce not precise results.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(h~NAPI_STATE_SCHED is an internal state, napi_is_scheduled should not be used normally and napi_schedule should be used instead.h]h~NAPI_STATE_SCHED is an internal state, napi_is_scheduled should not be used normally and napi_schedule should be used instead.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(hUse only if the driver really needs to check if a NAPI is scheduled for example in the context of delayed timer that can be skipped if a NAPI is already scheduled.h]hUse only if the driver really needs to check if a NAPI is scheduled for example in the context of delayed timer that can be skipped if a NAPI is already scheduled.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(h **Return**h]j)}(hjQh]hReturn}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(h+True if NAPI is scheduled, False otherwise.h]h+True if NAPI is scheduled, False otherwise.}(hjghhhNhNubah}(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](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}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.napi_scheduleasbuh1hhjΰ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%)}(hj0h]hn}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjΰubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjʰubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hschedule NAPI pollh]hschedule NAPI poll}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjQhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjljxjljyjzj{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)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$hjpubj)}(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}(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&]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:104: ./include/linux/netdevice.hhM#hjpubjX)}(hESchedule NAPI poll routine to be called if it is not already running.h]hESchedule NAPI poll routine to be called if it is not already running.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM"hjpubjX)}(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.hhM%hjpubjX)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hjpubeh}(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}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhjJhM4ubj)}(hnapi_schedule_irqoffh]j%)}(hnapi_schedule_irqoffh]hnapi_schedule_irqoff}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhjJhM4ubj)}(h(struct napi_struct *n)h]j)}(hstruct napi_struct *nh](h)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj_sbc.napi_schedule_irqoffasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj;)}(hj>h]h*}(hjŲhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjuubj%)}(hj0h]hn}(hjҲhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjqubah}(h]h ]h"]h$]h&]j<j=uh1jhj8hhhjJhM4ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4hhhjJhM4ubah}(h]j/ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJhM4hj1hhubjS)}(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.hhM4hjhhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhjJhM4ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM8hjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hj<h]hstruct napi_struct *n}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5hj6ubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhM5hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM5hj3ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjwh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hjubjX)}(h:Variant of napi_schedule(), assuming hard irqs are masked.h]h:Variant of napi_schedule(), assuming hard irqs are masked.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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.hhM@ubj)}(h h]h }(hjʳhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjɳhM@ubj)}(hnapi_complete_doneh]j%)}(hnapi_complete_doneh]hnapi_complete_done}(hjܳhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjسubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjɳhM@ubj)}(h&(struct napi_struct *n, int work_done)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')}jj޳sbc.napi_complete_doneasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int work_doneh](j)}(hinth]hint}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj%)}(h work_doneh]h work_done}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjɳhM@ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjɳhM@ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjɳhM@hjhhubjS)}(hhh]jX)}(hNAPI processing completeh]hNAPI processing complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjɳhM@ubeh}(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)}(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.hhMDhj˴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.hhMAhjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(h.``int work_done`` number of packets processed h](j)}(h``int work_done``h]j)}(hj)h]h int work_done}(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)}(hnumber of packets processedh]hnumber of packets processed}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMBhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMBhjubeh}(h]h ]h"]h$]h&]uh1jhj˴ubjX)}(h**Description**h]j)}(hjdh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhj˴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().}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMChj˴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.hhMGhj˴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.hhMGhj˴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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jjsbc.napi_synchronizeasbuh1hhj 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%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj̵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}(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&]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.hhM_hjƶubj)}(hhh]j)}(h-``const struct napi_struct *n`` NAPI context h](j)}(h``const struct napi_struct *n``h]j)}(hjh]hconst struct 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjƶubjX)}(h**Description**h]j)}(hj&h]h Description}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM^hjƶ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.}(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*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}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMlubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjghhhjxhMlubj)}(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=uh1jhjghhhjxhMlubj)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hj0h]hn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjghhhjxhMlubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjchhhjxhMlubah}(h]j^ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhMlhj`hhubjS)}(hhh]jX)}(h.if napi is running, set the NAPIF_STATE_MISSEDh]h.if napi is running, set the NAPIF_STATE_MISSED}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMlhj&hhubah}(h]h ]h"]h$]h&]uh1jRhj`hhhjxhMlubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjAjxjAjyjzj{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)}(hjKh]h Parameters}(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.hhMphjEubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjjh]hstruct 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.hhMnhjdubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjaubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMphjEubjX)}(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.hhMohjEubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMuubj)}(hnetdev_priv_flagsh]j%)}(hjh]hnetdev_priv_flags}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMuubah}(h]jݸah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMuhj߸hhubjS)}(hhh]jX)}(h3:c:type:`struct net_device ` priv_flagsh](h)}(h(:c:type:`struct net_device `h]j)}(hj2h]hstruct net_device}(hj4hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j')}jjsbc.netdev_priv_flagsasbj net_deviceuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKhj,ubh priv_flags}(hj,hhhNhNubeh}(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߸hhhjhMuubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwjkjxjkjyjzj{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)}(hjuh]h Constants}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjoubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjǹubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``IFF_BONDING`` bonding master or slave h](j)}(h``IFF_BONDING``h]j)}(hjh]h IFF_BONDING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hbonding master or slaveh]hbonding master or slave}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``IFF_ISATAP`` ISATAP interface (RFC4214) h](j)}(h``IFF_ISATAP``h]j)}(hj?h]h IFF_ISATAP}(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)}(hISATAP interface (RFC4214)h]hISATAP interface (RFC4214)}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubj)}(h!``IFF_WAN_HDLC`` WAN HDLC device h](j)}(h``IFF_WAN_HDLC``h]j)}(hjxh]h IFF_WAN_HDLC}(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)}(hWAN HDLC deviceh]hWAN HDLC device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(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.hhMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƺhMhjubj)}(h5``IFF_DONT_BRIDGE`` disallow bridging this ether dev h](j)}(h``IFF_DONT_BRIDGE``h]j)}(hjh]hIFF_DONT_BRIDGE}(hjhhhNhNubah}(h]h ]h"]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 disallow bridging this ether devh]h disallow bridging this ether dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``IFF_DISABLE_NETPOLL`` disable netpoll at run-time h](j)}(h``IFF_DISABLE_NETPOLL``h]j)}(hj$h]hIFF_DISABLE_NETPOLL}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hdisable netpoll at run-timeh]hdisable netpoll at run-time}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubj)}(h1``IFF_MACVLAN_PORT`` device used as macvlan port h](j)}(h``IFF_MACVLAN_PORT``h]j)}(hj]h]hIFF_MACVLAN_PORT}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjWubj)}(hhh]jX)}(hdevice used as macvlan porth]hdevice used as macvlan port}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjubj)}(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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``IFF_OVS_DATAPATH`` device used as Open vSwitch datapath port h](j)}(h``IFF_OVS_DATAPATH``h]j)}(hjϻh]hIFF_OVS_DATAPATH}(hjѻhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjͻubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjɻubj)}(hhh]jX)}(h)device used as Open vSwitch datapath porth]h)device used as Open vSwitch datapath port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjɻubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``IFF_TX_SKB_SHARING`` The interface supports sharing skbs on transmit h](j)}(h``IFF_TX_SKB_SHARING``h]j)}(hjh]hIFF_TX_SKB_SHARING}(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/The interface supports sharing skbs on transmith]h/The interface supports sharing skbs on transmit}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``IFF_UNICAST_FLT`` Supports unicast filtering h](j)}(h``IFF_UNICAST_FLT``h]j)}(hjAh]hIFF_UNICAST_FLT}(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)}(hSupports unicast filteringh]hSupports unicast filtering}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjubj)}(h+``IFF_TEAM_PORT`` device used as team port h](j)}(h``IFF_TEAM_PORT``h]j)}(hjzh]h IFF_TEAM_PORT}(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)}(hdevice used as team porth]hdevice used as team port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(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.hhMhjubj)}(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&]uh1jhjubeh}(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)}(hjh]hIFF_LIVE_ADDR_CHANGE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h9device supports hardware address change when it's runningh]h;device supports hardware address change when it’s running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``IFF_MACVLAN`` Macvlan device h](j)}(h``IFF_MACVLAN``h]j)}(hj&h]h IFF_MACVLAN}(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)}(hMacvlan deviceh]hMacvlan device}(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``IFF_XMIT_DST_RELEASE_PERM`` IFF_XMIT_DST_RELEASE not taking into account underlying stacked devices h](j)}(h``IFF_XMIT_DST_RELEASE_PERM``h]j)}(hj_h]hIFF_XMIT_DST_RELEASE_PERM}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjYubj)}(hhh]jX)}(hGIFF_XMIT_DST_RELEASE not taking into account underlying stacked devicesh]hGIFF_XMIT_DST_RELEASE not taking into account underlying stacked devices}(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&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjubj)}(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&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``IFF_NO_QUEUE`` device can run without qdisc attached h](j)}(h``IFF_NO_QUEUE``h]j)}(hjҽh]h IFF_NO_QUEUE}(hjԽhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjнubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj̽ubj)}(hhh]jX)}(h%device can run without qdisc attachedh]h%device can run without qdisc attached}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj̽ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``IFF_OPENVSWITCH`` device is a Open vSwitch master h](j)}(h``IFF_OPENVSWITCH``h]j)}(hj h]hIFF_OPENVSWITCH}(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 is a Open vSwitch masterh]hdevice is a Open vSwitch master}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h?``IFF_L3MDEV_SLAVE`` device is enslaved to an L3 master device h](j)}(h``IFF_L3MDEV_SLAVE``h]j)}(hjDh]hIFF_L3MDEV_SLAVE}(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)device is enslaved to an L3 master deviceh]h)device is enslaved to an L3 master device}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubj)}(h%``IFF_TEAM`` device is a team device h](j)}(h ``IFF_TEAM``h]j)}(hj}h]hIFF_TEAM}(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)}(hdevice is a team deviceh]hdevice is a team device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(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)}(hjh]hIFF_PHONY_HEADROOM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h`the headroom value is controlled by an external entity (i.e. the master device for bridged veth)h]h`the headroom value is controlled by an external entity (i.e. the master device for bridged veth)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``IFF_MACSEC`` device is a MACsec device h](j)}(h``IFF_MACSEC``h]j)}(hj)h]h IFF_MACSEC}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj#ubj)}(hhh]jX)}(hdevice is a MACsec deviceh]hdevice is a MACsec device}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjubj)}(hA``IFF_NO_RX_HANDLER`` device doesn't support the rx_handler hook h](j)}(h``IFF_NO_RX_HANDLER``h]j)}(hjbh]hIFF_NO_RX_HANDLER}(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)}(h*device doesn't support the rx_handler hookh]h,device doesn’t support the rx_handler hook}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjubj)}(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)}(hjԿh]hIFF_FAILOVER_SLAVE}(hjֿhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҿubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjοubj)}(hhh]jX)}(h/device is lower dev of a failover master deviceh]h/device is lower dev of a failover master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjοubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hI``IFF_L3MDEV_RX_HANDLER`` only invoke the rx handler of L3 master device h](j)}(h``IFF_L3MDEV_RX_HANDLER``h]j)}(hj h]hIFF_L3MDEV_RX_HANDLER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h.only invoke the rx handler of L3 master deviceh]h.only invoke the rx handler of L3 master device}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjubj)}(h*``IFF_NO_ADDRCONF`` prevent ipv6 addrconf h](j)}(h``IFF_NO_ADDRCONF``h]j)}(hjFh]hIFF_NO_ADDRCONF}(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)}(hprevent ipv6 addrconfh]hprevent ipv6 addrconf}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjyubj)}(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&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjoubeh}(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.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 }(hjhhhNhNubh)}(h(:c:type:`struct net_device `h]j)}(hjh]hstruct net_device}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj net_deviceuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubh, they are only set internally by drivers and used in the kernel. These flags are invisible to userspace; this means that the order of these flags can change during any kernel release.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhj֒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.}(hj hhhNhNubah}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-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 net_deviceh]j%)}(hj+h]h net_device}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj>hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)hhhj>hMubah}(h]j$ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj>hMhj&hhubjS)}(hhh]jX)}(hThe DEVICE structure.h]hThe DEVICE structure.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjphhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj>hMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj֒hNhNubj})}(hXc**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 __rcu *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries __rcu *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry __rcu *tcx_egress; #endif; union { struct pcpu_lstats __percpu *lstats; struct pcpu_sw_netstats __percpu *tstats; struct pcpu_dstats __percpu *dstats; }; unsigned long state; unsigned int flags; unsigned short hard_header_len; netdev_features_t features; struct inet6_dev __rcu *ip6_ptr; struct bpf_prog __rcu *xdp_prog; struct list_head ptype_specific; int ifindex; unsigned int real_num_rx_queues; struct netdev_rx_queue *_rx; unsigned int gro_max_size; unsigned int gro_ipv4_max_size; rx_handler_func_t __rcu *rx_handler; void __rcu *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info __rcu *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry __rcu *tcx_ingress; #endif; char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias __rcu *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device __rcu *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info __rcu *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer __rcu *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_ATALK); void *atalk_ptr; #endif; #if IS_ENABLED(CONFIG_AX25); struct ax25_dev __rcu *ax25_ptr; #endif; #if IS_ENABLED(CONFIG_CFG80211); struct wireless_dev *ieee80211_ptr; #endif; #if IS_ENABLED(CONFIG_IEEE802154) || IS_ENABLED(CONFIG_6LOWPAN); struct wpan_dev *ieee802154_ptr; #endif; #if IS_ENABLED(CONFIG_MPLS_ROUTING); struct mpls_dev __rcu *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev __rcu *mctp_ptr; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_dev __rcu *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 __rcu *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries __rcu *nf_hooks_ingress; #endif; unsigned char broadcast[MAX_ADDR_LEN]; #ifdef CONFIG_RFS_ACCEL; struct cpu_rmap *rx_cpu_rmap; #endif; struct hlist_node index_hlist; unsigned int num_tx_queues; struct Qdisc __rcu *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue __percpu *xdp_bulkq; #ifdef CONFIG_NET_SCHED; unsigned long qdisc_hash[1 << ((4) - 1)]; #endif; struct timer_list watchdog_timer; int watchdog_timeo; u32 proto_down_reason; struct list_head todo_list; #ifdef CONFIG_PCPU_DEV_REFCNT; int __percpu *pcpu_refcnt; #else; refcount_t dev_refcnt; #endif; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; u8 reg_state; bool dismantle; bool moving_ns; bool rtnl_link_initializing; bool needs_free_netdev; void (*priv_destructor)(struct net_device *dev); void *ml_priv; enum netdev_ml_priv_type ml_priv_type; enum netdev_stat_type pcpu_stat_type:8; #if IS_ENABLED(CONFIG_GARP); struct garp_port __rcu *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port __rcu *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta __rcu *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map __rcu *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin __rcu *dpll_pin; #endif; #if IS_ENABLED(CONFIG_PAGE_POOL); struct hlist_head page_pools; #endif; struct dim_irq_moder *irq_moder; u64 max_pacing_offload_horizon; struct napi_config *napi_config; 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 __rcu *hwprov; u8 priv[] ; }; **Members** ``priv_flags`` flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitions ``lltx`` device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels ``netmem_tx`` device support netmem_tx. ``netdev_ops`` Includes several pointers to callbacks, if one wants to override the ndo_*() functions ``header_ops`` Includes callbacks for creating,parsing,caching,etc of Layer 2 headers. ``_tx`` Array of TX queues ``gso_partial_features`` value(s) from NETIF_F_GSO\* ``real_num_tx_queues`` Number of TX queues currently active in device ``gso_max_size`` Maximum size of generic segmentation offload ``gso_ipv4_max_size`` Maximum size of generic segmentation offload, for IPv4. ``gso_max_segs`` Maximum number of segments that can be passed to the NIC for GSO ``num_tc`` Number of traffic classes in the net device ``mtu`` Interface MTU value ``needed_headroom`` Extra headroom the hardware may need, but not in all cases can this be guaranteed ``tc_to_txq`` XXX: need comments on this one ``xps_maps`` XXX: need comments on this one ``nf_hooks_egress`` netfilter hooks executed for egress packets ``tcx_egress`` BPF & clsact qdisc specific data for egress processing ``{unnamed_union}`` anonymous ``lstats`` Loopback statistics: packets, bytes ``tstats`` Tunnel statistics: RX/TX packets, RX/TX bytes ``dstats`` Dummy statistics: RX/TX/drop packets, RX/TX bytes ``state`` Generic network queuing layer state, see netdev_state_t ``flags`` Interface flags (a la BSD) ``hard_header_len`` Maximum hardware header length. ``features`` Currently active device features ``ip6_ptr`` IPv6 specific data ``xdp_prog`` XDP sockets filter program pointer ``ptype_specific`` Device-specific, protocol-specific packet handlers ``ifindex`` interface index ``real_num_rx_queues`` Number of RX queues currently active in device ``_rx`` Array of RX queues ``gro_max_size`` Maximum size of aggregated packet in generic receive offload (GRO) ``gro_ipv4_max_size`` Maximum size of aggregated packet in generic receive offload (GRO), for IPv4. ``rx_handler`` handler for received packets ``rx_handler_data`` XXX: need comments on this one ``nd_net`` Network namespace this network device is inside protected by **lock** ``npinfo`` XXX: need comments on this one ``tcx_ingress`` BPF & clsact qdisc specific data for ingress processing ``name`` This is the first field of the "visible" part of this structure (i.e. as seen by users in the "Space.c" file). It is the name of the interface. ``name_node`` Name hashlist node ``ifalias`` SNMP alias ``mem_end`` Shared memory end ``mem_start`` Shared memory start ``base_addr`` Device I/O address ``dev_list`` The global list of network devices ``napi_list`` List entry used for polling NAPI devices ``unreg_list`` List entry when we are unregistering the device; see the function unregister_netdev ``close_list`` List entry used when we are closing the device ``ptype_all`` Device-specific packet handlers for all protocols ``adj_list`` Directly linked devices, like slaves for bonding ``xdp_features`` XDP capability supported by the device ``xdp_metadata_ops`` Includes pointers to XDP metadata callbacks. ``xsk_tx_metadata_ops`` Includes pointers to AF_XDP TX metadata callbacks. ``gflags`` Global flags ( kept as legacy ) ``needed_tailroom`` Extra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skb ``hw_features`` User-changeable features ``wanted_features`` User-requested features ``vlan_features`` Mask of features inheritable by VLAN devices ``hw_enc_features`` Mask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately. ``mpls_features`` Mask of features inheritable by MPLS ``min_mtu`` Interface Minimum MTU value ``max_mtu`` Interface Maximum MTU value ``type`` Interface hardware type ``min_header_len`` Minimum hardware header length ``name_assign_type`` network interface name assignment type ``group`` The group the device belongs to ``stats`` Statistics struct, which was left as a legacy, use rtnl_link_stats64 instead ``core_stats`` core networking counters, do not use this in drivers ``carrier_up_count`` Number of times the carrier has been up ``carrier_down_count`` Number of times the carrier has been down ``wireless_handlers`` List of functions to handle Wireless Extensions, instead of ioctl, see for details. ``ethtool_ops`` Management operations ``l3mdev_ops`` Layer 3 master device operations ``ndisc_ops`` Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN. ``xfrmdev_ops`` Transformation offload operations ``tlsdev_ops`` Transport Layer Security offload operations ``operstate`` RFC2863 operstate ``link_mode`` Mapping policy to operstate ``if_port`` Selectable AUI, TP, ... ``dma`` DMA channel ``perm_addr`` Permanent hw address ``addr_assign_type`` Hw address assignment type ``addr_len`` Hardware address length ``upper_level`` Maximum depth level of upper devices. ``lower_level`` Maximum depth level of lower devices. ``threaded`` napi threaded state. ``neigh_priv_len`` Used in neigh_alloc() ``dev_id`` Used to differentiate devices that share the same link layer address ``dev_port`` Used to differentiate devices that share the same function ``irq`` Device IRQ number ``priv_len`` Size of the ->priv flexible array ``addr_list_lock`` XXX: need comments on this one ``uc`` unicast mac addresses ``mc`` multicast mac addresses ``dev_addrs`` list of device hw addresses ``queues_kset`` Group of all Kobjects in the Tx and RX queues ``unlink_list`` As netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted. ``promiscuity`` Number of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous mode ``allmulti`` Counter, enables or disables allmulticast mode ``uc_promisc`` Counter that indicates promiscuous mode has been enabled due to the need to listen to additional unicast addresses in a device that does not implement ndo_set_rx_mode() ``nested_level`` Used as a parameter of spin_lock_nested() of dev->addr_list_lock. ``ip_ptr`` IPv4 specific data ``fib_nh_head`` nexthops associated with this netdev ``vlan_info`` VLAN info ``dsa_ptr`` dsa specific data ``tipc_ptr`` TIPC specific data ``atalk_ptr`` AppleTalk link ``ax25_ptr`` AX.25 specific data ``ieee80211_ptr`` IEEE 802.11 specific data, assign before registering ``ieee802154_ptr`` IEEE 802.15.4 low-rate Wireless Personal Area Network device struct ``mpls_ptr`` mpls_dev struct pointer ``mctp_ptr`` MCTP specific data ``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 __rcu *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries __rcu *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry __rcu *tcx_egress; #endif; union { struct pcpu_lstats __percpu *lstats; struct pcpu_sw_netstats __percpu *tstats; struct pcpu_dstats __percpu *dstats; }; unsigned long state; unsigned int flags; unsigned short hard_header_len; netdev_features_t features; struct inet6_dev __rcu *ip6_ptr; struct bpf_prog __rcu *xdp_prog; struct list_head ptype_specific; int ifindex; unsigned int real_num_rx_queues; struct netdev_rx_queue *_rx; unsigned int gro_max_size; unsigned int gro_ipv4_max_size; rx_handler_func_t __rcu *rx_handler; void __rcu *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info __rcu *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry __rcu *tcx_ingress; #endif; char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias __rcu *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device __rcu *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info __rcu *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer __rcu *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_ATALK); void *atalk_ptr; #endif; #if IS_ENABLED(CONFIG_AX25); struct ax25_dev __rcu *ax25_ptr; #endif; #if IS_ENABLED(CONFIG_CFG80211); struct wireless_dev *ieee80211_ptr; #endif; #if IS_ENABLED(CONFIG_IEEE802154) || IS_ENABLED(CONFIG_6LOWPAN); struct wpan_dev *ieee802154_ptr; #endif; #if IS_ENABLED(CONFIG_MPLS_ROUTING); struct mpls_dev __rcu *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev __rcu *mctp_ptr; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_dev __rcu *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 __rcu *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries __rcu *nf_hooks_ingress; #endif; unsigned char broadcast[MAX_ADDR_LEN]; #ifdef CONFIG_RFS_ACCEL; struct cpu_rmap *rx_cpu_rmap; #endif; struct hlist_node index_hlist; unsigned int num_tx_queues; struct Qdisc __rcu *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue __percpu *xdp_bulkq; #ifdef CONFIG_NET_SCHED; unsigned long qdisc_hash[1 << ((4) - 1)]; #endif; struct timer_list watchdog_timer; int watchdog_timeo; u32 proto_down_reason; struct list_head todo_list; #ifdef CONFIG_PCPU_DEV_REFCNT; int __percpu *pcpu_refcnt; #else; refcount_t dev_refcnt; #endif; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; u8 reg_state; bool dismantle; bool moving_ns; bool rtnl_link_initializing; bool needs_free_netdev; void (*priv_destructor)(struct net_device *dev); void *ml_priv; enum netdev_ml_priv_type ml_priv_type; enum netdev_stat_type pcpu_stat_type:8; #if IS_ENABLED(CONFIG_GARP); struct garp_port __rcu *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port __rcu *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta __rcu *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map __rcu *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin __rcu *dpll_pin; #endif; #if IS_ENABLED(CONFIG_PAGE_POOL); struct hlist_head page_pools; #endif; struct dim_irq_moder *irq_moder; u64 max_pacing_offload_horizon; struct napi_config *napi_config; 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 __rcu *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 __rcu *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries __rcu *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry __rcu *tcx_egress; #endif; union { struct pcpu_lstats __percpu *lstats; struct pcpu_sw_netstats __percpu *tstats; struct pcpu_dstats __percpu *dstats; }; unsigned long state; unsigned int flags; unsigned short hard_header_len; netdev_features_t features; struct inet6_dev __rcu *ip6_ptr; struct bpf_prog __rcu *xdp_prog; struct list_head ptype_specific; int ifindex; unsigned int real_num_rx_queues; struct netdev_rx_queue *_rx; unsigned int gro_max_size; unsigned int gro_ipv4_max_size; rx_handler_func_t __rcu *rx_handler; void __rcu *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info __rcu *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry __rcu *tcx_ingress; #endif; char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias __rcu *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device __rcu *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info __rcu *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer __rcu *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_ATALK); void *atalk_ptr; #endif; #if IS_ENABLED(CONFIG_AX25); struct ax25_dev __rcu *ax25_ptr; #endif; #if IS_ENABLED(CONFIG_CFG80211); struct wireless_dev *ieee80211_ptr; #endif; #if IS_ENABLED(CONFIG_IEEE802154) || IS_ENABLED(CONFIG_6LOWPAN); struct wpan_dev *ieee802154_ptr; #endif; #if IS_ENABLED(CONFIG_MPLS_ROUTING); struct mpls_dev __rcu *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev __rcu *mctp_ptr; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_dev __rcu *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 __rcu *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries __rcu *nf_hooks_ingress; #endif; unsigned char broadcast[MAX_ADDR_LEN]; #ifdef CONFIG_RFS_ACCEL; struct cpu_rmap *rx_cpu_rmap; #endif; struct hlist_node index_hlist; unsigned int num_tx_queues; struct Qdisc __rcu *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue __percpu *xdp_bulkq; #ifdef CONFIG_NET_SCHED; unsigned long qdisc_hash[1 << ((4) - 1)]; #endif; struct timer_list watchdog_timer; int watchdog_timeo; u32 proto_down_reason; struct list_head todo_list; #ifdef CONFIG_PCPU_DEV_REFCNT; int __percpu *pcpu_refcnt; #else; refcount_t dev_refcnt; #endif; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; u8 reg_state; bool dismantle; bool moving_ns; bool rtnl_link_initializing; bool needs_free_netdev; void (*priv_destructor)(struct net_device *dev); void *ml_priv; enum netdev_ml_priv_type ml_priv_type; enum netdev_stat_type pcpu_stat_type:8; #if IS_ENABLED(CONFIG_GARP); struct garp_port __rcu *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port __rcu *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta __rcu *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map __rcu *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin __rcu *dpll_pin; #endif; #if IS_ENABLED(CONFIG_PAGE_POOL); struct hlist_head page_pools; #endif; struct dim_irq_moder *irq_moder; u64 max_pacing_offload_horizon; struct napi_config *napi_config; 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 __rcu *hwprov; u8 priv[] ; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubjX)}(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.hhMhjubj)}(hhh](j)}(hl``priv_flags`` flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitions h](j)}(h``priv_flags``h]j)}(hjh]h priv_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h\flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitionsh]h\flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``lltx`` device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels h](j)}(h``lltx``h]j)}(hjh]hlltx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h{device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnelsh]h{device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(h(``netmem_tx`` device support netmem_tx. h](j)}(h ``netmem_tx``h]j)}(hjTh]h netmem_tx}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjNubj)}(hhh]jX)}(hdevice support netmem_tx.h]hdevice support netmem_tx.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubj)}(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,hjubj)}(hW``header_ops`` Includes callbacks for creating,parsing,caching,etc of Layer 2 headers. h](j)}(h``header_ops``h]j)}(hjh]h header_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hjubj)}(hhh]jX)}(hGIncludes callbacks for creating,parsing,caching,etc of Layer 2 headers.h]hGIncludes callbacks for creating,parsing,caching,etc of Layer 2 headers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(h``_tx`` Array of TX queues h](j)}(h``_tx``h]j)}(hjh]h_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)}(hArray of TX queuesh]hArray of TX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``gso_partial_features`` value(s) from NETIF_F_GSO\* h](j)}(h``gso_partial_features``h]j)}(hj:h]hgso_partial_features}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubj)}(hhh]jX)}(hvalue(s) from NETIF_F_GSO\*h]hvalue(s) from NETIF_F_GSO*}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(hF``real_num_tx_queues`` Number of TX queues currently active in device h](j)}(h``real_num_tx_queues``h]j)}(hjsh]hreal_num_tx_queues}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjmubj)}(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&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h>``gso_max_size`` Maximum size of generic segmentation offload h](j)}(h``gso_max_size``h]j)}(hjh]h gso_max_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h,Maximum size of generic segmentation offloadh]h,Maximum size of generic segmentation offload}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hN``gso_ipv4_max_size`` Maximum size of generic segmentation offload, for IPv4. h](j)}(h``gso_ipv4_max_size``h]j)}(hjh]hgso_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)}(h7Maximum size of generic segmentation offload, for IPv4.h]h7Maximum size of generic segmentation offload, 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&]uh1jhjhMhjubj)}(hR``gso_max_segs`` Maximum number of segments that can be passed to the NIC for GSO h](j)}(h``gso_max_segs``h]j)}(hjh]h gso_max_segs}(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@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}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(h7``num_tc`` Number of traffic classes in the net device h](j)}(h ``num_tc``h]j)}(hjYh]hnum_tc}(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+Number of traffic classes in the net deviceh]h+Number of traffic classes in the net device}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjubj)}(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.hhMAhjubj)}(hhh]jX)}(hInterface MTU valueh]hInterface MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(hf``needed_headroom`` Extra headroom the hardware may need, but not in all cases can this be guaranteed h](j)}(h``needed_headroom``h]j)}(hjh]hneeded_headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIhjubj)}(hhh]jX)}(hQExtra headroom the hardware may need, but not in all cases can this be guaranteedh]hQExtra headroom the hardware may need, but not in all cases can this be guaranteed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMIhjubj)}(h-``tc_to_txq`` XXX: need comments on this one h](j)}(h ``tc_to_txq``h]j)}(hjh]h tc_to_txq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``xps_maps`` XXX: need comments on this one h](j)}(h ``xps_maps``h]j)}(hj>h]hxps_maps}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj8ubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubj)}(h@``nf_hooks_egress`` netfilter hooks executed for egress packets h](j)}(h``nf_hooks_egress``h]j)}(hjwh]hnf_hooks_egress}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjqubj)}(hhh]jX)}(h+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&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``tcx_egress`` BPF & clsact qdisc specific data for egress processing h](j)}(h``tcx_egress``h]j)}(hjh]h tcx_egress}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h6BPF & clsact qdisc specific data for egress processingh]h6BPF & clsact qdisc specific data for egress processing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKhjubj)}(hhh]jX)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h/``lstats`` Loopback statistics: packets, bytes h](j)}(h ``lstats``h]j)}(hj"h]hlstats}(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#Loopback statistics: packets, bytesh]h#Loopback statistics: packets, bytes}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h9``tstats`` Tunnel statistics: RX/TX packets, RX/TX bytes h](j)}(h ``tstats``h]j)}(hj[h]htstats}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjUubj)}(hhh]jX)}(h-Tunnel statistics: RX/TX packets, RX/TX bytesh]h-Tunnel statistics: RX/TX packets, RX/TX bytes}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``state`` Generic network queuing layer state, see netdev_state_t h](j)}(h ``state``h]j)}(hjh]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h7Generic network queuing layer state, see netdev_state_th]h7Generic network queuing layer state, see netdev_state_t}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h%``flags`` Interface flags (a la BSD) h](j)}(h ``flags``h]j)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM8hjubj)}(hhh]jX)}(hInterface flags (a la BSD)h]hInterface flags (a la BSD)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(h4``hard_header_len`` Maximum hardware header length. h](j)}(h``hard_header_len``h]j)}(hj?h]hhard_header_len}(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.hhMEhj9ubj)}(hhh]jX)}(hMaximum hardware header length.h]hMaximum hardware header length.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMEhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMEhjubj)}(h.``features`` Currently active device features h](j)}(h ``features``h]j)}(hjxh]hfeatures}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjrubj)}(hhh]jX)}(h Currently active device featuresh]h Currently active device features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``ip6_ptr`` IPv6 specific data h](j)}(h ``ip6_ptr``h]j)}(hjh]hip6_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMohjubj)}(hhh]jX)}(hIPv6 specific datah]hIPv6 specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubj)}(h0``xdp_prog`` XDP sockets filter program pointer h](j)}(h ``xdp_prog``h]j)}(hjh]hxdp_prog}(hjhhhNhNubah}(h]h ]h"]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"XDP sockets filter program pointerh]h"XDP sockets filter program pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``ptype_specific`` Device-specific, protocol-specific packet handlers h](j)}(h``ptype_specific``h]j)}(hj#h]hptype_specific}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h2Device-specific, protocol-specific packet handlersh]h2Device-specific, protocol-specific packet handlers}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hM hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM hjubj)}(h``ifindex`` interface index h](j)}(h ``ifindex``h]j)}(hj\h]hifindex}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjVubj)}(hhh]jX)}(hinterface indexh]hinterface index}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjubj)}(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.hhM~hjubj)}(hhh]jX)}(h.Number of RX queues currently active in deviceh]h.Number of RX queues currently active in device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjubj)}(h``_rx`` Array of RX queues h](j)}(h``_rx``h]j)}(hjh]h_rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM{hjubj)}(hhh]jX)}(hArray of RX queuesh]hArray of RX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjubj)}(hT``gro_max_size`` Maximum size of aggregated packet in generic receive offload (GRO) h](j)}(h``gro_max_size``h]j)}(hjh]h gro_max_size}(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)}(hBMaximum size of aggregated packet in generic receive offload (GRO)h]hBMaximum size of aggregated packet in generic receive offload (GRO)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjAh]hgro_ipv4_max_size}(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)}(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.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjubj)}(h,``rx_handler`` handler for received packets h](j)}(h``rx_handler``h]j)}(hj{h]h rx_handler}(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)}(hhandler for received packetsh]hhandler for received packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``rx_handler_data`` XXX: need comments on this one h](j)}(h``rx_handler_data``h]j)}(hjh]hrx_handler_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hQ``nd_net`` Network namespace this network device is inside protected by **lock** h](j)}(h ``nd_net``h]j)}(hjh]hnd_net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hENetwork namespace this network device is inside protected by **lock**h](h=Network namespace this network device is inside protected by }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``npinfo`` XXX: need comments on this one h](j)}(h ``npinfo``h]j)}(hj5h]hnpinfo}(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)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubj)}(hH``tcx_ingress`` BPF & clsact qdisc specific data for ingress processing h](j)}(h``tcx_ingress``h]j)}(hjnh]h tcx_ingress}(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)}(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&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``name`` This is the first field of the "visible" part of this structure (i.e. as seen by users in the "Space.c" file). It is the name of the interface. h](j)}(h``name``h]j)}(hjh]hname}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hThis is the first field of the "visible" part of this structure (i.e. as seen by users in the "Space.c" file). It is the name of the interface.h]hThis is the first field of the “visible” part of this structure (i.e. as seen by users in the “Space.c” file). It is the name of the interface.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``name_node`` Name hashlist node h](j)}(h ``name_node``h]j)}(hjh]h name_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hName hashlist nodeh]hName hashlist node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``ifalias`` SNMP alias h](j)}(h ``ifalias``h]j)}(hjh]hifalias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h SNMP aliash]h SNMP alias}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(h``mem_end`` Shared memory end h](j)}(h ``mem_end``h]j)}(hjSh]hmem_end}(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)}(hShared memory endh]hShared memory end}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjubj)}(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&]uh1jhjhMhjubj)}(h!``base_addr`` Device I/O address h](j)}(h ``base_addr``h]j)}(hjh]h base_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hDevice I/O addressh]hDevice I/O address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``dev_list`` The global list of network devices h](j)}(h ``dev_list``h]j)}(hjh]hdev_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h"The global list of network devicesh]h"The global list of network devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``napi_list`` List entry used for polling NAPI devices h](j)}(h ``napi_list``h]j)}(hj7h]h napi_list}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj1ubj)}(hhh]jX)}(h(List entry used for polling NAPI devicesh]h(List entry used for polling NAPI devices}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubj)}(hd``unreg_list`` List entry when we are unregistering the device; see the function unregister_netdev h](j)}(h``unreg_list``h]j)}(hjph]h unreg_list}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjjubj)}(hhh]jX)}(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&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h>``close_list`` List entry used when we are closing the device h](j)}(h``close_list``h]j)}(hjh]h close_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h.List entry used when we are closing the deviceh]h.List entry used when we are closing the device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h@``ptype_all`` Device-specific packet handlers for all protocols h](j)}(h ``ptype_all``h]j)}(hjh]h ptype_all}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h1Device-specific packet handlers for all protocolsh]h1Device-specific packet handlers for all protocols}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h>``adj_list`` Directly linked devices, like slaves for bonding h](j)}(h ``adj_list``h]j)}(hjh]hadj_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h0Directly linked devices, like slaves for bondingh]h0Directly linked devices, like slaves for bonding}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj1hM hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM hjubj)}(h8``xdp_features`` XDP capability supported by the device h](j)}(h``xdp_features``h]j)}(hjUh]h xdp_features}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hjOubj)}(hhh]jX)}(h&XDP capability supported by the deviceh]h&XDP capability supported by the device}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhM9hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM9hjubj)}(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-hjubj)}(hK``xsk_tx_metadata_ops`` Includes pointers to AF_XDP TX metadata callbacks. h](j)}(h``xsk_tx_metadata_ops``h]j)}(hjh]hxsk_tx_metadata_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM.hjubj)}(hhh]jX)}(h2Includes pointers to AF_XDP TX metadata callbacks.h]h2Includes pointers to AF_XDP TX metadata callbacks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(h+``gflags`` Global flags ( kept as legacy ) h](j)}(h ``gflags``h]j)}(hjh]hgflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hjubj)}(hhh]jX)}(hGlobal flags ( kept as legacy )h]hGlobal flags ( kept as legacy )}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(h``needed_tailroom`` Extra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skb h](j)}(h``needed_tailroom``h]j)}(hj9h]hneeded_tailroom}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMLhj3ubj)}(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}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMJhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMLhjubj)}(h)``hw_features`` User-changeable features h](j)}(h``hw_features``h]j)}(hjsh]h hw_features}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjmubj)}(hhh]jX)}(hUser-changeable featuresh]hUser-changeable features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``wanted_features`` User-requested features h](j)}(h``wanted_features``h]j)}(hjh]hwanted_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hUser-requested featuresh]hUser-requested features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``vlan_features`` Mask of features inheritable by VLAN devices h](j)}(h``vlan_features``h]j)}(hjh]h vlan_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h,Mask of features inheritable by VLAN devicesh]h,Mask of features inheritable by VLAN devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``hw_enc_features`` Mask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately. h](j)}(h``hw_enc_features``h]j)}(hjh]hhw_enc_features}(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)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(h7``mpls_features`` Mask of features inheritable by MPLS h](j)}(h``mpls_features``h]j)}(hjXh]h mpls_features}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjRubj)}(hhh]jX)}(h$Mask of features inheritable by MPLSh]h$Mask of features inheritable by MPLS}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(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.hhMBhjubj)}(hhh]jX)}(hInterface Minimum MTU valueh]hInterface Minimum MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(h(``max_mtu`` Interface Maximum MTU value h](j)}(h ``max_mtu``h]j)}(hjh]hmax_mtu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMChjubj)}(hhh]jX)}(hInterface Maximum MTU valueh]hInterface Maximum MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(h!``type`` Interface hardware type h](j)}(h``type``h]j)}(hjh]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhjubj)}(hhh]jX)}(hInterface hardware typeh]hInterface hardware type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(h2``min_header_len`` Minimum hardware header length h](j)}(h``min_header_len``h]j)}(hj<h]hmin_header_len}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMFhj6ubj)}(hhh]jX)}(hMinimum hardware header lengthh]hMinimum hardware header length}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMFhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMFhjubj)}(h<``name_assign_type`` network interface name assignment type h](j)}(h``name_assign_type``h]j)}(hjuh]hname_assign_type}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM\hjoubj)}(hhh]jX)}(h&network interface name assignment typeh]h&network interface name assignment type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubj)}(h*``group`` The group the device belongs to h](j)}(h ``group``h]j)}(hjh]hgroup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hThe group the device belongs toh]hThe group the device belongs to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hW``stats`` Statistics struct, which was left as a legacy, use rtnl_link_stats64 instead h](j)}(h ``stats``h]j)}(hjh]hstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hLStatistics struct, which was left as a legacy, use rtnl_link_stats64 insteadh]hLStatistics struct, which was left as a legacy, use rtnl_link_stats64 instead}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hD``core_stats`` core networking counters, do not use this in drivers h](j)}(h``core_stats``h]j)}(hj!h]h core_stats}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM#hjubj)}(hhh]jX)}(h4core networking counters, do not use this in driversh]h4core networking counters, do not use this in drivers}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM"hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM#hjubj)}(h=``carrier_up_count`` Number of times the carrier has been up h](j)}(h``carrier_up_count``h]j)}(hj[h]hcarrier_up_count}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$hjUubj)}(hhh]jX)}(h'Number of times the carrier has been uph]h'Number of times the carrier has been up}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphM$hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphM$hjubj)}(hA``carrier_down_count`` Number of times the carrier has been down h](j)}(h``carrier_down_count``h]j)}(hjh]hcarrier_down_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hjubj)}(hhh]jX)}(h)Number of times the carrier has been downh]h)Number of times the carrier has been down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjubj)}(h}``wireless_handlers`` List of functions to handle Wireless Extensions, instead of ioctl, see for details. h](j)}(h``wireless_handlers``h]j)}(hjh]hwireless_handlers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)hjubj)}(hhh]jX)}(hfList of functions to handle Wireless Extensions, instead of ioctl, see for details.h]hfList of functions to handle Wireless Extensions, instead of ioctl, see for details.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubj)}(h&``ethtool_ops`` Management operations h](j)}(h``ethtool_ops``h]j)}(hjh]h ethtool_ops}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hjubj)}(hhh]jX)}(hManagement operationsh]hManagement operations}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(h0``l3mdev_ops`` Layer 3 master device operations h](j)}(h``l3mdev_ops``h]j)}(hj@h]h l3mdev_ops}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0hj:ubj)}(hhh]jX)}(h Layer 3 master device operationsh]h Layer 3 master device operations}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhM0hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhM0hjubj)}(hn``ndisc_ops`` Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN. h](j)}(h ``ndisc_ops``h]j)}(hjyh]h ndisc_ops}(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.hhM2hjsubj)}(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.hhM1hjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubj)}(h2``xfrmdev_ops`` Transformation offload operations h](j)}(h``xfrmdev_ops``h]j)}(hjh]h xfrmdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3hjubj)}(hhh]jX)}(h!Transformation offload operationsh]h!Transformation offload operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(h;``tlsdev_ops`` Transport Layer Security offload operations h](j)}(h``tlsdev_ops``h]j)}(hjh]h tlsdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4hjubj)}(hhh]jX)}(h+Transport Layer Security offload operationsh]h+Transport Layer Security offload operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubj)}(h ``operstate`` RFC2863 operstate h](j)}(h ``operstate``h]j)}(hj%h]h operstate}(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)}(hRFC2863 operstateh]hRFC2863 operstate}(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*``link_mode`` Mapping policy to operstate h](j)}(h ``link_mode``h]j)}(hj^h]h link_mode}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM>hjXubj)}(hhh]jX)}(hMapping policy to operstateh]hMapping policy to operstate}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshM>hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM>hjubj)}(h$``if_port`` Selectable AUI, TP, ... h](j)}(h ``if_port``h]j)}(hjh]hif_port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM?hjubj)}(hhh]jX)}(hSelectable AUI, TP, ...h]hSelectable AUI, TP, ...}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(h``dma`` DMA channel h](j)}(h``dma``h]j)}(hjh]hdma}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@hjubj)}(hhh]jX)}(h DMA channelh]h DMA channel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjubj)}(h#``perm_addr`` Permanent hw address h](j)}(h ``perm_addr``h]j)}(hj h]h perm_addr}(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.hhMPhjubj)}(hhh]jX)}(hPermanent hw addressh]hPermanent hw address}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(h0``addr_assign_type`` Hw address assignment type h](j)}(h``addr_assign_type``h]j)}(hjBh]haddr_assign_type}(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.hhMQhj<ubj)}(hhh]jX)}(hHw address assignment typeh]hHw address assignment type}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhMQhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMQhjubj)}(h%``addr_len`` Hardware address length h](j)}(h ``addr_len``h]j)}(hj{h]haddr_len}(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.hhMRhjuubj)}(hhh]jX)}(hHardware address lengthh]hHardware address length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubj)}(h6``upper_level`` Maximum depth level of upper devices. h](j)}(h``upper_level``h]j)}(hjh]h upper_level}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMShjubj)}(hhh]jX)}(h%Maximum depth level of upper devices.h]h%Maximum depth level of upper devices.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(h6``lower_level`` Maximum depth level of lower devices. h](j)}(h``lower_level``h]j)}(hjh]h lower_level}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMThjubj)}(hhh]jX)}(h%Maximum depth level of lower devices.h]h%Maximum depth level of lower devices.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(h"``threaded`` napi threaded state. h](j)}(h ``threaded``h]j)}(hj&h]hthreaded}(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.hhMUhj ubj)}(hhh]jX)}(hnapi threaded state.h]hnapi threaded state.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMUhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMUhjubj)}(h)``neigh_priv_len`` Used in neigh_alloc() h](j)}(h``neigh_priv_len``h]j)}(hj_h]hneigh_priv_len}(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.hhMVhjYubj)}(hhh]jX)}(hUsed in neigh_alloc()h]hUsed in neigh_alloc()}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMVhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMVhjubj)}(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.hhMXhjubj)}(hhh]jX)}(hDUsed to differentiate devices that share the same link layer addressh]hDUsed to differentiate devices that share the same link layer address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(hH``dev_port`` Used to differentiate devices that share the same function h](j)}(h ``dev_port``h]j)}(hjh]hdev_port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMZhjubj)}(hhh]jX)}(h:Used to differentiate devices that share the same functionh]h:Used to differentiate devices that share the same function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(h``irq`` Device IRQ number h](j)}(h``irq``h]j)}(hj h]hirq}(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)}(hDevice IRQ numberh]hDevice IRQ number}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubj)}(h/``priv_len`` Size of the ->priv flexible array h](j)}(h ``priv_len``h]j)}(hjEh]hpriv_len}(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.hhM;hj?ubj)}(hhh]jX)}(h!Size of the ->priv flexible arrayh]h!Size of the ->priv flexible array}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhM;hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM;hjubj)}(h2``addr_list_lock`` XXX: need comments on this one h](j)}(h``addr_list_lock``h]j)}(hj~h]haddr_list_lock}(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[hjxubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjubj)}(h``uc`` unicast mac addresses h](j)}(h``uc``h]j)}(hjh]huc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjubj)}(hhh]jX)}(hunicast mac addressesh]hunicast mac addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubj)}(h``mc`` multicast mac addresses h](j)}(h``mc``h]j)}(hjh]hmc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhjubj)}(hhh]jX)}(hmulticast mac addressesh]hmulticast mac addresses}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubj)}(h*``dev_addrs`` list of device hw addresses h](j)}(h ``dev_addrs``h]j)}(hj)h]h dev_addrs}(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)}(hlist of device hw addressesh]hlist of device hw addresses}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>hMchj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMchjubj)}(h>``queues_kset`` Group of all Kobjects in the Tx and RX queues h](j)}(h``queues_kset``h]j)}(hjbh]h queues_kset}(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.hhMdhj\ubj)}(hhh]jX)}(h-Group of all Kobjects in the Tx and RX queuesh]h-Group of all Kobjects in the Tx and RX queues}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMdhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMdhjubj)}(hi``unlink_list`` As netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted. h](j)}(h``unlink_list``h]j)}(hjh]h unlink_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXAs netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted.h]hXAs netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``promiscuity`` Number of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous mode h](j)}(h``promiscuity``h]j)}(hjh]h promiscuity}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMghjubj)}(hhh]jX)}(hoNumber of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous modeh]hoNumber of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(h<``allmulti`` Counter, enables or disables allmulticast mode h](j)}(h ``allmulti``h]j)}(hjh]hallmulti}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhj ubj)}(hhh]jX)}(h.Counter, enables or disables allmulticast modeh]h.Counter, enables or disables allmulticast mode}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMhhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhhjubj)}(h``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)}(hjHh]h uc_promisc}(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)}(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()}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM]hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hM`hjubj)}(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.hhMhj|ubj)}(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&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``ip_ptr`` IPv4 specific data h](j)}(h ``ip_ptr``h]j)}(hjh]hip_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMnhjubj)}(hhh]jX)}(hIPv4 specific datah]hIPv4 specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(h5``fib_nh_head`` nexthops associated with this netdev h](j)}(h``fib_nh_head``h]j)}(hjh]h fib_nh_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h$nexthops associated with this netdevh]h$nexthops associated with this netdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h``vlan_info`` VLAN info h](j)}(h ``vlan_info``h]j)}(hj.h]h vlan_info}(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.hhMjhj(ubj)}(hhh]jX)}(h VLAN infoh]h VLAN info}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChMjhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMjhjubj)}(h``dsa_ptr`` dsa specific data h](j)}(h ``dsa_ptr``h]j)}(hjgh]hdsa_ptr}(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.hhMkhjaubj)}(hhh]jX)}(hdsa specific datah]hdsa specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMkhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMkhjubj)}(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.hhMlhjubj)}(hhh]jX)}(hTIPC specific datah]hTIPC specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(h``atalk_ptr`` AppleTalk link h](j)}(h ``atalk_ptr``h]j)}(hjh]h atalk_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMmhjubj)}(hhh]jX)}(hAppleTalk linkh]hAppleTalk link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(h!``ax25_ptr`` AX.25 specific data h](j)}(h ``ax25_ptr``h]j)}(hjh]hax25_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMphj ubj)}(hhh]jX)}(hAX.25 specific datah]hAX.25 specific data}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hMphj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMphjubj)}(hG``ieee80211_ptr`` IEEE 802.11 specific data, assign before registering h](j)}(h``ieee80211_ptr``h]j)}(hjKh]h ieee80211_ptr}(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.hhMqhjEubj)}(hhh]jX)}(h4IEEE 802.11 specific data, assign before registeringh]h4IEEE 802.11 specific data, assign before registering}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMqhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMqhjubj)}(hW``ieee802154_ptr`` IEEE 802.15.4 low-rate Wireless Personal Area Network device struct h](j)}(h``ieee802154_ptr``h]j)}(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.hhMshj~ubj)}(hhh]jX)}(hCIEEE 802.15.4 low-rate Wireless Personal Area Network device structh]hCIEEE 802.15.4 low-rate Wireless Personal Area Network device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMrhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubj)}(h%``mpls_ptr`` mpls_dev struct pointer h](j)}(h ``mpls_ptr``h]j)}(hjh]hmpls_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMthjubj)}(hhh]jX)}(hmpls_dev struct pointerh]hmpls_dev struct pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubj)}(h ``mctp_ptr`` MCTP specific data h](j)}(h ``mctp_ptr``h]j)}(hjh]hmctp_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjubj)}(hhh]jX)}(hMCTP specific datah]hMCTP specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMuhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMuhjubj)}(h9``psp_dev`` PSP crypto device registered for this netdev h](j)}(h ``psp_dev``h]j)}(hj0h]hpsp_dev}(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.hhMvhj*ubj)}(hhh]jX)}(h,PSP crypto device registered for this netdevh]h,PSP crypto device registered for this netdev}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhMvhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMvhjubj)}(hI``dev_addr`` Hw address (before bcast, because most packets are unicast) h](j)}(h ``dev_addr``h]j)}(hjih]hdev_addr}(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.hhMyhjcubj)}(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.hhMxhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMyhjubj)}(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.hhM}hjubj)}(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.hhM|hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjubj)}(hT``xdp_zc_max_segs`` Maximum number of segments supported by AF_XDP zero copy driver h](j)}(h``xdp_zc_max_segs``h]j)}(hjh]hxdp_zc_max_segs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h?Maximum number of segments supported by AF_XDP zero copy driverh]h?Maximum number of segments supported by AF_XDP zero copy driver}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``ingress_queue`` XXX: need comments on this one h](j)}(h``ingress_queue``h]j)}(hjh]h ingress_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjubj)}(hB``nf_hooks_ingress`` netfilter hooks executed for ingress packets h](j)}(h``nf_hooks_ingress``h]j)}(hjPh]hnf_hooks_ingress}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjJubj)}(hhh]jX)}(h,netfilter hooks executed for ingress packetsh]h,netfilter hooks executed for ingress packets}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjubj)}(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&]uh1jhjhMhjubj)}(h``rx_cpu_rmap`` CPU reverse-mapping for RX completion interrupts, indexed by RX queue number. Assigned by driver. This must only be set if the ndo_rx_flow_steer operation is defined h](j)}(h``rx_cpu_rmap``h]j)}(hjh]h rx_cpu_rmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hCPU reverse-mapping for RX completion interrupts, indexed by RX queue number. Assigned by driver. This must only be set if the ndo_rx_flow_steer operation is definedh]hCPU reverse-mapping for RX completion interrupts, indexed by RX queue number. Assigned by driver. This must only be set if the ndo_rx_flow_steer operation is defined}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``index_hlist`` Device index hash chain h](j)}(h``index_hlist``h]j)}(hjh]h index_hlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hDevice index hash chainh]hDevice index hash chain}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hJ``num_tx_queues`` Number of TX queues allocated at alloc_netdev_mq() time h](j)}(h``num_tx_queues``h]j)}(hj5h]h num_tx_queues}(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)}(h7Number of TX queues allocated at alloc_netdev_mq() timeh]h7Number of TX queues allocated at alloc_netdev_mq() time}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubj)}(h2``qdisc`` Root qdisc from userspace point of view h](j)}(h ``qdisc``h]j)}(hjnh]hqdisc}(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'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&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(h2``tx_global_lock`` XXX: need comments on this one h](j)}(h``tx_global_lock``h]j)}(hjh]htx_global_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``xdp_bulkq`` XDP device bulk queue h](j)}(h ``xdp_bulkq``h]j)}(hjh]h xdp_bulkq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXDP device bulk queueh]hXDP device bulk queue}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(h ``qdisc_hash`` qdisc hash table h](j)}(h``qdisc_hash``h]j)}(hjRh]h qdisc_hash}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLubj)}(hhh]jX)}(hqdisc hash tableh]hqdisc hash table}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubj)}(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&]uh1jhjhMhjubj)}(h\``watchdog_timeo`` Represents the timeout that is used by the watchdog (see dev_watchdog()) h](j)}(h``watchdog_timeo``h]j)}(hjh]hwatchdog_timeo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hHRepresents the timeout that is used by the watchdog (see dev_watchdog())h]hHRepresents the timeout that is used by the watchdog (see dev_watchdog())}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``proto_down_reason`` reason a netdev interface is held down h](j)}(h``proto_down_reason``h]j)}(hjh]hproto_down_reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h&reason a netdev interface is held downh]h&reason a netdev interface is held down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``todo_list`` Delayed register/unregister h](j)}(h ``todo_list``h]j)}(hj7h]h todo_list}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj1ubj)}(hhh]jX)}(hDelayed register/unregisterh]hDelayed register/unregister}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubj)}(h4``pcpu_refcnt`` Number of references to this device h](j)}(h``pcpu_refcnt``h]j)}(hjph]h pcpu_refcnt}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjjubj)}(hhh]jX)}(h#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&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``dev_refcnt`` Number of references to this device h](j)}(h``dev_refcnt``h]j)}(hjh]h dev_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&]uh1jhjhMhjubj)}(hK``refcnt_tracker`` Tracker directory for tracked references to this device h](j)}(h``refcnt_tracker``h]j)}(hjh]hrefcnt_tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h7Tracker directory for tracked references to this deviceh]h7Tracker directory for tracked references to this device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``link_watch_list`` XXX: need comments on this one h](j)}(h``link_watch_list``h]j)}(hjh]hlink_watch_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubj)}(h0``reg_state`` Register/unregister state machine h](j)}(h ``reg_state``h]j)}(hjTh]h reg_state}(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!Register/unregister state machineh]h!Register/unregister state machine}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubj)}(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&]uh1jhjhMhjubj)}(h>``moving_ns`` device is changing netns, protected by **lock** h](j)}(h ``moving_ns``h]j)}(hjh]h moving_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMI hjubj)}(hhh]jX)}(h/device is changing netns, protected by **lock**h](h'device is changing netns, protected by }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMI hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMI hjubj)}(hA``rtnl_link_initializing`` Device being created, suppress events h](j)}(h``rtnl_link_initializing``h]j)}(hj h]hrtnl_link_initializing}(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.hhMK hjubj)}(hhh]jX)}(h%Device being created, suppress eventsh]h%Device being created, suppress events}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj"hMK hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMK hjubj)}(h=``needs_free_netdev`` Should unregister perform free_netdev? h](j)}(h``needs_free_netdev``h]j)}(hjFh]hneeds_free_netdev}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubj)}(hhh]jX)}(h&Should unregister perform free_netdev?h]h&Should unregister perform free_netdev?}(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+``priv_destructor`` Called from unregister h](j)}(h``priv_destructor``h]j)}(hjh]hpriv_destructor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjyubj)}(hhh]jX)}(hCalled from unregisterh]hCalled from unregister}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``ml_priv`` Mid-layer private h](j)}(h ``ml_priv``h]j)}(hjh]hml_priv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hMid-layer privateh]hMid-layer private}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``ml_priv_type`` Mid-layer private type h](j)}(h``ml_priv_type``h]j)}(hjh]h ml_priv_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hMid-layer private typeh]hMid-layer private type}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``pcpu_stat_type`` Type of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally. h](j)}(h``pcpu_stat_type``h]j)}(hj*h]hpcpu_stat_type}(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)}(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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjubj)}(h``garp_port`` GARP h](j)}(h ``garp_port``h]j)}(hjdh]h garp_port}(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)}(hGARPh]hGARP}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjubj)}(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&]uh1jhjhMhjubj)}(h$``dm_private`` Drop monitor private h](j)}(h``dm_private``h]j)}(hjh]h dm_private}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hDrop monitor privateh]hDrop monitor private}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``dev`` Class/net/name entry h](j)}(h``dev``h]j)}(hjh]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jX)}(hClass/net/name entryh]hClass/net/name entry}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhjubj)}(hQ``sysfs_groups`` Space for optional device, statistics and wireless sysfs groups h](j)}(h``sysfs_groups``h]j)}(hjHh]h sysfs_groups}(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.hhMhjBubj)}(hhh]jX)}(h?Space for optional device, statistics and wireless sysfs groupsh]h?Space for optional device, statistics and wireless sysfs groups}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjubj)}(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.hhMhj|ubj)}(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&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``rtnl_link_ops`` Rtnl_link_ops h](j)}(h``rtnl_link_ops``h]j)}(hjh]h rtnl_link_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h Rtnl_link_opsh]h Rtnl_link_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``stat_ops`` Optional ops for queue-aware statistics h](j)}(h ``stat_ops``h]j)}(hjh]hstat_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h'Optional ops for queue-aware statisticsh]h'Optional ops for queue-aware statistics}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h5``queue_mgmt_ops`` Optional ops for queue management h](j)}(h``queue_mgmt_ops``h]j)}(hj-h]hqueue_mgmt_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.hhMhj'ubj)}(hhh]jX)}(h!Optional ops for queue managementh]h!Optional ops for queue management}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjubj)}(hE``tso_max_size`` Device (as in HW) limit on the max TSO request size h](j)}(h``tso_max_size``h]j)}(hjfh]h tso_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)}(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&]uh1jWhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjubj)}(hF``tso_max_segs`` Device (as in HW) limit on the max TSO segment count h](j)}(h``tso_max_segs``h]j)}(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&]uh1jhjhMhjubj)}(h/``dcbnl_ops`` Data Center Bridging netlink ops h](j)}(h ``dcbnl_ops``h]j)}(hjh]h dcbnl_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h Data Center Bridging netlink opsh]h Data Center Bridging netlink ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``prio_tc_map`` XXX: need comments on this one h](j)}(h``prio_tc_map``h]j)}(hjh]h prio_tc_map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubj)}(h5``fcoe_ddp_xid`` Max exchange id for FCoE LRO by ddp h](j)}(h``fcoe_ddp_xid``h]j)}(hjJh]h fcoe_ddp_xid}(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#Max exchange id for FCoE LRO by ddph]h#Max exchange id for FCoE LRO by ddp}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjubj)}(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.hhMhj}ubj)}(hhh]jX)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h<``link_topo`` Physical link topology tracking attached PHYs h](j)}(h ``link_topo``h]j)}(hjh]h link_topo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h-Physical link topology tracking attached PHYsh]h-Physical link topology tracking attached PHYs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``phydev`` Physical device may attach itself for hardware timestamping h](j)}(h ``phydev``h]j)}(hjh]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h;Physical device may attach itself for hardware timestampingh]h;Physical device may attach itself for hardware timestamping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hC``sfp_bus`` attached :c:type:`struct sfp_bus ` structure. h](j)}(h ``sfp_bus``h]j)}(hj/h]hsfp_bus}(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.hhMhj)ubj)}(hhh]jX)}(h6attached :c:type:`struct sfp_bus ` structure.h](h attached }(hjHhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjRh]hstruct sfp_bus}(hjThhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjDhMhjHubh structure.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjubj)}(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&]uh1jhjhMhjubj)}(h``proto_down`` protocol port state information can be sent to the switch driver and used to set the phys state of the switch port. h](j)}(h``proto_down``h]j)}(hjh]h proto_down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hsprotocol port state information can be sent to the switch driver and used to set the phys state of the switch port.h]hsprotocol port state information can be sent to the switch driver and used to set the phys state of the switch port.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``irq_affinity_auto`` driver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()). h](j)}(h``irq_affinity_auto``h]j)}(hjh]hirq_affinity_auto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hdriver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()).h]hdriver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hl``rx_cpu_rmap_auto`` driver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap(). h](j)}(h``rx_cpu_rmap_auto``h]j)}(hj8h]hrx_cpu_rmap_auto}(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.hhMhj2ubj)}(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().}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubj)}(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)}(hjrh]hsee_all_hwtstamp_requests}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjlubj)}(hhh]jX)}(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&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hJ``change_proto_down`` device supports setting carrier via IFLA_PROTO_DOWN h](j)}(h``change_proto_down``h]j)}(hjh]hchange_proto_down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h3device supports setting carrier via IFLA_PROTO_DOWNh]h3device supports setting carrier via IFLA_PROTO_DOWN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h>``netns_immutable`` interface can't change network namespaces h](j)}(h``netns_immutable``h]j)}(hjh]hnetns_immutable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h)interface can't change network namespacesh]h+interface can’t change network namespaces}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``fcoe_mtu`` device supports maximum FCoE MTU, 2158 bytes h](j)}(h ``fcoe_mtu``h]j)}(hjh]hfcoe_mtu}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h,device supports maximum FCoE MTU, 2158 bytesh]h,device supports maximum FCoE MTU, 2158 bytes}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(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)}(hjWh]hnet_notifier_list}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjQubj)}(hhh]jX)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(h%``macsec_ops`` MACsec offloading ops h](j)}(h``macsec_ops``h]j)}(hjh]h macsec_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hMACsec offloading opsh]hMACsec offloading ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hf``udp_tunnel_nic_info`` static structure describing the UDP tunnel offload capabilities of the device h](j)}(h``udp_tunnel_nic_info``h]j)}(hjh]hudp_tunnel_nic_info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hMstatic structure describing the UDP tunnel offload capabilities of the deviceh]hMstatic structure describing the UDP tunnel offload capabilities of the device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``udp_tunnel_nic`` UDP tunnel offload state h](j)}(h``udp_tunnel_nic``h]j)}(hjh]hudp_tunnel_nic}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hUDP tunnel offload stateh]hUDP tunnel offload state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``cfg`` net_device queue-related configuration h](j)}(h``cfg``h]j)}(hj=h]hcfg}(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 hj7ubj)}(hhh]jX)}(h&net_device queue-related configurationh]h&net_device queue-related configuration}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhM hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM hjubj)}(h``cfg_pending`` same as **cfg** but when device is being actively reconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected. h](j)}(h``cfg_pending``h]j)}(hjvh]h cfg_pending}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjpubj)}(hhh]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&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h"``ethtool`` ethtool related state h](j)}(h ``ethtool``h]j)}(hjh]hethtool}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hethtool related stateh]hethtool related state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``xdp_state`` stores info on attached XDP BPF programs h](j)}(h ``xdp_state``h]j)}(hj%h]h xdp_state}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h(stores info on attached XDP BPF programsh]h(stores info on attached XDP BPF programs}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(hA``dev_addr_shadow`` Copy of **dev_addr** to catch direct writes. h](j)}(h``dev_addr_shadow``h]j)}(hj^h]hdev_addr_shadow}(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 hjXubj)}(hhh]jX)}(h,Copy of **dev_addr** to catch direct writes.h](hCopy of }(hjwhhhNhNubj)}(h **dev_addr**h]hdev_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh to catch direct writes.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjshM hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM hjubj)}(h>``linkwatch_dev_tracker`` refcount tracker used by linkwatch. h](j)}(h``linkwatch_dev_tracker``h]j)}(hjh]hlinkwatch_dev_tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h#refcount tracker used by linkwatch.h]h#refcount tracker used by linkwatch.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h<``watchdog_dev_tracker`` refcount tracker used by watchdog. h](j)}(h``watchdog_dev_tracker``h]j)}(hjh]hwatchdog_dev_tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h"refcount tracker used by watchdog.h]h"refcount tracker used by watchdog.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hG``dev_registered_tracker`` tracker for reference held while registered h](j)}(h``dev_registered_tracker``h]j)}(hjh]hdev_registered_tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h+tracker for reference held while registeredh]h+tracker for reference held while registered}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubj)}(h6``offload_xstats_l3`` L3 HW stats for this netdevice. h](j)}(h``offload_xstats_l3``h]j)}(hjUh]hoffload_xstats_l3}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjOubj)}(hhh]jX)}(hL3 HW stats for this netdevice.h]hL3 HW stats for this netdevice.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubj)}(h``devlink_port`` Pointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered. h](j)}(h``devlink_port``h]j)}(hjh]h devlink_port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hPointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered.h]hPointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h```dpll_pin`` Pointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered. h](j)}(h ``dpll_pin``h]j)}(hjh]hdpll_pin}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(hRPointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered.h]hRPointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``page_pools`` page pools created for this netdevice h](j)}(h``page_pools``h]j)}(hjh]h page_pools}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h%page pools created for this netdeviceh]h%page pools created for this netdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h@``irq_moder`` dim parameters used if IS_ENABLED(CONFIG_DIMLIB). h](j)}(h ``irq_moder``h]j)}(hj;h]h irq_moder}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj5ubj)}(hhh]jX)}(h1dim parameters used if IS_ENABLED(CONFIG_DIMLIB).h]h1dim parameters used if IS_ENABLED(CONFIG_DIMLIB).}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhM hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhM hjubj)}(h@``max_pacing_offload_horizon`` max EDT offload horizon in nsec. h](j)}(h``max_pacing_offload_horizon``h]j)}(hjth]hmax_pacing_offload_horizon}(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 max EDT offload horizon in nsec.h]h max EDT offload horizon in nsec.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hQ``napi_config`` An array of napi_config structures containing per-NAPI settings. h](j)}(h``napi_config``h]j)}(hjh]h napi_config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h@An array of napi_config structures containing per-NAPI settings.h]h@An array of napi_config structures containing per-NAPI settings.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hjh]hnum_napi_configs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(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).}(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)}(hq``napi_defer_hard_irqs`` If not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues. h](j)}(h``napi_defer_hard_irqs``h]j)}(hj!h]hnapi_defer_hard_irqs}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(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.}(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&]uh1jhj6hM hjubj)}(h4``gro_flush_timeout`` timeout for GRO layer in NAPI h](j)}(h``gro_flush_timeout``h]j)}(hj[h]hgro_flush_timeout}(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)}(htimeout for GRO layer in NAPIh]htimeout for GRO layer in NAPI}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(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}(hjhhhNhNubah}(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 (}(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, does not protect .ndo_open, or .ndo_close).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hh``request_ops_lock`` request the core to run all **netdev_ops** and **ethtool_ops** under the **lock**. h](j)}(h``request_ops_lock``h]j)}(hj.h]hrequest_ops_lock}(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.hhM hj(ubj)}(hhh]jX)}(hRrequest the core to run all **netdev_ops** and **ethtool_ops** under the **lock**.h](hrequest the core to run all }(hjGhhhNhNubj)}(h**netdev_ops**h]h netdev_ops}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh and }(hjGhhhNhNubj)}(h**ethtool_ops**h]h ethtool_ops}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh under the }(hjGhhhNhNubj)}(h**lock**h]hlock}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChM hjubj)}(hXL``lock`` netdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection. For the drivers that implement shaper or queue API, the scope of this lock is expanded to cover most ndo/queue/ethtool/sysfs operations. Drivers may opt-in to this behavior by setting **request_ops_lock**. **lock** protection mixes with rtnl_lock in multiple ways, fields are either: - simply protected by the instance **lock**; - double protected - writers hold both locks, readers hold either; - ops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock; - double ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock. Simply protects: **gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded** Double protects: **up**, **moving_ns**, **nd_net**, **xdp_features** Double ops protects: **real_num_rx_queues**, **real_num_tx_queues** Also protects some fields in: struct napi_struct, struct netdev_queue, struct netdev_rx_queue Ordering: take after rtnl_lock. h](j)}(h``lock``h]j)}(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 }(hjhhhNhNubj)}(h**request_ops_lock**h]hrequest_ops_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(hM**lock** protection mixes with rtnl_lock in multiple ways, fields are either:h](j)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE protection mixes with rtnl_lock in multiple ways, fields are either:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj&:)}(hhh](j+:)}(h+simply protected by the instance **lock**; h]jX)}(h*simply protected by the instance **lock**;h](h!simply protected by the instance }(hj hhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(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 hjubah}(h]h ]h"]h$]h&]uh1j*:hjubj+:)}(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;}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj2ubah}(h]h ]h"]h$]h&]uh1j*:hjubj+:)}(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;}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjKubah}(h]h ]h"]h$]h&]uh1j*:hjubj+:)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjdubah}(h]h ]h"]h$]h&]uh1j*:hjubeh}(h]h ]h"]h$]h&]j:juh1j%:hj+hM 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**net_shaper_hierarchy**h]hnet_shaper_hierarchy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **reg_state**h]h reg_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **threaded**h]hthreaded}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hEDouble protects: **up**, **moving_ns**, **nd_net**, **xdp_features** h](j)}(hDouble protects:h]hDouble protects:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h3**up**, **moving_ns**, **nd_net**, **xdp_features**h](j)}(h**up**h]hup}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh, }(hj1hhhNhNubj)}(h **moving_ns**h]h moving_ns}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh, }hj1sbj)}(h **nd_net**h]hnd_net}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh, }hj1sbj)}(h**xdp_features**h]h xdp_features}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jWhj-hM hj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hM 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:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(h?struct napi_struct, struct netdev_queue, struct netdev_rx_queueh]h?struct napi_struct, struct netdev_queue, struct netdev_rx_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(hOrdering: take after rtnl_lock.h]hOrdering: take after rtnl_lock.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h```net_shaper_hierarchy`` data tracking the current shaper status see include/net/net_shapers.h h](j)}(h``net_shaper_hierarchy``h]j)}(hj-h]hnet_shaper_hierarchy}(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]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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBhM hjIubj)}(hhh]jX)}(hsee include/net/net_shapers.hh]hsee include/net/net_shapers.h}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM hj[ubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjFubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjubj)}(hb``neighbours`` List heads pointing to this device's neighbours' dev_list, one per address-family. h](j)}(h``neighbours``h]j)}(hjh]h neighbours}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM#hjubj)}(hhh]jX)}(hRList heads pointing to this device's neighbours' dev_list, one per address-family.h]hVList heads pointing to this device’s neighbours’ dev_list, one per address-family.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(hD``hwprov`` Tracks which PTP performs hardware packet time stamping. h](j)}(h ``hwprov``h]j)}(hjh]hhwprov}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$hjubj)}(hhh]jX)}(h8Tracks which PTP performs hardware packet time stamping.h]h8Tracks which PTP performs hardware packet time stamping.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubj)}(h/``priv`` Flexible array containing private datah](j)}(h``priv``h]j)}(hjh]hpriv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;hjubj)}(hhh]jX)}(h&Flexible array containing private datah]h&Flexible array containing private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj֒hhhNhNubjX)}(h**Description**h]j)}(hjFh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM?hj֒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.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj\ubjX)}(hinterface address info:h]hinterface address info:}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj\ubjX)}(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.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj\ubeh}(h]h ]h"]h$]h&]uh1j hjnhMhj֒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}(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;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhM ubj)}(h netdev_privh]j%)}(h netdev_privh]h netdev_priv}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j')}jjsb c.netdev_privasbuh1hhjubj)}(h h]h }(hjOhhhNhNubah}(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=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"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&]jvjqjwjjxjjyjzj{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)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(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}(hj&hhhNhNubah}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjchM ubj)}(hnetif_napi_addh]j%)}(hnetif_napi_addh]hnetif_napi_add}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjchM 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 reftargetjmodnameN classnameNjj!)}j$]j')}jjxsbc.netif_napi_addasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct napi_struct *napih](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]jc.netif_napi_addasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnapih]hnapi}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h%int (*poll)(struct napi_struct*, int)h](j)}(hinth]hint}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hpollh]hpoll}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(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_addasbuh1hhjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj;)}(hj5Vh]h,}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj;)}(hjh]h)}(hjDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhjchM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMhhhjchM ubah}(h]jHah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjchM hjJhhubjS)}(hhh]jX)}(hinitialize a NAPI contexth]hinitialize a NAPI context}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjjhhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhjchM 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)}(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)}(hj h]h&int (*poll)(struct napi_struct *, int)}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hpolling functionh]hpolling function}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hM hj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj[h]h Description}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjX)}(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 }(hjqhhhNhNubjz)}(h*any*h]hany}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jzhjqubh% of the other NAPI-related functions.}(hjqhhhNhNubeh}(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&]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_configh]j%)}(hnetif_napi_add_configh]hnetif_napi_add_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(hd(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int), int index)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_napi_add_configasbuh1hhjubj)}(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)}(hstruct napi_struct *napih](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 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_add_configasbuh1hhj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]ubj%)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h%int (*poll)(struct napi_struct*, int)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpollh]hpoll}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h(}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubh)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]j)c.netif_napi_add_configasbuh1hhjubj;)}(hj>h]h*}(hjkhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hj5Vh]h,}(hjxhhhNhNubah}(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=uh1jhjubj)}(h int indexh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hindexh]hindex}(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)}(h0initialize a NAPI context with persistent configh]h0initialize a NAPI context with persistent config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM! hjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj@h]hstruct net_device *dev}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj:ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhM hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhM hj7ubj)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hjyh]hstruct napi_struct *napi}(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.hhM hjsubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhM hj7ubj)}(h<``int (*poll)(struct napi_struct *, int)`` polling function h](j)}(h*``int (*poll)(struct napi_struct *, int)``h]j)}(hjh]h&int (*poll)(struct napi_struct *, int)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jX)}(hpolling functionh]hpolling function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj7ubj)}(h``int index`` the NAPI indexh](j)}(h ``int index``h]j)}(hjh]h int index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM" hjubj)}(hhh]jX)}(hthe NAPI indexh]hthe NAPI index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM! hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM" hj7ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM- ubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjShM- ubj)}(hnetif_napi_add_txh]j%)}(hnetif_napi_add_txh]hnetif_napi_add_tx}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjShM- 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&]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.netif_napi_add_txasbuh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(hstruct napi_struct *napih](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netif_napi_add_txasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnapih]hnapi}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(h%int (*poll)(struct napi_struct*, int)h](j)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj%)}(hpollh]hpoll}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj;)}(hjh]h(}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netif_napi_add_txasbuh1hhj`ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj;)}(hj5Vh]h,}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj)}(hinth]hint}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj;)}(hjh]h)}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubeh}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjShM- ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=hhhjShM- ubah}(h]j8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShM- hj:hhubjS)}(hhh]jX)}(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- hjZhhubah}(h]h ]h"]h$]h&]uh1jRhj:hhhjShM- ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{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)}(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 hjyubj)}(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 hjubeh}(h]h ]h"]h$]h&]uh1jhjyubjX)}(h**Description**h]j)}(hjKh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2 hjyubjX)}(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.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1 hjyubeh}(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}(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__netif_napi_delh]j%)}(h__netif_napi_delh]h__netif_napi_del}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM@ ubj)}(h(struct napi_struct *napi)h]j)}(hstruct napi_struct *napih](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__netif_napi_delasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hnapih]hnapi}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM@ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM@ ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM@ hjhhubjS)}(hhh]jX)}(hremove a NAPI contexth]hremove a NAPI context}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@ hjMhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM@ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{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)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMD hjlubj)}(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.hhMA hjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMA hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMA hjubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMC hjlubjX)}(hWarning: caller must observe RCU grace period before freeing memory containing **napi**. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.h](hOWarning: caller must observe RCU grace period before freeing memory containing }(hjhhhNhNubj)}(h**napi**h]hnapi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhg. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMB hjlubeh}(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&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMU ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj1hMU ubj)}(hnetif_napi_delh]j%)}(hnetif_napi_delh]hnetif_napi_del}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj1hMU 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 }(hjmhhhNhNubah}(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 reftargetjmodnameN classnameNjj!)}j$]j')}jjFsbc.netif_napi_delasbuh1hhj\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=uh1jhjXubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj1hMU ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj1hMU ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj1hMU hjhhubjS)}(hhh]jX)}(hremove a NAPI contexth]hremove a NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMU hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj1hMU ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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.hhMY hjubj)}(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.hhMV hjubj)}(hhh]jX)}(h NAPI contexth]h NAPI context}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMV hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMV hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj_h]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMX hjubj )}(hInetif_napi_del() removes a NAPI context from the network device NAPI listh]jX)}(hjwh]hInetif_napi_del() removes a NAPI context from the network device NAPI list}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMW hjuubah}(h]h ]h"]h$]h&]uh1j hjhMW hjubeh}(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}(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_start_queueh]j%)}(hnetif_start_queueh]hnetif_start_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 reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.netif_start_queueasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hallow transmith]hallow transmit}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(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)}(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&]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.hhMhjubj )}(h>Allow upper layers to call the device hard_start_xmit routine.h]jX)}(hjh]h>Allow upper layers to call the device hard_start_xmit routine.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1j hjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhjEhMubj)}(hnetif_wake_queueh]j%)}(hnetif_wake_queueh]hnetif_wake_queue}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhjEhMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(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')}jjZsbc.netif_wake_queueasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubah}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhjEhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj/hhhjEhMubah}(h]j*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjEhMhj,hhubjS)}(hhh]jX)}(hrestart transmith]hrestart 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&]uh1jRhj,hhhjEhMubeh}(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. Used for flow control when transmit resources are available.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj8h]hstruct net_device *dev}(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.hhMhj2ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjsh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj )}(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.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM6ubj)}(hnetif_stop_queueh]j%)}(hnetif_stop_queueh]hnetif_stop_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM6ubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_stop_queueasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM6ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM6ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM6hjhhubjS)}(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.hhM6hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM6ubeh}(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.hhM:hjubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubah}(h]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.hhM9hjubj )}(h|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.h]jX)}(h|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.h]h|Stop upper layers calling the device hard_start_xmit routine. Used for flow control when transmit resources are unavailable.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM8hjubah}(h]h ]h"]h$]h&]uh1j hj&hM8hjubeh}(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}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIhhhjZhMIubj)}(hnetif_queue_stoppedh]j%)}(hnetif_queue_stoppedh]hnetif_queue_stopped}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjIhhhjZhMIubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjosbc.netif_queue_stoppedasbuh1hhjubj)}(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=uh1jhjIhhhjZhMIubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjEhhhjZhMIubah}(h]j@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZhMIhjBhhubjS)}(hhh]jX)}(h%test if transmit queue is flowblockedh]h%test if transmit queue is flowblocked}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIhj$hhubah}(h]h ]h"]h$]h&]uh1jRhjBhhhjZhMIubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{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)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMMhjCubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjhh]hconst struct net_device *dev}(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.hhMJhjbubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hMJhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMJhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMLhjCubj )}(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.hhMKhjubah}(h]h ]h"]h$]h&]uh1j hjhMKhjCubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMeubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMeubj)}(hnetdev_queue_set_dql_min_limith]j%)}(hnetdev_queue_set_dql_min_limith]hnetdev_queue_set_dql_min_limit}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMeubj)}(h8(struct netdev_queue *dev_queue, unsigned int min_limit)h](j)}(hstruct netdev_queue *dev_queueh](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubh)}(hhh]j%)}(h netdev_queueh]h netdev_queue}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]j')}jjsb c.netdev_queue_set_dql_min_limitasbuh1hhj*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%)}(h dev_queueh]h dev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(hunsigned int min_limith](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h min_limith]h min_limit}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMeubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMeubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMehjhhubjS)}(hhh]jX)}(hset dql minimum limith]hset dql minimum limit}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMeubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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)}(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.hhMihj ubj)}(hhh](j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hjC h]hstruct netdev_queue *dev_queue}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMfhj= ubj)}(hhh]jX)}(hpointer to transmit queueh]hpointer to transmit queue}(hj\ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjX hMfhjY ubah}(h]h ]h"]h$]h&]uh1jhj= ubeh}(h]h ]h"]h$]h&]uh1jhjX hMfhj: ubj)}(h-``unsigned int min_limit`` dql minimum limit h](j)}(h``unsigned int min_limit``h]j)}(hj| h]hunsigned int min_limit}(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.hhMghjv ubj)}(hhh]jX)}(hdql minimum limith]hdql minimum limit}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMghj ubah}(h]h ]h"]h$]h&]uh1jhjv ubeh}(h]h ]h"]h$]h&]uh1jhj hMghj: 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.hhMihj 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}(hj hhhNhNubah}(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.hhMhhj 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}(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 netdev_txq_bql_enqueue_prefetchwh]j%)}(h netdev_txq_bql_enqueue_prefetchwh]h netdev_txq_bql_enqueue_prefetchw}(hj/ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(h (struct netdev_queue *dev_queue)h]j)}(hstruct netdev_queue *dev_queueh](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 netdev_queueh]h netdev_queue}(hji hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjk modnameN classnameNjj!)}j$]j')}jj1 sb"c.netdev_txq_bql_enqueue_prefetchwasbuh1hhjG 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%)}(h dev_queueh]h dev_queue}(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)}(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&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{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)}(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 netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj h]hstruct netdev_queue *dev_queue}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jX)}(hpointer to transmit queueh]hpointer to transmit 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 ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjJ h]h Description}(hjL hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubjX)}(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.}(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.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}(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!netdev_txq_bql_complete_prefetchwh]j%)}(h!netdev_txq_bql_complete_prefetchwh]h!netdev_txq_bql_complete_prefetchw}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h netdev_queueh]h netdev_queue}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jj sb#c.netdev_txq_bql_complete_prefetchwasbuh1hhj ubj)}(h h]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 dev_queueh]h dev_queue}(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)}(hprefetch bql data for writeh]hprefetch bql data for write}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjL hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjg jxjg jyjzj{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)}(hjq h]h Parameters}(hjs hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjk ubj)}(hhh]j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj h]hstruct netdev_queue *dev_queue}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jX)}(hpointer to transmit queueh]hpointer to transmit 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 ubah}(h]h ]h"]h$]h&]uh1jhjk ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjk ubjX)}(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.hhMhjk ubeh}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hMubj)}(hnetdev_tx_sent_queueh]j%)}(hnetdev_tx_sent_queueh]hnetdev_tx_sent_queue}(hj1 hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj- ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hMubj)}(h4(struct netdev_queue *dev_queue, unsigned int bytes)h](j)}(hstruct netdev_queue *dev_queueh](h)}(hjh]hstruct}(hjM hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjI ubj)}(h h]h }(hjZ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjI ubh)}(hhh]j%)}(h netdev_queueh]h netdev_queue}(hjk hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjm modnameN classnameNjj!)}j$]j')}jj3 sbc.netdev_tx_sent_queueasbuh1hhjI ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjI ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjI ubj%)}(h dev_queueh]h dev_queue}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjI ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjE 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=uh1jhjE 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)}(h5report the number of bytes queued to a given tx queueh]h5report the number of bytes queued to a given tx queue}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{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)}(hjCh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=ubj)}(hhh](j)}(h8``struct netdev_queue *dev_queue`` network device queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hjbh]hstruct netdev_queue *dev_queue}(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)}(hnetwork device queueh]hnetwork device queue}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjYubj)}(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&]uh1jhjhMhjYubeh}(h]h ]h"]h$]h&]uh1jhj=ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=ubj )}(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. }(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}(hj hhhNhNubah}(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 hj"hMhj=ubeh}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhjWhMubj)}(hnetdev_sent_queueh]j%)}(hnetdev_sent_queueh]hnetdev_sent_queue}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjEhhhjWhMubj)}(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')}jjlsbc.netdev_sent_queueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hunsigned int bytesh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hbytesh]hbytes}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjEhhhjWhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjWhMubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhMhj>hhubjS)}(hhh]jX)}(h-report the number of bytes queued to hardwareh]h-report the number of bytes queued to hardware}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjWhhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhjWhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjrjxjrjyjzj{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)}(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.hhMhjvubj)}(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)}(hjh]hunsigned int bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h3number of bytes queued to the hardware device queueh]h3number of bytes queued to the hardware device queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjvubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjvubj )}(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. }(hj)hhhNhNubj)}(h **bytes**h]hbytes}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubhR should be a good approximation and should exactly match netdev_completed_queue() }(hj)hhhNhNubj)}(h **bytes**h]hbytes}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubhB. This is typically called once per packet, from ndo_start_xmit().}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%ubah}(h]h ]h"]h$]h&]uh1j hj[hMhjvubeh}(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&]uh1jhj~hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~hhhjhMubj)}(hnetdev_tx_completed_queueh]j%)}(hnetdev_tx_completed_queueh]hnetdev_tx_completed_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhjhMubj)}(hG(struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes)h](j)}(hstruct netdev_queue *dev_queueh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h netdev_queueh]h netdev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netdev_tx_completed_queueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h dev_queueh]h dev_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int pktsh](j)}(hunsignedh]hunsigned}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj%)}(hpktsh]hpkts}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int bytesh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj%)}(hbytesh]hbytes}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj~hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjhMubah}(h]juah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjwhhubjS)}(hhh]jX)}(h0report number of packets/bytes at TX completion.h]h0report number of packets/bytes at TX completion.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjwhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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)}(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.hhMhjubj)}(hhh]jX)}(hnetwork device queueh]hnetwork device queue}(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 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.hhMhjXubj)}(hhh]jX)}(h%number of packets (currently ignored)h]h%number of packets (currently ignored)}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(hF``unsigned int bytes`` number of bytes dequeued from 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 dequeued from the device queueh]h.number of bytes dequeued from 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)}(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.hhMhjubj )}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1j hjhMhjubeh}(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&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj/hMubj)}(hnetdev_completed_queueh]j%)}(hnetdev_completed_queueh]hnetdev_completed_queue}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj/hMubj)}(h?(struct net_device *dev, unsigned int pkts, unsigned int bytes)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]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.netdev_completed_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=uh1jhjVubj)}(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=uh1jhjVubj)}(hunsigned int bytesh](j)}(hunsignedh]hunsigned}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hbytesh]hbytes}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj/hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj/hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj/hMhjhhubjS)}(hhh]jX)}(h,report bytes and packets completed by deviceh]h,report bytes and packets completed by device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj/hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(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)}(hD``unsigned int pkts`` actual number of packets sent over the medium h](j)}(h``unsigned int pkts``h]j)}(hjh]hunsigned int pkts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jX)}(h-actual number of packets sent over the mediumh]h-actual number of packets sent over the medium}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hC``unsigned int bytes`` actual number of bytes sent over the medium h](j)}(h``unsigned int bytes``h]j)}(hj6h]hunsigned int bytes}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubj)}(hhh]jX)}(h+actual number of bytes sent over the mediumh ]h+actual number of bytes sent over the medium}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjqh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj )}(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, }(hjhhhNhNubj)}(h **bytes**h]hbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must exactly match the }(hjhhhNhNubj)}(h **bytes**h]hbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% amount passed to netdev_sent_queue()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.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_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}(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_reset_subqueueh]j%)}(hnetdev_tx_reset_subqueueh]hnetdev_tx_reset_subqueue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM)ubj)}(h'(const struct net_device *dev, u32 qid)h](j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]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 }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj\modnameN classnameNjj!)}j$]j')}jjsbc.netdev_tx_reset_subqueueasbuh1hhjubj)}(h h]h }(hjzhhhNhNubah}(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)}(hu32 qidh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jvc.netdev_tx_reset_subqueueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hqidh]hqid}(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/reset the BQL stats and state of a netdev queueh]h/reset the BQL stats and state of a netdev queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM)ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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.hhM-hj#ubj)}(hhh](j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjHh]hconst struct net_device *dev}(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)}(hnetwork deviceh]hnetwork device}(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 qid`` stack index of the queue to reseth](j)}(h ``u32 qid``h]j)}(hjh]hu32 qid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM,hj{ubj)}(hhh]jX)}(h!stack index of the queue to reseth]h!stack index of the queue to reset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM,hj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj֒hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM4ubj)}(hnetdev_reset_queueh]j%)}(hnetdev_reset_queueh]hnetdev_reset_queue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM4ubj)}(h(struct net_device *dev_queue)h]j)}(hstruct net_device *dev_queueh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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')}jjsbc.netdev_reset_queueasbuh1hhjubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h dev_queueh]h dev_queue}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM4ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM4ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM4hjhhubjS)}(hhh]jX)}(h5reset the packets and bytes count of a network deviceh]h5reset the packets and bytes count of a network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM4ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM8hjubj)}(hhh]j)}(h0``struct net_device *dev_queue`` network device h](j)}(h ``struct net_device *dev_queue``h]j)}(hjh]hstruct net_device *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.hhM5hjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjubah}(h]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.hhM7hjubj )}(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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hj-ubah}(h]h ]h"]h$]h&]uh1j hj?hM6hjubeh}(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}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j')}jnetdev_cap_txqueuesbc.netdev_cap_txqueueasbuh1hhjbhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjhM@ubj)}(hnetdev_cap_txqueueh]j%)}(hjh]hnetdev_cap_txqueue}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbhhhjhM@ubj)}(h)(struct net_device *dev, u16 queue_index)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netdev_cap_txqueueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(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)}(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$]jc.netdev_cap_txqueueasbuh1hhj$ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(h queue_indexh]h queue_index}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjbhhhjhM@ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^hhhjhM@ubah}(h]jYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM@hj[hhubjS)}(hhh]jX)}(h0check if selected tx queue exceeds device queuesh]h0check if selected tx queue exceeds device queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@hj~hhubah}(h]h ]h"]h$]h&]uh1jRhj[hhhjhM@ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhjubj)}(hhh](j)}(h*``struct 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.hhMAhjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(h)``u16 queue_index`` given tx queue index h](j)}(h``u16 queue_index``h]j)}(hjh]hu16 queue_index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMBhjubj)}(hhh]jX)}(hgiven tx queue indexh]hgiven tx queue index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhjubj )}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMChjLubah}(h]h ]h"]h$]h&]uh1j hj^hMChjubeh}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMTubj)}(h netif_runningh]j%)}(h netif_runningh]h netif_running}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMTubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.netif_runningasbuh1hhjubj)}(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}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhjhMTubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMThjzhhubjS)}(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.hhMThj\hhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjhMTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{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)}(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.hhMXhj{ubj)}(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.hhMUhjubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjubah}(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.hhMWhj{ubj )}(h'Test if the device has been brought up.h]jX)}(hjh]h'Test if the device has been brought up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMVhjubah}(h]h ]h"]h$]h&]uh1j hjhMVhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj֒hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](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.hhMfubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%hhhj7hMfubj)}(hnetif_start_subqueueh]j%)}(hnetif_start_subqueueh]hnetif_start_subqueue}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj%hhhj7hMfubj)}(h)(struct net_device *dev, u16 queue_index)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjLsbc.netif_start_subqueueasbuh1hhjbubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubj)}(hu16 queue_indexh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.netif_start_subqueueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h queue_indexh]h queue_index}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj%hhhj7hMfubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj!hhhj7hMfubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hMfhjhhubjS)}(hhh]jX)}(h!allow sending packets on subqueueh]h!allow sending packets on subqueue}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMfhj.hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj7hMfubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjIjxjIjyjzj{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)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMjhjMubj)}(hhh](j)}(h*``struct net_device *dev`` network 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMghjlubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMghjiubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjh]hu16 queue_index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhjubj)}(hhh]jX)}(hsub queue indexh]hsub queue index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjiubeh}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMjhjMubjX)}(hJStart individual transmit queue of a device with multiple transmit queues.h]hJStart individual transmit queue of a device with multiple transmit queues.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMihjMubeh}(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.hhMtubj)}(h h]h }(hj: hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj' hhhj9 hMtubj)}(hnetif_stop_subqueueh]j%)}(hnetif_stop_subqueueh]hnetif_stop_subqueue}(hjL hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj' hhhj9 hMtubj)}(h)(struct net_device *dev, u16 queue_index)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjh hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjd ubj)}(h h]h }(hju hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd ubh)}(hhh]j%)}(h 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')}jjN sbc.netif_stop_subqueueasbuh1hhjd ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjd ubj%)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjd ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj` ubj)}(hu16 queue_indexh](h)}(hhh]j%)}(hu16h]hu16}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j c.netif_stop_subqueueasbuh1hhj 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' hhhj9 hMtubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj# hhhj9 hMtubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9 hMthj hhubjS)}(hhh]jX)}(h stop sending packets on subqueueh]h stop sending packets on subqueue}(hj3!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMthj0!hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj9 hMtubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjK!jxjK!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)}(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:104: ./include/linux/netdevice.hhMxhjO!ubj)}(hhh](j)}(h*``struct net_device *dev`` network 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjn!ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMuhj!ubah}(h]h ]h"]h$]h&]uh1jhjn!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMuhjk!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.hhMvhj!ubj)}(hhh]jX)}(hsub queue indexh]hsub queue index}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMvhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMvhjk!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:104: ./include/linux/netdevice.hhMxhjO!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.hhMwhjO!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}(hjM"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjI"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}(hji"hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhje"ubj)}(h h]h }(hjv"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hje"ubh)}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhje"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hje"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')}jjO"sbc.__netif_subqueue_stoppedasbuh1hhje"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)}(hu16 queue_indexh](h)}(hhh]j%)}(hu16h]hu16}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]j"c.__netif_subqueue_stoppedasbuh1hhj"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=uh1jhja"ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj)"hhhj:"hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%"hhhj:"hMubah}(h]j "ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj:"hMhj""hhubjS)}(hhh]jX)}(htest status of subqueueh]htest status of subqueue}(hjO#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjL#hhubah}(h]h ]h"]h$]h&]uh1jRhj""hhhj:"hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjg#jxjg#jyjzj{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)}(hjq#h]h Parameters}(hjs#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo#ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjk#ubj)}(hhh](j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj#h]hconst struct net_device *dev}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj#ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj#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&]uh1jhjk#ubjX)}(h**Description**h]j)}(hj$h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjk#ubjX)}(hJCheck individual transmit queue of a device with multiple transmit queues.h]hJCheck 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.hhMhjk#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)}(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}(hjI$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE$hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjW$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjE$hhhjV$hMubj)}(hnetif_subqueue_stoppedh]j%)}(hnetif_subqueue_stoppedh]hnetif_subqueue_stopped}(hji$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hje$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjE$hhhjV$hMubj)}(h3(const struct net_device *dev, struct sk_buff *skb)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')}jjk$sbc.netif_subqueue_stoppedasbuh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$ubj%)}(hdevh]hdev}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}$ubj)}(hstruct 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}(hj0%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2%modnameN classnameNjj!)}j$]j$c.netif_subqueue_stoppedasbuh1hhj%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}$ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjE$hhhjV$hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjA$hhhjV$hMubah}(h]j<$ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjV$hMhj>$hhubjS)}(hhh]jX)}(htest status of subqueueh]htest status of 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>$hhhjV$hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%jxj%jyjzj{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)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%ubj)}(hhh](j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj%h]hconst struct net_device *dev}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj%ubj)}(h1``struct sk_buff *skb`` sub queue buffer pointer 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj&ubj)}(hhh]jX)}(hsub queue buffer pointerh]hsub queue buffer 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%ubeh}(h]h ]h"]h$]h&]uh1jhj%ubjX)}(h**Description**h]j)}(hjH&h]h Description}(hjJ&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF&ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%ubjX)}(hJCheck individual transmit queue of a device with multiple transmit queues.h]hJCheck 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_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}(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_wake_subqueueh]j%)}(hnetif_wake_subqueueh]hnetif_wake_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_wake_subqueueasbuh1hhj&ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hj'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hdevh]hdev}(hj#'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(hu16 queue_indexh](h)}(hhh]j%)}(hu16h]hu16}(hj?'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjA'modnameN classnameNjj!)}j$]j'c.netif_wake_subqueueasbuh1hhj8'ubj)}(h h]h }(hj]'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8'ubj%)}(h queue_indexh]h queue_index}(hjk'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj&hhhj&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** Resume individual transmit queue of a device with multiple transmit queues.h](jX)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.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)}(hjJ(h]h Description}(hjL(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH(ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj'ubjX)}(hKResume individual transmit queue of a device with multiple transmit queues.h]hKResume 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_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}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(hhhj(hMubj)}(hnetif_attr_test_maskh]j%)}(hnetif_attr_test_maskh]hnetif_attr_test_mask}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj(hhhj(hMubj)}(hB(unsigned long j, const unsigned long *mask, unsigned int nr_bits)h](j)}(hunsigned long jh](j)}(hunsignedh]hunsigned}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj)}(hlongh]hlong}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj%)}(hjh]hj}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj(ubj)}(hconst unsigned long *maskh](h)}(hjh]hconst}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)ubj)}(h h]h }(hj))hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj)}(hunsignedh]hunsigned}(hj7)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj)}(h h]h }(hjE)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj)}(hlongh]hlong}(hjS)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)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%)}(hmaskh]hmask}(hj|)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj(ubj)}(hunsigned int nr_bitsh](j)}(hunsignedh]hunsigned}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj)}(hinth]hint}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj%)}(hnr_bitsh]hnr_bits}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj(ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj(hhhj(hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj(hhhj(hMubah}(h]j(ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj(hMhj(hhubjS)}(hhh]jX)}(h$Test a CPU or Rx queue set in a maskh]h$Test a CPU or Rx queue set in a mask}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj)hhubah}(h]h ]h"]h$]h&]uh1jRhj(hhhj(hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{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)}(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)}(hj8*h]hunsigned long j}(hj:*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2*ubj)}(hhh]jX)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hjQ*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjM*hMhjN*ubah}(h]h ]h"]h$]h&]uh1jhj2*ubeh}(h]h ]h"]h$]h&]uh1jhjM*hMhj/*ubj)}(h<``const unsigned long *mask`` bitmask of all cpus/rx queues h](j)}(h``const unsigned long *mask``h]j)}(hjq*h]hconst unsigned long *mask}(hjs*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjk*ubj)}(hhh]jX)}(hbitmask of all cpus/rx queuesh]hbitmask of all cpus/rx queues}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjk*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj/*ubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hj*h]hunsigned int nr_bits}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj*ubj)}(hhh]jX)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj/*ubeh}(h]h ]h"]h$]h&]uh1jhj*ubjX)}(h**Description**h]j)}(hj*h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj*ubjX)}(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.}(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_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}(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 }(hj8+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&+hhhj7+hMubj)}(hnetif_attr_test_onlineh]j%)}(hnetif_attr_test_onlineh]hnetif_attr_test_online}(hjJ+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjF+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj&+hhhj7+hMubj)}(hI(unsigned long j, const unsigned long *online_mask, unsigned int nr_bits)h](j)}(hunsigned long jh](j)}(hunsignedh]hunsigned}(hjf+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb+ubj)}(h h]h }(hjt+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb+ubj)}(hlongh]hlong}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjb+ubj%)}(hj)h]hj}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjb+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^+ubj)}(h const unsigned long *online_maskh](h)}(hjh]hconst}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj)}(hunsignedh]hunsigned}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj)}(h h]h }(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 online_maskh]h online_mask}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^+ubj)}(hunsigned int nr_bitsh](j)}(hunsignedh]hunsigned}(hj/,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+,ubj)}(h h]h }(hj=,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+,ubj)}(hinth]hint}(hjK,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+,ubj)}(h h]h }(hjY,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+,ubj%)}(hnr_bitsh]hnr_bits}(hjg,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj^+ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj&+hhhj7+hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj"+hhhj7+hMubah}(h]j+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7+hMhj+hhubjS)}(hhh]jX)}(hTest for online CPU/Rx queueh]hTest for online CPU/Rx queue}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj,hhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhj7+hMubeh}(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)}(hj,h]hunsigned long j}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj,ubj)}(hhh]jX)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj,ubj)}(hP``const unsigned long *online_mask`` bitmask for CPUs/Rx queues that are online h](j)}(h$``const unsigned long *online_mask``h]j)}(hj -h]h const unsigned long *online_mask}(hj -hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj -ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj-ubj)}(hhh]jX)}(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&]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)}(hjD-h]hunsigned int nr_bits}(hjF-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB-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&]uh1jWhjY-hMhjZ-ubah}(h]h ]h"]h$]h&]uh1jhj>-ubeh}(h]h ]h"]h$]h&]uh1jhjY-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 }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj-hMubj)}(hinth]hint}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhj-hMubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj-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-hhhj-hMubj)}(h8(int n, const unsigned long *srcp, unsigned int nr_bits)h](j)}(hint nh](j)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj+.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj%)}(hj0h]hn}(hj9.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hconst unsigned long *srcph](h)}(hjh]hconst}(hjQ.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjM.ubj)}(h h]h }(hj^.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjM.ubj)}(hunsignedh]hunsigned}(hjl.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM.ubj)}(h h]h }(hjz.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjM.ubj)}(hlongh]hlong}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjM.ubj;)}(hj>h]h*}(hj.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjM.ubj%)}(hsrcph]hsrcp}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjM.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hunsigned int nr_bitsh](j)}(hunsignedh]hunsigned}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj%)}(hnr_bitsh]hnr_bits}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj-hhhj-hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-hhhj-hMubah}(h]j-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-hMhj-hhubjS)}(hhh]jX)}(h1get the next CPU/Rx queue in a cpu/Rx queues maskh]h1get the next CPU/Rx queue in a cpu/Rx queues mask}(hj,/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj)/hhubah}(h]h ]h"]h$]h&]uh1jRhj-hhhj-hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjD/jxjD/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)}(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:104: ./include/linux/netdevice.hhMhjH/ubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hjm/h]hint n}(hjo/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjg/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&]uh1jhjg/ubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjd/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/hMhjd/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/hMhjd/ubeh}(h]h ]h"]h$]h&]uh1jhjH/ubjX)}(h **Return**h]j)}(hj0h]hReturn}(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.hhMhjH/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.}(hj00hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjH/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_0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[0hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjn0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[0hhhjm0hMubj)}(hnetif_attrmask_next_andh]j%)}(hnetif_attrmask_next_andh]hnetif_attrmask_next_and}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|0ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[0hhhjm0hMubj)}(hU(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h](j)}(hint nh](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj%)}(hj0h]hn}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(hconst unsigned long *src1ph](h)}(hjh]hconst}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj)}(hunsignedh]hunsigned}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj)}(hlongh]hlong}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hj#1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hsrc1ph]hsrc1p}(hj01hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(hconst unsigned long *src2ph](h)}(hjh]hconst}(hjI1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjE1ubj)}(h h]h }(hjV1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjE1ubj)}(hunsignedh]hunsigned}(hjd1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE1ubj)}(h h]h }(hjr1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjE1ubj)}(hlongh]hlong}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjE1ubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjE1ubj%)}(hsrc2ph]hsrc2p}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjE1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubj)}(hunsigned int nr_bitsh](j)}(hunsignedh]hunsigned}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(hinth]hint}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj%)}(hnr_bitsh]hnr_bits}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj0ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj[0hhhjm0hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjW0hhhjm0hMubah}(h]jR0ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjm0hMhjT0hhubjS)}(hhh]jX)}(h.get the next CPU/Rx queue in \*src1p & \*src2ph]h.get the next CPU/Rx queue in *src1p & *src2p}(hj$2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj!2hhubah}(h]h ]h"]h$]h&]uh1jRhjT0hhhjm0hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<2jxj<2jyjzj{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)}(hjF2h]h Parameters}(hjH2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD2ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@2ubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hje2h]hint n}(hjg2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj_2ubj)}(hhh]jX)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hj~2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjz2hMhj{2ubah}(h]h ]h"]h$]h&]uh1jhj_2ubeh}(h]h ]h"]h$]h&]uh1jhjz2hMhj\2ubj)}(hE``const unsigned long *src1p`` the first CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src1p``h]j)}(hj2h]hconst unsigned long *src1p}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2ubj)}(hhh]jX)}(h%the first CPUs/Rx queues mask pointerh]h%the first CPUs/Rx queues mask pointer}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj\2ubj)}(hF``const unsigned long *src2p`` the second CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src2p``h]j)}(hj2h]hconst unsigned long *src2p}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2ubj)}(hhh]jX)}(h&the second CPUs/Rx queues mask pointerh]h&the second CPUs/Rx queues mask pointer}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj\2ubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hj3h]hunsigned int nr_bits}(hj3hhhNhNubah}(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 3ubj)}(hhh]jX)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hj)3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%3hMhj&3ubah}(h]h ]h"]h$]h&]uh1jhj 3ubeh}(h]h ]h"]h$]h&]uh1jhj%3hMhj\2ubeh}(h]h ]h"]h$]h&]uh1jhj@2ubjX)}(h **Return**h]j)}(hjK3h]hReturn}(hjM3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI3ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@2ubjX)}(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.}(hja3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@2ubeh}(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}(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_is_multiqueueh]j%)}(hnetif_is_multiqueueh]hnetif_is_multiqueue}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhj3hMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j')}jj3sbc.netif_is_multiqueueasbuh1hhj3ubj)}(h h]h }(hj%4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hj34hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hdevh]hdev}(hj@4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubah}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhj3hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhj3hMubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hMhj3hhubjS)}(hhh]jX)}(h+test if device has multiple transmit queuesh]h+test if device has multiple transmit queues}(hjj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjg4hhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhj3hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj4jxj4jyjzj{uh1hhhhj֒hNhNubj})}(h**Parameters** ``const struct net_device *dev`` network device **Description** Check if device has multiple transmit queuesh](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:104: ./include/linux/netdevice.hhMhj4ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj4h]hconst struct net_device *dev}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubjX)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubjX)}(h,Check if device has multiple transmit queuesh]h,Check if device has multiple transmit queues}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubeh}(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}(hj+5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'5hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMBubj)}(h h]h }(hj:5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'5hhhj95hMBubj)}(hdev_holdh]j%)}(hdev_holdh]hdev_hold}(hjL5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'5hhhj95hMBubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjh5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjd5ubj)}(h h]h }(hju5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd5ubh)}(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')}jjN5sb c.dev_holdasbuh1hhjd5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd5ubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjd5ubj%)}(hdevh]hdev}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjd5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj`5ubah}(h]h ]h"]h$]h&]j<j=uh1jhj'5hhhj95hMBubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj#5hhhj95hMBubah}(h]j5ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj95hMBhj 5hhubjS)}(hhh]jX)}(hget reference to deviceh]hget reference to device}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMBhj5hhubah}(h]h ]h"]h$]h&]uh1jRhj 5hhhj95hMBubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{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)}(hj 6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 6ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMFhj6ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj,6h]hstruct net_device *dev}(hj.6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMChj&6ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjE6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjA6hMChjB6ubah}(h]h ]h"]h$]h&]uh1jhj&6ubeh}(h]h ]h"]h$]h&]uh1jhjA6hMChj#6ubah}(h]h ]h"]h$]h&]uh1jhj6ubjX)}(h**Description**h]j)}(hjg6h]h Description}(hji6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje6ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMEhj6ubjX)}(hVHold reference to device to keep it from being freed. Try using netdev_hold() instead.h]hVHold reference to device to keep it from being freed. Try using netdev_hold() instead.}(hj}6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhj6ubeh}(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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMNubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6hhhj6hMNubj)}(hdev_puth]j%)}(hdev_puth]hdev_put}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6hhhj6hMNubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj 7modnameN classnameNjj!)}j$]j')}jj6sb c.dev_putasbuh1hhj6ubj)}(h h]h }(hj'7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj;)}(hj>h]h*}(hj57hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hdevh]hdev}(hjB7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj6ubah}(h]h ]h"]h$]h&]j<j=uh1jhj6hhhj6hMNubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6hhhj6hMNubah}(h]j6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj6hMNhj6hhubjS)}(hhh]jX)}(hrelease reference to deviceh]hrelease reference to device}(hjl7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMNhji7hhubah}(h]h ]h"]h$]h&]uh1jRhj6hhhj6hMNubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{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)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMRhj7ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj7h]hstruct net_device *dev}(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.hhMOhj7ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMOhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMOhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubjX)}(h**Description**h]j)}(hj7h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMQhj7ubjX)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMPhj7ubeh}(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}(hj-8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)8hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuubj)}(h h]h }(hj<8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)8hhhj;8hMuubj)}(hlinkwatch_sync_devh]j%)}(hlinkwatch_sync_devh]hlinkwatch_sync_dev}(hjN8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJ8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)8hhhj;8hMuubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjf8ubj)}(h h]h }(hjw8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjf8ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j')}jjP8sbc.linkwatch_sync_devasbuh1hhjf8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjf8ubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjf8ubj%)}(hdevh]hdev}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjb8ubah}(h]h ]h"]h$]h&]j<j=uh1jhj)8hhhj;8hMuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%8hhhj;8hMuubah}(h]j 8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj;8hMuhj"8hhubjS)}(hhh]jX)}(h#sync linkwatch for the given deviceh]h#sync linkwatch for the given device}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhj8hhubah}(h]h ]h"]h$]h&]uh1jRhj"8hhhj;8hMuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{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)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 9ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMyhj 9ubj)}(hhh]j)}(h@``struct net_device *dev`` network device to sync linkwatch for h](j)}(h``struct net_device *dev``h]j)}(hj.9h]hstruct net_device *dev}(hj09hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhj(9ubj)}(hhh]jX)}(h$network device to sync linkwatch forh]h$network device to sync linkwatch for}(hjG9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjC9hMvhjD9ubah}(h]h ]h"]h$]h&]uh1jhj(9ubeh}(h]h ]h"]h$]h&]uh1jhjC9hMvhj%9ubah}(h]h ]h"]h$]h&]uh1jhj 9ubjX)}(h**Description**h]j)}(hji9h]h Description}(hjk9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg9ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMxhj 9ubjX)}(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).}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMwhj 9ubeh}(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}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhj9hMubj)}(hnetif_carrier_okh]j%)}(hnetif_carrier_okh]hnetif_carrier_ok}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj9hhhj9hMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(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')}jj9sbc.netif_carrier_okasbuh1hhj9ubj)}(h h]h }(hjC:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjQ:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hdevh]hdev}(hj^:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubah}(h]h ]h"]h$]h&]j<j=uh1jhj9hhhj9hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9hhhj9hMubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj9hMhj9hhubjS)}(hhh]jX)}(htest if carrier presenth]htest if carrier present}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj:hhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhj9hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:jxj:jyjzj{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:h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj:ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj:h]hconst struct net_device *dev}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj:ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubjX)}(h**Description**h]j)}(hj;h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj:ubjX)}(h%Check if carrier is present on deviceh]h%Check if carrier is present on device}(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](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}(hjI;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE;hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjX;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjE;hhhjW;hMubj)}(hnetif_dormant_onh]j%)}(hnetif_dormant_onh]hnetif_dormant_on}(hjj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf;ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjE;hhhjW;hMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j')}jjl;sbc.netif_dormant_onasbuh1hhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;ubj%)}(hdevh]hdev}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~;ubah}(h]h ]h"]h$]h&]j<j=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)}(hmark device as dormant.h]hmark device as dormant.}(hj <hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<hhubah}(h]h ]h"]h$]h&]uh1jRhj>;hhhjW;hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!<jxj!<jyjzj{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)}(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)}(hjJ<h]hstruct net_device *dev}(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)}(hnetwork deviceh]hnetwork device}(hjc<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&]uh1jhj%<ubjX)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%<ubjX)}(h(Mark device as dormant (as per RFC2863).h]h(Mark device as dormant (as per RFC2863).}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%<ubjX)}(hXHThe dormant state indicates that the relevant interface is not actually in a condition to pass packets (i.e., it is not 'up') but is in a "pending" state, waiting for some external event. For "on- demand" interfaces, this new state identifies the situation where the interface is waiting for events to place it in the up state.h]hXTThe dormant state indicates that the relevant interface is not actually in a condition to pass packets (i.e., it is not ‘up’) but is in a “pending” state, waiting for some external event. For “on- demand” interfaces, this new state identifies the situation where the interface is waiting for events to place it in the up state.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%<ubeh}(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}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhj<hMubj)}(hnetif_dormant_offh]j%)}(hnetif_dormant_offh]hnetif_dormant_off}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhj<hMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hj#=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj4=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6=modnameN classnameNjj!)}j$]j')}jj<sbc.netif_dormant_offasbuh1hhj=ubj)}(h h]h }(hjT=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj;)}(hj>h]h*}(hjb=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=ubj%)}(hdevh]hdev}(hjo=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubah}(h]h ]h"]h$]h&]j<j=uh1jhj<hhhj<hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhj<hMubah}(h]j<ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<hMhj<hhubjS)}(hhh]jX)}(hset device as not dormant.h]hset device as not dormant.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=hhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhj<hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj=jxj=jyjzj{uh1hhhhj֒hNhNubj})}(hm**Parameters** ``struct net_device *dev`` network device **Description** Device is not in dormant state.h](jX)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj=h]hstruct net_device *dev}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubjX)}(h**Description**h]j)}(hj>h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=ubjX)}(hDevice is not in dormant state.h]hDevice is not in dormant state.}(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](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}(hjZ>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV>hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjh>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjV>hhhjg>hMubj)}(h netif_dormanth]j%)}(h netif_dormanth]h netif_dormant}(hjz>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjv>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjV>hhhjg>hMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubh)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj>modnameN classnameNjj!)}j$]j')}jj|>sbc.netif_dormantasbuh1hhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj;)}(hj>h]h*}(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=uh1jhjV>hhhjg>hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjR>hhhjg>hMubah}(h]jM>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjg>hMhjO>hhubjS)}(hhh]jX)}(htest if device is dormanth]htest if device is dormant}(hj4?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj1?hhubah}(h]h ]h"]h$]h&]uh1jRhjO>hhhjg>hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjL?jxjL?jyjzj{uh1hhhhj֒hNhNubj})}(ho**Parameters** ``const struct net_device *dev`` network device **Description** Check if device is dormant.h](jX)}(h**Parameters**h]j)}(hjV?h]h Parameters}(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.hhMhjP?ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hju?h]hconst struct net_device *dev}(hjw?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjo?ubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj?ubah}(h]h ]h"]h$]h&]uh1jhjo?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjl?ubah}(h]h ]h"]h$]h&]uh1jhjP?ubjX)}(h**Description**h]j)}(hj?h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjP?ubjX)}(hCheck if device is dormant.h]hCheck if device is dormant.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjP?ubeh}(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}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?hhhj@hMubj)}(hnetif_testing_onh]j%)}(hnetif_testing_onh]hnetif_testing_on}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj?hhhj@hMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(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 net_deviceh]h net_device}(hjP@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjM@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjR@modnameN classnameNjj!)}j$]j')}jj@sbc.netif_testing_onasbuh1hhj.@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%)}(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@hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?hhhj@hMubah}(h]j?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@hMhj?hhubjS)}(hhh]jX)}(hmark device as under test.h]hmark device as under test.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@hhubah}(h]h ]h"]h$]h&]uh1jRhj?hhhj@hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{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)}(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}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj AhMhj Aubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj AhMhj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubjX)}(h**Description**h]j)}(hj1Ah]h Description}(hj3AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Aubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubjX)}(h+Mark device as under test (as per RFC2863).h]h+Mark device as under test (as per RFC2863).}(hjGAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubjX)}(hThe testing state indicates that some test(s) must be performed on the interface. After completion, of the test, the interface state will change to up, dormant, or down, as appropriate.h]hThe testing state indicates that some test(s) must be performed on the interface. After completion, of the test, the interface state will change to up, dormant, or down, as appropriate.}(hjVAhhhNhNubah}(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](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}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjAhMubj)}(hnetif_testing_offh]j%)}(hnetif_testing_offh]hnetif_testing_off}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjAhMubj)}(h(struct net_device *dev)h]j)}(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}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jjAsbc.netif_testing_offasbuh1hhjAubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hdevh]hdev}(hjBhhhNhNubah}(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=jDuh1hjEjFhj}AhhhjAhMubah}(h]jxAah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhMhjzAhhubjS)}(hhh]jX)}(hset device as not under test.h]hset device as not under test.}(hjEBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjBBhhubah}(h]h ]h"]h$]h&]uh1jRhjzAhhhjAhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]Bjxj]Bjyjzj{uh1hhhhj֒hNhNubj})}(hm**Parameters** ``struct net_device *dev`` network device **Description** Device is not in testing state.h](jX)}(h**Parameters**h]j)}(hjgBh]h Parameters}(hjiBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeBubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjaBubj)}(hhh]j)}(h*``struct net_device *dev`` 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjBubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj}Bubah}(h]h ]h"]h$]h&]uh1jhjaBubjX)}(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:104: ./include/linux/netdevice.hhMhjaBubjX)}(hDevice is not in testing state.h]hDevice is not in testing state.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjaBubeh}(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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhjChMubj)}(h netif_testingh]j%)}(h netif_testingh]h netif_testing}(hj&ChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"Cubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjChhhjChMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](h)}(hjh]hconst}(hjBChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>Cubj)}(h h]h }(hjOChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>Cubh)}(hjh]hstruct}(hj]ChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>Cubj)}(h h]h }(hjjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>Cubh)}(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$]j')}jj(Csbc.netif_testingasbuh1hhj>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%)}(hdevh]hdev}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>Cubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:Cubah}(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)}(htest if device is under testh]htest if device is under test}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjChhubah}(h]h ]h"]h$]h&]uh1jRhjBhhhjChMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCjxjCjyjzj{uh1hhhhj֒hNhNubj})}(hq**Parameters** ``const struct net_device *dev`` network device **Description** Check if device is under testh](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.hhMhjCubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj!Dh]hconst struct net_device *dev}(hj#DhhhNhNubah}(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)}(hnetwork deviceh]hnetwork device}(hj:DhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6DhMhj7Dubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj6DhMhjDubah}(h]h ]h"]h$]h&]uh1jhjCubjX)}(h**Description**h]j)}(hj\Dh]h Description}(hj^DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZDubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjCubjX)}(hCheck if device is under testh]hCheck if device is under test}(hjrDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjCubeh}(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}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDhhhjDhMubj)}(h netif_oper_uph]j%)}(h netif_oper_uph]h netif_oper_up}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjDhhhjDhMubj)}(h(const struct net_device *dev)h]j)}(hconst struct net_device *devh](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 }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(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')}jjDsbc.netif_oper_upasbuh1hhjDubj)}(h h]h }(hj6EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjDEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hdevh]hdev}(hjQEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubah}(h]h ]h"]h$]h&]j<j=uh1jhjDhhhjDhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjDhMubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhMhjDhhubjS)}(hhh]jX)}(htest if device is operationalh]htest if device is operational}(hj{EhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjxEhhubah}(h]h ]h"]h$]h&]uh1jRhjDhhhjDhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjEjxjEjyjzj{uh1hhhhj֒hNhNubj})}(hs**Parameters** ``const struct net_device *dev`` network device **Description** Check if carrier is operationalh](jX)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjEubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjEh]hconst struct net_device *dev}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjEubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(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)}(hjEh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjEubjX)}(hCheck if carrier is operationalh]hCheck if carrier is operational}(hj FhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjEubeh}(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}(hjh]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtFubj%)}(hdevh]hdev}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpFubah}(h]h ]h"]h$]h&]j<j=uh1jhj8FhhhjIFhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4FhhhjIFhMubah}(h]j/Fah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjIFhMhj1FhhubjS)}(hhh]jX)}(his device available or removedh]his device available or removed}(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&]uh1jRhj1FhhhjIFhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.Gjxj.Gjyjzj{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)}(hj8Gh]h Parameters}(hj:GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Gubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2Gubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjWGh]hconst struct net_device *dev}(hjYGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUGubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjQGubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjpGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlGhMhjmGubah}(h]h ]h"]h$]h&]uh1jhjQGubeh}(h]h ]h"]h$]h&]uh1jhjlGhMhjNGubah}(h]h ]h"]h$]h&]uh1jhj2GubjX)}(h**Description**h]j)}(hjGh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2GubjX)}(h1Check if device has not been removed from system.h]h1Check if device has not been removed from system.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2Gubeh}(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}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhjGhMubj)}(h netif_tx_lockh]j%)}(h netif_tx_lockh]h netif_tx_lock}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGhhhjGhMubj)}(h(struct net_device *dev)h]j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hj!HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj2HhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/Hubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4HmodnameN classnameNjj!)}j$]j')}jjGsbc.netif_tx_lockasbuh1hhjHubj)}(h h]h }(hjRHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hj`HhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(hdevh]hdev}(hjmHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Hubah}(h]h ]h"]h$]h&]j<j=uh1jhjGhhhjGhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhjGhMubah}(h]jGah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjGhMhjGhhubjS)}(hhh]jX)}(h!grab network device transmit lockh]h!grab network device transmit lock}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjHhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhjGhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjHjxjHjyjzj{uh1hhhhj֒hNhNubj})}(hn**Parameters** ``struct net_device *dev`` network device **Description** Get network device transmit lockh](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:104: ./include/linux/netdevice.hhMhjHubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjHh]hstruct net_device *dev}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjHubj)}(hhh]jX)}(hnetwork deviceh]hnetwork device}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjHubjX)}(h**Description**h]j)}(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.hhMhjHubjX)}(h Get network device transmit lockh]h Get network device transmit lock}(hj)IhhhNhNubah}(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](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}(hjXIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTIhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMOubj)}(h h]h }(hjgIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTIhhhjfIhMOubj)}(h __dev_uc_synch]j%)}(h __dev_uc_synch]h __dev_uc_sync}(hjyIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuIubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjTIhhhjfIhMOubj)}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(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')}jj{Isbc.__dev_uc_syncasbuh1hhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hdevh]hdev}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(h5int (*sync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hjh]h(}(hj#JhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj;)}(hj>h]h*}(hj0JhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hsynch]hsync}(hj=JhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubj;)}(hjh]h)}(hjKJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj;)}(hjh]h(}(hjXJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubh)}(hjh]hstruct}(hjeJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hjrJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(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$]jIc.__dev_uc_syncasbuh1hhjJubj;)}(hj>h]h*}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj;)}(hj5Vh]h,}(hjJhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(hjh]hconst}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(hunsignedh]hunsigned}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(hcharh]hchar}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj;)}(hjh]h)}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hj3KhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/Kubj)}(h h]h }(hjAKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/Kubj;)}(hjh]h(}(hjOKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/Kubj;)}(hj>h]h*}(hj\KhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/Kubj%)}(hunsynch]hunsync}(hjiKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/Kubj;)}(hjh]h)}(hjwKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/Kubj;)}(hjh]h(}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/Kubh)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/Kubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/Kubh)}(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$]jIc.__dev_uc_syncasbuh1hhj/Kubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/Kubj;)}(hj5Vh]h,}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/Kubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/Kubh)}(hjh]hconst}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/Kubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/Kubj)}(hunsignedh]hunsigned}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/Kubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/Kubj)}(hcharh]hchar}(hj,LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/Kubj;)}(hj>h]h*}(hj:LhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/Kubj;)}(hjh]h)}(hjGLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/Kubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubeh}(h]h ]h"]h$]h&]j<j=uh1jhjTIhhhjfIhMOubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPIhhhjfIhMOubah}(h]jKIah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfIhMOhjMIhhubjS)}(hhh]jX)}(h!Synchronize device's unicast listh]h#Synchronize device’s unicast list}(hjpLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMOhjmLhhubah}(h]h ]h"]h$]h&]uh1jRhjMIhhhjfIhMOubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLjxjLjyjzj{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)}(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.hhMShjLubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMPhjLubj)}(hhh]jX)}(hdevice to synch]hdevice to sync}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMPhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMPhjLubj)}(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)}(hjLh]h7int (*sync)(struct net_device *, const unsigned char *)}(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.hhMQhjLubj)}(hhh]jX)}(h+function to call if address should be addedh]h+function to call if address should be added}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMQhjMubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMQhjLubj)}(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)}(hj#Mh]h9int (*unsync)(struct net_device *, const unsigned char *)}(hj%MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Mubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMRhjMubj)}(hhh]jX)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hjh]h*}(hj6NhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hdevh]hdev}(hjCNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubj)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hj\NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXNubj)}(h h]h }(hjjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXNubj;)}(hjh]h(}(hjxNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXNubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXNubj%)}(hunsynch]hunsync}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXNubj;)}(hjh]h)}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXNubj;)}(hjh]h(}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXNubh)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXNubh)}(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$Nc.__dev_uc_unsyncasbuh1hhjXNubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXNubj;)}(hj5Vh]h,}(hjOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXNubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXNubh)}(hjh]hconst}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjXNubj)}(h h]h }(hj+OhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXNubj)}(hunsignedh]hunsigned}(hj9OhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXNubj)}(h h]h }(hjGOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXNubj)}(hcharh]hchar}(hjUOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXNubj;)}(hj>h]h*}(hjcOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXNubj;)}(hjh]h)}(hjpOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubeh}(h]h ]h"]h$]h&]j<j=uh1jhjMhhhjMhMaubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMhhhjMhMaubah}(h]jMah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjMhMahjMhhubjS)}(hhh]jX)}(h)Remove synchronized addresses from deviceh]h)Remove synchronized addresses from device}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjOhhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhjMhMaubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{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)}(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.hhMehjOubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync 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.hhMbhjOubj)}(hhh]jX)}(hdevice to synch]hdevice to sync}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMbhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMbhjOubj)}(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)}(hjPh]h9int (*unsync)(struct net_device *, const unsigned char *)}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchj Pubj)}(hhh]jX)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hj,PhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(PhMchj)Pubah}(h]h ]h"]h$]h&]uh1jhj Pubeh}(h]h ]h"]h$]h&]uh1jhj(PhMchjOubeh}(h]h ]h"]h$]h&]uh1jhjOubjX)}(h**Description**h]j)}(hjNPh]h Description}(hjPPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLPubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjOubj )}(hDRemove all addresses that were added to the device by dev_uc_sync().h]jX)}(hjfPh]hDRemove all addresses that were added to the device by dev_uc_sync().}(hjhPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdhjdPubah}(h]h ]h"]h$]h&]uh1j hjuPhMdhjOubeh}(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}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM{ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhhhjPhM{ubj)}(h __dev_mc_synch]j%)}(h __dev_mc_synch]h __dev_mc_sync}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjPhhhjPhM{ubj)}(h(struct net_device *dev, int (*sync)(struct net_device*, const unsigned char*), int (*unsync)(struct net_device*, const unsigned char*))h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(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.__dev_mc_syncasbuh1hhjPubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj;)}(hj>h]h*}(hj%QhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPubj%)}(hdevh]hdev}(hj2QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubj)}(h5int (*sync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hjKQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGQubj)}(h h]h }(hjYQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGQubj;)}(hjh]h(}(hjgQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGQubj;)}(hj>h]h*}(hjtQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGQubj%)}(hsynch]hsync}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGQubj;)}(hjh]h)}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGQubj;)}(hjh]h(}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGQubh)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGQubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]jQc.__dev_mc_syncasbuh1hhjGQubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGQubj;)}(hj5Vh]h,}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGQubh)}(hjh]hconst}(hj RhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjGQubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGQubj)}(hunsignedh]hunsigned}(hj(RhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGQubj)}(h h]h }(hj6RhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGQubj)}(hcharh]hchar}(hjDRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGQubj;)}(hj>h]h*}(hjRRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGQubj;)}(hjh]h)}(hj_RhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubj)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hjwRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsRubj;)}(hjh]h(}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsRubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsRubj%)}(hunsynch]hunsync}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsRubj;)}(hjh]h)}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsRubj;)}(hjh]h(}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsRubh)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsRubh)}(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$]jQc.__dev_mc_syncasbuh1hhjsRubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsRubj;)}(hj5Vh]h,}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsRubj)}(h h]h }(hj+ShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsRubh)}(hjh]hconst}(hj9ShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsRubj)}(h h]h }(hjFShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsRubj)}(hunsignedh]hunsigned}(hjTShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsRubj)}(h h]h }(hjbShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsRubj)}(hcharh]hchar}(hjpShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsRubj;)}(hj>h]h*}(hj~ShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsRubj;)}(hjh]h)}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubeh}(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#Synchronize device's multicast listh]h%Synchronize device’s multicast list}(hjShhhNhNubah}(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&]uh1jRhjPhhhjPhM{ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{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)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjSubj)}(hhh](j)}(h*``struct net_device *dev`` device to sync h](j)}(h``struct net_device *dev``h]j)}(hjSh]hstruct net_device *dev}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM|hjSubj)}(hhh]jX)}(hdevice to synch]hdevice to sync}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj ThM|hj Tubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhj ThM|hjSubj)}(hh``int (*sync)(struct net_device *, const unsigned char *)`` function to call if address should be added h](j)}(h;``int (*sync)(struct net_device *, const unsigned char *)``h]j)}(hj.Th]h7int (*sync)(struct net_device *, const unsigned char *)}(hj0ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Tubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM}hj(Tubj)}(hhh]jX)}(h+function to call if address should be addedh]h+function to call if address should be added}(hjGThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjCThM}hjDTubah}(h]h ]h"]h$]h&]uh1jhj(Tubeh}(h]h ]h"]h$]h&]uh1jhjCThM}hjSubj)}(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)}(hjgTh]h9int (*unsync)(struct net_device *, const unsigned char *)}(hjiThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM~hjaTubj)}(hhh]jX)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|ThM~hj}Tubah}(h]h ]h"]h$]h&]uh1jhjaTubeh}(h]h ]h"]h$]h&]uh1jhj|ThM~hjSubeh}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjSubj )}(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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjTubah}(h]h ]h"]h$]h&]uh1j hjThMhjSubeh}(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}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjThMubj)}(h__dev_mc_unsynch]j%)}(h__dev_mc_unsynch]h__dev_mc_unsync}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjThMubj)}(hQ(struct net_device *dev, int (*unsync)(struct net_device*, const unsigned char*))h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj.UhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*Uubj)}(h h]h }(hj;UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*Uubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjLUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNUmodnameN classnameNjj!)}j$]j')}jjUsbc.__dev_mc_unsyncasbuh1hhj*Uubj)}(h h]h }(hjlUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*Uubj;)}(hj>h]h*}(hjzUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*Uubj%)}(hdevh]hdev}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*Uubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&Uubj)}(h7int (*unsync)(struct net_device*, const unsigned char*)h](j)}(hinth]hint}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hjh]h(}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hunsynch]hunsync}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubj;)}(hjh]h)}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj;)}(hjh]h(}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubh)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hj VhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]jhUc.__dev_mc_unsyncasbuh1hhjUubj;)}(hj>h]h*}(hj:VhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj;)}(hj5Vh]h,}(hjGVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj)}(h h]h }(hjTVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hjh]hconst}(hjbVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjoVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj)}(hunsignedh]hunsigned}(hj}VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj)}(hcharh]hchar}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj;)}(hjh]h)}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&Uubeh}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjThMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjThMubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThMhjThhubjS)}(hhh]jX)}(h)Remove synchronized addresses from deviceh]h)Remove synchronized addresses from device}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjVhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjThMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVjxjVjyjzj{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_mc_sync().h](jX)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjWhhhNhNubah}(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`` device to sync h](j)}(h``struct net_device *dev``h]j)}(hjWh]hstruct net_device *dev}(hj WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjWubj)}(hhh]jX)}(hdevice to synch]hdevice to sync}(hj7WhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3WhMhj4Wubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhj3WhMhjWubj)}(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)}(hjWWh]h9int (*unsync)(struct net_device *, const unsigned char *)}(hjYWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUWubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjQWubj)}(hhh]jX)}(h-function to call if address should be removedh]h-function to call if address should be removed}(hjpWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlWhMhjmWubah}(h]h ]h"]h$]h&]uh1jhjQWubeh}(h]h ]h"]h$]h&]uh1jhjlWhMhjWubeh}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjVubj )}(hDRemove all addresses that were added to the device by dev_mc_sync().h]jX)}(hjWh]hDRemove all addresses that were added to the device by dev_mc_sync().}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjWubah}(h]h ]h"]h$]h&]uh1j hjWhMhjVubeh}(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}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWhhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjWhKubj)}(h net_shaperh]j%)}(hjWh]h net_shaper}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjWhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjWhKubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhKhjWhhubjS)}(hhh]jX)}(hMrepresents a shaping node on the NIC H/W zeroed field are considered not set.h]hMrepresents a shaping node on the NIC H/W zeroed field are considered not set.}(hj#XhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK!hj Xhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjWhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj;Xjxj;Xjyjzj{uh1hhhhj֒hjWhNubj})}(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}(hjGXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCXubh:}(hjCXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK%hj?XubjU)}(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; };}hj`Xsbah}(h]h ]h"]h$]h&]j<j=uh1jThY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK'hj?XubjX)}(h **Members**h]j)}(hjqXh]hMembers}(hjsXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoXubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK2hj?Xubj)}(hhh](j)}(hD``parent`` Unique identifier for the shaper parent, usually implied h](j)}(h ``parent``h]j)}(hjXh]hparent}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK$hjXubj)}(hhh]jX)}(h8Unique identifier for the shaper parent, usually impliedh]h8Unique identifier for the shaper parent, usually implied}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhK$hjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhK$hjXubj)}(h-``handle`` Unique identifier for this shaper h](j)}(h ``handle``h]j)}(hjXh]hhandle}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK%hjXubj)}(hhh]jX)}(h!Unique identifier for this shaperh]h!Unique identifier for this shaper}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhK%hjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhK%hjXubj)}(h;``metric`` Specify if the rate limits refers to PPS or BPS h](j)}(h ``metric``h]j)}(hjYh]hmetric}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK&hjXubj)}(hhh]jX)}(h/Specify if the rate limits refers to PPS or BPSh]h/Specify if the rate limits refers to PPS or BPS}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhK&hjYubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjYhK&hjXubj)}(h3``bw_min`` Minimum guaranteed rate for this shaper h](j)}(h ``bw_min``h]j)}(hj;Yh]hbw_min}(hj=YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Yubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK'hj5Yubj)}(hhh]jX)}(h'Minimum guaranteed rate for this shaperh]h'Minimum guaranteed rate for this shaper}(hjTYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPYhK'hjQYubah}(h]h ]h"]h$]h&]uh1jhj5Yubeh}(h]h ]h"]h$]h&]uh1jhjPYhK'hjXubj)}(h5``bw_max`` Maximum peak rate allowed for this shaper h](j)}(h ``bw_max``h]j)}(hjtYh]hbw_max}(hjvYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrYubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK(hjnYubj)}(hhh]jX)}(h)Maximum peak rate allowed for this shaperh]h)Maximum peak rate allowed for this shaper}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhK(hjYubah}(h]h ]h"]h$]h&]uh1jhjnYubeh}(h]h ]h"]h$]h&]uh1jhjYhK(hjXubj)}(h9``burst`` Maximum burst for the peek rate of this shaper h](j)}(h ``burst``h]j)}(hjYh]hburst}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK)hjYubj)}(hhh]jX)}(h.Maximum burst for the peek rate of this shaperh]h.Maximum burst for the peek rate of this shaper}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhK)hjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhK)hjXubj)}(h1``priority`` Scheduling priority for this shaper h](j)}(h ``priority``h]j)}(hjYh]hpriority}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK*hjYubj)}(hhh]jX)}(h#Scheduling priority for this shaperh]h#Scheduling priority for this shaper}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhK*hjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhK*hjXubj)}(h,``weight`` Scheduling weight for this shaperh](j)}(h ``weight``h]j)}(hjZh]hweight}(hj!ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK*hjZubj)}(hhh]jX)}(h!Scheduling weight for this shaperh]h!Scheduling weight for this shaper}(hj8ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK+hj5Zubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj4ZhK*hjXubeh}(h]h ]h"]h$]h&]uh1jhj?Xubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj֒hhhjWhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_shaper_ops (C struct)c.net_shaper_opshNtauh1hhj֒hhhjWhNubh)}(hhh](h)}(hnet_shaper_opsh]h)}(hstruct net_shaper_opsh](h)}(hjh]hstruct}(hjyZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuZhhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK1ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuZhhhjZhK1ubj)}(hnet_shaper_opsh]j%)}(hjsZh]hnet_shaper_ops}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjuZhhhjZhK1ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqZhhhjZhK1ubah}(h]jlZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZhK1hjnZhhubjS)}(hhh]jX)}(h Operations on device H/W shapersh]h Operations on device H/W shapers}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK[ubjX)}(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 }(hjP[hhhNhNubj)}(h **leaves**h]hleaves}(hjX[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP[ubh shapers identified under the * }(hjP[hhhNhNubj)}(h**node**h]hnode}(hjj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP[ubh; shaper. All the shapers belong to the device specified by }(hjP[hhhNhNubj)}(h **binding**h]hbinding}(hj|[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP[ubh. The }(hjP[hhhNhNubj)}(h **leaves**h]hleaves}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP[ubh arrays size is specified by }(hjP[hhhNhNubj)}(h**leaves_count**h]h leaves_count}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP[ubh. Create either the }(hjP[hhhNhNubj)}(h **leaves**h]hleaves}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP[ubh and the }(hjP[hhhNhNubj)}(h**node**h]hnode}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP[ubhL shaper; or if they already exists, links them together in the desired way. }(hjP[hhhNhNubj)}(h **leaves**h]hleaves}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP[ubh& scope must be NET_SHAPER_SCOPE_QUEUE.}(hjP[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKPhj>[ubeh}(h]h ]h"]h$]h&]uh1jhj"[ubeh}(h]h ]h"]h$]h&]uh1jhj=[hKUhj[ubj)}(hp``set`` Updates the specified shaper Updates or creates the **shaper** on the device specified by **binding**. h](j)}(h``set``h]j)}(hj\h]hset}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK_hj[ubj)}(hhh](jX)}(hUpdates the specified shaperh]hUpdates the specified shaper}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK]hj\ubjX)}(hIUpdates or creates the **shaper** on the device specified by **binding**.h](hUpdates or creates the }(hj)\hhhNhNubj)}(h **shaper**h]hshaper}(hj1\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)\ubh on the device specified by }(hj)\hhhNhNubj)}(h **binding**h]hbinding}(hjC\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)\ubh.}(hj)\hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj\hK_hj\ubeh}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj\hK_hj[ubj)}(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)}(hjm\h]hdelete}(hjo\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk\ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKihjg\ubj)}(hhh](jX)}(hRemoves the specified shaperh]hRemoves the specified shaper}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKfhj\ubjX)}(hRemoves the shaper configuration as identified by the given **handle** on the device specified by **binding**, restoring the default behavior.h](hh]h*}(hj_^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj%)}(hphydevh]hphydev}(hjl^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]hKtubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]hhhj]hKtubah}(h]j]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hKthj]hhubjS)}(hhh]jX)}(h8Convenience function to print out the current phy statush]h8Convenience function to print out the current phy status}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKthj^hhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhj]hKtubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^jxj^jyjzj{uh1hhhhj]hNhNubj})}(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.chKxhj^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.chKzhj^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.chKuhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hKzhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_get_rate_matching (C function)c.phy_get_rate_matchinghNtauh1hhj]hhhNhNubh)}(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}(hj1_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-_hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj)}(h h]h }(hj@_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-_hhhj?_hKubj)}(hphy_get_rate_matchingh]j%)}(hphy_get_rate_matchingh]hphy_get_rate_matching}(hjR_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjN_ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-_hhhj?_hKubj)}(h2(struct phy_device *phydev, phy_interface_t iface)h](j)}(hstruct phy_device *phydevh](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 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')}jjT_sbc.phy_get_rate_matchingasbuh1hhjj_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%)}(hphydevh]hphydev}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjf_ubj)}(hphy_interface_t ifaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_modnameN classnameNjj!)}j$]j_c.phy_get_rate_matchingasbuh1hhj_ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj%)}(hifaceh]hiface}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjf_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'determine if rate matching is supportedh]h'determine if rate matching is supported}(hj9`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj6`hhubah}(h]h ]h"]h$]h&]uh1jRhj&_hhhj?_hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQ`jxjQ`jyjzj{uh1hhhhj]hNhNubj})}(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)}(hj[`h]h Parameters}(hj]`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY`ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjU`ubj)}(hhh](j)}(hI``struct phy_device *phydev`` The phy device to return rate matching for h](j)}(h``struct phy_device *phydev``h]j)}(hjz`h]hstruct phy_device *phydev}(hj|`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx`ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjt`ubj)}(hhh]jX)}(h*The phy device to return rate matching forh]h*The phy device to return rate matching for}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hKhj`ubah}(h]h ]h"]h$]h&]uh1jhjt`ubeh}(h]h ]h"]h$]h&]uh1jhj`hKhjq`ubj)}(h4``phy_interface_t iface`` The interface mode to use 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj`ubj)}(hhh]jX)}(hThe interface mode to useh]hThe interface mode 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`hKhjq`ubeh}(h]h ]h"]h$]h&]uh1jhjU`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.chKhjU`ubjX)}(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 }(hjahhhNhNubj)}(h**phy**h]hphy}(hj ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh supports using }(hjahhhNhNubj)}(h **iface**h]hiface}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh. }(hjahhhNhNubj)}(h **iface**h]hiface}(hj0ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh may be }(hjahhhNhNubj)}(h``PHY_INTERFACE_MODE_NA``h]hPHY_INTERFACE_MODE_NA}(hjBahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh6 to determine if any interface supports rate matching.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjU`ubjX)}(h **Return**h]j)}(hj]ah]hReturn}(hj_ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[aubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjU`ubjX)}(hQThe type of rate matching **phy** supports for **iface**, or ``RATE_MATCH_NONE``.h](hThe type of rate matching }(hjsahhhNhNubj)}(h**phy**h]hphy}(hj{ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsaubh supports for }(hjsahhhNhNubj)}(h **iface**h]hiface}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsaubh, or }(hjsahhhNhNubj)}(h``RATE_MATCH_NONE``h]hRATE_MATCH_NONE}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsaubh.}(hjsahhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjU`ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_restart_aneg (C function)c.phy_restart_aneghNtauh1hhj]hhhNhNubh)}(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}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjahKubj)}(hphy_restart_anegh]j%)}(hphy_restart_anegh]hphy_restart_aneg}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjahhhjahKubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbubj)}(h h]h }(hj"bhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj3bhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0bubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5bmodnameN classnameNjj!)}j$]j')}jjasbc.phy_restart_anegasbuh1hhjbubj)}(h h]h }(hjSbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj;)}(hj>h]h*}(hjabhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjbubj%)}(hphydevh]hphydev}(hjnbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj bubah}(h]h ]h"]h$]h&]j<j=uh1jhjahhhjahKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjahhhjahKubah}(h]jaah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjahKhjahhubjS)}(hhh]jX)}(hrestart auto-negotiationh]hrestart auto-negotiation}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjbhhubah}(h]h ]h"]h$]h&]uh1jRhjahhhjahKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjbjxjbjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjbh]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjbubj)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjbubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhKhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhKhjbubah}(h]h ]h"]h$]h&]uh1jhjbubjX)}(h**Description**h]j)}(hjch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjbubjX)}(h_Restart the autonegotiation on **phydev**. Returns >= 0 on success or negative errno on error.h](hRestart the autonegotiation on }(hj*chhhNhNubj)}(h **phydev**h]hphydev}(hj2chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*cubh6. Returns >= 0 on success or negative errno on error.}(hj*chhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_aneg_done (C function)c.phy_aneg_donehNtauh1hhj]hhhNhNubh)}(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}(hjkchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgchhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj)}(h h]h }(hjzchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgchhhjychKubj)}(h phy_aneg_doneh]j%)}(h phy_aneg_doneh]h phy_aneg_done}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjgchhhjychKubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}jjcsbc.phy_aneg_doneasbuh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hphydevh]hphydev}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubah}(h]h ]h"]h$]h&]j<j=uh1jhjgchhhjychKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjcchhhjychKubah}(h]j^cah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjychKhj`chhubjS)}(hhh]jX)}(hreturn auto-negotiation statush]hreturn auto-negotiation status}(hj+dhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj(dhhubah}(h]h ]h"]h$]h&]uh1jRhj`chhhjychKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjCdjxjCdjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjMdh]h Parameters}(hjOdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKdubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjGdubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjldh]hstruct phy_device *phydev}(hjndhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjdubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjfdubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhKhjdubah}(h]h ]h"]h$]h&]uh1jhjfdubeh}(h]h ]h"]h$]h&]uh1jhjdhKhjcdubah}(h]h ]h"]h$]h&]uh1jhjGdubjX)}(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:113: ./drivers/net/phy/phy.chKhjGdubjX)}(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 }(hjdhhhNhNubj)}(h **phydev**h]hphydev}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubhX Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjGdubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_check_valid (C function)c.phy_check_validhNtauh1hhj]hhhNhNubh)}(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}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj)}(h h]h }(hj ehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhj ehKubj)}(hphy_check_validh]j%)}(hphy_check_validh]hphy_check_valid}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjdhhhj ehKubj)}(h0(int speed, int duplex, unsigned long *features)h](j)}(h int speedh](j)}(hinth]hint}(hj:ehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6eubj)}(h h]h }(hjHehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6eubj%)}(hspeedh]hspeed}(hjVehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6eubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2eubj)}(h int duplexh](j)}(hinth]hint}(hjoehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkeubj)}(h h]h }(hj}ehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkeubj%)}(hduplexh]hduplex}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2eubj)}(hunsigned long *featuresh](j)}(hunsignedh]hunsigned}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj)}(hlongh]hlong}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjeubj%)}(hfeaturesh]hfeatures}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2eubeh}(h]h ]h"]h$]h&]j<j=uh1jhjdhhhj ehKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjdhhhj ehKubah}(h]jdah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj ehKhjdhhubjS)}(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}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjfhhubah}(h]h ]h"]h$]h&]uh1jRhjdhhhj ehKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+fjxj+fjyjzj{uh1hhhhj]hNhNubj})}(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)}(hj5fh]h Parameters}(hj7fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3fubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj/fubj)}(hhh](j)}(h``int speed`` speed to match h](j)}(h ``int speed``h]j)}(hjTfh]h int speed}(hjVfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRfubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjNfubj)}(hhh]jX)}(hspeed to matchh]hspeed to match}(hjmfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjifhKhjjfubah}(h]h ]h"]h$]h&]uh1jhjNfubeh}(h]h ]h"]h$]h&]uh1jhjifhKhjKfubj)}(h``int duplex`` duplex to match h](j)}(h``int duplex``h]j)}(hjfh]h int duplex}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjfubj)}(hhh]jX)}(hduplex to matchh]hduplex to match}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhKhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhKhjKfubj)}(h9``unsigned long *features`` A mask of the valid settings h](j)}(h``unsigned long *features``h]j)}(hjfh]hunsigned long *features}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjfubj)}(hhh]jX)}(hA mask of the valid settingsh]hA mask of the valid settings}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhKhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhKhjKfubeh}(h]h ]h"]h$]h&]uh1jhj/fubjX)}(h**Description**h]j)}(hjgh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj/fubjX)}(h:Returns true if there is a valid setting, false otherwise.h]h:Returns true if there is a valid setting, false otherwise.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj/fubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mii_ioctl (C function)c.phy_mii_ioctlhNtauh1hhj]hhhNhNubh)}(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}(hjFghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBghhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-ubj)}(h h]h }(hjUghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBghhhjTghM-ubj)}(h phy_mii_ioctlh]j%)}(h phy_mii_ioctlh]h phy_mii_ioctl}(hjgghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcgubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjBghhhjTghM-ubj)}(h7(struct phy_device *phydev, struct ifreq *ifr, int cmd)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjgmodnameN classnameNjj!)}j$]j')}jjigsbc.phy_mii_ioctlasbuh1hhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hj>h]h*}(hjghhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hphydevh]hphydev}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{gubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(hhh]j%)}(hifreqh]hifreq}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]jgc.phy_mii_ioctlasbuh1hhjgubj)}(h h]h }(hj1hhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hj>h]h*}(hj?hhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hifrh]hifr}(hjLhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{gubj)}(hint cmdh](j)}(hinth]hint}(hjehhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahubj)}(h h]h }(hjshhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahubj%)}(hcmdh]hcmd}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjahubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{gubeh}(h]h ]h"]h$]h&]j<j=uh1jhjBghhhjTghM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>ghhhjTghM-ubah}(h]j9gah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjTghM-hj;ghhubjS)}(hhh]jX)}(hgeneric PHY MII ioctl interfaceh]hgeneric PHY MII ioctl interface}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-hjhhhubah}(h]h ]h"]h$]h&]uh1jRhj;ghhhjTghM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjhjxjhjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hjhubj)}(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}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM.hjhubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihM.hjiubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjihM.hjhubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hj%ih]hstruct ifreq *ifr}(hj'ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#iubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM/hjiubj)}(hhh]jX)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hjDih]h struct ifreq}(hjFihhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjBiubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjifrequh1hhj:ihM/hj>iubh for socket ioctl’s}(hj>ihhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj:ihM/hj;iubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhj:ihM/hjhubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hj}ih]hint cmd}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{iubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM0hjwiubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihM0hjiubah}(h]h ]h"]h$]h&]uh1jhjwiubeh}(h]h ]h"]h$]h&]uh1jhjihM0hjhubeh}(h]h ]h"]h$]h&]uh1jhjhubjX)}(h**Description**h]j)}(hjih]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM2hjhubjX)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hjhubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_do_ioctl (C function)c.phy_do_ioctlhNtauh1hhj]hhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hj jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjihhhj jhMubj)}(h phy_do_ioctlh]j%)}(h phy_do_ioctlh]h phy_do_ioctl}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjihhhj jhMubj)}(h4(struct net_device *dev, struct ifreq *ifr, int cmd)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hj:jhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6jubj)}(h h]h }(hjGjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6jubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjXjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZjmodnameN classnameNjj!)}j$]j')}jj jsbc.phy_do_ioctlasbuh1hhj6jubj)}(h h]h }(hjxjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6jubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6jubj%)}(hdevh]hdev}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6jubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2jubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubh)}(hhh]j%)}(hifreqh]hifreq}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jtjc.phy_do_ioctlasbuh1hhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hifrh]hifr}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2jubj)}(hint cmdh](j)}(hinth]hint}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(h h]h }(hj*khhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj%)}(hcmdh]hcmd}(hj8khhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2jubeh}(h]h ]h"]h$]h&]j<j=uh1jhjihhhj jhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjihhhj jhMubah}(h]jiah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj jhMhjihhubjS)}(hhh]jX)}(h$generic ndo_eth_ioctl implementationh]h$generic ndo_eth_ioctl implementation}(hjbkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj_khhubah}(h]h ]h"]h$]h&]uh1jRhjihhhj jhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjzkjxjzkjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj~kubj)}(hhh](j)}(h1``struct net_device *dev`` the net_device struct h](j)}(h``struct net_device *dev``h]j)}(hjkh]hstruct net_device *dev}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjkubj)}(hhh]jX)}(hthe net_device structh]hthe net_device struct}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjkubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hjkh]hstruct ifreq *ifr}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjkubj)}(hhh]jX)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hjkh]h struct ifreq}(hjkhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjifrequh1hhjkhMhjkubh for socket ioctl’s}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjkubj)}(h ``int cmd`` ioctl cmd to executeh](j)}(h ``int cmd``h]j)}(hj4lh]hint cmd}(hj6lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2lubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj.lubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(hjMlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjJlubah}(h]h ]h"]h$]h&]uh1jhj.lubeh}(h]h ]h"]h$]h&]uh1jhjIlhMhjkubeh}(h]h ]h"]h$]h&]uh1jhj~kubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_do_ioctl_running (C function)c.phy_do_ioctl_runninghNtauh1hhj]hhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhjlhMubj)}(hphy_do_ioctl_runningh]j%)}(hphy_do_ioctl_runningh]hphy_do_ioctl_running}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlhhhjlhMubj)}(h4(struct net_device *dev, struct ifreq *ifr, int cmd)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]j')}jjlsbc.phy_do_ioctl_runningasbuh1hhjlubj)}(h h]h }(hj mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hdevh]hdev}(hj$mhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hj=mhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9mubj)}(h h]h }(hjJmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9mubh)}(hhh]j%)}(hifreqh]hifreq}(hj[mhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]mmodnameN classnameNjj!)}j$]jmc.phy_do_ioctl_runningasbuh1hhj9mubj)}(h h]h }(hjymhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9mubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9mubj%)}(hifrh]hifr}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9mubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjlubj)}(hint cmdh](j)}(hinth]hint}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj%)}(hcmdh]hcmd}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(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)}(h3generic ndo_eth_ioctl implementation but test firsth]h3generic ndo_eth_ioctl implementation but test first}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjmhhubah}(h]h ]h"]h$]h&]uh1jRhjlhhhjlhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj njxj njyjzj{uh1hhhhj]hNhNubj})}(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)}(hjnh]h Parameters}(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.chMhjnubj)}(hhh](j)}(h1``struct net_device *dev`` the net_device struct h](j)}(h``struct net_device *dev``h]j)}(hj4nh]hstruct net_device *dev}(hj6nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2nubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj.nubj)}(hhh]jX)}(hthe net_device structh]hthe net_device struct}(hjMnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjInhMhjJnubah}(h]h ]h"]h$]h&]uh1jhj.nubeh}(h]h ]h"]h$]h&]uh1jhjInhMhj+nubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hjmnh]hstruct ifreq *ifr}(hjonhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjknubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjgnubj)}(hhh]jX)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hjnh]h struct ifreq}(hjnhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjifrequh1hhjnhMhjnubh for socket ioctl’s}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjgnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhj+nubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hjnh]hint cmd}(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.chMhjnubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhj+nubeh}(h]h ]h"]h$]h&]uh1jhjnubjX)}(h**Description**h]j)}(hjoh]h Description}(hjohhhNhNubah}(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.chMhjnubjX)}(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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_trigger_machine (C function)c.phy_trigger_machinehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h4void phy_trigger_machine (struct phy_device *phydev)h]h)}(h3void phy_trigger_machine(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjEohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAohhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjTohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAohhhjSohMubj)}(hphy_trigger_machineh]j%)}(hphy_trigger_machineh]hphy_trigger_machine}(hjfohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjboubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAohhhjSohMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~oubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~oubh)}(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')}jjhosbc.phy_trigger_machineasbuh1hhj~oubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~oubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~oubj%)}(hphydevh]hphydev}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~oubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzoubah}(h]h ]h"]h$]h&]j<j=uh1jhjAohhhjSohMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj=ohhhjSohMubah}(h]j8oah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjSohMhj:ohhubjS)}(hhh]jX)}(h$Trigger the state machine to run nowh]h$Trigger the state machine to run now}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjphhubah}(h]h ]h"]h$]h&]uh1jRhj:ohhhjSohMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjpjxjpjyjzj{uh1hhhhj]hNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hj'ph]h Parameters}(hj)phhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%pubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj!pubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjFph]hstruct phy_device *phydev}(hjHphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hj@pubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj_phhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj\pubah}(h]h ]h"]h$]h&]uh1jhj@pubeh}(h]h ]h"]h$]h&]uh1jhj[phM hj=pubah}(h]h ]h"]h$]h&]uh1jhj!pubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_ethtool_get_strings (C function)c.phy_ethtool_get_stringshNtauh1hhj]hhhNhNubh)}(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)}(0hinth]hint}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhjphMubj)}(hphy_ethtool_get_stringsh]j%)}(hphy_ethtool_get_stringsh]hphy_ethtool_get_strings}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjphhhjphMubj)}(h%(struct phy_device *phydev, u8 *data)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j')}jjpsbc.phy_ethtool_get_stringsasbuh1hhjpubj)}(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}(hj6qhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubj)}(hu8 *datah](h)}(hhh]j%)}(hu8h]hu8}(hjRqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTqmodnameN classnameNjj!)}j$]jqc.phy_ethtool_get_stringsasbuh1hhjKqubj)}(h h]h }(hjpqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKqubj;)}(hj>h]h*}(hj~qhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKqubj%)}(hdatah]hdata}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjpubeh}(h]h ]h"]h$]h&]j<j=uh1jhjphhhjphMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjphMubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphMhjphhubjS)}(hhh]jX)}(hGet the statistic counter namesh]hGet the statistic counter names}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjqhhubah}(h]h ]h"]h$]h&]uh1jRhjphhhjphMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjqjxjqjyjzj{uh1hhhhj]hNhNubj})}(hn**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u8 *data`` Where to put the stringsh](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.chMhjqubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjqh]hstruct phy_device *phydev}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjqubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj rhMhj rubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhj rhMhjqubj)}(h%``u8 *data`` Where to put the stringsh](j)}(h ``u8 *data``h]j)}(hj/rh]hu8 *data}(hj1rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-rubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj)rubj)}(hhh]jX)}(hWhere to put the stringsh]hWhere to put the strings}(hjHrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjErubah}(h]h ]h"]h$]h&]uh1jhj)rubeh}(h]h ]h"]h$]h&]uh1jhjDrhMhjqubeh}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_ethtool_get_sset_count (C function)c.phy_ethtool_get_sset_counthNtauh1hhj]hhhNhNubh)}(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}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhhV/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 hjrhhhjrhM-ubj)}(hphy_ethtool_get_sset_counth]j%)}(hphy_ethtool_get_sset_counth]hphy_ethtool_get_sset_count}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrhhhjrhM-ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrmodnameN classnameNjj!)}j$]j')}jjrsbc.phy_ethtool_get_sset_countasbuh1hhjrubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj;)}(hj>h]h*}(hjshhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hphydevh]hphydev}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubah}(h]h ]h"]h$]h&]j<j=uh1jhjrhhhjrhM-ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrhhhjrhM-ubah}(h]j|rah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrhM-hj~rhhubjS)}(hhh]jX)}(h$Get the number of statistic countersh]h$Get the number of statistic counters}(hjIshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-hjFshhubah}(h]h ]h"]h$]h&]uh1jRhj~rhhhjrhM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjasjxjasjyjzj{uh1hhhhj]hNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjksh]h Parameters}(hjmshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjisubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hjesubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjsh]hstruct phy_device *phydev}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM3hjsubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM/hjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshM3hjsubah}(h]h ]h"]h$]h&]uh1jhjesubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_ethtool_get_stats (C function)c.phy_ethtool_get_statshNtauh1hhj]hhhNhNubh)}(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}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhhjshMGubj)}(hphy_ethtool_get_statsh]j%)}(hphy_ethtool_get_statsh]hphy_ethtool_get_stats}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjshhhjshMGubj)}(hC(struct phy_device *phydev, struct ethtool_stats *stats, u64 *data)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj!thhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hj.thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj?thhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjh]h*}(hjmthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hphydevh]hphydev}(hjzthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubj)}(hstruct ethtool_stats *statsh](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubh)}(hhh]j%)}(h ethtool_statsh]h ethtool_stats}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]j[tc.phy_ethtool_get_statsasbuh1hhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hstatsh]hstats}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubj)}(h u64 *datah](h)}(hhh]j%)}(hu64h]hu64}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]j[tc.phy_ethtool_get_statsasbuh1hhjtubj)}(h h]h }(hj$uhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hj2uhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(hdatah]hdata}(hj?uhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubeh}(h]h ]h"]h$]h&]j<j=uh1jhjshhhjshMGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjshhhjshMGubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjshMGhjshhubjS)}(hhh]jX)}(hGet the statistic countersh]hGet the statistic counters}(hjiuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGhjfuhhubah}(h]h ]h"]h$]h&]uh1jRhjshhhjshMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{uh1hhhhj]hNhNubj})}(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)}(hjuh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKhjuubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjuh]hstruct phy_device *phydev}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMIhjuubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMIhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMIhjuubj)}(h5``struct ethtool_stats *stats`` What counters to get h](j)}(h``struct ethtool_stats *stats``h]j)}(hjuh]hstruct ethtool_stats *stats}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMJhjuubj)}(hhh]jX)}(hWhat counters to geth]hWhat counters to get}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMJhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMJhjuubj)}(h)``u64 *data`` Where to store the countersh](j)}(h ``u64 *data``h]j)}(hjvh]h u64 *data}(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.chMLhjvubj)}(hhh]jX)}(hWhere to store the countersh]hWhere to store the counters}(hj5vhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKhj2vubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhj1vhMLhjuubeh}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_start_cable_test (C function)c.phy_start_cable_testhNtauh1hhj]hhhNhNubh)}(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}(hjvvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrvhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrvhhhjvhMGubj)}(hphy_start_cable_testh]j%)}(hphy_start_cable_testh]hphy_start_cable_test}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrvhhhjvhMGubj)}(h;(struct phy_device *phydev, struct netlink_ext_ack *extack)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jjvsbc.phy_start_cable_testasbuh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjvubj%)}(hphydevh]hphydev}(hj whhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hj%whhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!wubj)}(h h]h }(hj2whhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!wubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjCwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@wubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEwmodnameN classnameNjj!)}j$]jvc.phy_start_cable_testasbuh1hhj!wubj)}(h h]h }(hjawhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!wubj;)}(hj>h]h*}(hjowhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!wubj%)}(hextackh]hextack}(hj|whhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!wubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubeh}(h]h ]h"]h$]h&]j<j=uh1jhjrvhhhjvhMGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjnvhhhjvhMGubah}(h]jivah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhMGhjkvhhubjS)}(hhh]jX)}(hStart a cable testh]hStart a cable test}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjkvhhhjvhMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjwjxjwjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjwh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKhjwubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjwh]hstruct phy_device *phydev}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMIhjwubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMIhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMIhjwubj)}(hM``struct netlink_ext_ack *extack`` extack for reporting useful error messagesh](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj xh]hstruct netlink_ext_ack *extack}(hj"xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMKhjxubj)}(hhh]jX)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hj9xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMJhj6xubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhj5xhMKhjwubeh}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_start_cable_test_tdr (C function)c.phy_start_cable_test_tdrhNtauh1hhj]hhhNhNubh)}(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}(hjzxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvxhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvxhhhjxhMubj)}(hphy_start_cable_test_tdrh]j%)}(hphy_start_cable_test_tdrh]hphy_start_cable_test_tdr}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjvxhhhjxhMubj)}(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}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjxhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjxmodnameN classnameNjj!)}j$]j')}jjxsbc.phy_start_cable_test_tdrasbuh1hhjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj%)}(hphydevh]hphydev}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hj)yhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj%yubj)}(h h]h }(hj6yhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%yubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjGyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjIymodnameN classnameNjj!)}j$]jxc.phy_start_cable_test_tdrasbuh1hhj%yubj)}(h h]h }(hjeyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%yubj;)}(hj>h]h*}(hjsyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%yubj%)}(hextackh]hextack}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%yubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubj)}(h#const struct phy_tdr_config *configh](h)}(hjh]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hphy_tdr_configh]hphy_tdr_config}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]jxc.phy_start_cable_test_tdrasbuh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hconfigh]hconfig}(hj zhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjxubeh}(h]h ]h"]h$]h&]j<j=uh1jhjvxhhhjxhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjrxhhhjxhMubah}(h]jmxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxhMhjoxhhubjS)}(hhh]jX)}(hStart a raw TDR cable testh]hStart a raw TDR cable test}(hj5zhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj2zhhubah}(h]h ]h"]h$]h&]uh1jRhjoxhhhjxhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMzjxjMzjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjWzh]h Parameters}(hjYzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUzubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjQzubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjvzh]hstruct phy_device *phydev}(hjxzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtzubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjpzubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjpzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjmzubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjzh]hstruct netlink_ext_ack *extack}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjzubj)}(hhh]jX)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjmzubj)}(hH``const struct phy_tdr_config *config`` Configuration of the test to runh](j)}(h'``const struct phy_tdr_config *config``h]j)}(hjzh]h#const struct phy_tdr_config *config}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjzubj)}(hhh]jX)}(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.chMhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjmzubeh}(h]h ]h"]h$]h&]uh1jhjQzubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_inband_caps (C function)c.phy_inband_capshNtauh1hhj]hhhNhNubh)}(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}(hjB{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 }(hjQ{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>{hhhjP{hM ubj)}(hinth]hint}(hj_{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>{hhhjP{hM ubj)}(h h]h }(hjm{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>{hhhjP{hM ubj)}(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=uh1jhj>{hhhjP{hM ubj)}(h6(struct phy_device *phydev, phy_interface_t interface)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_inband_capsasbuh1hhj{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj;)}(hj>h]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj{ubj%)}(hphydevh]hphydev}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj |ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j{c.phy_inband_capsasbuh1hhj |ubj)}(h h]h }(hj.|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj |ubj%)}(h interfaceh]h interface}(hj<|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj |ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj>{hhhjP{hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:{hhhjP{hM ubah}(h]j5{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjP{hM hj7{hhubjS)}(hhh]jX)}(h2query which in-band signalling modes are supportedh]h2query which in-band signalling modes are supported}(hjf|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hjc|hhubah}(h]h ]h"]h$]h&]uh1jRhj7{hhhjP{hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~|jxj~|jyjzj{uh1hhhhj]hNhNubj})}(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)}(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)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.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)}(hj|h]hstruct phy_device}(hj|hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhj|hM hj|ubeh}(h]h ]h"]h$]h&]uh1jWhj|hM hj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hM hj|ubj)}(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.chMhj|ubj)}(hhh]jX)}(hthe interface mode for the PHYh]hthe interface mode for the PHY}(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&]uh1jhj8}ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj|ubjX)}(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 }(hjP}hhhNhNubh)}(h>:c:type:`enum link_inband_signalling `h]j)}(hjZ}h]henum link_inband_signalling}(hj\}hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjX}ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjlink_inband_signallinguh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjP}ubhQ to describe which inband modes are supported by the PHY for this interface mode.}(hjP}hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjw}hMhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_config_inband (C function)c.phy_config_inbandhNtauh1hhj]hhhNhNubh)}(hhh](h)}(hEint phy_config_inband (struct phy_device *phydev, unsigned int modes)h]h)}(hDint phy_config_inband(struct phy_device *phydev, unsigned int modes)h](j)}(hinth]hint}(hj}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_config_inbandh]j%)}(hphy_config_inbandh]hphy_config_inband}(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, unsigned int modes)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_config_inbandasbuh1hhj}ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj;)}(hj>h]h*}(hj+~hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj}ubj%)}(hphydevh]hphydev}(hj8~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubj)}(hunsigned int modesh](j)}(hunsignedh]hunsigned}(hjQ~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM~ubj)}(h h]h }(hj_~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjM~ubj)}(hinth]hint}(hjm~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM~ubj)}(h h]h }(hj{~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjM~ubj%)}(hmodesh]hmodes}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjM~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj}ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj}hhhj}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&configure the desired PHY in-band modeh]h&configure the desired PHY in-band mode}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM!hj~hhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhj}hM!ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~jxj~jyjzj{uh1hhhhj]hNhNubj})}(hX"**Parameters** ``struct phy_device *phydev`` the phy_device struct ``unsigned int modes`` in-band modes to configure **Description** disables, enables or enables-with-bypass in-band signalling between the PHY and host system. **Return** zero on success, or negative errno value.h](jX)}(h**Parameters**h]j)}(hj~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.chM%hj~ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj~h]hstruct phy_device *phydev}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM"hj~ubj)}(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&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj hM"hj~ubj)}(h2``unsigned int modes`` in-band modes to configure h](j)}(h``unsigned int modes``h]j)}(hj-h]hunsigned int modes}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM#hj'ubj)}(hhh]jX)}(hin-band modes to configureh]hin-band modes to configure}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM#hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM#hj~ubeh}(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&]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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM(hj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_phy_start_aneg (C function)c._phy_start_aneghNtauh1hhj]hhhNhNubh)}(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}(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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hM=ubj)}(h_phy_start_anegh]j%)}(h_phy_start_anegh]h_phy_start_aneg}(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}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]j')}jj!sbc._phy_start_anegasbuh1hhj7ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubah}(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*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.chM=hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hM=ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjրjxjրjyjzj{uh1hhhhj]hNhNubj})}(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&]uh1jhjހubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMAhjڀ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.chM>hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjڀubjX)}(h**Description**h]j)}(hj:h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM@hjڀubj)}(hhh]j)}(hSanitizes the settings (if we're not autonegotiating them), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h](j)}(h4Sanitizes the settings (if we're not autonegotiatingh]h6Sanitizes the settings (if we’re not autonegotiating}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMBhjSubj)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMAhjfubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjehMBhjPubah}(h]h ]h"]h$]h&]uh1jhjڀubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_aneg (C function)c.phy_start_aneghNtauh1hhj]hhhNhNubh)}(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}(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_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=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')}jj́sbc.phy_start_anegasbuh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj߁ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM]ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM]ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM]hjhhubjS)}(hhh]jX)}(h*start auto-negotiation for this PHY deviceh]h*start auto-negotiation for this PHY device}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM]hjghhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM]ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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.chMahjubj)}(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.chM^hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjĂhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(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`hjubj)}(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.chMbhjubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_down (C function)c.phy_speed_downhNtauh1hhj]hhhNhNubh)}(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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRhhhjdhMubj)}(hphy_speed_downh]j%)}(hphy_speed_downh]hphy_speed_down}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjRhhhjdhMubj)}(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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjysbc.phy_speed_downasbuh1hhjubj)}(h h]h }(hjуhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj߃hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool synch](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hsynch]hsync}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjRhhhjdhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjNhhhjdhMubah}(h]jIah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjdhMhjKhhubjS)}(hhh]jX)}(h9set speed to lowest speed supported by both link partnersh]h9set speed to lowest speed supported by both link partners}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjGhhubah}(h]h ]h"]h$]h&]uh1jRhjKhhhjdhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjbjxjbjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjfubj)}(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&]uh1jWhjلhMhjڄubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjلhMhjubeh}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjfubjX)}(h;Typically used to save energy when waiting for a WoL packeth]h;Typically used to save energy when waiting for a WoL packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjfubjX)}(hX2WARNING: Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you're sure it's safe with the respective network chip.h]hX6WARNING: Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you’re sure it’s safe with the respective network chip.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_up (C function)c.phy_speed_uphNtauh1hhj]hhhNhNubh)}(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}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhhhjahMubj)}(h phy_speed_uph]j%)}(h phy_speed_uph]h phy_speed_up}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjOhhhjahMubj)}(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')}jjvsbc.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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(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)}(h1(re)set advertised speeds to all supported speedsh]h1(re)set advertised speeds to all supported speeds}(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&]uh1jRhjHhhhjahMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj+jxj+jyjzj{uh1hhhhj]hNhNubj})}(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)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(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)}(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)}(hthe phy_device structh]hthe phy_device struct}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj/ubjX)}(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.chMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_machine (C function)c.phy_start_machinehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h2void phy_start_machine (struct phy_device *phydev)h]h)}(h1void phy_start_machine(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjԆhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjІhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjІhhhjhMubj)}(hphy_start_machineh]j%)}(hphy_start_machineh]hphy_start_machine}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjІhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj1modnameN classnameNjj!)}j$]j')}jjsbc.phy_start_machineasbuh1hhj ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj]hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(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ІhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj̆hhhjhMubah}(h]jdžah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjɆ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ɆhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(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̇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.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}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj)ubj)}(hhh]jX)}(hwhich tracks whether the PHY is starting up, negotiating, etc. This function starts the delayed workqueue which tracks the state of the PHY. If you want to maintain your own state machine, do not call this function.h]hwhich tracks whether the PHY is starting up, negotiating, etc. This function starts the delayed workqueue which tracks the state of the PHY. If you want to maintain your own state machine, do not call this function.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj<ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj&ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_error (C function) c.phy_errorhNtauh1hhj]hhhNhNubh)}(hhh](h)}(h*void phy_error (struct phy_device *phydev)h]h)}(h)void phy_error(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|hhhjhMGubj)}(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|hhhjhMGubj)}(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')}jjsb c.phy_errorasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj|hhhjhMGubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxhhhjhMGubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMGhjuhhubjS)}(hhh]jX)}(h%enter ERROR state for this PHY deviceh]h%enter ERROR state 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.chMGhj=hhubah}(h]h ]h"]h$]h&]uh1jRhjuhhhjhMGubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjXjxjXjyjzj{uh1hhhhj]hNhNubj})}(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)}(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.chMKhj\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.chMHhj{ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjxubah}(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.chMJhj\ubjX)}(hMoves the PHY to the ERROR state in response to a read or write error, and tells the controller the link is down. Must be called with phydev->lock held.h]hMoves the PHY to the ERROR state in response to a read or write error, and tells the controller the link is down. Must be called with phydev->lock held.}(hj҉hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMIhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_request_interrupt (C function)c.phy_request_interrupthNtauh1hhj]hhhNhNubh)}(hhh](h)}(h6void phy_request_interrupt (struct phy_device *phydev)h]h)}(h5void phy_request_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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_request_interrupth]j%)}(hphy_request_interrupth]hphy_request_interrupt}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:ubj)}(h h]h }(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_request_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}(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)}(h-request and enable interrupt for a PHY deviceh]h-request and enable interrupt for a PHY device}(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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjيjxjيjyjzj{uh1hhhhj]hNhNubj})}(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)}(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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj݊ubjX)}(h**Description**h]j)}(hj=h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi: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.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjVubj)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjSubah}(h]h ]h"]h$]h&]uh1jhj݊ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_free_interrupt (C function)c.phy_free_interrupthNtauh1hhj]hhhNhNubh)}(hhh](h)}(h3void phy_free_interrupt (struct phy_device *phydev)h]h)}(h2void phy_free_interrupt(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(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}(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 reftargetj modnameN classnameNjj!)}j$]j')}jjϋsbc.phy_free_interruptasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h+disable and free interrupt for a PHY deviceh]h+disable and free interrupt for a PHY device}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjihhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Disable and free the interrupt for the given PHY. This should only be called with a valid IRQ number.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(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.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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(h3This should only be called with a valid IRQ number.h]h3This should only be called with a valid IRQ number.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop (C function) c.phy_stophNtauh1hhj]hhhNhNubh)}(hhh](h)}(h)void phy_stop (struct phy_device *phydev)h]h)}(h(void phy_stop(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(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)}(hphy_stoph]j%)}(hphy_stoph]hphy_stop}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjfhM^ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj{sb c.phy_stopasbuh1hhjubj)}(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=uh1jhjThhhjfhM^ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhjfhM^ubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhM^hjMhhubjS)}(hhh]jX)}(h5Bring down the PHY link, and stop checking the statush]h5Bring down the PHY link, and stop checking the status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM^hjhhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhjfhM^ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhj]hNhNubj})}(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&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMbhj4ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](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:113: ./drivers/net/phy/phy.chMdhjSubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM_hjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMdhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start (C function) c.phy_starthNtauh1hhj]hhhNhNubh)}(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 hjhhhjhMubj)}(h phy_starth]j%)}(h phy_starth]h phy_start}(hjԎhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjЎubah}(h]h ](j7j8eh"]h$]h&]j<j=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$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj֎sb c.phy_startasbuh1hhjubj)}(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}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hstart or restart a PHY deviceh]hstart or restart a PHY device}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjphhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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.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.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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(hhandle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.h]hhandle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mac_interrupt (C function)c.phy_mac_interrupthNtauh1hhj]hhhNhNubh)}(hhh](h)}(h2void phy_mac_interrupt (struct phy_device *phydev)h]h)}(h1void phy_mac_interrupt(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhjmhMubj)}(hphy_mac_interrupth]j%)}(hphy_mac_interrupth]hphy_mac_interrupt}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[hhhjmhMubj)}(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 }(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[hhhjmhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjmhMubah}(h]jRah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhMhjThhubjS)}(hhh]jX)}(hMAC says the link has changedh]hMAC says the link has changed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjmhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7jxj7jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj;ubj)}(hhh]j)}(hB``struct phy_device *phydev`` phy_device struct with changed link h](j)}(h``struct phy_device *phydev``h]j)}(hj`h]hstruct phy_device *phydev}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjZubj)}(hhh]jX)}(h#phy_device struct with changed linkh]h#phy_device struct with changed link}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj;ubjX)}(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.chMhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_loopback (C function)c.phy_loopbackhNtauh1hhj]hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjܑhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjܑhhhjhMubj)}(h phy_loopbackh]j%)}(h phy_loopbackh]h phy_loopback}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjܑhhhjhMubj)}(h3(struct phy_device *phydev, bool enable, int speed)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]j')}jjsbc.phy_loopbackasbuh1hhjubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjihhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool enableh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(henableh]henable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int speedh](j)}(hinth]hint}(hjÒhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjђhhhNhNubah}(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=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)}(hConfigure loopback mode of PHYh]hConfigure loopback mode of PHY}(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&]uh1jRhjՑhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhj]hNhNubj})}(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)}(hj+h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj%ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjJh]hstruct phy_device *phydev}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjDubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubj)}(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&]uh1jhjhMhjAubj)}(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}(hjՓhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjѓhMhjғubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjѓhMhjAubeh}(h]h ]h"]h$]h&]uh1jhj%ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj%ubjX)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj%ubjX)}(h **Return**h]j)}(hjh]hReturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj%ubjX)}(h-0 on success, negative error code on failure.h]h-0 on success, negative error code on failure.}(hj4hhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phy_eee_tx_clock_stop_capable (C function)c.phy_eee_tx_clock_stop_capablehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h=int phy_eee_tx_clock_stop_capable (struct phy_device *phydev)h]h)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj_hhhjqhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj[hhhjqhMubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjqhMhjXhhubjS)}(hhh]jX)}(h*indicate whether the MAC can stop tx clockh]h*indicate whether the MAC can stop tx clock}(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&]uh1jRhjXhhhjqhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj?ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjdh]hstruct phy_device *phydev}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj^ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj?ubjX)}(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.chMhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_eee_rx_clock_stop (C function)c.phy_eee_rx_clock_stophNtauh1hhj]hhhNhNubh)}(hhh](h)}(hKint phy_eee_rx_clock_stop (struct phy_device *phydev, bool clk_stop_enable)h]h)}(hJint phy_eee_rx_clock_stop(struct phy_device *phydev, bool clk_stop_enable)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM%ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM%ubj)}(hphy_eee_rx_clock_stoph]j%)}(hphy_eee_rx_clock_stoph]hphy_eee_rx_clock_stop}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM%ubj)}(h1(struct phy_device *phydev, bool clk_stop_enable)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jjsbc.phy_eee_rx_clock_stopasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjmhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool clk_stop_enableh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hclk_stop_enableh]hclk_stop_enable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM%ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjܕhhhjhM%ubah}(h]jוah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM%hjٕhhubjS)}(hhh]jX)}(h"configure PHY receive clock in LPIh]h"configure PHY receive clock in LPI}(hjؖhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM%hjՖhhubah}(h]h ]h"]h$]h&]uh1jRhjٕhhhjhM%ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM)hjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(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.chM&hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hM&hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hM&hjubj)}(hK``bool clk_stop_enable`` flag to indicate whether the clock can be stopped h](j)}(h``bool clk_stop_enable``h]j)}(hjRh]hbool clk_stop_enable}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM'hjLubj)}(hhh]jX)}(h1flag to indicate whether the clock can be stoppedh]h1flag to indicate whether the clock can be stopped}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghM'hjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghM'hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM)hjubjX)}(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(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:113: ./drivers/net/phy/phy.chM+hjubjX)}(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.chM,hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_init_eee (C function)c.phy_init_eeehNtauh1hhj]hhhNhNubh)}(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}(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)}(h phy_init_eeeh]j%)}(h phy_init_eeeh]h phy_init_eee}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM:ubj)}(h1(struct phy_device *phydev, bool clk_stop_enable)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]j')}jjsbc.phy_init_eeeasbuh1hhj2ubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hbool clk_stop_enableh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hclk_stop_enableh]hclk_stop_enable}(hjØhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM:ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM:ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM:hjhhubjS)}(hhh]jX)}(hinit and check the EEE featureh]hinit and check the EEE feature}(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&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hX]**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool clk_stop_enable`` PHY may stop the clock during LPI **Description** it checks if the Energy-Efficient Ethernet (EEE) is supported by looking at the MMD registers 3.20 and 7.60/61 and it programs the MMD register 3.0 setting the "Clock stop enable" bit if required.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]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)}(h7``struct phy_device *phydev`` target 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM;hj(ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChM;hjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChM;hj%ubj)}(h;``bool clk_stop_enable`` PHY may stop the clock during LPI h](j)}(h``bool clk_stop_enable``h]j)}(hjgh]hbool clk_stop_enable}(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)}(h!PHY may stop the clock during LPIh]h!PHY may stop the clock during LPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hM<hj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM>hj ubjX)}(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.chM>hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_eee_err (C function)c.phy_get_eee_errhNtauh1hhj]hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMXubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMXubj)}(hphy_get_eee_errh]j%)}(hphy_get_eee_errh]hphy_get_eee_err}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMXubj)}(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 }(hj1hhhNhNubah}(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_get_eee_errasbuh1hhj 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%)}(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=uh1jhjhhhjhMXubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjߙhhhjhMXubah}(h]jڙah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMXhjܙ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.chMXhjhhubah}(h]h ]h"]h$]h&]uh1jRhjܙhhhjhMXubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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.chM\hjÚubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMYhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjߚubah}(h]h ]h"]h$]h&]uh1jhjÚubjX)}(h**Description**h]j)}(hj#h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM[hjÚ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.}(hj9hhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_eee (C function)c.phy_ethtool_get_eeehNtauh1hhj]hhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMnubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdhhhjvhMnubj)}(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=uh1jhjdhhhjvhMnubj)}(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 }(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)}(hstruct ethtool_keee *datah](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]jߛc.phy_ethtool_get_eeeasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjahhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdatah]hdata}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjdhhhjvhMnubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj`hhhjvhMnubah}(h]j[ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjvhMnhj]hhubjS)}(hhh]jX)}(hget EEE supported and statush]hget EEE supported and status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMnhjhhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhjvhMnubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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.chMrhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjٜh]hstruct phy_device *phydev}(hjۜhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjלubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMohjӜubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjӜubeh}(h]h ]h"]h$]h&]uh1jhjhMohjМubj)}(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.chMphj ubj)}(hhh]jX)}(hethtool_keee datah]hethtool_keee data}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hMphj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMphjМubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjMh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMrhjubjX)}(hAget the current EEE settings, filling in all members of **data**.h](h8get the current EEE settings, filling in all members of }(hjchhhNhNubj)}(h**data**h]hdata}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMrhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_eee (C function)c.phy_ethtool_set_eeehNtauh1hhj]hhhNhNubh)}(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$hjubah}(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}(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_ethtool_set_eeeasbuh1hhjݝubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjݝubj;)}(hj>h]h*}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjݝubj%)}(hphydevh]hphydev}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjݝubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjٝubj)}(hstruct ethtool_keee *datah](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 ethtool_keeeh]h ethtool_keee}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]jc.phy_ethtool_set_eeeasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(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)}(hset EEE supported and statush]hset EEE supported and status}(hjԞhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjўhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj ubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjNh]hstruct ethtool_keee *data}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjHubj)}(hhh]jX)}(hethtool_keee datah]hethtool_keee data}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhj 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.chMhjubjX)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_wol (C function)c.phy_ethtool_set_wolhNtauh1hhj]hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(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}(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_ethtool_set_wolasbuh1hhjubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct ethtool_wolinfo *wolh](h)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hethtool_wolinfoh]hethtool_wolinfo}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jEc.phy_ethtool_set_wolasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjǠhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hwolh]hwol}(hjԠhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(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)}(hConfigure Wake On LANh]hConfigure Wake On LAN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjßhhhjܟhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_wolinfo *wol`` Configuration requestedh](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.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}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj9ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhj6ubj)}(h7``struct ethtool_wolinfo *wol`` Configuration requestedh](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjxh]hstruct ethtool_wolinfo *wol}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjrubj)}(hhh]jX)}(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&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_wol (C function)c.phy_ethtool_get_wolhNtauh1hhj]hhhNhNubh)}(hhh](h)}(hQvoid phy_ethtool_get_wol (struct phy_device *phydev, struct ethtool_wolinfo *wol)h]h)}(hPvoid phy_ethtool_get_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol)h](j)}(hvoidh]hvoid}(hjҡhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjΡhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjΡhhhjhMubj)}(hphy_ethtool_get_wolh]j%)}(hphy_ethtool_get_wolh]hphy_ethtool_get_wol}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjΡhhhjhMubj)}(h8(struct phy_device *phydev, struct ethtool_wolinfo *wol)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/modnameN classnameNjj!)}j$]j')}jjsbc.phy_ethtool_get_wolasbuh1hhj ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(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$]jIc.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}(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=jDuh1hjEjFhjʡhhhjhMubah}(h]jšah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjǡhhubjS)}(hhh]jX)}(h)Get the current Wake On LAN configurationh]h)Get the current Wake On LAN configuration}(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]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_wolinfo *wol`` Store the current configuration hereh](jX)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjCh]hstruct phy_device *phydev}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]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&]uh1jWhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj:ubj)}(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&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjvubj)}(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&]uh1jhjvubeh}(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#phy_ethtool_nway_reset (C function)c.phy_ethtool_nway_resethNtauh1hhj]hhhNhNubh)}(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}(hj֣hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjңhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjңhhhjhM ubj)}(hphy_ethtool_nway_reseth]j%)}(hphy_ethtool_nway_reseth]hphy_ethtool_nway_reset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjңhhhjhM ubj)}(h(struct net_device *ndev)h]j)}(hstruct net_device *ndevh](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}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3modnameN classnameNjj!)}j$]j')}jjsbc.phy_ethtool_nway_resetasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj_hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hndevh]hndev}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhjңhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjΣhhhjhM ubah}(h]jɣah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjˣhhubjS)}(hhh]jX)}(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.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjˣhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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.chM hjubj)}(hhh]j)}(hA``struct net_device *ndev`` Network device to restart autoneg forh](j)}(h``struct net_device *ndev``h]j)}(hjפh]hstruct net_device *ndev}(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%Network device to restart autoneg forh]h%Network device to restart autoneg for}(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&]uh1jhjѤubeh}(h]h ]h"]h$]h&]uh1jhjhMhjΤubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_config_interrupt (C function)c.phy_config_interrupthNtauh1hhj]hhhNhNubh)}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj?hKubj)}(hphy_config_interrupth]j%)}(hphy_config_interrupth]hphy_config_interrupt}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj?hKubj)}(h,(struct phy_device *phydev, bool interrupts)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_config_interruptasbuh1hhjjubj)}(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)}(hbool interruptsh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjܥubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjܥubj%)}(h interruptsh]h interrupts}(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-hhhj?hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj)hhhj?hKubah}(h]j$ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj?hKhj&hhubjS)}(hhh]jX)}(h5configure the PHY device for the requested interruptsh]h5configure the PHY device for the requested interrupts}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj"hhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj?hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj=jxj=jyjzj{uh1hhhhj]hNhNubj})}(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)}(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.chKhjAubj)}(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:116: ./drivers/net/phy/phy.chKhj`ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hKhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hKhj]ubj)}(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&]uh1jhjhKhj]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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjAubjX)}(h%Returns 0 on success or < 0 on error.h]h%Returns 0 on success or < 0 on error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_supported_speeds (C function)c.phy_supported_speedshNtauh1hhj]hhhNhNubh)}(hhh](h)}(hcunsigned int phy_supported_speeds (struct phy_device *phy, unsigned int *speeds, unsigned int size)h]h)}(hbunsigned int phy_supported_speeds(struct phy_device *phy, unsigned int *speeds, unsigned int size)h](j)}(hunsignedh]hunsigned}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj;hKubj)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hhhj;hKubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)hhhj;hKubj)}(hphy_supported_speedsh]j%)}(hphy_supported_speedsh]hphy_supported_speeds}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjfubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj)hhhj;hKubj)}(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')}jjlsbc.phy_supported_speedsasbuh1hhjubj)}(h h]h }(hjħhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjҧhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphyh]hphy}(hjߧhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hunsigned int *speedsh](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;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hspeedsh]hspeeds}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj)}(hinth]hint}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(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)}(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&]uh1jRhj"hhhj;hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjШjxjШjyjzj{uh1hhhhj]hNhNubj})}(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)}(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)}(hI``struct phy_device *phy`` The phy device to return supported speeds of. 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jX)}(h-The phy device to return supported speeds of.h]h-The phy device to return supported speeds of.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h>``unsigned int *speeds`` buffer to store supported speeds in. h](j)}(h``unsigned int *speeds``h]j)}(hj2h]hunsigned int *speeds}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj,ubj)}(hhh]jX)}(h$buffer to store supported speeds in.h]h$buffer to store supported speeds in.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhKhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhKhjubj)}(h-``unsigned int size`` size of speeds buffer. h](j)}(h``unsigned int size``h]j)}(hjkh]hunsigned int size}(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)}(hsize of speeds buffer.h]hsize of speeds buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjԨubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjԨubjX)}(hReturns the number of supported speeds, and fills the speeds buffer with the supported speeds. If speeds buffer is too small to contain all currently supported speeds, will return as many speeds as can fit.h]hReturns the number of supported speeds, and fills the speeds buffer with the supported speeds. If speeds buffer is too small to contain all currently supported speeds, will return as many speeds as can fit.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjԨubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_sanitize_settings (C function)c.phy_sanitize_settingshNtauh1hhj]hhhNhNubh)}(hhh](h)}(h6void phy_sanitize_settings (struct phy_device *phydev)h]h)}(h5void phy_sanitize_settings(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(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_sanitize_settingsh]j%)}(hphy_sanitize_settingsh]hphy_sanitize_settings}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jjsbc.phy_sanitize_settingsasbuh1hhj$ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj;)}(hj>h]h*}(hjthhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKubah}(h]jީah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhjhhubjS)}(hhh]jX)}(h6make sure the PHY is set to supported speed and duplexh]h6make sure the PHY is set to supported speed and duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjêjxjêjyjzj{uh1hhhhj]hNhNubj})}(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)}(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.chKhjubj)}(hhh]jX)}(hthe target phy_device structh]hthe target phy_device struct}(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ǪubjX)}(h**Description**h]j)}(hj'h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.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}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj@ubj)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhKhjSubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhjRhKhj=ubah}(h]h ]h"]h$]h&]uh1jhjǪubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_get (C function)c.__phy_hwtstamp_gethNtauh1hhj]hhhNhNubh)}(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}(hjӫhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjϫubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjϫubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_hwtstamp_getasbuh1hhjϫubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjϫubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjϫubj%)}(hphydevh]hphydev}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjϫubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj˫ubj)}(h%struct kernel_hwtstamp_config *configh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hhh]j%)}(hkernel_hwtstamp_configh]hkernel_hwtstamp_config}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j c.__phy_hwtstamp_getasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(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]hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(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 structureh]hthe PHY device structure}(hj hhhNhNubah}(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)}(hj@h]h%struct kernel_hwtstamp_config *config}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj:ubj)}(hhh]jX)}(h0structure holding the timestamping configurationh]h0structure holding the timestamping configuration}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj{h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(hIQuery the PHY device for its current hardware timestamping configuration.h]hIQuery the PHY device for its current hardware timestamping configuration.}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_set (C function)c.__phy_hwtstamp_sethNtauh1hhj]hhhNhNubh)}(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}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_hwtstamp_setasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjIhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h%struct kernel_hwtstamp_config *configh](h)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(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$]j7c.__phy_hwtstamp_setasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hconfigh]hconfig}(hjƮhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hj߮hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjۮubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjۮubh)}(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$]j7c.__phy_hwtstamp_setasbuh1hhjۮubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjۮubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjۮubj%)}(hextackh]hextack}(hj6hhhNhNubah}(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)}(h.Modify PHY hardware timestamping configurationh]h.Modify PHY hardware timestamping configuration}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj]hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjέhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the PHY device structure ``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration ``struct netlink_ext_ack *extack`` netlink extended ack structure, for error reportingh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.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)}(hjگh]h%struct kernel_hwtstamp_config *config}(hjܯhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjدubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjԯubj)}(hhh]jX)}(h0structure holding the timestamping configurationh]h0structure holding the timestamping configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjԯubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hV``struct netlink_ext_ack *extack`` netlink extended ack structure, for error reportingh](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjh]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj ubj)}(hhh]jX)}(h3netlink extended ack structure, for error reportingh]h3netlink extended ack structure, for error reporting}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_queue_state_machine (C function)c.phy_queue_state_machinehNtauh1hhj]hhhNhNubh)}(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}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhV/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 hjihhhj{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=uh1jhjihhhj{hMubj)}(h2(struct phy_device *phydev, unsigned long jiffies)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned long jiffiesh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hjiffiesh]hjiffies}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjihhhj{hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhj{hMubah}(h]j`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{hMhjbhhubjS)}(hhh]jX)}(h%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&]uh1jRhjbhhhj{hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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}(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}(hjرhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjԱhMhjձubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjԱhMhjubj)}(hC``unsigned long jiffies`` Run the state machine after these jiffiesh](j)}(h``unsigned long jiffies``h]j)}(hjh]hunsigned long jiffies}(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)Run the state machine after these jiffiesh]h)Run the state machine after these jiffies}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(__phy_ethtool_get_phy_stats (C function)c.__phy_ethtool_get_phy_statshNtauh1hhj]hhhNhNubh)}(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}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM\ubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNhhhj`hM\ubj)}(h__phy_ethtool_get_phy_statsh]j%)}(h__phy_ethtool_get_phy_statsh]h__phy_ethtool_get_phy_stats}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjNhhhj`hM\ubj)}(hl(struct phy_device *phydev, struct ethtool_eth_phy_stats *phy_stats, struct ethtool_phy_stats *phydev_stats)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjusbc.__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}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hethtool_eth_phy_statsh]hethtool_eth_phy_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]jɲc.__phy_ethtool_get_phy_statsasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjKhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h phy_statsh]h phy_stats}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h&struct ethtool_phy_stats *phydev_statsh](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(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_statsasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(h phydev_statsh]h phydev_stats}(hjȳhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjNhhhj`hM\ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjJhhhj`hM\ubah}(h]jEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj`hM\hjGhhubjS)}(hhh]jX)}(h$Retrieve standardized PHY statisticsh]h$Retrieve standardized PHY statistics}(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&]uh1jRhjGhhhj`hM\ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` Pointer to the PHY device ``struct ethtool_eth_phy_stats *phy_stats`` Pointer to ethtool_eth_phy_stats structure ``struct ethtool_phy_stats *phydev_stats`` Pointer to ethtool_phy_stats structure **Description** Fetches PHY statistics using a kernel-defined interface for consistent diagnostics. Unlike phy_ethtool_get_stats(), which allows custom stats, this function enforces a standardized format for better interoperability.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM`hjubj)}(hhh](j)}(h8``struct phy_device *phydev`` Pointer to the PHY device h](j)}(h``struct phy_device *phydev``h]j)}(hj3h]hstruct phy_device *phydev}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM]hj-ubj)}(hhh]jX)}(hPointer to the PHY deviceh]hPointer to the PHY device}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhM]hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM]hj*ubj)}(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)}(hjlh]h'struct ethtool_eth_phy_stats *phy_stats}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM^hjfubj)}(hhh]jX)}(h*Pointer to ethtool_eth_phy_stats structureh]h*Pointer to ethtool_eth_phy_stats structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhM^hj*ubj)}(hR``struct ethtool_phy_stats *phydev_stats`` Pointer to ethtool_phy_stats structure h](j)}(h*``struct ethtool_phy_stats *phydev_stats``h]j)}(hjh]h&struct ethtool_phy_stats *phydev_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM_hjubj)}(hhh]jX)}(h&Pointer to ethtool_phy_stats structureh]h&Pointer to ethtool_phy_stats structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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&]uh1jhj޴ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMahjubjX)}(hFetches PHY statistics using a kernel-defined interface for consistent diagnostics. Unlike phy_ethtool_get_stats(), which allows custom stats, this function enforces a standardized format for better interoperability.h]hFetches PHY statistics using a kernel-defined interface for consistent diagnostics. Unlike phy_ethtool_get_stats(), which allows custom stats, this function enforces a standardized format for better interoperability.}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-__phy_ethtool_get_link_ext_stats (C function)"c.__phy_ethtool_get_link_ext_statshNtauh1hhj]hhhNhNubh)}(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}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMrubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj3hMrubj)}(h __phy_ethtool_get_link_ext_statsh]j%)}(h __phy_ethtool_get_link_ext_statsh]h __phy_ethtool_get_link_ext_stats}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj3hMrubj)}(hF(struct phy_device *phydev, struct ethtool_link_ext_stats *link_stats)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjHsb"c.__phy_ethtool_get_link_ext_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%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubj)}(h)struct ethtool_link_ext_stats *link_statsh](h)}(hjh]hstruct}(hjԵhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjеubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjеubh)}(hhh]j%)}(hethtool_link_ext_statsh]hethtool_link_ext_stats}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j"c.__phy_ethtool_get_link_ext_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 link_statsh]h link_stats}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjеubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubeh}(h]h ]h"]h$]h&]j<j=uh1jhj!hhhj3hMrubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj3hMrubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hMrhjhhubjS)}(hhh]jX)}(h+Retrieve extended link statistics for a PHYh]h+Retrieve extended link statistics for a PHY}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMrhjRhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj3hMrubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjmjxjmjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjwh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMvhjqubj)}(hhh](j)}(h8``struct phy_device *phydev`` Pointer to the PHY device h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMshjubj)}(hhh]jX)}(hPointer to the PHY deviceh]hPointer to the PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubj)}(hi``struct ethtool_link_ext_stats *link_stats`` Pointer to the structure to store extended link statistics h](j)}(h-``struct ethtool_link_ext_stats *link_stats``h]j)}(hj϶h]h)struct ethtool_link_ext_stats *link_stats}(hjѶhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjͶubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMthjɶubj)}(hhh]jX)}(h:Pointer to the structure to store extended link statisticsh]h:Pointer to the structure to store extended link statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjɶubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubeh}(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:116: ./drivers/net/phy/phy.chMvhjqubjX)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMuhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_get_plca_cfg (C function)c.phy_ethtool_get_plca_cfghNtauh1hhj]hhhNhNubh)}(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}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhV/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 hjKhhhj]hMubj)}(hphy_ethtool_get_plca_cfgh]j%)}(hphy_ethtool_get_plca_cfgh]hphy_ethtool_get_plca_cfg}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjKhhhj]hMubj)}(h:(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjrsbc.phy_ethtool_get_plca_cfgasbuh1hhjubj)}(h h]h }(hjʷhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjطhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct phy_plca_cfg *plca_cfgh](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_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_get_plca_cfgasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplca_cfgh]hplca_cfg}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjKhhhj]hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhj]hMubah}(h]jBah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj]hMhjDhhubjS)}(hhh]jX)}(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.chMhj|hhubah}(h]h ]h"]h$]h&]uh1jRhjDhhhj]hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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}(hjٸhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjոhMhjָubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjոhMhjubj)}(hM``struct phy_plca_cfg *plca_cfg`` where to store the retrieved configuration h](j)}(h!``struct phy_plca_cfg *plca_cfg``h]j)}(hjh]hstruct 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)}(h*where to store the retrieved configurationh]h*where to store the retrieved configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj4h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]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.}(hjJhhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hplca_check_valid (C function)c.plca_check_validhNtauh1hhj]hhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuhhhjhMubj)}(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=uh1jhjuhhhjhMubj)}(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}(hjԹhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjѹubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjֹmodnameN classnameNjj!)}j$]j')}jjsbc.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%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h#const struct phy_plca_cfg *plca_cfgh](h)}(hjh]hconst}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hhh]j%)}(h phy_plca_cfgh]h phy_plca_cfg}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]jc.plca_check_validasbuh1hhj$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_cfgh]hplca_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(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}(hjѺhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjκubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjӺmodnameN classnameNjj!)}j$]jc.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%)}(hextackh]hextack}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjuhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjqhhhjhMubah}(h]jlah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjnhhubjS)}(hhh]jX)}(h(Check PLCA configuration before enablingh]h(Check PLCA configuration before enabling}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj1hhubah}(h]h ]h"]h$]h&]uh1jRhjnhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLjxjLjyjzj{uh1hhhhj]hNhNubj})}(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)}(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)}(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:116: ./drivers/net/phy/phy.chMhjoubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubj)}(hC``const struct phy_plca_cfg *plca_cfg`` current PLCA configuration h](j)}(h'``const struct phy_plca_cfg *plca_cfg``h]j)}(hjh]h#const struct phy_plca_cfg *plca_cfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(hcurrent PLCA configurationh]hcurrent PLCA configuration}(hjǻhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjûhMhjĻubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjûhMhjlubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjh]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubeh}(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&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjPubjX)}(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.}(hj8hhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_set_plca_cfg (C function)c.phy_ethtool_set_plca_cfghNtauh1hhj]hhhNhNubh)}(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}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjchhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjchhhjuhMubj)}(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=uh1jhjchhhjuhMubj)}(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 }(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 phy_plca_cfg *plca_cfgh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_plca_cfgh]h phy_plca_cfg}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j޼c.phy_ethtool_set_plca_cfgasbuh1hhjubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj{hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplca_cfgh]hplca_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j޼c.phy_ethtool_set_plca_cfgasbuh1hhjubj)}(h h]h }(hjݽhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjchhhjuhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj_hhhjuhMubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjuhMhj\hhubjS)}(hhh]jX)}(hSet PLCA RS configurationh]hSet PLCA RS configuration}(hj"hhhNhNubah}(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\hhhjuhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj:jxj:jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjDh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj>ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjch]hstruct phy_device *phydev}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj]ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjZubj)}(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&]uh1jhjhMhjZubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjվh]hstruct netlink_ext_ack *extack}(hj׾hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӾubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjϾubj)}(hhh]jX)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjϾubeh}(h]h ]h"]h$]h&]uh1jhjhMhjZubeh}(h]h ]h"]h$]h&]uh1jhj>ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj>ubjX)}(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.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_ethtool_get_plca_status (C function)c.phy_ethtool_get_plca_statushNtauh1hhj]hhhNhNubh)}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM(ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjchM(ubj)}(hphy_ethtool_get_plca_statush]j%)}(hphy_ethtool_get_plca_statush]hphy_ethtool_get_plca_status}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjchM(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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjxsbc.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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct phy_plca_status *plca_sth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphy_plca_statush]hphy_plca_status}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$modnameN classnameNjj!)}j$]j̿c.phy_ethtool_get_plca_statusasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplca_sth]hplca_st}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjQhhhjchM(ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMhhhjchM(ubah}(h]jHah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjchM(hjJhhubjS)}(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&]uh1jRhjJhhhjchM(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct phy_plca_status *plca_st`` where to store the retrieved status information **Description** Retrieve the PLCA status information from the PHY. Return 0 on success or a negative value if an error occurred.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM,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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM)hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubj)}(hT``struct phy_plca_status *plca_st`` where to store the retrieved status information h](j)}(h#``struct phy_plca_status *plca_st``h]j)}(hjh]hstruct phy_plca_status *plca_st}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM*hjubj)}(hhh]jX)}(h/where to store the retrieved status informationh]h/where to store the retrieved status information}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM*hjubah}(h]h ]h"]h$]h&]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&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM,hjubjX)}(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.}(hjPhhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_check_link_status (C function)c.phy_check_link_statushNtauh1hhj]hhhNhNubh)}(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&]uh1jhj{hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhjhMubj)}(hphy_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=uh1jhj{hhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_check_link_statusasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj{hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjwhhhjhMubah}(h]jrah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjthhubjS)}(hhh]jX)}(h+check link status and set state accordinglyh]h+check link status and set state accordingly}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj<hhubah}(h]h ]h"]h$]h&]uh1jRhjthhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjWjxjWjyjzj{uh1hhhhj]hNhNubj})}(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)}(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.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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjzubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj[ubjX)}(hWCheck for link and whether autoneg was triggered / is running and set state accordinglyh]hWCheck for link and whether autoneg was triggered / is running and set state accordingly}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop_machine (C function)c.phy_stop_machinehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h1void phy_stop_machine (struct phy_device *phydev)h]h)}(h0void phy_stop_machine(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM#ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM#ubj)}(hphy_stop_machineh]j%)}(hphy_stop_machineh]hphy_stop_machine}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM#ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j')}jj#sbc.phy_stop_machineasbuh1hhj9ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM#ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM#ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM#hjhhubjS)}(hhh]jX)}(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&]uh1jRhjhhhjhM#ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Stops the state machine delayed workqueue, sets the state to UP (unless it wasn't up yet). This function must be called BEFORE phy_detach.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM'hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM$hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj<h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM&hjubj)}(hhh]j)}(hStops the state machine delayed workqueue, sets the state to UP (unless it wasn't up yet). This function must be called BEFORE phy_detach.h](j)}(h3Stops the state machine delayed workqueue, sets theh]h3Stops the state machine delayed workqueue, sets the}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM'hjUubj)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghM'hjhubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjghM'hjRubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_disable_interrupts (C function)c.phy_disable_interruptshNtauh1hhj]hhhNhNubh)}(hhh](h)}(h6int phy_disable_interrupts (struct phy_device *phydev)h]h)}(h5int phy_disable_interrupts(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMVubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMVubj)}(hphy_disable_interruptsh]j%)}(hphy_disable_interruptsh]hphy_disable_interrupts}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMVubj)}(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_disable_interruptsasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMVubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMVubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMVhjhhubjS)}(hhh]jX)}(h,Disable the PHY interrupts from the PHY sideh]h,Disable the PHY interrupts from the PHY side}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMVhjhhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMVubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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.chMZhjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM\hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_interrupt (C function)c.phy_interrupthNtauh1hhj]hhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}j phy_interruptsbc.phy_interruptasbuh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM`ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj*hM`ubj)}(h phy_interrupth]j%)}(hj'h]h phy_interrupt}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj*hM`ubj)}(h(int irq, void *phy_dat)h](j)}(hint irqh](j)}(hinth]hint}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(hirqh]hirq}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubj)}(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=uh1jhjPubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj*hM`ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj*hM`ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*hM`hjhhubjS)}(hhh]jX)}(hPHY interrupt handlerh]hPHY interrupt handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM`hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj*hM`ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(h{**Parameters** ``int irq`` interrupt line ``void *phy_dat`` phy_device pointer **Description** Handle PHY interrupth](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.chMdhjubj)}(hhh](j)}(h``int irq`` interrupt line h](j)}(h ``int irq``h]j)}(hj!h]hint irq}(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.chMahjubj)}(hhh]jX)}(hinterrupt lineh]hinterrupt line}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMahj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMahjubj)}(h%``void *phy_dat`` phy_device pointer h](j)}(h``void *phy_dat``h]j)}(hjZh]h void *phy_dat}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMbhjTubj)}(hhh]jX)}(hphy_device pointerh]hphy_device pointer}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMbhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMbhjubeh}(h]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.chMdhjubjX)}(hHandle PHY interrupth]hHandle PHY interrupt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMdhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_enable_interrupts (C function)c.phy_enable_interruptshNtauh1hhj]hhhNhNubh)}(hhh](h)}(h5int phy_enable_interrupts (struct phy_device *phydev)h]h)}(h4int phy_enable_interrupts(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_enable_interruptsh]j%)}(hphy_enable_interruptsh]hphy_enable_interrupts}(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}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jjsbc.phy_enable_interruptsasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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'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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_update_stats (C function)c.phy_update_statshNtauh1hhj]hhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhjChMubj)}(hphy_update_statsh]j%)}(hphy_update_statsh]hphy_update_stats}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhjChMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjXsbc.phy_update_statsasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjnubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(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)}(h*Update PHY device statistics if supported.h]h*Update PHY device statistics if supported.}(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*hhhjChMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj]hNhNubj})}(hX3**Parameters** ``struct phy_device *phydev`` Pointer to the PHY device structure. **Description** If the PHY driver provides an update_stats callback, this function invokes it to update the PHY statistics. If not, it returns 0. **Return** 0 on success, or a negative error code if the callback fails.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(hC``struct phy_device *phydev`` Pointer to the PHY device structure. h](j)}(h``struct phy_device *phydev``h]j)}(hj6h]hstruct phy_device *phydev}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj0ubj)}(hhh]jX)}(h$Pointer to the PHY device structure.h]h$Pointer to the PHY device structure.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjqh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(hIf the PHY driver provides an update_stats callback, this function invokes it to update the PHY statistics. If not, it returns 0.h]hIf the PHY driver provides an update_stats callback, this function invokes it to update the PHY statistics. If not, it returns 0.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(h=0 on success, or a negative error code if the callback fails.h]h=0 on success, or a negative error code if the callback fails.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_get_next_update_time (C function)c.phy_get_next_update_timehNtauh1hhj]hhhNhNubh)}(hhh](h)}(hAunsigned int phy_get_next_update_time (struct phy_device *phydev)h]h)}(h@unsigned int phy_get_next_update_time(struct phy_device *phydev)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(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)}(hphy_get_next_update_timeh]j%)}(hphy_get_next_update_timeh]hphy_get_next_update_time}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]j')}jjsbc.phy_get_next_update_timeasbuh1hhj2ubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(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 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&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hX:**Parameters** ``struct phy_device *phydev`` Pointer to the phy_device structure **Description** This function queries the PHY driver to get the time for the next polling event. If the driver does not implement the callback, a default value is used. **Return** The time for the next polling event in jiffiesh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(hB``struct phy_device *phydev`` Pointer to the phy_device structure h](j)}(h``struct phy_device *phydev``h]j)}(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 structureh]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&]uh1jhjubjX)}(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:116: ./drivers/net/phy/phy.chMhjubjX)}(hThis function queries the PHY driver to get the time for the next polling event. If the driver does not implement the callback, a default value is used.h]hThis function queries the PHY driver to get the time for the next polling event. If the driver does not implement the callback, a default value is used.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(h **Return**h]j)}(hj\h]hReturn}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjX)}(h.The time for the next polling event in jiffiesh]h.The time for the next polling event in jiffies}(hjrhhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state_machine (C function)c.phy_state_machinehNtauh1hhj]hhhNhNubh)}(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.chMLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMLubj)}(hphy_state_machineh]j%)}(hphy_state_machineh]hphy_state_machine}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMLubj)}(h(struct work_struct *work)h]j)}(hstruct work_struct *workh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h work_structh]h work_struct}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_state_machineasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj*hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hworkh]hwork}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(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)}(hHandle the state machineh]hHandle the state machine}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMLhj^hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMLubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjyjxjyjyjzj{uh1hhhhj]hNhNubj})}(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.chMPhj}ubj)}(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.chMRhjubj)}(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.chMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_ethtool_set_eee_noneg (C function)c.phy_ethtool_set_eee_noneghNtauh1hhj]hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hMubj)}(hphy_ethtool_set_eee_nonegh]j%)}(hphy_ethtool_set_eee_nonegh]hphy_ethtool_set_eee_noneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj hMubj)}(h=(struct phy_device *phydev, const struct eee_config *old_cfg)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_ethtool_set_eee_nonegasbuh1hhj5ubj)}(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=uh1jhj1ubj)}(h const struct eee_config *old_cfgh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h eee_configh]h eee_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jsc.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%)}(hold_cfgh]hold_cfg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubeh}(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)}(h7Adjusts MAC LPI configuration without PHY renegotiationh]h7Adjusts MAC LPI configuration without PHY renegotiation}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjDhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_jxj_jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjih]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjcubj)}(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)}(hjh]h const struct eee_config *old_cfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjcubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjcubjX)}(hXThis function updates the Energy Efficient Ethernet (EEE) configuration for cases where only the MAC's Low Power Idle (LPI) configuration changes, without triggering PHY renegotiation. It ensures that the MAC is properly informed of the new LPI settings by cycling the link down and up, which is necessary for the MAC to adopt the new configuration. This adjustment is done only if there is a change in the tx_lpi_enabled or tx_lpi_timer configuration.h]hXThis function updates the Energy Efficient Ethernet (EEE) configuration for cases where only the MAC’s Low Power Idle (LPI) configuration changes, without triggering PHY renegotiation. It ensures that the MAC is properly informed of the new LPI settings by cycling the link down and up, which is necessary for the MAC to adopt the new configuration. This adjustment is done only if there is a change in the tx_lpi_enabled or tx_lpi_timer configuration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_to_str (C function)c.phy_speed_to_strhNtauh1hhj]hhhNhNubh)}(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}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj)}(h h]h }(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhjNhKubj)}(hcharh]hchar}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhjNhKubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhjNhKubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=hhhjNhKubj)}(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=uh1jhj=hhhjNhKubj)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj=hhhjNhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj9hhhjNhKubah}(h]j4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjNhKhj6hhubjS)}(hhh]jX)}(h/Return a string representing the PHY link speedh]h/Return a string representing the PHY link speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjhhubah}(h]h ]h"]h$]h&]uh1jRhj6hhhjNhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(h1**Parameters** ``int speed`` Speed of the linkh](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:119: ./drivers/net/phy/phy-core.chKhjubj)}(hhh]j)}(h``int speed`` Speed of the linkh](j)}(h ``int speed``h]j)}(hj-h]h int speed}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhj'ubj)}(hhh]jX)}(hSpeed of the linkh]hSpeed of the link}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhKhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_duplex_to_str (C function)c.phy_duplex_to_strhNtauh1hhj]hhhNhNubh)}(hhh](h)}(h4const char * phy_duplex_to_str (unsigned int duplex)h]h)}(h2const char *phy_duplex_to_str(unsigned int duplex)h](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKCubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKCubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKCubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhKCubj)}(hphy_duplex_to_strh]j%)}(hphy_duplex_to_strh]hphy_duplex_to_str}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKCubj)}(h(unsigned int duplex)h]j)}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKCubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKCubah}(h]jzah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKChj|hhubjS)}(hhh]jX)}(h#Return string describing the duplexh]h#Return string describing the duplex}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKChjKhhubah}(h]h ]h"]h$]h&]uh1jRhj|hhhjhKCubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjfjxjfjyjzj{uh1hhhhj]hNhNubj})}(hD**Parameters** ``unsigned int duplex`` Duplex setting to describeh](jX)}(h**Parameters**h]j)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKGhjjubj)}(hhh]j)}(h2``unsigned int duplex`` Duplex setting to describeh](j)}(h``unsigned int duplex``h]j)}(hjh]hunsigned int duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKIhjubj)}(hhh]jX)}(hDuplex setting to describeh]hDuplex setting to describe}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKIhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_rate_matching_to_str (C function)c.phy_rate_matching_to_strhNtauh1hhj]hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKTubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKTubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKTubj;)}(hj>h]h*}(hj!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhKTubj)}(hphy_rate_matching_to_strh]j%)}(hphy_rate_matching_to_strh]hphy_rate_matching_to_str}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKTubj)}(h(int rate_matching)h]j)}(hint rate_matchingh](j)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(h rate_matchingh]h rate_matching}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKTubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKThjhhubjS)}(hhh]jX)}(h,Return a string describing the rate matchingh]h,Return a string describing the rate matching}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKThjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hI**Parameters** ``int rate_matching`` Type of rate matching to describeh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKXhjubj)}(hhh]j)}(h7``int rate_matching`` Type of rate matching to describeh](j)}(h``int rate_matching``h]j)}(hjh]hint rate_matching}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKZhjubj)}(hhh]jX)}(h!Type of rate matching to describeh]h!Type of rate matching to describe}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_interface_num_ports (C function)c.phy_interface_num_portshNtauh1hhj]hhhNhNubh)}(hhh](h)}(h7int phy_interface_num_ports (phy_interface_t interface)h]h)}(h6int phy_interface_num_ports(phy_interface_t interface)h](j)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKiubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+hhhj=hKiubj)}(hphy_interface_num_portsh]j%)}(hphy_interface_num_portsh]hphy_interface_num_ports}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+hhhj=hKiubj)}(h(phy_interface_t interface)h]j)}(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$]j')}jjRsbc.phy_interface_num_portsasbuh1hhjhubj)}(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=uh1jhjdubah}(h]h ]h"]h$]h&]j<j=uh1jhj+hhhj=hKiubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj'hhhj=hKiubah}(h]j"ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=hKihj$hhubjS)}(hhh]jX)}(hReturn the number of links that can be carried by a given MAC-PHY physical link. Returns 0 if this is unknown, the number of links else.h]hReturn the number of links that can be carried by a given MAC-PHY physical link. Returns 0 if this is unknown, the number of links else.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKihjhhubah}(h]h ]h"]h$]h&]uh1jRhj$hhhj=hKiubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(he**Parameters** ``phy_interface_t interface`` The interface mode we want to get the number of portsh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKmhjubj)}(hhh]j)}(hS``phy_interface_t interface`` The interface mode we want to get the number of portsh](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(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.chKohjubj)}(hhh]jX)}(h5The interface mode we want to get the number of portsh]h5The interface mode we want to get the number of ports}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_max_speed (C function)c.phy_set_max_speedhNtauh1hhj]hhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhjphKubj)}(hphy_set_max_speedh]j%)}(hphy_set_max_speedh]hphy_set_max_speed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhjphKubj)}(h*(struct phy_device *phydev, u32 max_speed)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_set_max_speedasbuh1hhjubj)}(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 max_speedh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_set_max_speedasbuh1hhj ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(h max_speedh]h max_speed}(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^hhhjphKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZhhhjphKubah}(h]jUah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphKhjWhhubjS)}(hhh]jX)}(h,Set the maximum speed the PHY should supporth]h,Set the maximum speed the PHY should support}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjghhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjphKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hXB**Parameters** ``struct phy_device *phydev`` The phy_device struct ``u32 max_speed`` Maximum speed **Description** The PHY might be more capable than the MAC. For example a Fast Ethernet is connected to a 1G PHY. This function allows the MAC to indicate its maximum speed, and so limit what the PHY will advertise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubjX)}(hThe PHY might be more capable than the MAC. For example a Fast Ethernet is connected to a 1G PHY. This function allows the MAC to indicate its maximum speed, and so limit what the PHY will advertise.h]hThe PHY might be more capable than the MAC. For example a Fast Ethernet is connected to a 1G PHY. This function allows the MAC to indicate its maximum speed, and so limit what the PHY will advertise.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_resolve_aneg_pause (C function)c.phy_resolve_aneg_pausehNtauh1hhj]hhhNhNubh)}(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}(hjdhhhNhNubah}(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 }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhjrhMubj)}(hphy_resolve_aneg_pauseh]j%)}(hphy_resolve_aneg_pauseh]hphy_resolve_aneg_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj`hhhjrhMubj)}(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_pauseasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj`hhhjrhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\hhhjrhMubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrhMhjYhhubjS)}(hhh]jX)}(hDetermine pause autoneg resultsh]hDetermine pause autoneg results}(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&]uh1jRhjYhhhjrhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhj]hNhNubj})}(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)}(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.chMhj@ubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjeh]hstruct phy_device *phydev}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]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&]uh1jWhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj@ubjX)}(hOnce autoneg has completed the local pause settings can be resolved. Determine if pause and asymmetric pause should be used by the MAC.h]hOnce autoneg has completed the local pause settings can be resolved. Determine if pause and asymmetric pause should be used by the MAC.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_resolve_aneg_linkmode (C function)c.phy_resolve_aneg_linkmodehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h:void phy_resolve_aneg_linkmode (struct phy_device *phydev)h]h)}(h9void phy_resolve_aneg_linkmode(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_resolve_aneg_linkmodeh]j%)}(hphy_resolve_aneg_linkmodeh]hphy_resolve_aneg_linkmode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(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 reftargetjBmodnameN classnameNjj!)}j$]j')}jjsbc.phy_resolve_aneg_linkmodeasbuh1hhjubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjnhhhNhNubah}(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,resolve the advertisements into PHY settingsh]h,resolve the advertisements into PHY settings}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` The phy_device struct **Description** Resolve our and the link partner advertisements into their corresponding speed and duplex. If full duplex was negotiated, extract the pause mode from the link partner mask.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(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:119: ./drivers/net/phy/phy-core.chMhjubjX)}(hResolve our and the link partner advertisements into their corresponding speed and duplex. If full duplex was negotiated, extract the pause mode from the link partner mask.h]hResolve our and the link partner advertisements into their corresponding speed and duplex. If full duplex was negotiated, extract the pause mode from the link partner mask.}(hj7hhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read_mmd (C function)c.__phy_read_mmdhNtauh1hhj]hhhNhNubh)}(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}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhjthMubj)}(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=uh1jhjbhhhjthMubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hdevadh]hdevad}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOmodnameN classnameNjj!)}j$]jc.__phy_read_mmdasbuh1hhjFubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj%)}(hregnumh]hregnum}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(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)}(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&]uh1jRhj[hhhjthMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct ``int devad`` The MMD to read from (0..31) ``u32 regnum`` The register on the MMD to read (0..65535) **Description** Same rules as for __phy_read();h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``int devad`` The MMD to read from (0..31) h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe MMD to read from (0..31)h]hThe MMD to read from (0..31)}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(h:``u32 regnum`` The register on the MMD to read (0..65535) h](j)}(h``u32 regnum``h]j)}(hjVh]h u32 regnum}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjPubj)}(hhh]jX)}(h*The register on the MMD to read (0..65535)h]h*The register on the MMD to read (0..65535)}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_mmd (C function)c.phy_read_mmdhNtauh1hhj]hhhNhNubh)}(hhh](h)}(hCint phy_read_mmd (struct phy_device *phydev, int devad, u32 regnum)h]h)}(hBint phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h phy_read_mmdh]j%)}(h phy_read_mmdh]h phy_read_mmd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h2(struct phy_device *phydev, int devad, u32 regnum)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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_read_mmdasbuh1hhjubj)}(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 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$]jMc.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.}(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&]jvjqjwj+jxj+jyjzj{uh1hhhhj]hNhNubj})}(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)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj/ubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjTh]hstruct phy_device *phydev}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjNubj)}(hhh]jX)}(hThe phy_device struct>h]hThe phy_device struct}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjKubj)}(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&]uh1jhjhMhjKubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjKubeh}(h]h ]h"]h$]h&]uh1jhj/ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj/ubjX)}(hSame rules as for phy_read();h]hSame rules as for phy_read();}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write_mmd (C function)c.__phy_write_mmdhNtauh1hhj]hhhNhNubh)}(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}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBhhhjThMubj)}(h__phy_write_mmdh]j%)}(h__phy_write_mmdh]h__phy_write_mmd}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjBhhhjThMubj)}(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')}jjisbc.__phy_write_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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$]jc.__phy_write_mmdasbuh1hhj&ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj%)}(hregnumh]hregnum}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjuhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]jc.__phy_write_mmdasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj{ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjBhhhjThMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>hhhjThMubah}(h]j9ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThMhj;hhubjS)}(hhh]jX)}(hEConvenience function for writing a register on an MMD on a given PHY.h]hEConvenience function for writing a register on an MMD on a given PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj;hhhjThMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(hj h]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.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!hMhjubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hjEh]h int devad}(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.chMhj?ubj)}(hhh]jX)}(hThe MMD to read fromh]hThe MMD to read from}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(hj~h]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjxubj)}(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&]uh1jhjxubeh}(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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(h Same rules as for __phy_write();h]h Same rules as for __phy_write();}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_mmd (C function)c.phy_write_mmdhNtauh1hhj]hhhNhNubh)}(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}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjShMubj)}(h phy_write_mmdh]j%)}(h phy_write_mmdh]h phy_write_mmd}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjShMubj)}(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&]uh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjhsbc.phy_write_mmdasbuh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(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=uh1jhjzubj)}(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_write_mmdasbuh1hhj%ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj%)}(hregnumh]hregnum}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]jc.phy_write_mmdasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(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)}(hEConvenience function for writing a register on an MMD on a given PHY.h]hEConvenience function for writing a register on an MMD on a given PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj:hhhjShMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(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)}(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 hMhjubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hjDh]h int devad}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(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}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(hj}h]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjwubj)}(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&]uh1jhjwubeh}(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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(hSame rules as for phy_write();h]hSame rules as for phy_write();}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_changed (C function)c.phy_modify_changedhNtauh1hhj]hhhNhNubh)}(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}(hjDhhhNhNubah}(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 }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjRhMubj)}(hphy_modify_changedh]j%)}(hphy_modify_changedh]hphy_modify_changed}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhjRhMubj)}(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')}jjgsbc.phy_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%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_modify_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(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.phy_modify_changedasbuh1hhj7ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj%)}(hmaskh]hmask}(hjjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_modify_changedasbuh1hhjubj)}(h h]h }(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=uh1jhjyubeh}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhjRhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhjRhMubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRhMhj9hhubjS)}(hhh]jX)}(h%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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj9hhhjRhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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.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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjVh]h u32 regnum}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjPubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(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.}(hj'hhhNhNubah}(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}(hj6hhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify (C function)c.__phy_modifyhNtauh1hhj]hhhNhNubh)}(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}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjshMubj)}(h __phy_modifyh]j%)}(h __phy_modifyh]h __phy_modify}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjahhhjshMubj)}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_modifyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_modifyasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(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 reftargetjamodnameN classnameNjj!)}j$]jc.__phy_modifyasbuh1hhjXubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(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_modifyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjahhhjshMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj]hhhjshMubah}(h]jXah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjshMhjZhhubjS)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjZhhhjshMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM 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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hj8ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM hj5ubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjwh]h u32 regnum}(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.chM hjqubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhM hj5ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj5ubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjubj)}(hhh]jX)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(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 hj5ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(hj2h]hNOTE}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.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.}(hjHhhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify (C function) c.phy_modifyhNtauh1hhj]hhhNhNubh)}(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}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhh[/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 hjshhhjhMubj)}(h phy_modifyh]j%)}(h phy_modifyh]h phy_modify}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjshhhjhMubj)}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.phy_modifyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+modnameN classnameNjj!)}j$]j c.phy_modifyasbuh1hhj"ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj%)}(hregnumh]hregnum}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]j c.phy_modifyasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.phy_modifyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjshhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjohhhjhMubah}(h]jjah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjlhhubjS)}(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.chMhj hhubah}(h]h ]h"]h$]h&]uh1jRhjlhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj'jxj'jyjzj{uh1hhhhj]hNhNubj})}(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)}(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.chM!hj+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.chMhjJubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjGubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjGubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM hjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjGubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM!hjubj)}(hhh]jX)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubjX)}(h**NOTE**h]j)}(hjDh]hNOTE}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.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.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM#hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__phy_modify_mmd_changed (C function)c.__phy_modify_mmd_changedhNtauh1hhj]hhhNhNubh)}(hhh](h)}(hbint __phy_modify_mmd_changed (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]h)}(haint __phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM4ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM4ubj)}(h__phy_modify_mmd_changedh]j%)}(h__phy_modify_mmd_changedh]h__phy_modify_mmd_changed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM4ubj)}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_modify_mmd_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj%)}(hdevadh]hdevad}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjrmodnameN classnameNjj!)}j$]jc.__phy_modify_mmd_changedasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_modify_mmd_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_modify_mmd_changedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM4ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM4ubah}(h]j|ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM4hj~hhubjS)}(hhh]jX)}(h(Function for modifying a register on MMDh]h(Function for modifying a register on MMD}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM4hjShhubah}(h]h ]h"]h$]h&]uh1jRhj~hhhjhM4ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjnjxjnjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM8hjrubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM5hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(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.chM6hjubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(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)}(hj h]h u32 regnum}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM7hjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjBh]hu16 mask}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM8hj<ubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjWhM8hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM8hjubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM9hjuubj)}(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&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubeh}(h]h ]h"]h$]h&]uh1jhjrubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM;hjrubjX)}(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.chM:hjrubjX)}(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=hjrubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_modify_mmd_changed (C function)c.phy_modify_mmd_changedhNtauh1hhj]hhhNhNubh)}(hhh](h)}(h`int phy_modify_mmd_changed (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]h)}(h_int phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMTubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj&hMTubj)}(hphy_modify_mmd_changedh]j%)}(hphy_modify_mmd_changedh]hphy_modify_mmd_changed}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj&hMTubj)}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjumodnameN classnameNjj!)}j$]j')}jj;sbc.phy_modify_mmd_changedasbuh1hhjQubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubj)}(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=uh1jhjMubj)}(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 }(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=uh1jhjMubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]jc.phy_modify_mmd_changedasbuh1hhj@ubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj%)}(hmaskh]hmask}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMubj)}(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=uh1jhjMubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj&hMTubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj&hMTubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&hMThj 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.chMThjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj&hMTubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMXhjubj)}(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.chMUhj ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMUhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMUhjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hj_h]h int devad}(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.chMVhjYubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMVhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMVhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMWhjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(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.chMXhjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(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.chMYhjubj)}(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&]uh1jWhjhMYhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(hjSh]hNOTE}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(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.}(hjihhhNhNubah}(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}(hjxhhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify_mmd (C function)c.__phy_modify_mmdhNtauh1hhj]hhhNhNubh)}(hhh](h)}(hZint __phy_modify_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]h)}(hYint __phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMoubj)}(h__phy_modify_mmdh]j%)}(h__phy_modify_mmdh]h__phy_modify_mmd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMoubj)}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_modify_mmdasbuh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int devadh](j)}(hinth]hint}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj%)}(hdevadh]hdevad}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_modify_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.__phy_modify_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.__phy_modify_mmdasbuh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hseth]hset}(hjJhhhNhNubah}(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)}(h4Convenience function for modifying a register on MMDh]h4Convenience function for modifying a register on MMD}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMohjqhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMoubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMshjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(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.chMphjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMqhjubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjubj)}(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.chMrhj!ubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj<hMrhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMrhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj`h]hu16 mask}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMshjZubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMshjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMshjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMthjubj)}(hhh]jX)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(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.chMvhjubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMvhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_mmd (C function)c.phy_modify_mmdhNtauh1hhj]hhhNhNubh)}(hhh](h)}(hXint phy_modify_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]h)}(hWint phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#hhhj5hMubj)}(hphy_modify_mmdh]j%)}(hphy_modify_mmdh]hphy_modify_mmd}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj#hhhj5hMubj)}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjJsbc.phy_modify_mmdasbuh1hhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=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$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_modify_mmdasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\ubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]jc.phy_modify_mmdasbuh1hhjOubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(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_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=uh1jhj\ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj#hhhj5hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj5hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5hMhjhhubjS)}(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&]uh1jRhjhhhj5hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj5h]hstruct phy_device *phydev}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj/ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj,ubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjnh]h int devad}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjhubj)}(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&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hj2hhhNhNubj)}(h **regnum**h]hregnum}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jWhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhj,ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(hjbh]hNOTE}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(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.}(hjxhhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_save_page (C function)c.phy_save_pagehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h-int phy_save_page (struct phy_device *phydev)h]h)}(h,int phy_save_page(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h phy_save_pageh]j%)}(h phy_save_pageh]h phy_save_page}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_save_pageasbuh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h+take the bus lock and save the current pageh]h+take the bus lock and save the current page}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjdhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hX?**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` **Description** Take the MDIO bus lock, and return the current page number. On error, returns a negative errno. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjh]hstruct phy_device}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]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)}(hTake the MDIO bus lock, and return the current page number. On error, returns a negative errno. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h]hTake the MDIO bus lock, and return the current page number. On error, returns a negative errno. phy_restore_page() must always be called after this, irrespective of success or failure of this call.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_select_page (C function)c.phy_select_pagehNtauh1hhj]hhhNhNubh)}(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}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhjUhMubj)}(hphy_select_pageh]j%)}(hphy_select_pageh]hphy_select_page}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjChhhjUhMubj)}(h%(struct phy_device *phydev, int page)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjjsbc.phy_select_pageasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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=uh1jhjChhhjUhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?hhhjUhMubah}(h]j:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjUhMhj<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}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj9hhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhjUhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{uh1hhhhj]hNhNubj})}(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)}(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.chMhjXubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjwubj)}(hhh]jX)}(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&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h``int page`` desired page h](j)}(h ``int page``h]j)}(hjh]hint page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(h desired pageh]h desired page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubeh}(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&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjXubjX)}(hX(Take the MDIO bus lock to protect against concurrent access, save the current PHY page, and set the current page. On error, returns a negative errno, otherwise returns the previous page number. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h]hX(Take the MDIO bus lock to protect against concurrent access, save the current PHY page, and set the current page. On error, returns a negative errno, otherwise returns the previous page number. phy_restore_page() must always be called after this, irrespective of success or failure of this call.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_restore_page (C function)c.phy_restore_pagehNtauh1hhj]hhhNhNubh)}(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}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjchMubj)}(hphy_restore_pageh]j%)}(hphy_restore_pageh]hphy_restore_page}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjchMubj)}(h1(struct phy_device *phydev, int oldpage, int ret)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjxsbc.phy_restore_pageasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int oldpageh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(holdpageh]holdpage}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint reth](j)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj%)}(hreth]hret}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(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)}(h2restore the page register and release the bus lockh]h2restore the page register and release the bus lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj|hhubah}(h]h ]h"]h$]h&]uh1jRhjJhhhjchMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjh]hstruct phy_device}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``int oldpage`` the old page, return value from phy_save_page() or phy_select_page() h](j)}(h``int oldpage``h]j)}(hjh]h int oldpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(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()}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubj)}(h$``int ret`` operation's return code h](j)}(h ``int ret``h]j)}(hjQh]hint ret}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjKubj)}(hhh]jX)}(hoperation's return codeh]hoperation’s return code}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(hRelease the MDIO bus lock, restoring **oldpage** if it is a valid page. This function propagates the earliest error code from the group of operations.h](h%Release the MDIO bus lock, restoring }(hjhhhNhNubj)}(h **oldpage**h]holdpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhf if it is a valid page. This function propagates the earliest error code from the group of operations.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubjX)}(h**oldpage** if it was a negative value, otherwise **ret** if it was a negative errno value, otherwise phy_write_page()'s negative value if it were in error, otherwise **ret**.h](j)}(h **oldpage**h]holdpage}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_paged (C function)c.phy_read_pagedhNtauh1hhj]hhhNhNubh)}(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}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhjJhMubj)}(hphy_read_pagedh]j%)}(hphy_read_pagedh]hphy_read_paged}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj8hhhjJhMubj)}(h1(struct phy_device *phydev, int page, u32 regnum)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj_sbc.phy_read_pagedasbuh1hhjuubj)}(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)}(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=uh1jhjqubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%modnameN classnameNjj!)}j$]jc.phy_read_pagedasbuh1hhjubj)}(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=uh1jhjqubeh}(h]h ]h"]h$]h&]j<j=uh1jhj8hhhjJhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4hhhjJhMubah}(h]j/ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjJhMhj1hhubjS)}(hhh]jX)}(h1Convenience function for reading a paged registerh]h1Convenience function for reading a paged register}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhjJhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` the page for the phy ``u32 regnum`` register number **Description** Same rules as for phy_read().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjh]hstruct phy_device}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhj ubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(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``u32 regnum`` register number 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)}(hregister numberh]hregister number}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(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&]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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_paged (C function)c.phy_write_pagedhNtauh1hhj]hhhNhNubh)}(hhh](h)}(hNint phy_write_paged (struct phy_device *phydev, int page, u32 regnum, u16 val)h]h)}(hMint phy_write_paged(struct phy_device *phydev, int page, u32 regnum, u16 val)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(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=uh1jhjhhhjhMubj)}(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}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(modnameN classnameNjj!)}j$]j')}jjsbc.phy_write_pagedasbuh1hhjubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjThhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint pageh](j)}(hinth]hint}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj%)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(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$]jBc.phy_write_pagedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jBc.phy_write_pagedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h1Convenience function for writing a paged registerh]h1Convenience function for writing a paged register}(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&]jvjqjwjhjxjhjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjlubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjh]hstruct phy_device}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hjh]hint page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hj"h]h u32 regnum}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jX)}(hregister numberh]hregister number}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h``u16 val`` value to write 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.chMhjUubj)}(hhh]jX)}(hvalue to writeh]hvalue to write}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubeh}(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&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjlubjX)}(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.chMhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_modify_paged_changed (C function)c.phy_modify_paged_changedhNtauh1hhj]hhhNhNubh)}(hhh](h)}(haint phy_modify_paged_changed (struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h]h)}(h`int phy_modify_paged_changed(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM+ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM+ubj)}(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=uh1jhjhhhjhM+ubj)}(hD(struct phy_device *phydev, int page, 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}(hj6 hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3 ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8 modnameN classnameNjj!)}j$]j')}jjsbc.phy_modify_paged_changedasbuh1hhj ubj)}(h h]h }(hjV 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 ubj)}(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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jR c.phy_modify_paged_changedasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hregnumh]hregnum}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jR c.phy_modify_paged_changedasbuh1hhj ubj)}(h h]h }(hj( hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hmaskh]hmask}(hj6 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}(hjR hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjT modnameN classnameNjj!)}j$]jR c.phy_modify_paged_changedasbuh1hhjK ubj)}(h h]h }(hjp hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjK ubj%)}(hseth]hset}(hj~ hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjK ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM+ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM+ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM+hjhhubjS)}(hhh]jX)}(h'Function for modifying a paged registerh]h'Function for modifying a paged register}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM+hj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj]hNhNubj})}(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)}(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.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)}(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.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)}(hj h]hstruct phy_device}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhj hM,hj ubeh}(h]h ]h"]h$]h&]uh1jWhj hM,hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM,hj ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hjA h]hint page}(hjC hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj? ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM-hj; ubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(hjZ hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjV hM-hjW ubah}(h]h ]h"]h$]h&]uh1jhj; ubeh}(h]h ]h"]h$]h&]uh1jhjV hM-hj ubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hjz h]h u32 regnum}(hj| hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM.hjt ubj)}(hhh]jX)}(hregister numberh]hregister number}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM.hj ubah}(h]h ]h"]h$]h&]uh1jhjt ubeh}(h]h ]h"]h$]h&]uh1jhj hM.hj 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.chM/hj ubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM/hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM/hj ubj)}(h$``u16 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.chM0hj ubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM0hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM0hj 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:119: ./drivers/net/phy/phy-core.chM2hj ubjX)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hj= hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM1hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_paged (C function)c.phy_modify_pagedhNtauh1hhj]hhhNhNubh)}(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}(hjl hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMBubj)}(h h]h }(hj{ hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjh hhhjz hMBubj)}(hphy_modify_pagedh]j%)}(hphy_modify_pagedh]hphy_modify_paged}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjh hhhjz hMBubj)}(hD(struct phy_device *phydev, int page, 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')}jj sbc.phy_modify_pagedasbuh1hhj ubj)}(h h]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)}(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}(hj7 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}(hjS hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjP ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjU modnameN classnameNjj!)}j$]j c.phy_modify_pagedasbuh1hhjL ubj)}(h h]h }(hjq hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL ubj%)}(hregnumh]hregnum}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjL ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j c.phy_modify_pagedasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hmaskh]hmask}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j c.phy_modify_pagedasbuh1hhj 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=uh1jhjh hhhjz hMBubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjd hhhjz hMBubah}(h]j_ ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjz hMBhja hhubjS)}(hhh]jX)}(h3Convenience function for modifying a paged registerh]h3Convenience function for modifying a paged register}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMBhj6hhubah}(h]h ]h"]h$]h&]uh1jRhja hhhjz hMBubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhj]hNhNubj})}(hX?**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` the page for the phy ``u32 regnum`` register number ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Description** Same rules as for phy_read() and phy_write().h](jX)}(h**Parameters**h]j)}(hj[h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMFhjUubj)}(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)}(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.chMChjtubj)}(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_deviceuh1hhjhMChjubeh}(h]h ]h"]h$]h&]uh1jWhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMChjqubj)}(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.chMDhjubj)}(hhh]jX)}(hthe page for the phyh]hthe page for the phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjqubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hj h]h u32 regnum}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMEhjubj)}(hhh]jX)}(hregister numberh]hregister number}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMEhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMEhjqubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjDh]hu16 mask}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMFhj>ubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjYhMFhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMFhjqubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hj}h]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMGhjwubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjqubeh}(h]h ]h"]h$]h&]uh1jhjUubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMIhjUubjX)}(h-Same rules as for phy_read() and phy_write().h]h-Same rules as for phy_read() and phy_write().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMHhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_c45_pma_resume (C function)c.genphy_c45_pma_resumehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h5int genphy_c45_pma_resume (struct phy_device *phydev)h]h)}(h4int genphy_c45_pma_resume(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK1ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj hK1ubj)}(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=uh1jhjhhhj hK1ubj)}(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.genphy_c45_pma_resumeasbuh1hhj6ubj)}(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 hK1ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj hK1ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hK1hjhhubjS)}(hhh]jX)}(hwakes up the PMA moduleh]hwakes up the PMA module}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK1hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj hK1ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK5hjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK7hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_pma_suspend (C function)c.genphy_c45_pma_suspendhNtauh1hhj]hhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK?ubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjfhK?ubj)}(hgenphy_c45_pma_suspendh]j%)}(hgenphy_c45_pma_suspendh]hgenphy_c45_pma_suspend}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjfhK?ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj{sbc.genphy_c45_pma_suspendasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjfhK?ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhjfhK?ubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhK?hjMhhubjS)}(hhh]jX)}(hsuspends the PMA moduleh]hsuspends the PMA module}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK?hjhhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhjfhK?ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhj]hNhNubj})}(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&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKChj4ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKEhjSubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK@hjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhKEhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(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]hhhNhNubh)}(hhh](h)}(hHint genphy_c45_pma_baset1_setup_master_slave (struct phy_device *phydev)h]h)}(hGint genphy_c45_pma_baset1_setup_master_slave(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKMubj)}(h(genphy_c45_pma_baset1_setup_master_slaveh]j%)}(h(genphy_c45_pma_baset1_setup_master_slaveh]h(genphy_c45_pma_baset1_setup_master_slave}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb*c.genphy_c45_pma_baset1_setup_master_slaveasbuh1hhjubj)}(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}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhKMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKMhjhhubjS)}(hhh]jX)}(h6configures forced master/slave role of BaseT1 devices.h]h6configures forced master/slave role of BaseT1 devices.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKMhjphhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKQhjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKShjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(genphy_c45_pma_setup_forced (C function)c.genphy_c45_pma_setup_forcedhNtauh1hhj]hhhNhNubh)}(hhh](h)}(h;int genphy_c45_pma_setup_forced (struct phy_device *phydev)h]h)}(h:int genphy_c45_pma_setup_forced(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhKkubj)}(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 hhhjhKkubj)}(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.genphy_c45_pma_setup_forcedasbuh1hhjGubj)}(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 hhhjhKkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhKkubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKkhjhhubjS)}(hhh]jX)}(hconfigures a forced speedh]hconfigures a forced speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKkhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKohjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKqhj ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKlhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hKqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&genphy_c45_an_config_aneg (C function)c.genphy_c45_an_config_aneghNtauh1hhj]hhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhjwhMubj)}(hgenphy_c45_an_config_anegh]j%)}(hgenphy_c45_an_config_anegh]hgenphy_c45_an_config_aneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhjwhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_c45_an_config_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=uh1jhjehhhjwhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjahhhjwhMubah}(h]j\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwhMhj^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^hhhjwhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjAjxjAjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjKh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjEubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjjh]hstruct phy_device *phydev}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjdubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjEubjX)}(hKConfigure advertisement registers based on modes set in phydev->advertisingh]hKConfigure advertisement registers based on modes set in phydev->advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjEubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_an_disable_aneg (C function)c.genphy_c45_an_disable_aneghNtauh1hhj]hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM8ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM8ubj)}(hgenphy_c45_an_disable_anegh]j%)}(hgenphy_c45_an_disable_anegh]hgenphy_c45_an_disable_aneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM8ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_c45_an_disable_anegasbuh1hhj2ubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM8ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM8ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM8hjhhubjS)}(hhh]jX)}(hdisable auto-negotiationh]hdisable auto-negotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM8hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM8ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM<hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(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)}(hj5h]h Description}(hj7hhhNhNubah}(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.chM;hjubjX)}(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.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM:hjubjX)}(h8Returns zero on success, negative errno code on failure.h]h8Returns zero on success, negative errno code on failure.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM=hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_restart_aneg (C function)c.genphy_c45_restart_aneghNtauh1hhj]hhhNhNubh)}(hhh](h)}(h7int genphy_c45_restart_aneg (struct phy_device *phydev)h]h)}(h6int genphy_c45_restart_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMMubj)}(hgenphy_c45_restart_anegh]j%)}(hgenphy_c45_restart_anegh]hgenphy_c45_restart_aneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(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_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=uh1jhjhhhjhMMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMMubah}(h]j|ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMMhj~hhubjS)}(hhh]jX)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMMhjFhhubah}(h]h ]h"]h$]h&]uh1jRhj~hhhjhMMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhj]hNhNubj})}(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)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMQhjeubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMNhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMPhjeubjX)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMOhjeubjX)}(h$Enable and restart auto-negotiation.h]h$Enable and restart auto-negotiation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMQhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.genphy_c45_check_and_restart_aneg (C function)#c.genphy_c45_check_and_restart_aneghNtauh1hhj]hhhNhNubh)}(hhh](h)}(hOint genphy_c45_check_and_restart_aneg (struct phy_device *phydev, bool restart)h]h)}(hNint genphy_c45_check_and_restart_aneg(struct phy_device *phydev, bool restart)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMaubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj'hMaubj)}(h!genphy_c45_check_and_restart_anegh]j%)}(h!genphy_c45_check_and_restart_anegh]h!genphy_c45_check_and_restart_aneg}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj'hMaubj)}(h)(struct phy_device *phydev, bool restart)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jj<sb#c.genphy_c45_check_and_restart_anegasbuh1hhjRubj)}(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=uh1jhjNubj)}(h bool restarth](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hrestarth]hrestart}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj'hMaubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj'hMaubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'hMahjhhubjS)}(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.chMahj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj'hMaubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%jxj%jyjzj{uh1hhhhj]hNhNubj})}(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}(hj1hhhNhNubah}(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.chMehj)ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjNh]hstruct phy_device *phydev}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMbhjHubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMbhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMbhjEubj)}(h3``bool restart`` whether aneg restart is requested h](j)}(h``bool restart``h]j)}(hjh]h bool restart}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMchjubj)}(hhh]jX)}(h!whether aneg restart is requestedh]h!whether aneg restart is requested}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjEubeh}(h]h ]h"]h$]h&]uh1jhj)ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMehj)ubjX)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMdhj)ubjX)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMfhj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_aneg_done (C function)c.genphy_c45_aneg_donehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h4int genphy_c45_aneg_done (struct phy_device *phydev)h]h)}(h3int genphy_c45_aneg_done(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj$hMubj)}(hgenphy_c45_aneg_doneh]j%)}(hgenphy_c45_aneg_doneh]hgenphy_c45_aneg_done}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj$hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjOubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]j')}jj9sbc.genphy_c45_aneg_doneasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjOubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj$hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj$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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj$hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hX1**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** This assumes that the auto-negotiation MMD is present. Reads the status register from the auto-negotiation MMD, returning: - positive if auto-negotiation is complete - negative errno code on error - zero otherwiseh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj0hhhNhNubah}(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)}(hjRh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubjX)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubjX)}(hReads the status register from the auto-negotiation MMD, returning: - positive if auto-negotiation is complete - negative errno code on error - zero otherwiseh]hReads the status register from the auto-negotiation MMD, returning: - positive if auto-negotiation is complete - negative errno code on error - zero otherwise}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_link (C function)c.genphy_c45_read_linkhNtauh1hhj]hhhNhNubh)}(hhh](h)}(h4int genphy_c45_read_link (struct phy_device *phydev)h]h)}(h3int genphy_c45_read_link(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hgenphy_c45_read_linkh]j%)}(hgenphy_c45_read_linkh]hgenphy_c45_read_link}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_c45_read_linkasbuh1hhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h*read the overall link status from the MMDsh]h*read the overall link status from the MMDs}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjchhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj~jxj~jyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the link status from the specified MMDs, and if they all indicate that the link is up, set phydev->link to 1. If an error is encountered, a negative errno will be returned, otherwise zero.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubjX)}(hRead the link status from the specified MMDs, and if they all indicate that the link is up, set phydev->link to 1. If an error is encountered, a negative errno will be returned, otherwise zero.h]hRead the link status from the specified MMDs, and if they all indicate that the link is up, set phydev->link to 1. If an error is encountered, a negative errno will be returned, otherwise zero.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_lpa (C function)c.genphy_c45_read_lpahNtauh1hhj]hhhNhNubh)}(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 }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#hhhj5hMubj)}(hgenphy_c45_read_lpah]j%)}(hgenphy_c45_read_lpah]hgenphy_c45_read_lpa}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj#hhhj5hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj`ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjJsbc.genphy_c45_read_lpaasbuh1hhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj`ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj\ubah}(h]h ]h"]h$]h&]j<j=uh1jhj#hhhj5hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj5hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5hMhjhhubjS)}(hhh]jX)}(h-read the link partner advertisement and pauseh]h-read the link partner advertisement and pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj5hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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}(hjA 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)}(hjc h]h Description}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi: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 }(hjy hhhNhNubj)}(h **phydev**h]hphydev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy ubh. This assumes that the auto-negotiation MMD is present, and the backplane bit (7.48.0) is clear. Clause 45 PHY drivers are expected to fill in the remainder of the link partner advert from vendor registers.}(hjy hhhNhNubeh}(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]hhhNhNubh)}(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]hhhNhNubh)}(hhh](h)}(hGint genphy_c45_pma_baset1_read_master_slave (struct phy_device *phydev)h]h)}(hFint genphy_c45_pma_baset1_read_master_slave(struct phy_device *phydev)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hM9ubj)}(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}(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 sb)c.genphy_c45_pma_baset1_read_master_slaveasbuh1hhj ubj)}(h h]h }(hj5!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjC!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(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 hM9ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hM9ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hM9hj hhubjS)}(hhh]jX)}(h&read forced master/slave configurationh]h&read forced master/slave configuration}(hjz!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9hjw!hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hM9ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!jxj!jyjzj{uh1hhhhj]hNhNubj})}(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.chM=hj!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.chM?hj!ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM;hj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hM?hj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_pma (C function)c.genphy_c45_read_pmahNtauh1hhj]hhhNhNubh)}(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}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMUubj)}(h h]h }(hj$"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhj#"hMUubj)}(hgenphy_c45_read_pmah]j%)}(hgenphy_c45_read_pmah]hgenphy_c45_read_pma}(hj6"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2"ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"hhhj#"hMUubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjR"hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjN"ubj)}(h h]h }(hj_"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjN"ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjp"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjr"modnameN classnameNjj!)}j$]j')}jj8"sbc.genphy_c45_read_pmaasbuh1hhjN"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjN"ubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjN"ubj%)}(hphydevh]hphydev}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjN"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjJ"ubah}(h]h ]h"]h$]h&]j<j=uh1jhj"hhhj#"hMUubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj "hhhj#"hMUubah}(h]j"ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj#"hMUhj "hhubjS)}(hhh]jX)}(hread link speed etc from PMAh]hread link speed etc from PMA}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMUhj"hhubah}(h]h ]h"]h$]h&]uh1jRhj "hhhj#"hMUubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"jxj"jyjzj{uh1hhhhj]hNhNubj})}(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.chMYhj"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.chM[hj#ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj/#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMVhj,#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj+#hM[hj #ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_mdix (C function)c.genphy_c45_read_mdixhNtauh1hhj]hhhNhNubh)}(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}(hjp#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjl#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 hjl#hhhj~#hMubj)}(hgenphy_c45_read_mdixh]j%)}(hgenphy_c45_read_mdixh]hgenphy_c45_read_mdix}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjl#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_mdixasbuh1hhj#ubj)}(h h]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=uh1jhjl#hhhj~#hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjh#hhhj~#hMubah}(h]jc#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~#hMhje#hhubjS)}(hhh]jX)}(hread mdix status from PMAh]hread mdix status from PMA}(hj0$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&]uh1jRhje#hhhj~#hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjH$jxjH$jyjzj{uh1hhhhj]hNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjR$h]h Parameters}(hjT$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP$ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjL$ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjq$h]hstruct phy_device *phydev}(hjs$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjk$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.chMhj$ubah}(h]h ]h"]h$]h&]uh1jhjk$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhjh$ubah}(h]h ]h"]h$]h&]uh1jhjL$ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_read_eee_abilities (C function)c.genphy_c45_read_eee_abilitieshNtauh1hhj]hhhNhNubh)}(hhh](h)}(h=int genphy_c45_read_eee_abilities (struct phy_device *phydev)h]h)}(hh]h*}(hjT%hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%ubj%)}(hphydevh]hphydev}(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$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)}(hread supported EEE link modesh]hread supported EEE link modes}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM~hj%hhubah}(h]h ]h"]h$]h&]uh1jRhj$hhhj$hM~ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj%jxj%jyjzj{uh1hhhhj]hNhNubj})}(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.chMhj%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.chMhj%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.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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_an_config_eee_aneg (C function)c.genphy_c45_an_config_eee_aneghNtauh1hhj]hhhNhNubh)}(hhh](h)}(h=int genphy_c45_an_config_eee_aneg (struct phy_device *phydev)h]h)}(hh]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj_&ubj%)}(hphydevh]hphydev}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj[&ubah}(h]h ]h"]h$]h&]j<j=uh1jhj"&hhhj4&hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&hhhj4&hMubah}(h]j&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4&hMhj&hhubjS)}(hhh]jX)}(hconfigure EEE advertisementh]hconfigure EEE advertisement}(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&hhhj4&hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhj]hNhNubj})}(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.chMhj'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.chMhj!'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.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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h1genphy_c45_pma_baset1_read_abilities (C function)&c.genphy_c45_pma_baset1_read_abilitieshNtauh1hhj]hhhNhNubh)}(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'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)}(h$genphy_c45_pma_baset1_read_abilitiesh]j%)}(h$genphy_c45_pma_baset1_read_abilitiesh]h$genphy_c45_pma_baset1_read_abilities}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj}'hhhj'hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]j')}jj'sb&c.genphy_c45_pma_baset1_read_abilitiesasbuh1hhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj;)}(hj>h]h*}(hj (hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj'ubj%)}(hphydevh]hphydev}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'ubah}(h]h ]h"]h$]h&]j<j=uh1jhj}'hhhj'hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjy'hhhj'hMubah}(h]jt'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'hMhjv'hhubjS)}(hhh]jX)}(h)read supported baset1 link modes from PMAh]h)read supported baset1 link modes from PMA}(hjA(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&]uh1jRhjv'hhhj'hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjY(jxjY(jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjc(h]h Parameters}(hje(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja(ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi: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(hMhjy(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)}(hHRead the supported link modes from the extended BASE-T1 ability registerh]hHRead the supported link modes from the extended BASE-T1 ability register}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj](ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.genphy_c45_pma_read_ext_abilities (C function)#c.genphy_c45_pma_read_ext_abilitieshNtauh1hhj]hhhNhNubh)}(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}(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)}(h!genphy_c45_pma_read_ext_abilitiesh]j%)}(h!genphy_c45_pma_read_ext_abilitiesh]h!genphy_c45_pma_read_ext_abilities}(hj#)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ](j7j8eh"]h$]h&]j<j=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 }(hjL)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$hjZ)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj_)modnameN classnameNjj!)}j$]j')}jj%)sb#c.genphy_c45_pma_read_ext_abilitiesasbuh1hhj;)ubj)}(h h]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=uh1jhj7)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 supported link modes from PMAh]h"read supported link modes from PMA}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj)hhubah}(h]h ]h"]h$]h&]uh1jRhj(hhhj)hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj)jxj)jyjzj{uh1hhhhj]hNhNubj})}(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)}(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)}(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).}(hjT*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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_pma_read_abilities (C function)c.genphy_c45_pma_read_abilitieshNtauh1hhj]hhhNhNubh)}(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: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]jv*ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj*hM(hjx*hhubjS)}(hhh]jX)}(h"read supported link modes from PMAh]h"read supported link modes from PMA}(hjC+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&]uh1jRhjx*hhhj*hM(ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj[+jxj[+jyjzj{uh1hhhhj]hNhNubj})}(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)}(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:122: ./drivers/net/phy/phy-c45.chM,hj_+ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj+h]hstruct phy_device *phydev}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM)hj~+ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hM)hj+ubah}(h]h ]h"]h$]h&]uh1jhj~+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM)hj{+ubah}(h]h ]h"]h$]h&]uh1jhj_+ubjX)}(h**Description**h]j)}(hj+h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM+hj_+ubjX)}(hXRead the supported link modes from the PMA Status 2 (1.8) register. If bit 1.8.9 is set, the list of supported modes is build using the values in the PMA Extended Abilities (1.11) register, indicating 1000BASET an 10G related modes. If bit 1.11.14 is set, then the list is also extended with the modes in the 2.5G/5G PMA Extended register (1.21), indicating if 2.5GBASET and 5GBASET are supported.h]hXRead the supported link modes from the PMA Status 2 (1.8) register. If bit 1.8.9 is set, the list of supported modes is build using the values in the PMA Extended Abilities (1.11) register, indicating 1000BASET an 10G related modes. If bit 1.11.14 is set, then the list is also extended with the modes in the 2.5G/5G PMA Extended register (1.21), indicating if 2.5GBASET and 5GBASET are supported.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM*hj_+ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_read_status (C function)c.genphy_c45_read_statushNtauh1hhj]hhhNhNubh)}(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}(hjA,hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=,ubj)}(h h]h }(hjN,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=,ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj_,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\,ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetja,modnameN classnameNjj!)}j$]j')}jj',sbc.genphy_c45_read_statusasbuh1hhj=,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=,ubj;)}(hj>h]h*}(hj,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj=,ubj%)}(hphydevh]hphydev}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=,ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9,ubah}(h]h ]h"]h$]h&]j<j=uh1jhj,hhhj,hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhj,hMubah}(h]j+ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,hMhj+hhubjS)}(hhh]jX)}(hread PHY statush]hread PHY status}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj,hhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhj,hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj,jxj,jyjzj{uh1hhhhj]hNhNubj})}(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}(hjB-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.}(hjV-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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_config_aneg (C function)c.genphy_c45_config_aneghNtauh1hhj]hhhNhNubh)}(hhh](h)}(h6int genphy_c45_config_aneg (struct phy_device *phydev)h]h)}(h5int genphy_c45_config_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-hhhj-hMubj)}(hgenphy_c45_config_anegh]j%)}(hgenphy_c45_config_anegh]hgenphy_c45_config_aneg}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj-hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j')}jj-sbc.genphy_c45_config_anegasbuh1hhj-ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj;)}(hj>h]h*}(hj.hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-ubj%)}(hphydevh]hphydev}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-ubah}(h]h ]h"]h$]h&]j<j=uh1jhj-hhhj-hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}-hhhj-hMubah}(h]jx-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-hMhjz-hhubjS)}(hhh]jX)}(h(restart auto-negotiation or forced setuph]h(restart auto-negotiation or forced setup}(hjE.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjB.hhubah}(h]h ]h"]h$]h&]uh1jRhjz-hhhj-hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj].jxj].jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjg.h]h Parameters}(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.chMhja.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&]uh1jhja.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.chMhja.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&]uh1jhja.ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_fast_retrain (C function)c.genphy_c45_fast_retrainhNtauh1hhj]hhhNhNubh)}(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}(hj0/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}(hjQ/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjM/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}(hjm/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhji/ubj)}(h h]h }(hjz/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji/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')}jjS/sbc.genphy_c45_fast_retrainasbuh1hhji/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji/ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hji/ubj%)}(hphydevh]hphydev}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hji/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhje/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=uh1jhje/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$0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj!0hhubah}(h]h ]h"]h$]h&]uh1jRhj%/hhhj>/hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<0jxj<0jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjF0h]h Parameters}(hjH0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD0ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj@0ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hje0h]hstruct phy_device *phydev}(hjg0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj_0ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj~0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjz0hMhj{0ubah}(h]h ]h"]h$]h&]uh1jhj_0ubeh}(h]h ]h"]h$]h&]uh1jhjz0hMhj\0ubj)}(h+``bool enable`` enable fast retrain or not h](j)}(h``bool enable``h]j)}(hj0h]h bool enable}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj0ubj)}(hhh]jX)}(henable fast retrain or noth]henable fast retrain or not}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj\0ubeh}(h]h ]h"]h$]h&]uh1jhj@0ubjX)}(h**Description**h]j)}(hj0h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj@0ubj)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj0ubj)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj1ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj@0ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_plca_get_cfg (C function)c.genphy_c45_plca_get_cfghNtauh1hhj]hhhNhNubh)}(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}(hjI1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE1hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hjX1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjE1hhhjW1hMubj)}(hgenphy_c45_plca_get_cfgh]j%)}(hgenphy_c45_plca_get_cfgh]hgenphy_c45_plca_get_cfg}(hjj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjf1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjE1hhhjW1hMubj)}(h:(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)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')}jjl1sbc.genphy_c45_plca_get_cfgasbuh1hhj1ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hphydevh]hphydev}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~1ubj)}(hstruct phy_plca_cfg *plca_cfgh](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_plca_cfgh]h phy_plca_cfg}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j1c.genphy_c45_plca_get_cfgasbuh1hhj1ubj)}(h h]h }(hj42hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hjB2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hplca_cfgh]hplca_cfg}(hjO2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~1ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjE1hhhjW1hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjA1hhhjW1hMubah}(h]j<1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjW1hMhj>1hhubjS)}(hhh]jX)}(h.get PLCA configuration from standard registersh]h.get PLCA configuration from standard registers}(hjy2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjv2hhubah}(h]h ]h"]h$]h&]uh1jRhj>1hhhjW1hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj2jxj2jyjzj{uh1hhhhj]hNhNubj})}(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)}(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.chMhj2ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj2h]hstruct phy_device *phydev}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj2ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj2ubj)}(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)}(hj2h]hstruct phy_plca_cfg *plca_cfg}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj2ubj)}(hhh]jX)}(h0output structure to store the PLCA configurationh]h0output structure to store the PLCA configuration}(hj 3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMhj 3ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2ubjX)}(h**Description**h]j)}(hj.3h]h Description}(hj03hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,3ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj2ubj)}(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}(hjK3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjG3ubj)}(hhh]jX)}(hManagement Registers specifications, this function can be used to retrieve the current PLCA configuration from the standard registers in MMD 31.h]hManagement Registers specifications, this function can be used to retrieve the current PLCA configuration from the standard registers in MMD 31.}(hj]3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjY3hMhjZ3ubah}(h]h ]h"]h$]h&]uh1jhjG3ubeh}(h]h ]h"]h$]h&]uh1jhjY3hMhjD3ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_plca_set_cfg (C function)c.genphy_c45_plca_set_cfghNtauh1hhj]hhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3hhhj3hM3ubj)}(hgenphy_c45_plca_set_cfgh]j%)}(hgenphy_c45_plca_set_cfgh]hgenphy_c45_plca_set_cfg}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj3hhhj3hM3ubj)}(h@(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubh)}(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')}jj3sbc.genphy_c45_plca_set_cfgasbuh1hhj3ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj;)}(hj>h]h*}(hj&4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj3ubj%)}(hphydevh]hphydev}(hj34hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubj)}(h#const struct phy_plca_cfg *plca_cfgh](h)}(hjh]hconst}(hjL4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjH4ubj)}(h h]h }(hjY4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH4ubh)}(hjh]hstruct}(hjg4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjH4ubj)}(h h]h }(hjt4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH4ubh)}(hhh]j%)}(h phy_plca_cfgh]h phy_plca_cfg}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j4c.genphy_c45_plca_set_cfgasbuh1hhjH4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH4ubj;)}(hj>h]h*}(hj4hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjH4ubj%)}(hplca_cfgh]hplca_cfg}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj3hhhj3hM3ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj3hhhj3hM3ubah}(h]j3ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hM3hj3hhubjS)}(hhh]jX)}(h/set PLCA configuration using standard registersh]h/set PLCA configuration using standard registers}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM3hj4hhubah}(h]h ]h"]h$]h&]uh1jRhj3hhhj3hM3ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj5jxj5jyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``const struct phy_plca_cfg *plca_cfg`` structure containing the PLCA configuration. Fields set to -1 are not to be changed. **Description** if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to modify the PLCA configuration using the standard registers in MMD 31.h](jX)}(h**Parameters**h]j)}(hj 5h]h Parameters}(hj 5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM7hj5ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj)5h]hstruct phy_device *phydev}(hj+5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM4hj#5ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjB5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj>5hM4hj?5ubah}(h]h ]h"]h$]h&]uh1jhj#5ubeh}(h]h ]h"]h$]h&]uh1jhj>5hM4hj 5ubj)}(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)}(hjb5h]h#const struct phy_plca_cfg *plca_cfg}(hjd5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM6hj\5ubj)}(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{5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM5hjx5ubah}(h]h ]h"]h$]h&]uh1jhj\5ubeh}(h]h ]h"]h$]h&]uh1jhjw5hM6hj 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:122: ./drivers/net/phy/phy-c45.chM8hj5ubj)}(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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9hj5ubj)}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hM9hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hM9hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_plca_get_status (C function)c.genphy_c45_plca_get_statushNtauh1hhj]hhhNhNubh)}(hhh](h)}(h[int genphy_c45_plca_get_status (struct phy_device *phydev, struct phy_plca_status *plca_st)h]h)}(hZint genphy_c45_plca_get_status(struct phy_device *phydev, struct phy_plca_status *plca_st)h](j)}(hinth]hint}(hj 6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 6hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 6hhhj6hMubj)}(hgenphy_c45_plca_get_statush]j%)}(hgenphy_c45_plca_get_statush]hgenphy_c45_plca_get_status}(hj.6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj 6hhhj6hMubj)}(h<(struct phy_device *phydev, struct phy_plca_status *plca_st)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjJ6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjF6ubj)}(h h]h }(hjW6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjF6ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjh6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hje6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjj6modnameN classnameNjj!)}j$]j')}jj06sbc.genphy_c45_plca_get_statusasbuh1hhjF6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjF6ubj;)}(hj>h]h*}(hj6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjF6ubj%)}(hphydevh]hphydev}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjF6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjB6ubj)}(hstruct phy_plca_status *plca_sth](h)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubh)}(hhh]j%)}(hphy_plca_statush]hphy_plca_status}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j6c.genphy_c45_plca_get_statusasbuh1hhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj;)}(hj>h]h*}(hj7hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hplca_sth]hplca_st}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjB6ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj 6hhhj6hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6hhhj6hMubah}(h]j6ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj6hMhj6hhubjS)}(hhh]jX)}(h'get PLCA status from standard registersh]h'get PLCA status from standard registers}(hj=7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj:7hhubah}(h]h ]h"]h$]h&]uh1jRhj6hhhj6hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjU7jxjU7jyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct phy_plca_status *plca_st`` output structure to store the PLCA status **Description** if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.?h](jX)}(h**Parameters**h]j)}(hj_7h]h Parameters}(hja7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]7ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjY7ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj~7h]hstruct phy_device *phydev}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjx7ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjx7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhju7ubj)}(hN``struct phy_plca_status *plca_st`` output structure to store the PLCA status h](j)}(h#``struct phy_plca_status *plca_st``h]j)}(hj7h]hstruct phy_plca_status *plca_st}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj7ubj)}(hhh]jX)}(h)output structure to store the PLCA statush]h)output structure to store the PLCA status}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7hMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhju7ubeh}(h]h ]h"]h$]h&]uh1jhjY7ubjX)}(h**Description**h]j)}(hj7h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjY7ubj)}(hhh]j)}(hif the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.h](j)}(h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCAh]h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj 8ubj)}(hhh]jX)}(hManagement Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.h]hManagement Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.}(hj!8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj 8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjY7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_c45_eee_is_active (C function)c.genphy_c45_eee_is_activehNtauh1hhj]hhhNhNubh)}(hhh](h)}(hKint genphy_c45_eee_is_active (struct phy_device *phydev, unsigned long *lp)h]h)}(hJint genphy_c45_eee_is_active(struct phy_device *phydev, unsigned long *lp)h](j)}(hinth]hint}(hja8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]8hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj)}(h h]h }(hjp8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]8hhhjo8hMubj)}(hgenphy_c45_eee_is_activeh]j%)}(hgenphy_c45_eee_is_activeh]hgenphy_c45_eee_is_active}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj]8hhhjo8hMubj)}(h.(struct phy_device *phydev, unsigned long *lp)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}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j')}jj8sbc.genphy_c45_eee_is_activeasbuh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(hphydevh]hphydev}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubj)}(hunsigned long *lph](j)}(hunsignedh]hunsigned}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 9ubj)}(hlongh]hlong}(hj,9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 9ubj)}(h h]h }(hj:9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj 9ubj;)}(hj>h]h*}(hjH9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj 9ubj%)}(hlph]hlp}(hjU9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj 9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj8ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj]8hhhjo8hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjY8hhhjo8hMubah}(h]jT8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjo8hMhjV8hhubjS)}(hhh]jX)}(hget EEE statush]hget EEE status}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj|9hhubah}(h]h ]h"]h$]h&]uh1jRhjV8hhhjo8hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``unsigned long *lp`` variable to store LP advertised linkmodes **Description** this function will read link partner PHY advertisement and compare it to local advertisement to return current EEE state.h](jX)}(h**Parameters**h]j)}(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&]uh1jhj9hMhj9ubj)}(h@``unsigned long *lp`` variable to store LP advertised linkmodes h](j)}(h``unsigned long *lp``h]j)}(hj9h]hunsigned long *lp}(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)}(h)variable to store LP advertised linkmodesh]h)variable to store LP advertised linkmodes}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9ubjX)}(h**Description**h]j)}(hj4:h]h Description}(hj6:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2:ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj9ubjX)}(hythis function will read link partner PHY advertisement and compare it to local advertisement to return current EEE state.h]hythis function will read link partner PHY advertisement and compare it to local advertisement to return current EEE state.}(hjJ:hhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_ethtool_get_eee (C function)c.genphy_c45_ethtool_get_eeehNtauh1hhj]hhhNhNubh)}(hhh](h)}(hUint genphy_c45_ethtool_get_eee (struct phy_device *phydev, struct ethtool_keee *data)h]h)}(hTint genphy_c45_ethtool_get_eee(struct phy_device *phydev, struct ethtool_keee *data)h](j)}(hinth]hint}(hjy:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju: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 hju:hhhj:hMubj)}(hgenphy_c45_ethtool_get_eeeh]j%)}(hgenphy_c45_ethtool_get_eeeh]hgenphy_c45_ethtool_get_eee}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhju:hhhj:hMubj)}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]j')}jj:sbc.genphy_c45_ethtool_get_eeeasbuh1hhj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj;)}(hj>h]h*}(hj;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:ubj%)}(hphydevh]hphydev}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubj)}(hstruct ethtool_keee *datah](h)}(hjh]hstruct}(hj(;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$;ubj)}(h h]h }(hj5;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$;ubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hjF;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjC;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjH;modnameN classnameNjj!)}j$]j:c.genphy_c45_ethtool_get_eeeasbuh1hhj$;ubj)}(h h]h }(hjd;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$;ubj;)}(hj>h]h*}(hjr;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj$;ubj%)}(hdatah]hdata}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubeh}(h]h ]h"]h$]h&]j<j=uh1jhju:hhhj:hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjq:hhhj:hMubah}(h]jl:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj:hMhjn:hhubjS)}(hhh]jX)}(hget EEE supported and statush]hget EEE supported and status}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj;hhubah}(h]h ]h"]h$]h&]uh1jRhjn:hhhj:hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_keee *data`` ethtool_keee data **Description** it reports the Supported/Advertisement/LP Advertisement capabilities.h](jX)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj;ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj;h]hstruct phy_device *phydev}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj;ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(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 ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hj#<h]hstruct ethtool_keee *data}(hj%<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj<ubj)}(hhh]jX)}(hethtool_keee datah]hethtool_keee data}(hj<<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj8<hMhj9<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj8<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;ubjX)}(hEit reports the Supported/Advertisement/LP Advertisement capabilities.h]hEit reports the Supported/Advertisement/LP Advertisement capabilities.}(hjt<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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_ethtool_set_eee (C function)c.genphy_c45_ethtool_set_eeehNtauh1hhj]hhhNhNubh)}(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}(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_ethtool_set_eeeh]j%)}(hgenphy_c45_ethtool_set_eeeh]hgenphy_c45_ethtool_set_eee}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj<hhhj<hMubj)}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=modnameN classnameNjj!)}j$]j')}jj<sbc.genphy_c45_ethtool_set_eeeasbuh1hhj<ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj;)}(hj>h]h*}(hj,=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj%)}(hphydevh]hphydev}(hj9=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj<ubj)}(hstruct ethtool_keee *datah](h)}(hjh]hstruct}(hjR=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjN=ubj)}(h h]h }(hj_=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjN=ubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hjp=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjr=modnameN classnameNjj!)}j$]j=c.genphy_c45_ethtool_set_eeeasbuh1hhjN=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%)}(hdatah]hdata}(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)}(hset EEE supported and statush]hset EEE supported and status}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj=hhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhj<hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj=jxj=jyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_keee *data`` ethtool_keee data **Description** sets the Supported/Advertisement/LP Advertisement capabilities. If eee_enabled is false, no links modes are advertised, but the previously advertised link modes are retained. This allows EEE to be enabled/disabled in a non-destructive way. Returns either error code, 0 if there was no change, or positive value if there was a change which triggered auto-neg.h](jX)}(h**Parameters**h]j)}(hj=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)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjM>h]hstruct ethtool_keee *data}(hjO>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjG>ubj)}(hhh]jX)}(hethtool_keee datah]hethtool_keee data}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj=ubjX)}(hXfsets the Supported/Advertisement/LP Advertisement capabilities. If eee_enabled is false, no links modes are advertised, but the previously advertised link modes are retained. This allows EEE to be enabled/disabled in a non-destructive way. Returns either error code, 0 if there was no change, or positive value if there was a change which triggered auto-neg.h]hXfsets the Supported/Advertisement/LP Advertisement capabilities. If eee_enabled is false, no links modes are advertised, but the previously advertised link modes are retained. This allows EEE to be enabled/disabled in a non-destructive way. Returns either error code, 0 if there was no change, or positive value if there was a change which triggered auto-neg.}(hj>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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_interface_t (C enum)c.phy_interface_thNtauh1hhj]hhhNhNubh)}(hhh](h)}(hphy_interface_th]h)}(henum phy_interface_th](h)}(hhh]henum}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj>hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>hhhj>hKubj)}(hphy_interface_th]j%)}(hj>h]hphy_interface_t}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj>hhhj>hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>hhhj>hKubah}(h]j>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj>hKhj>hhubjS)}(hhh]jX)}(hInterface Mode definitionsh]hInterface Mode definitions}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKFhj ?hhubah}(h]h ]h"]h$]h&]uh1jRhj>hhhj>hKubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwj'?jxj'?jyjzj{uh1hhhhj]hNhNubj})}(hX **Constants** ``PHY_INTERFACE_MODE_NA`` Not Applicable - don't touch ``PHY_INTERFACE_MODE_INTERNAL`` No interface, MAC and PHY combined ``PHY_INTERFACE_MODE_MII`` Media-independent interface ``PHY_INTERFACE_MODE_GMII`` Gigabit media-independent interface ``PHY_INTERFACE_MODE_SGMII`` Serial gigabit media-independent interface ``PHY_INTERFACE_MODE_TBI`` Ten Bit Interface ``PHY_INTERFACE_MODE_REVMII`` Reverse Media Independent Interface ``PHY_INTERFACE_MODE_RMII`` Reduced Media Independent Interface ``PHY_INTERFACE_MODE_REVRMII`` Reduced Media Independent Interface in PHY role ``PHY_INTERFACE_MODE_RGMII`` Reduced gigabit media-independent interface ``PHY_INTERFACE_MODE_RGMII_ID`` RGMII with Internal RX+TX delay ``PHY_INTERFACE_MODE_RGMII_RXID`` RGMII with Internal RX delay ``PHY_INTERFACE_MODE_RGMII_TXID`` RGMII with Internal TX delay ``PHY_INTERFACE_MODE_RTBI`` Reduced TBI ``PHY_INTERFACE_MODE_SMII`` Serial MII ``PHY_INTERFACE_MODE_XGMII`` 10 gigabit media-independent interface ``PHY_INTERFACE_MODE_XLGMII`` 40 gigabit media-independent interface ``PHY_INTERFACE_MODE_MOCA`` Multimedia over Coax ``PHY_INTERFACE_MODE_PSGMII`` Penta SGMII ``PHY_INTERFACE_MODE_QSGMII`` Quad SGMII ``PHY_INTERFACE_MODE_TRGMII`` Turbo RGMII ``PHY_INTERFACE_MODE_100BASEX`` 100 BaseX ``PHY_INTERFACE_MODE_1000BASEX`` 1000 BaseX ``PHY_INTERFACE_MODE_2500BASEX`` 2500 BaseX ``PHY_INTERFACE_MODE_5GBASER`` 5G BaseR ``PHY_INTERFACE_MODE_RXAUI`` Reduced XAUI ``PHY_INTERFACE_MODE_XAUI`` 10 Gigabit Attachment Unit Interface ``PHY_INTERFACE_MODE_10GBASER`` 10G BaseR ``PHY_INTERFACE_MODE_25GBASER`` 25G BaseR ``PHY_INTERFACE_MODE_USXGMII`` Universal Serial 10GE MII ``PHY_INTERFACE_MODE_10GKR`` 10GBASE-KR - with Clause 73 AN ``PHY_INTERFACE_MODE_QUSGMII`` Quad Universal SGMII ``PHY_INTERFACE_MODE_1000BASEKX`` 1000Base-KX - with Clause 73 AN ``PHY_INTERFACE_MODE_10G_QXGMII`` 10G-QXGMII - 4 ports over 10G USXGMII ``PHY_INTERFACE_MODE_50GBASER`` 50GBase-R - with Clause 134 FEC ``PHY_INTERFACE_MODE_LAUI`` 50 Gigabit Attachment Unit Interface ``PHY_INTERFACE_MODE_100GBASEP`` 100GBase-P - with Clause 134 FEC ``PHY_INTERFACE_MODE_MIILITE`` MII-Lite - MII without RXER TXER CRS COL ``PHY_INTERFACE_MODE_MAX`` Book keepingh](jX)}(h **Constants**h]j)}(hj1?h]h Constants}(hj3?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.hhKJhj+?ubj)}(hhh](j)}(h7``PHY_INTERFACE_MODE_NA`` Not Applicable - don't touch h](j)}(h``PHY_INTERFACE_MODE_NA``h]j)}(hjP?h]hPHY_INTERFACE_MODE_NA}(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.hhKMhjJ?ubj)}(hhh]jX)}(hNot Applicable - don't touchh]hNot Applicable - don’t touch}(hji?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhje?hKMhjf?ubah}(h]h ]h"]h$]h&]uh1jhjJ?ubeh}(h]h ]h"]h$]h&]uh1jhje?hKMhjG?ubj)}(hC``PHY_INTERFACE_MODE_INTERNAL`` No interface, MAC and PHY combined h](j)}(h``PHY_INTERFACE_MODE_INTERNAL``h]j)}(hj?h]hPHY_INTERFACE_MODE_INTERNAL}(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.hhKPhj?ubj)}(hhh]jX)}(h"No interface, MAC and PHY combinedh]h"No interface, MAC and PHY combined}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hKPhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hKPhjG?ubj)}(h7``PHY_INTERFACE_MODE_MII`` Media-independent interface h](j)}(h``PHY_INTERFACE_MODE_MII``h]j)}(hj?h]hPHY_INTERFACE_MODE_MII}(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.hhKShj?ubj)}(hhh]jX)}(hMedia-independent interfaceh]hMedia-independent interface}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hKShj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hKShjG?ubj)}(h@``PHY_INTERFACE_MODE_GMII`` Gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_GMII``h]j)}(hj?h]hPHY_INTERFACE_MODE_GMII}(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.hhKVhj?ubj)}(hhh]jX)}(h#Gigabit media-independent interfaceh]h#Gigabit media-independent interface}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hKVhj@ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj@hKVhjG?ubj)}(hH``PHY_INTERFACE_MODE_SGMII`` Serial gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_SGMII``h]j)}(hj4@h]hPHY_INTERFACE_MODE_SGMII}(hj6@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2@ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKYhj.@ubj)}(hhh]jX)}(h*Serial gigabit media-independent interfaceh]h*Serial gigabit media-independent interface}(hjM@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjI@hKYhjJ@ubah}(h]h ]h"]h$]h&]uh1jhj.@ubeh}(h]h ]h"]h$]h&]uh1jhjI@hKYhjG?ubj)}(h-``PHY_INTERFACE_MODE_TBI`` Ten Bit Interface h](j)}(h``PHY_INTERFACE_MODE_TBI``h]j)}(hjm@h]hPHY_INTERFACE_MODE_TBI}(hjo@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk@ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhK\hjg@ubj)}(hhh]jX)}(hTen Bit Interfaceh]hTen Bit Interface}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hK\hj@ubah}(h]h ]h"]h$]h&]uh1jhjg@ubeh}(h]h ]h"]h$]h&]uh1jhj@hK\hjG?ubj)}(hB``PHY_INTERFACE_MODE_REVMII`` Reverse Media Independent Interface h](j)}(h``PHY_INTERFACE_MODE_REVMII``h]j)}(hj@h]hPHY_INTERFACE_MODE_REVMII}(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.hhK_hj@ubj)}(hhh]jX)}(h#Reverse Media Independent Interfaceh]h#Reverse Media Independent Interface}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hK_hj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hK_hjG?ubj)}(h@``PHY_INTERFACE_MODE_RMII`` Reduced Media Independent Interface h](j)}(h``PHY_INTERFACE_MODE_RMII``h]j)}(hj@h]hPHY_INTERFACE_MODE_RMII}(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.hhKbhj@ubj)}(hhh]jX)}(h#Reduced Media Independent Interfaceh]h#Reduced Media Independent Interface}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj@hKbhj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hKbhjG?ubj)}(hO``PHY_INTERFACE_MODE_REVRMII`` Reduced Media Independent Interface in PHY role h](j)}(h``PHY_INTERFACE_MODE_REVRMII``h]j)}(hjAh]hPHY_INTERFACE_MODE_REVRMII}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKehjAubj)}(hhh]jX)}(h/Reduced Media Independent Interface in PHY roleh]h/Reduced Media Independent Interface in PHY role}(hj1AhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-AhKehj.Aubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj-AhKehjG?ubj)}(hI``PHY_INTERFACE_MODE_RGMII`` Reduced gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_RGMII``h]j)}(hjQAh]hPHY_INTERFACE_MODE_RGMII}(hjSAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOAubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhhjKAubj)}(hhh]jX)}(h+Reduced gigabit media-independent interfaceh]h+Reduced gigabit media-independent interface}(hjjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfAhKhhjgAubah}(h]h ]h"]h$]h&]uh1jhjKAubeh}(h]h ]h"]h$]h&]uh1jhjfAhKhhjG?ubj)}(h@``PHY_INTERFACE_MODE_RGMII_ID`` RGMII with Internal RX+TX delay h](j)}(h``PHY_INTERFACE_MODE_RGMII_ID``h]j)}(hjAh]hPHY_INTERFACE_MODE_RGMII_ID}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKkhjAubj)}(hhh]jX)}(hRGMII with Internal RX+TX delayh]hRGMII with Internal RX+TX delay}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhKkhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhKkhjG?ubj)}(h?``PHY_INTERFACE_MODE_RGMII_RXID`` RGMII with Internal RX delay h](j)}(h!``PHY_INTERFACE_MODE_RGMII_RXID``h]j)}(hjAh]hPHY_INTERFACE_MODE_RGMII_RXID}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKnhjAubj)}(hhh]jX)}(hRGMII with Internal RX delayh]hRGMII with Internal RX delay}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhKnhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhKnhjG?ubj)}(h?``PHY_INTERFACE_MODE_RGMII_TXID`` RGMII with Internal TX delay h](j)}(h!``PHY_INTERFACE_MODE_RGMII_TXID``h]j)}(hjAh]hPHY_INTERFACE_MODE_RGMII_TXID}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKqhjAubj)}(hhh]jX)}(hRGMII with Internal TX delayh]hRGMII with Internal TX delay}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhKqhjBubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjBhKqhjG?ubj)}(h(``PHY_INTERFACE_MODE_RTBI`` Reduced TBI h](j)}(h``PHY_INTERFACE_MODE_RTBI``h]j)}(hj5Bh]hPHY_INTERFACE_MODE_RTBI}(hj7BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Bubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKthj/Bubj)}(hhh]jX)}(h Reduced TBIh]h Reduced TBI}(hjNBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJBhKthjKBubah}(h]h ]h"]h$]h&]uh1jhj/Bubeh}(h]h ]h"]h$]h&]uh1jhjJBhKthjG?ubj)}(h'``PHY_INTERFACE_MODE_SMII`` Serial MII h](j)}(h``PHY_INTERFACE_MODE_SMII``h]j)}(hjnBh]hPHY_INTERFACE_MODE_SMII}(hjpBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlBubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKwhjhBubj)}(hhh]jX)}(h Serial MIIh]h Serial MII}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhKwhjBubah}(h]h ]h"]h$]h&]uh1jhjhBubeh}(h]h ]h"]h$]h&]uh1jhjBhKwhjG?ubj)}(hD``PHY_INTERFACE_MODE_XGMII`` 10 gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_XGMII``h]j)}(hjBh]hPHY_INTERFACE_MODE_XGMII}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKzhjBubj)}(hhh]jX)}(h&10 gigabit media-independent interfaceh]h&10 gigabit media-independent interface}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhKzhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhKzhjG?ubj)}(hE``PHY_INTERFACE_MODE_XLGMII`` 40 gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_XLGMII``h]j)}(hjBh]hPHY_INTERFACE_MODE_XLGMII}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhK}hjBubj)}(hhh]jX)}(h&40 gigabit media-independent interfaceh]h&40 gigabit media-independent interface}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhK}hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhK}hjG?ubj)}(h1``PHY_INTERFACE_MODE_MOCA`` Multimedia over Coax h](j)}(h``PHY_INTERFACE_MODE_MOCA``h]j)}(hjCh]hPHY_INTERFACE_MODE_MOCA}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjCubj)}(hhh]jX)}(hMultimedia over Coaxh]hMultimedia over Coax}(hj2ChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.ChKhj/Cubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj.ChKhjG?ubj)}(h*``PHY_INTERFACE_MODE_PSGMII`` Penta SGMII h](j)}(h``PHY_INTERFACE_MODE_PSGMII``h]j)}(hjRCh]hPHY_INTERFACE_MODE_PSGMII}(hjTChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPCubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjLCubj)}(hhh]jX)}(h Penta SGMIIh]h Penta SGMII}(hjkChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjgChKhjhCubah}(h]h ]h"]h$]h&]uh1jhjLCubeh}(h]h ]h"]h$]h&]uh1jhjgChKhjG?ubj)}(h)``PHY_INTERFACE_MODE_QSGMII`` Quad SGMII h](j)}(h``PHY_INTERFACE_MODE_QSGMII``h]j)}(hjCh]hPHY_INTERFACE_MODE_QSGMII}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjCubj)}(hhh]jX)}(h Quad SGMIIh]h Quad SGMII}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChKhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChKhjG?ubj)}(h*``PHY_INTERFACE_MODE_TRGMII`` Turbo RGMII h](j)}(h``PHY_INTERFACE_MODE_TRGMII``h]j)}(hjCh]hPHY_INTERFACE_MODE_TRGMII}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjCubj)}(hhh]jX)}(h Turbo RGMIIh]h Turbo RGMII}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjChKhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChKhjG?ubj)}(h*``PHY_INTERFACE_MODE_100BASEX`` 100 BaseX h](j)}(h``PHY_INTERFACE_MODE_100BASEX``h]j)}(hjCh]hPHY_INTERFACE_MODE_100BASEX}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjCubj)}(hhh]jX)}(h 100 BaseXh]h 100 BaseX}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhKhjDubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjDhKhjG?ubj)}(h,``PHY_INTERFACE_MODE_1000BASEX`` 1000 BaseX h](j)}(h ``PHY_INTERFACE_MODE_1000BASEX``h]j)}(hj6Dh]hPHY_INTERFACE_MODE_1000BASEX}(hj8DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Dubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj0Dubj)}(hhh]jX)}(h 1000 BaseXh]h 1000 BaseX}(hjODhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKDhKhjLDubah}(h]h ]h"]h$]h&]uh1jhj0Dubeh}(h]h ]h"]h$]h&]uh1jhjKDhKhjG?ubj)}(h,``PHY_INTERFACE_MODE_2500BASEX`` 2500 BaseX h](j)}(h ``PHY_INTERFACE_MODE_2500BASEX``h]j)}(hjoDh]hPHY_INTERFACE_MODE_2500BASEX}(hjqDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmDubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjiDubj)}(hhh]jX)}(h 2500 BaseXh]h 2500 BaseX}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhKhjDubah}(h]h ]h"]h$]h&]uh1jhjiDubeh}(h]h ]h"]h$]h&]uh1jhjDhKhjG?ubj)}(h(``PHY_INTERFACE_MODE_5GBASER`` 5G BaseR h](j)}(h``PHY_INTERFACE_MODE_5GBASER``h]j)}(hjDh]hPHY_INTERFACE_MODE_5GBASER}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjDubj)}(hhh]jX)}(h5G BaseRh]h5G BaseR}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhKhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhKhjG?ubj)}(h*``PHY_INTERFACE_MODE_RXAUI`` Reduced XAUI h](j)}(h``PHY_INTERFACE_MODE_RXAUI``h]j)}(hjDh]hPHY_INTERFACE_MODE_RXAUI}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjDubj)}(hhh]jX)}(h Reduced XAUIh]h Reduced XAUI}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhKhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhKhjG?ubj)}(hA``PHY_INTERFACE_MODE_XAUI`` 10 Gigabit Attachment Unit Interface h](j)}(h``PHY_INTERFACE_MODE_XAUI``h]j)}(hjEh]hPHY_INTERFACE_MODE_XAUI}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjEubj)}(hhh]jX)}(h$10 Gigabit Attachment Unit Interfaceh]h$10 Gigabit Attachment Unit Interface}(hj3EhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/EhKhj0Eubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj/EhKhjG?ubj)}(h*``PHY_INTERFACE_MODE_10GBASER`` 10G BaseR h](j)}(h``PHY_INTERFACE_MODE_10GBASER``h]j)}(hjSEh]hPHY_INTERFACE_MODE_10GBASER}(hjUEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjMEubj)}(hhh]jX)}(h 10G BaseRh]h 10G BaseR}(hjlEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhEhKhjiEubah}(h]h ]h"]h$]h&]uh1jhjMEubeh}(h]h ]h"]h$]h&]uh1jhjhEhKhjG?ubj)}(h*``PHY_INTERFACE_MODE_25GBASER`` 25G BaseR h](j)}(h``PHY_INTERFACE_MODE_25GBASER``h]j)}(hjEh]hPHY_INTERFACE_MODE_25GBASER}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjEubj)}(hhh]jX)}(h 25G BaseRh]h 25G BaseR}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhKhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhKhjG?ubj)}(h9``PHY_INTERFACE_MODE_USXGMII`` Universal Serial 10GE MII h](j)}(h``PHY_INTERFACE_MODE_USXGMII``h]j)}(hjEh]hPHY_INTERFACE_MODE_USXGMII}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjEubj)}(hhh]jX)}(hUniversal Serial 10GE MIIh]hUniversal Serial 10GE MII}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhKhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhKhjG?ubj)}(h<``PHY_INTERFACE_MODE_10GKR`` 10GBASE-KR - with Clause 73 AN h](j)}(h``PHY_INTERFACE_MODE_10GKR``h]j)}(hjEh]hPHY_INTERFACE_MODE_10GKR}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjEubj)}(hhh]jX)}(h10GBASE-KR - with Clause 73 ANh]h10GBASE-KR - with Clause 73 AN}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhKhjFubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjFhKhjG?ubj)}(h4``PHY_INTERFACE_MODE_QUSGMII`` Quad Universal SGMII h](j)}(h``PHY_INTERFACE_MODE_QUSGMII``h]j)}(hj7Fh]hPHY_INTERFACE_MODE_QUSGMII}(hj9FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Fubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj1Fubj)}(hhh]jX)}(hQuad Universal SGMIIh]hQuad Universal SGMII}(hjPFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLFhKhjMFubah}(h]h ]h"]h$]h&]uh1jhj1Fubeh}(h]h ]h"]h$]h&]uh1jhjLFhKhjG?ubj)}(hB``PHY_INTERFACE_MODE_1000BASEKX`` 1000Base-KX - with Clause 73 AN h](j)}(h!``PHY_INTERFACE_MODE_1000BASEKX``h]j)}(hjpFh]hPHY_INTERFACE_MODE_1000BASEKX}(hjrFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnFubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjjFubj)}(hhh]jX)}(h1000Base-KX - with Clause 73 ANh]h1000Base-KX - with Clause 73 AN}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhKhjFubah}(h]h ]h"]h$]h&]uh1jhjjFubeh}(h]h ]h"]h$]h&]uh1jhjFhKhjG?ubj)}(hH``PHY_INTERFACE_MODE_10G_QXGMII`` 10G-QXGMII - 4 ports over 10G USXGMII h](j)}(h!``PHY_INTERFACE_MODE_10G_QXGMII``h]j)}(hjFh]hPHY_INTERFACE_MODE_10G_QXGMII}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjFubj)}(hhh]jX)}(h%10G-QXGMII - 4 ports over 10G USXGMIIh]h%10G-QXGMII - 4 ports over 10G USXGMII}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhKhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhKhjG?ubj)}(h@``PHY_INTERFACE_MODE_50GBASER`` 50GBase-R - with Clause 134 FEC h](j)}(h``PHY_INTERFACE_MODE_50GBASER``h]j)}(hjFh]hPHY_INTERFACE_MODE_50GBASER}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjFubj)}(hhh]jX)}(h50GBase-R - with Clause 134 FECh]h50GBase-R - with Clause 134 FEC}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhKhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhKhjG?ubj)}(hA``PHY_INTERFACE_MODE_LAUI`` 50 Gigabit Attachment Unit Interface h](j)}(h``PHY_INTERFACE_MODE_LAUI``h]j)}(hjGh]hPHY_INTERFACE_MODE_LAUI}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjGubj)}(hhh]jX)}(h$50 Gigabit Attachment Unit Interfaceh]h$50 Gigabit Attachment Unit Interface}(hj4GhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0GhKhj1Gubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhj0GhKhjG?ubj)}(hB``PHY_INTERFACE_MODE_100GBASEP`` 100GBase-P - with Clause 134 FEC h](j)}(h ``PHY_INTERFACE_MODE_100GBASEP``h]j)}(hjTGh]hPHY_INTERFACE_MODE_100GBASEP}(hjVGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRGubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjNGubj)}(hhh]jX)}(h 100GBase-P - with Clause 134 FECh]h 100GBase-P - with Clause 134 FEC}(hjmGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjiGhKhjjGubah}(h]h ]h"]h$]h&]uh1jhjNGubeh}(h]h ]h"]h$]h&]uh1jhjiGhKhjG?ubj)}(hH``PHY_INTERFACE_MODE_MIILITE`` MII-Lite - MII without RXER TXER CRS COL h](j)}(h``PHY_INTERFACE_MODE_MIILITE``h]j)}(hjGh]hPHY_INTERFACE_MODE_MIILITE}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjGubj)}(hhh]jX)}(h(MII-Lite - MII without RXER TXER CRS COLh]h(MII-Lite - MII without RXER TXER CRS COL}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhKhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhKhjG?ubj)}(h'``PHY_INTERFACE_MODE_MAX`` Book keepingh](j)}(h``PHY_INTERFACE_MODE_MAX``h]j)}(hjGh]hPHY_INTERFACE_MODE_MAX}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjGubj)}(hhh]jX)}(h Book keepingh]h Book keeping}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhKhjG?ubeh}(h]h ]h"]h$]h&]uh1jhj+?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubjX)}(h**Description**h]j)}(hj Hh]h Description}(hj HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj]hhubjX)}(h0Describes the interface between the MAC and PHY.h]h0Describes the interface between the MAC and PHY.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKohj]hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modes (C function) c.phy_modeshNtauh1hhj]hhhNhNubh)}(hhh](h)}(h2const char * phy_modes (phy_interface_t interface)h]h)}(h0const char *phy_modes(phy_interface_t interface)h](h)}(hjh]hconst}(hjGHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCHhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKubj)}(h h]h }(hjUHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCHhhhjTHhKubj)}(hcharh]hchar}(hjcHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCHhhhjTHhKubj)}(h h]h }(hjqHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCHhhhjTHhKubj;)}(hj>h]h*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCHhhhjTHhKubj)}(h phy_modesh]j%)}(h phy_modesh]h phy_modes}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjCHhhhjTHhKubj)}(h(phy_interface_t interface)h]j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]j')}jjHsb c.phy_modesasbuh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj%)}(h interfaceh]h interface}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjHubah}(h]h ]h"]h$]h&]j<j=uh1jhjCHhhhjTHhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?HhhhjTHhKubah}(h]j:Hah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjTHhKhjh]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjwShhhjShMubj)}(h mdiobus_alloch]j%)}(hjSh]h mdiobus_alloc}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjwShhhjShMubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubah}(h]h ]h"]h$]h&]j<j=uh1jhjwShhhjShMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjsShhhjShMubah}(h]jnSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShMhjpShhubjS)}(hhh]jX)}(hAllocate an MDIO bus structureh]hAllocate an MDIO bus structure}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjThhubah}(h]h ]h"]h$]h&]uh1jRhjpShhhjShMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj7Tjxj7Tjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``void`` no arguments **Description** The internal state of the MDIO bus will be set of MDIOBUS_ALLOCATED ready for the driver to register the bus.h](jX)}(h**Parameters**h]j)}(hjATh]h Parameters}(hjCThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?Tubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj;Tubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hj`Th]hvoid}(hjbThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Tubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjZTubj)}(hhh]jX)}(h no argumentsh]h no arguments}(hjyThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuThKhjvTubah}(h]h ]h"]h$]h&]uh1jhjZTubeh}(h]h ]h"]h$]h&]uh1jhjuThKhjWTubah}(h]h ]h"]h$]h&]uh1jhj;TubjX)}(h**Description**h]j)}(hjTh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj;TubjX)}(hmThe internal state of the MDIO bus will be set of MDIOBUS_ALLOCATED ready for the driver to register the bus.h]hmThe internal state of the MDIO bus will be set of MDIOBUS_ALLOCATED ready for the driver to register the bus.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj;Tubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state (C enum) c.phy_statehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h phy_stateh]h)}(henum phy_stateh](h)}(hhh]henum}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjThhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjThMubj)}(h phy_stateh]j%)}(hjTh]h phy_state}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjThMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjThhhjThMubah}(h]jTah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjThMhjThhubjS)}(hhh]jX)}(hPHY state machine states:h]hPHY state machine states:}(hj"UhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjUhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjThMubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwj:Ujxj:Ujyjzj{uh1hhhhj]hNhNubj})}(hX**Constants** ``PHY_DOWN`` PHY device and driver are not ready for anything. probe should be called if and only if the PHY is in this state, given that the PHY device exists. - PHY driver probe function will set the state to **PHY_READY** ``PHY_READY`` PHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UP ``PHY_HALTED`` PHY is up, but no polling or interrupts are done. - phy_start moves to **PHY_UP** ``PHY_ERROR`` PHY is up, but is in an error state. - phy_stop moves to **PHY_HALTED** ``PHY_UP`` The PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to **PHY_NOLINK** or **PHY_RUNNING** ``PHY_RUNNING`` PHY is currently up, running, and possibly sending and/or receiving packets - irq or timer will set **PHY_NOLINK** if link goes down - phy_stop moves to **PHY_HALTED** ``PHY_NOLINK`` PHY is up, but not currently plugged in. - irq or timer will set **PHY_RUNNING** if link comes back - phy_stop moves to **PHY_HALTED** ``PHY_CABLETEST`` PHY is performing a cable test. Packet reception/sending is not expected to work, carrier will be indicated as down. PHY will be poll once per second, or on interrupt for it current state. Once complete, move to UP to restart the PHY. - phy_stop aborts the running test and moves to **PHY_HALTED**h](jX)}(h **Constants**h]j)}(hjDUh]h Constants}(hjFUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBUubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj>Uubj)}(hhh](j)}(h``PHY_DOWN`` PHY device and driver are not ready for anything. probe should be called if and only if the PHY is in this state, given that the PHY device exists. - PHY driver probe function will set the state to **PHY_READY** h](j)}(h ``PHY_DOWN``h]j)}(hjcUh]hPHY_DOWN}(hjeUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaUubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj]Uubj)}(hhh]jX)}(hPHY device and driver are not ready for anything. probe should be called if and only if the PHY is in this state, given that the PHY device exists. - PHY driver probe function will set the state to **PHY_READY**h](hPHY device and driver are not ready for anything. probe should be called if and only if the PHY is in this state, given that the PHY device exists. - PHY driver probe function will set the state to }(hj|UhhhNhNubj)}(h **PHY_READY**h]h PHY_READY}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|Uubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyUubah}(h]h ]h"]h$]h&]uh1jhj]Uubeh}(h]h ]h"]h$]h&]uh1jhjxUhMhjZUubj)}(h``PHY_READY`` PHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UP h](j)}(h ``PHY_READY``h]j)}(hjUh]h PHY_READY}(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.hhMhjUubj)}(hhh]jX)}(hPHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UPh]hPHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UP}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjZUubj)}(ha``PHY_HALTED`` PHY is up, but no polling or interrupts are done. - phy_start moves to **PHY_UP** h](j)}(h``PHY_HALTED``h]j)}(hjUh]h PHY_HALTED}(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.hhMhjUubj)}(hhh]jX)}(hQPHY is up, but no polling or interrupts are done. - phy_start moves to **PHY_UP**h](hGPHY is up, but no polling or interrupts are done. - phy_start moves to }(hjUhhhNhNubj)}(h **PHY_UP**h]hPHY_UP}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjZUubj)}(hV``PHY_ERROR`` PHY is up, but is in an error state. - phy_stop moves to **PHY_HALTED** h](j)}(h ``PHY_ERROR``h]j)}(hj-Vh]h PHY_ERROR}(hj/VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Vubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj'Vubj)}(hhh]jX)}(hGPHY is up, but is in an error state. - phy_stop moves to **PHY_HALTED**h](h9PHY is up, but is in an error state. - phy_stop moves to }(hjFVhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjNVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFVubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjCVubah}(h]h ]h"]h$]h&]uh1jhj'Vubeh}(h]h ]h"]h$]h&]uh1jhjBVhMhjZUubj)}(h``PHY_UP`` The PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to **PHY_NOLINK** or **PHY_RUNNING** h](j)}(h ``PHY_UP``h]j)}(hjuVh]hPHY_UP}(hjwVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsVubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjoVubj)}(hhh]jX)}(hThe PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to **PHY_NOLINK** or **PHY_RUNNING**h](hfThe PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to }(hjVhhhNhNubj)}(h**PHY_NOLINK**h]h PHY_NOLINK}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh or }(hjVhhhNhNubj)}(h**PHY_RUNNING**h]h PHY_RUNNING}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjVubah}(h]h ]h"]h$]h&]uh1jhjoVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjZUubj)}(h``PHY_RUNNING`` PHY is currently up, running, and possibly sending and/or receiving packets - irq or timer will set **PHY_NOLINK** if link goes down - phy_stop moves to **PHY_HALTED** h](j)}(h``PHY_RUNNING``h]j)}(hjVh]h PHY_RUNNING}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjVubj)}(hhh]jX)}(hPHY is currently up, running, and possibly sending and/or receiving packets - irq or timer will set **PHY_NOLINK** if link goes down - phy_stop moves to **PHY_HALTED**h](hdPHY is currently up, running, and possibly sending and/or receiving packets - irq or timer will set }(hjVhhhNhNubj)}(h**PHY_NOLINK**h]h PHY_NOLINK}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh' if link goes down - phy_stop moves to }(hjVhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjZUubj)}(h``PHY_NOLINK`` PHY is up, but not currently plugged in. - irq or timer will set **PHY_RUNNING** if link comes back - phy_stop moves to **PHY_HALTED** h](j)}(h``PHY_NOLINK``h]j)}(hj)Wh]h PHY_NOLINK}(hj+WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'Wubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj#Wubj)}(hhh]jX)}(hPHY is up, but not currently plugged in. - irq or timer will set **PHY_RUNNING** if link comes back - phy_stop moves to **PHY_HALTED**h](hAPHY is up, but not currently plugged in. - irq or timer will set }(hjBWhhhNhNubj)}(h**PHY_RUNNING**h]h PHY_RUNNING}(hjJWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBWubh( if link comes back - phy_stop moves to }(hjBWhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hj\WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBWubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj?Wubah}(h]h ]h"]h$]h&]uh1jhj#Wubeh}(h]h ]h"]h$]h&]uh1jhj>WhMhjZUubj)}(hX;``PHY_CABLETEST`` PHY is performing a cable test. Packet reception/sending is not expected to work, carrier will be indicated as down. PHY will be poll once per second, or on interrupt for it current state. Once complete, move to UP to restart the PHY. - phy_stop aborts the running test and moves to **PHY_HALTED**h](j)}(h``PHY_CABLETEST``h]j)}(hjWh]h PHY_CABLETEST}(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.hhMhj}Wubj)}(hhh]jX)}(hX)PHY is performing a cable test. Packet reception/sending is not expected to work, carrier will be indicated as down. PHY will be poll once per second, or on interrupt for it current state. Once complete, move to UP to restart the PHY. - phy_stop aborts the running test and moves to **PHY_HALTED**h](hXPHY is performing a cable test. Packet reception/sending is not expected to work, carrier will be indicated as down. PHY will be poll once per second, or on interrupt for it current state. Once complete, move to UP to restart the PHY. - phy_stop aborts the running test and moves to }(hjWhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(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}Wubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjZUubeh}(h]h ]h"]h$]h&]uh1jhj>Uubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_c45_device_ids (C struct)c.phy_c45_device_idshNtauh1hhj]hhhNhNubh)}(hhh](h)}(hphy_c45_device_idsh]h)}(hstruct phy_c45_device_idsh](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjWhMubj)}(hphy_c45_device_idsh]j%)}(hjWh]hphy_c45_device_ids}(hj XhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjWhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjWhMubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhMhjWhhubjS)}(hhh]jX)}(h802.3-c45 Device Identifiersh]h802.3-c45 Device Identifiers}(hj-XhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj*Xhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjWhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjEXjxjEXjyjzj{uh1hhhhj]hNhNubj})}(hXT**Definition**:: struct phy_c45_device_ids { u32 devices_in_package; u32 mmds_present; u32 device_ids[MDIO_MMD_NUM]; }; **Members** ``devices_in_package`` IEEE 802.3 devices in package register value. ``mmds_present`` bit vector of MMDs present. ``device_ids`` The device identifier for each present device.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjQXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMXubh:}(hjMXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjIXubjU)}(hrstruct phy_c45_device_ids { u32 devices_in_package; u32 mmds_present; u32 device_ids[MDIO_MMD_NUM]; };h]hrstruct phy_c45_device_ids { u32 devices_in_package; u32 mmds_present; u32 device_ids[MDIO_MMD_NUM]; };}hjjXsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjIXubjX)}(h **Members**h]j)}(hj{Xh]hMembers}(hj}XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyXubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjIXubj)}(hhh](j)}(hE``devices_in_package`` IEEE 802.3 devices in package register value. h](j)}(h``devices_in_package``h]j)}(hjXh]hdevices_in_package}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjXubj)}(hhh]jX)}(h-IEEE 802.3 devices in package register value.h]h-IEEE 802.3 devices in package register value.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhM hjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhM hjXubj)}(h-``mmds_present`` bit vector of MMDs present. h](j)}(h``mmds_present``h]j)}(hjXh]h mmds_present}(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)}(hbit vector of MMDs present.h]hbit vector of MMDs present.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhM hjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhM hjXubj)}(h=``device_ids`` The device identifier for each present device.h](j)}(h``device_ids``h]j)}(hj Yh]h device_ids}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Yubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjYubj)}(hhh]jX)}(h.The device identifier for each present device.h]h.The device identifier for each present device.}(hj%YhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj"Yubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhj!YhM hjXubeh}(h]h ]h"]h$]h&]uh1jhjIXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_device (C struct) c.phy_devicehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h phy_deviceh]h)}(hstruct phy_deviceh](h)}(hjh]hstruct}(hjfYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjbYhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjtYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbYhhhjsYhMubj)}(h phy_deviceh]j%)}(hj`Yh]h phy_device}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjbYhhhjsYhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj^YhhhjsYhMubah}(h]jYYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjsYhMhj[YhhubjS)}(hhh]jX)}(hAn instance of a PHYh]hAn instance of a PHY}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjYhhubah}(h]h ]h"]h$]h&]uh1jRhj[YhhhjsYhMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhj]hNhNubj})}(hX**Definition**:: struct phy_device { struct mdio_device mdio; const struct phy_driver *drv; struct device_link *devlink; u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned is_c45:1; unsigned is_internal:1; unsigned is_pseudo_fixed_link:1; unsigned is_gigabit_capable:1; unsigned has_fixups:1; unsigned suspended:1; unsigned suspended_by_mdio_bus:1; unsigned sysfs_links:1; unsigned loopback_enabled:1; unsigned downshifted_rate:1; unsigned is_on_sfp_module:1; unsigned mac_managed_pm:1; unsigned wol_enabled:1; unsigned is_genphy_driven:1; unsigned autoneg:1; unsigned link:1; unsigned autoneg_complete:1; unsigned interrupts:1; unsigned irq_suspended:1; unsigned irq_rerun:1; unsigned default_timestamp:1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; unsigned long possible_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; int speed; int duplex; int port; int pause; int asym_pause; u8 master_slave_get; u8 master_slave_set; u8 master_slave_state; unsigned long supported[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long adv_old[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long supported_eee[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising_eee[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long eee_disabled_modes[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; bool enable_tx_lpi; bool eee_active; struct eee_config eee_cfg; unsigned long host_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; #ifdef CONFIG_LED_TRIGGER_PHY; struct phy_led_trigger *phy_led_triggers; unsigned int phy_num_led_triggers; struct phy_led_trigger *last_triggered; struct phy_led_trigger *led_link_trigger; #endif; struct list_head leds; int irq; void *priv; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared; #endif; struct sk_buff *skb; void *ehdr; struct nlattr *nest; struct delayed_work state_queue; struct mutex lock; bool sfp_bus_attached; struct sfp_bus *sfp_bus; struct phylink *phylink; struct net_device *attached_dev; struct mii_timestamper *mii_ts; struct pse_control *psec; u8 mdix; u8 mdix_ctrl; int pma_extable; unsigned int link_down_events; void (*phy_link_change)(struct phy_device *phydev, bool up); void (*adjust_link)(struct net_device *dev); #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; }; **Members** ``mdio`` MDIO bus this PHY is on ``drv`` Pointer to the driver for this PHY instance ``devlink`` Create a link between phy dev and mac dev, if the external phy used by current mac interface is managed by another mac interface. ``phyindex`` Unique id across the phy's parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn't assigned an id yet. ``phy_id`` UID for this device found during discovery ``c45_ids`` 802.3-c45 Device Identifiers if is_c45. ``is_c45`` Set to true if this PHY uses clause 45 addressing. ``is_internal`` Set to true if this PHY is internal to a MAC. ``is_pseudo_fixed_link`` Set to true if this PHY is an Ethernet switch, etc. ``is_gigabit_capable`` Set to true if PHY supports 1000Mbps ``has_fixups`` Set to true if this PHY has fixups/quirks. ``suspended`` Set to true if this PHY has been suspended successfully. ``suspended_by_mdio_bus`` Set to true if this PHY was suspended by MDIO bus. ``sysfs_links`` Internal boolean tracking sysfs symbolic links setup/removal. ``loopback_enabled`` Set true if this PHY has been loopbacked successfully. ``downshifted_rate`` Set true if link speed has been downshifted. ``is_on_sfp_module`` Set true if PHY is located on an SFP module. ``mac_managed_pm`` Set true if MAC driver takes of suspending/resuming PHY ``wol_enabled`` Set to true if the PHY or the attached MAC have Wake-on-LAN enabled. ``is_genphy_driven`` PHY is driven by one of the generic PHY drivers ``autoneg`` Flag autoneg being used ``link`` Current link state ``autoneg_complete`` Flag auto negotiation of the link has completed ``interrupts`` Flag interrupts have been enabled ``irq_suspended`` Flag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumed ``irq_rerun`` Flag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resume ``default_timestamp`` Flag indicating whether we are using the phy timestamp as the default one ``rate_matching`` Current rate matching mode ``state`` State of the PHY for management purposes ``dev_flags`` Device-specific flags used by the PHY driver. ``interface`` enum phy_interface_t value ``possible_interfaces`` bitmap if interface modes that the attached PHY will switch between depending on media speed. ``speed`` Current link speed ``duplex`` Current duplex ``port`` Current port ``pause`` Current pause ``asym_pause`` Current asymmetric pause ``master_slave_get`` Current master/slave advertisement ``master_slave_set`` User requested master/slave configuration ``master_slave_state`` Current master/slave configuration ``supported`` Combined MAC/PHY supported linkmodes ``advertising`` Currently advertised linkmodes ``lp_advertising`` Current link partner advertised linkmodes ``adv_old`` Saved advertised while power saving for WoL ``supported_eee`` supported PHY EEE linkmodes ``advertising_eee`` Currently advertised EEE linkmodes ``eee_disabled_modes`` Energy efficient ethernet modes not to be advertised ``enable_tx_lpi`` When True, MAC should transmit LPI to PHY ``eee_active`` phylib private state, indicating that EEE has been negotiated ``eee_cfg`` User configuration of EEE ``host_interfaces`` PHY interface modes supported by host ``phy_led_triggers`` Array of LED triggers ``phy_num_led_triggers`` Number of triggers in **phy_led_triggers** ``last_triggered`` last LED trigger for link speed ``led_link_trigger`` LED trigger for link up/down ``leds`` list of PHY LED structures ``irq`` IRQ number of the PHY's interrupt (-1 if none) ``priv`` Pointer to driver private data ``shared`` Pointer to private data shared by phys in one package ``skb`` Netlink message for cable diagnostics ``ehdr`` nNtlink header for cable diagnostics ``nest`` Netlink nest used for cable diagnostics ``state_queue`` Work queue for state machine ``lock`` Mutex for serialization access to PHY ``sfp_bus_attached`` Flag indicating whether the SFP bus has been attached ``sfp_bus`` SFP bus attached to this PHY's fiber port ``phylink`` Pointer to phylink instance for this PHY ``attached_dev`` The attached enet driver's device instance ptr ``mii_ts`` Pointer to time stamper callbacks ``psec`` Pointer to Power Sourcing Equipment control struct ``mdix`` Current crossover ``mdix_ctrl`` User setting of crossover ``pma_extable`` Cached value of PMA/PMD Extended Abilities Register ``link_down_events`` Number of times link was lost ``phy_link_change`` Callback for phylink for notification of link change ``adjust_link`` Callback for the enet controller to respond to changes: in the link state. ``macsec_ops`` MACsec offloading ops.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh:}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjYubjU)}(hX struct phy_device { struct mdio_device mdio; const struct phy_driver *drv; struct device_link *devlink; u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned is_c45:1; unsigned is_internal:1; unsigned is_pseudo_fixed_link:1; unsigned is_gigabit_capable:1; unsigned has_fixups:1; unsigned suspended:1; unsigned suspended_by_mdio_bus:1; unsigned sysfs_links:1; unsigned loopback_enabled:1; unsigned downshifted_rate:1; unsigned is_on_sfp_module:1; unsigned mac_managed_pm:1; unsigned wol_enabled:1; unsigned is_genphy_driven:1; unsigned autoneg:1; unsigned link:1; unsigned autoneg_complete:1; unsigned interrupts:1; unsigned irq_suspended:1; unsigned irq_rerun:1; unsigned default_timestamp:1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; unsigned long possible_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; int speed; int duplex; int port; int pause; int asym_pause; u8 master_slave_get; u8 master_slave_set; u8 master_slave_state; unsigned long supported[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long adv_old[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long supported_eee[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising_eee[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long eee_disabled_modes[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; bool enable_tx_lpi; bool eee_active; struct eee_config eee_cfg; unsigned long host_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; #ifdef CONFIG_LED_TRIGGER_PHY; struct phy_led_trigger *phy_led_triggers; unsigned int phy_num_led_triggers; struct phy_led_trigger *last_triggered; struct phy_led_trigger *led_link_trigger; #endif; struct list_head leds; int irq; void *priv; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared; #endif; struct sk_buff *skb; void *ehdr; struct nlattr *nest; struct delayed_work state_queue; struct mutex lock; bool sfp_bus_attached; struct sfp_bus *sfp_bus; struct phylink *phylink; struct net_device *attached_dev; struct mii_timestamper *mii_ts; struct pse_control *psec; u8 mdix; u8 mdix_ctrl; int pma_extable; unsigned int link_down_events; void (*phy_link_change)(struct phy_device *phydev, bool up); void (*adjust_link)(struct net_device *dev); #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; };h]hX struct phy_device { struct mdio_device mdio; const struct phy_driver *drv; struct device_link *devlink; u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned is_c45:1; unsigned is_internal:1; unsigned is_pseudo_fixed_link:1; unsigned is_gigabit_capable:1; unsigned has_fixups:1; unsigned suspended:1; unsigned suspended_by_mdio_bus:1; unsigned sysfs_links:1; unsigned loopback_enabled:1; unsigned downshifted_rate:1; unsigned is_on_sfp_module:1; unsigned mac_managed_pm:1; unsigned wol_enabled:1; unsigned is_genphy_driven:1; unsigned autoneg:1; unsigned link:1; unsigned autoneg_complete:1; unsigned interrupts:1; unsigned irq_suspended:1; unsigned irq_rerun:1; unsigned default_timestamp:1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; unsigned long possible_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; int speed; int duplex; int port; int pause; int asym_pause; u8 master_slave_get; u8 master_slave_set; u8 master_slave_state; unsigned long supported[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long adv_old[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long supported_eee[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising_eee[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long eee_disabled_modes[BITS_TO_LONGS(__ETHTOOL_LINK_MODE_MASK_NBITS)]; bool enable_tx_lpi; bool eee_active; struct eee_config eee_cfg; unsigned long host_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; #ifdef CONFIG_LED_TRIGGER_PHY; struct phy_led_trigger *phy_led_triggers; unsigned int phy_num_led_triggers; struct phy_led_trigger *last_triggered; struct phy_led_trigger *led_link_trigger; #endif; struct list_head leds; int irq; void *priv; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared; #endif; struct sk_buff *skb; void *ehdr; struct nlattr *nest; struct delayed_work state_queue; struct mutex lock; bool sfp_bus_attached; struct sfp_bus *sfp_bus; struct phylink *phylink; struct net_device *attached_dev; struct mii_timestamper *mii_ts; struct pse_control *psec; u8 mdix; u8 mdix_ctrl; int pma_extable; unsigned int link_down_events; void (*phy_link_change)(struct phy_device *phydev, bool up); void (*adjust_link)(struct net_device *dev); #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; };}hjYsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjYubjX)}(h **Members**h]j)}(hjYh]hMembers}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMrhjYubj)}(hhh](j)}(h!``mdio`` MDIO bus this PHY is on h](j)}(h``mdio``h]j)}(hjZh]hmdio}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjZubj)}(hhh]jX)}(hMDIO bus this PHY is onh]hMDIO bus this PHY is on}(hj.ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj*ZhMhj+Zubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj*ZhMhj Zubj)}(h4``drv`` Pointer to the driver for this PHY instance h](j)}(h``drv``h]j)}(hjNZh]hdrv}(hjPZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjHZubj)}(hhh]jX)}(h+Pointer to the driver for this PHY instanceh]h+Pointer to the driver for this PHY instance}(hjgZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjcZhMhjdZubah}(h]h ]h"]h$]h&]uh1jhjHZubeh}(h]h ]h"]h$]h&]uh1jhjcZhMhj Zubj)}(h``devlink`` Create a link between phy dev and mac dev, if the external phy used by current mac interface is managed by another mac interface. h](j)}(h ``devlink``h]j)}(hjZh]hdevlink}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjZubj)}(hhh]jX)}(hCreate a link between phy dev and mac dev, if the external phy used by current mac interface is managed by another mac interface.h]hCreate a link between phy dev and mac dev, if the external phy used by current mac interface is managed by another mac interface.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj Zubj)}(h``phyindex`` Unique id across the phy's parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn't assigned an id yet. h](j)}(h ``phyindex``h]j)}(hjZh]hphyindex}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjZubj)}(hhh]jX)}(hUnique id across the phy's parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn't assigned an id yet.h]hUnique id across the phy’s parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn’t assigned an id yet.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj Zubj)}(h6``phy_id`` UID for this device found during discovery h](j)}(h ``phy_id``h]j)}(hjZh]hphy_id}(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*UID for this device found during discoveryh]h*UID for this device found during discovery}(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 Zubj)}(h4``c45_ids`` 802.3-c45 Device Identifiers if is_c45. h](j)}(h ``c45_ids``h]j)}(hj4[h]hc45_ids}(hj6[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2[ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM!hj.[ubj)}(hhh]jX)}(h'802.3-c45 Device Identifiers if is_c45.h]h'802.3-c45 Device Identifiers if is_c45.}(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!hj Zubj)}(h>``is_c45`` Set to true if this PHY uses clause 45 addressing. h](j)}(h ``is_c45``h]j)}(hjm[h]his_c45}(hjo[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk[ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM"hjg[ubj)}(hhh]jX)}(h2Set to true if this PHY uses clause 45 addressing.h]h2Set to true if this PHY uses clause 45 addressing.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hM"hj[ubah}(h]h ]h"]h$]h&]uh1jhjg[ubeh}(h]h ]h"]h$]h&]uh1jhj[hM"hj Zubj)}(h>``is_internal`` Set to true if this PHY is internal to a MAC. h](j)}(h``is_internal``h]j)}(hj[h]h is_internal}(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-Set to true if this PHY is internal to a MAC.h]h-Set to true if this PHY is internal to a MAC.}(hj[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 Zubj)}(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)}(hj[h]his_pseudo_fixed_link}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM$hj[ubj)}(hhh]jX)}(h3Set to true if this PHY is an Ethernet switch, etc.h]h3Set to true if this PHY is an Ethernet switch, etc.}(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 Zubj)}(h<``is_gigabit_capable`` Set to true if PHY supports 1000Mbps h](j)}(h``is_gigabit_capable``h]j)}(hj\h]his_gigabit_capable}(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$Set to true if PHY supports 1000Mbpsh]h$Set to true if PHY supports 1000Mbps}(hj1\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 Zubj)}(h:``has_fixups`` Set to true if this PHY has fixups/quirks. h](j)}(h``has_fixups``h]j)}(hjQ\h]h has_fixups}(hjS\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO\ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM&hjK\ubj)}(hhh]jX)}(h*Set to true if this PHY has fixups/quirks.h]h*Set to true if this PHY has fixups/quirks.}(hjj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjf\hM&hjg\ubah}(h]h ]h"]h$]h&]uh1jhjK\ubeh}(h]h ]h"]h$]h&]uh1jhjf\hM&hj Zubj)}(hG``suspended`` Set to true if this PHY has been suspended successfully. h](j)}(h ``suspended``h]j)}(hj\h]h suspended}(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)}(h8Set to true if this PHY has been suspended successfully.h]h8Set to true if this PHY has been suspended successfully.}(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 Zubj)}(hM``suspended_by_mdio_bus`` Set to true if this PHY was suspended by MDIO bus. h](j)}(h``suspended_by_mdio_bus``h]j)}(hj\h]hsuspended_by_mdio_bus}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM(hj\ubj)}(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.}(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 Zubj)}(hN``sysfs_links`` Internal boolean tracking sysfs symbolic links setup/removal. h](j)}(h``sysfs_links``h]j)}(hj\h]h sysfs_links}(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=Internal boolean tracking sysfs symbolic links setup/removal.h]h=Internal boolean tracking sysfs symbolic links setup/removal.}(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 Zubj)}(hL``loopback_enabled`` Set true if this PHY has been loopbacked successfully. h](j)}(h``loopback_enabled``h]j)}(hj5]h]hloopback_enabled}(hj7]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hj/]ubj)}(hhh]jX)}(h6Set true if this PHY has been loopbacked successfully.h]h6Set true if this PHY has been loopbacked successfully.}(hjN]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjJ]hM*hjK]ubah}(h]h ]h"]h$]h&]uh1jhj/]ubeh}(h]h ]h"]h$]h&]uh1jhjJ]hM*hj Zubj)}(hB``downshifted_rate`` Set true if link speed has been downshifted. h](j)}(h``downshifted_rate``h]j)}(hjn]h]hdownshifted_rate}(hjp]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM+hjh]ubj)}(hhh]jX)}(h,Set true if link speed has been downshifted.h]h,Set true if link speed has been downshifted.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hM+hj]ubah}(h]h ]h"]h$]h&]uh1jhjh]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM+hj Zubj)}(hB``is_on_sfp_module`` Set true if PHY is located on an SFP module. h](j)}(h``is_on_sfp_module``h]j)}(hj]h]his_on_sfp_module}(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,Set true if PHY is located on an SFP module.h]h,Set true if PHY is located on an SFP module.}(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 Zubj)}(hK``mac_managed_pm`` Set true if MAC driver takes of suspending/resuming PHY h](j)}(h``mac_managed_pm``h]j)}(hj]h]hmac_managed_pm}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM-hj]ubj)}(hhh]jX)}(h7Set true if MAC driver takes of suspending/resuming PHYh]h7Set true if MAC driver takes of suspending/resuming PHY}(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 Zubj)}(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^h]h wol_enabled}(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)}(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.}(hj2^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&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj.^hM/hj Zubj)}(hE``is_genphy_driven`` PHY is driven by one of the generic PHY drivers h](j)}(h``is_genphy_driven``h]j)}(hjS^h]his_genphy_driven}(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.hhM0hjM^ubj)}(hhh]jX)}(h/PHY is driven by one of the generic PHY driversh]h/PHY is driven by one of the generic PHY drivers}(hjl^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjh^hM0hji^ubah}(h]h ]h"]h$]h&]uh1jhjM^ubeh}(h]h ]h"]h$]h&]uh1jhjh^hM0hj Zubj)}(h$``autoneg`` Flag autoneg being used h](j)}(h ``autoneg``h]j)}(hj^h]hautoneg}(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.hhMShj^ubj)}(hhh]jX)}(hFlag autoneg being usedh]hFlag autoneg being used}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMShj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMShj Zubj)}(h``link`` Current link state h](j)}(h``link``h]j)}(hj^h]hlink}(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)}(hCurrent link stateh]hCurrent link state}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMUhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMUhj Zubj)}(hE``autoneg_complete`` Flag auto negotiation of the link has completed h](j)}(h``autoneg_complete``h]j)}(hj^h]hautoneg_complete}(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.hhMVhj^ubj)}(hhh]jX)}(h/Flag auto negotiation of the link has completedh]h/Flag auto negotiation of the link has completed}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMVhj_ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj_hMVhj Zubj)}(h1``interrupts`` Flag interrupts have been enabled h](j)}(h``interrupts``h]j)}(hj7_h]h interrupts}(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.hhMZhj1_ubj)}(hhh]jX)}(h!Flag interrupts have been enabledh]h!Flag interrupts have been enabled}(hjP_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjL_hMZhjM_ubah}(h]h ]h"]h$]h&]uh1jhj1_ubeh}(h]h ]h"]h$]h&]uh1jhjL_hMZhj Zubj)}(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)}(hjp_h]h irq_suspended}(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.hhM\hjj_ubj)}(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}(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&]uh1jhjj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM\hj Zubj)}(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)}(hj_h]h irq_rerun}(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)}(htFlag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resumeh]htFlag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resume}(hj_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&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM^hj Zubj)}(h```default_timestamp`` Flag indicating whether we are using the phy timestamp as the default one h](j)}(h``default_timestamp``h]j)}(hj_h]hdefault_timestamp}(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)}(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}(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&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM`hj Zubj)}(h-``rate_matching`` Current rate matching mode h](j)}(h``rate_matching``h]j)}(hj`h]h 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.hhMThj`ubj)}(hhh]jX)}(hCurrent rate matching modeh]hCurrent rate matching mode}(hj7`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3`hMThj4`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj3`hMThj Zubj)}(h3``state`` State of the PHY for management purposes h](j)}(h ``state``h]j)}(hjW`h]hstate}(hjY`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU`ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM1hjQ`ubj)}(hhh]jX)}(h(State of the PHY for management purposesh]h(State of the PHY for management purposes}(hjp`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjl`hM1hjm`ubah}(h]h ]h"]h$]h&]uh1jhjQ`ubeh}(h]h ]h"]h$]h&]uh1jhjl`hM1hj Zubj)}(h<``dev_flags`` Device-specific flags used by the PHY driver. h](j)}(h ``dev_flags``h]j)}(hj`h]h dev_flags}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2hj`ubj)}(hhh]jX)}(h-Device-specific flags used by the PHY driver.h]h-Device-specific flags used by the PHY driver.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hM2hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hM2hj Zubj)}(h)``interface`` enum phy_interface_t value h](j)}(h ``interface``h]j)}(hj`h]h 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.hhMahj`ubj)}(hhh]jX)}(henum phy_interface_t valueh]henum phy_interface_t value}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMahj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMahj Zubj)}(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)}(hjah]hpossible_interfaces}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMchj`ubj)}(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.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMbhjaubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhjahMchj Zubj)}(h``speed`` Current link speed h](j)}(h ``speed``h]j)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:aubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChj6aubj)}(hhh]jX)}(hCurrent link speedh]hCurrent link speed}(hjUahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQahMChjRaubah}(h]h ]h"]h$]h&]uh1jhj6aubeh}(h]h ]h"]h$]h&]uh1jhjQahMChj Zubj)}(h``duplex`` Current duplex h](j)}(h ``duplex``h]j)}(hjuah]hduplex}(hjwahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsaubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMDhjoaubj)}(hhh]jX)}(hCurrent duplexh]hCurrent duplex}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMDhjaubah}(h]h ]h"]h$]h&]uh1jhjoaubeh}(h]h ]h"]h$]h&]uh1jhjahMDhj Zubj)}(h``port`` Current port h](j)}(h``port``h]j)}(hjah]hport}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMEhjaubj)}(hhh]jX)}(h Current porth]h Current port}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMEhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMEhj Zubj)}(h``pause`` Current pause h](j)}(h ``pause``h]j)}(hjah]hpause}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhjaubj)}(hhh]jX)}(h Current pauseh]h Current pause}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjahMFhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMFhj Zubj)}(h(``asym_pause`` Current asymmetric pause h](j)}(h``asym_pause``h]j)}(hj bh]h asym_pause}(hj"bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhjbubj)}(hhh]jX)}(hCurrent asymmetric pauseh]hCurrent asymmetric pause}(hj9bhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5bhMGhj6bubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj5bhMGhj Zubj)}(h8``master_slave_get`` Current master/slave advertisement h](j)}(h``master_slave_get``h]j)}(hjYbh]hmaster_slave_get}(hj[bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWbubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMmhjSbubj)}(hhh]jX)}(h"Current master/slave advertisementh]h"Current master/slave advertisement}(hjrbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnbhMmhjobubah}(h]h ]h"]h$]h&]uh1jhjSbubeh}(h]h ]h"]h$]h&]uh1jhjnbhMmhj Zubj)}(h?``master_slave_set`` User requested master/slave configuration h](j)}(h``master_slave_set``h]j)}(hjbh]hmaster_slave_set}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMlhjbubj)}(hhh]jX)}(h)User requested master/slave configurationh]h)User requested master/slave configuration}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMlhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMlhj Zubj)}(h:``master_slave_state`` Current master/slave configuration h](j)}(h``master_slave_state``h]j)}(hjbh]hmaster_slave_state}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMnhjbubj)}(hhh]jX)}(h"Current master/slave configurationh]h"Current master/slave configuration}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhMnhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMnhj Zubj)}(h3``supported`` Combined MAC/PHY supported linkmodes h](j)}(h ``supported``h]j)}(hjch]h supported}(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.hhMHhjbubj)}(hhh]jX)}(h$Combined MAC/PHY supported linkmodesh]h$Combined MAC/PHY supported linkmodes}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMHhjcubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjchMHhj Zubj)}(h/``advertising`` Currently advertised linkmodes h](j)}(h``advertising``h]j)}(hj=ch]h advertising}(hj?chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;cubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMIhj7cubj)}(hhh]jX)}(hCurrently advertised linkmodesh]hCurrently advertised linkmodes}(hjVchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRchMIhjScubah}(h]h ]h"]h$]h&]uh1jhj7cubeh}(h]h ]h"]h$]h&]uh1jhjRchMIhj Zubj)}(h=``lp_advertising`` Current link partner advertised linkmodes h](j)}(h``lp_advertising``h]j)}(hjvch]hlp_advertising}(hjxchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtcubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMPhjpcubj)}(hhh]jX)}(h)Current link partner advertised linkmodesh]h)Current link partner advertised linkmodes}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMPhjcubah}(h]h ]h"]h$]h&]uh1jhjpcubeh}(h]h ]h"]h$]h&]uh1jhjchMPhj Zubj)}(h8``adv_old`` Saved advertised while power saving for WoL h](j)}(h ``adv_old``h]j)}(hjch]hadv_old}(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.hhMJhjcubj)}(hhh]jX)}(h+Saved advertised while power saving for WoLh]h+Saved advertised while power saving for WoL}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMJhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMJhj Zubj)}(h.``supported_eee`` supported PHY EEE linkmodes h](j)}(h``supported_eee``h]j)}(hjch]h supported_eee}(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.hhMKhjcubj)}(hhh]jX)}(hsupported PHY EEE linkmodesh]hsupported PHY EEE linkmodes}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMKhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMKhj Zubj)}(h7``advertising_eee`` Currently advertised EEE linkmodes h](j)}(h``advertising_eee``h]j)}(hj!dh]hadvertising_eee}(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.hhMLhjdubj)}(hhh]jX)}(h"Currently advertised EEE linkmodesh]h"Currently advertised EEE linkmodes}(hj:dhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6dhMLhj7dubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhj6dhMLhj Zubj)}(hL``eee_disabled_modes`` Energy efficient ethernet modes not to be advertised h](j)}(h``eee_disabled_modes``h]j)}(hjZdh]heee_disabled_modes}(hj\dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXdubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhjTdubj)}(hhh]jX)}(h4Energy efficient ethernet modes not to be advertisedh]h4Energy efficient ethernet modes not to be advertised}(hjsdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjodhMRhjpdubah}(h]h ]h"]h$]h&]uh1jhjTdubeh}(h]h ]h"]h$]h&]uh1jhjodhMRhj Zubj)}(h<``enable_tx_lpi`` When True, MAC should transmit LPI to PHY h](j)}(h``enable_tx_lpi``h]j)}(hjdh]h enable_tx_lpi}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMMhjdubj)}(hhh]jX)}(h)When True, MAC should transmit LPI to PHYh]h)When True, MAC should transmit LPI to PHY}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMMhj Zubj)}(hM``eee_active`` phylib private state, indicating that EEE has been negotiated h](j)}(h``eee_active``h]j)}(hjdh]h eee_active}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMNhjdubj)}(hhh]jX)}(h=phylib private state, indicating that EEE has been negotiatedh]h=phylib private state, indicating that EEE has been negotiated}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMNhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMNhj Zubj)}(h&``eee_cfg`` User configuration of EEE h](j)}(h ``eee_cfg``h]j)}(hjeh]heee_cfg}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOhjdubj)}(hhh]jX)}(hUser configuration of EEEh]hUser configuration of EEE}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjehMOhjeubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjehMOhj Zubj)}(h:``host_interfaces`` PHY interface modes supported by host h](j)}(h``host_interfaces``h]j)}(hj>eh]hhost_interfaces}(hj@ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhM?hj Zubj)}(h%``macsec_ops`` MACsec offloading ops.h](j)}(h``macsec_ops``h]j)}(hjkh]h macsec_ops}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hjkubj)}(hhh]jX)}(hMACsec offloading ops.h]hMACsec offloading ops.}(hj0khhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMAhj-kubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhj,khM@hj Zubeh}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubjX)}(h**Description**h]j)}(hjZkh]h Description}(hj\khhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXkubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMDhj]hhubj )}(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]j&:)}(hhh](j+:)}(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{khhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2hjwkubah}(h]h ]h"]h$]h&]uh1j*:hjtkubj+:)}(h3Bits [23:16] are currently reserved for future use.h]jX)}(hjkh]h3Bits [23:16] are currently reserved for future use.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4hjkubah}(h]h ]h"]h$]h&]uh1j*:hjtkubj+:)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hjkubah}(h]h ]h"]h$]h&]uh1j*:hjtkubeh}(h]h ]h"]h$]h&]j:juh1j%:hjkhM2hjpkubah}(h]h ]h"]h$]h&]uh1j hjkhM2hj]hhubjX)}(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}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8hj]hhubjX)}(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}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<hj]hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_tdr_config (C struct)c.phy_tdr_confighNtauh1hhj]hhhNhNubh)}(hhh](h)}(hphy_tdr_configh]h)}(hstruct phy_tdr_configh](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMBubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhjlhMBubj)}(hphy_tdr_configh]j%)}(hjkh]hphy_tdr_config}(hj$lhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj lubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjlhhhjlhMBubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhjlhMBubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhMBhjkhhubjS)}(hhh]jX)}(hConfiguration of a TDR raw testh]hConfiguration of a TDR raw test}(hjFlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjClhhubah}(h]h ]h"]h$]h&]uh1jRhjkhhhjlhMBubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj^ljxj^ljyjzj{uh1hhhhj]hNhNubj})}(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}(hjjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjflubh:}(hjflhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjblubjU)}(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; };}hjlsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjblubjX)}(h **Members**h]j)}(hjlh]hMembers}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjblubj)}(hhh](j)}(h3``first`` Distance for first data collection point h](j)}(h ``first``h]j)}(hjlh]hfirst}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjlubj)}(hhh]jX)}(h(Distance for first data collection pointh]h(Distance for first data collection point}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjlubj)}(h1``last`` Distance for last data collection point h](j)}(h``last``h]j)}(hjlh]hlast}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjlubj)}(hhh]jX)}(h'Distance for last data collection pointh]h'Distance for last data collection point}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjlubj)}(h-``step`` Step between data collection points h](j)}(h``step``h]j)}(hj%mh]hstep}(hj'mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#mubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjmubj)}(hhh]jX)}(h#Step between data collection pointsh]h#Step between data collection points}(hj>mhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:mhMhj;mubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhj:mhMhjlubj)}(h2``pair`` Bitmap of cable pairs to collect data forh](j)}(h``pair``h]j)}(hj^mh]hpair}(hj`mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\mubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjXmubj)}(hhh]jX)}(h)Bitmap of cable pairs to collect data forh]h)Bitmap of cable pairs to collect data for}(hjwmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjtmubah}(h]h ]h"]h$]h&]uh1jhjXmubeh}(h]h ]h"]h$]h&]uh1jhjsmhMhjlubeh}(h]h ]h"]h$]h&]uh1jhjblubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubjX)}(h**Description**h]j)}(hjmh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj]hhubjX)}(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.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj]hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlink_inband_signalling (C enum)c.link_inband_signallinghNtauh1hhj]hhhNhNubh)}(hhh](h)}(hlink_inband_signallingh]h)}(henum link_inband_signallingh](h)}(hhh]henum}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmhhhjmhMubj)}(hlink_inband_signallingh]j%)}(hjmh]hlink_inband_signalling}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjmhhhjmhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjmhhhjmhMubah}(h]jmah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhMhjmhhubjS)}(hhh]jX)}(h+in-band signalling modes that are supportedh]h+in-band signalling modes that are supported}(hj!nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM%hjnhhubah}(h]h ]h"]h$]h&]uh1jRhjmhhhjmhMubeh}(h]h ](jqenumeh"]h$]h&]jvjqjwj9njxj9njyjzj{uh1hhhhj]hNhNubj})}(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)}(hjCnh]h Constants}(hjEnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAnubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM)hj=nubj)}(hhh](j)}(h;``LINK_INBAND_DISABLE`` in-band signalling can be disabled h](j)}(h``LINK_INBAND_DISABLE``h]j)}(hjbnh]hLINK_INBAND_DISABLE}(hjdnhhhNhNubah}(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,hj\nubj)}(hhh]jX)}(h"in-band signalling can be disabledh]h"in-band signalling can be disabled}(hj{nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwnhM,hjxnubah}(h]h ]h"]h$]h&]uh1jhj\nubeh}(h]h ]h"]h$]h&]uh1jhjwnhM,hjYnubj)}(hH``LINK_INBAND_ENABLE`` in-band signalling can be enabled without bypass h](j)}(h``LINK_INBAND_ENABLE``h]j)}(hjnh]hLINK_INBAND_ENABLE}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hjnubj)}(hhh]jX)}(h0in-band signalling can be enabled without bypassh]h0in-band signalling can be enabled without bypass}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhM/hjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhM/hjYnubj)}(hD``LINK_INBAND_BYPASS`` in-band signalling can be enabled with bypassh](j)}(h``LINK_INBAND_BYPASS``h]j)}(hjnh]hLINK_INBAND_BYPASS}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM1hjnubj)}(hhh]jX)}(h-in-band signalling can be enabled with bypassh]h-in-band signalling can be enabled with bypass}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2hjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhM1hjYnubeh}(h]h ]h"]h$]h&]uh1jhj=nubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubjX)}(h**Description**h]j)}(hjoh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4hj]hhubjX)}(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.K}(hj-ohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hj]hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_cfg (C struct)c.phy_plca_cfghNtauh1hhj]hhhNhNubh)}(hhh](h)}(h phy_plca_cfgh]h)}(hstruct phy_plca_cfgh](h)}(hjh]hstruct}(hjUohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQohhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2ubj)}(h h]h }(hjcohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQohhhjbohM2ubj)}(h phy_plca_cfgh]j%)}(hjOoh]h phy_plca_cfg}(hjuohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqoubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQohhhjbohM2ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjMohhhjbohM2ubah}(h]jHoah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbohM2hjJohhubjS)}(hhh]jX)}(hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.h]hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM7hjohhubah}(h]h ]h"]h$]h&]uh1jRhjJohhhjbohM2ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjojxjojyjzj{uh1hhhhj]hNhNubj})}(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}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh:}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hjoubjU)}(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; };}hjosbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM=hjoubjX)}(h **Members**h]j)}(hjoh]hMembers}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhjoubj)}(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)}(hjph]hversion}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM=hjoubj)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hjpubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjphM=hjoubj)}(h|``enabled`` PLCA configured mode (enabled/disabled). -1 = not available / don't set. 0 = disabled, anything else = enabled. h](j)}(h ``enabled``h]j)}(hj>ph]henabled}(hj@phhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhjTpubah}(h]h ]h"]h$]h&]uh1jhj8pubeh}(h]h ]h"]h$]h&]uh1jhjSphM?hjoubj)}(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)}(hjxph]hnode_id}(hjzphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMAhjrpubj)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hjpubah}(h]h ]h"]h$]h&]uh1jhjrpubeh}(h]h ]h"]h$]h&]uh1jhjphMAhjoubj)}(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)}(hjph]hnode_cnt}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMDhjpubj)}(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].}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMBhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMDhjoubj)}(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)}(hjph]hto_tmr}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhjpubj)}(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].}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMEhjqubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjqhMHhjoubj)}(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)}(hj&qh]h burst_cnt}(hj(qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$qubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMMhj qubj)}(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].}(hj?qhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMIhjsupported. ``inband_caps`` query whether in-band is supported for the given PHY interface mode. Returns a bitmask of bits defined by enum link_inband_signalling. ``config_inband`` configure in-band mode for the PHY ``get_rate_matching`` Get the supported type of rate matching for a particular phy interface. This is used by phy consumers to determine whether to advertise lower-speed modes for that interface. It is assumed that if a rate matching mode is supported on an interface, then that interface's rate can be adapted to all slower link speeds supported by the phy. If the interface is not supported, this should return ``RATE_MATCH_NONE``. ``suspend`` Suspend the hardware, saving state if needed ``resume`` Resume the hardware, restoring state if needed ``config_aneg`` Configures the advertisement and resets autonegotiation if phydev->autoneg is on, forces the speed to the current settings in phydev if phydev->autoneg is off ``aneg_done`` Determines the auto negotiation result ``read_status`` Determines the negotiated speed and duplex ``config_intr`` Enables or disables interrupts. It should also clear any pending interrupts prior to enabling the IRQs and after disabling them. ``handle_interrupt`` Override default interrupt handling ``remove`` Clears up any memory if needed ``match_phy_device`` Returns true if this is a suitable driver for the given phydev. If NULL, matching is based on phy_id and phy_id_mask. ``set_wol`` Some devices (e.g. qnap TS-119P II) require PHY register changes to enable Wake on LAN, so set_wol is provided to be called in the ethernet driver's set_wol function. ``get_wol`` See set_wol, but for checking whether Wake on LAN is enabled. ``link_change_notify`` Called to inform a PHY device driver when the core is about to change the link state. This callback is supposed to be used as fixup hook for drivers that need to take action when the link state changes. Drivers are by no means allowed to mess with the PHY device structure in their implementations. ``read_mmd`` PHY specific driver override for reading a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD read function will be used by phy_read_mmd(), which will use either a direct read for Clause 45 PHYs or an indirect read for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. ``write_mmd`` PHY specific driver override for writing a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD write function will be used by phy_write_mmd(), which will use either a direct write for Clause 45 PHYs, or an indirect write for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. val is the value to be written. ``read_page`` Return the current PHY register page number ``write_page`` Set the current PHY register page number ``module_info`` Get the size and type of the eeprom contained within a plug-in module ``module_eeprom`` Get the eeprom information from the plug-in module ``cable_test_start`` Start a cable test ``cable_test_tdr_start`` Start a raw TDR cable test ``cable_test_get_status`` Once per second, or on interrupt, request the status of the test. ``get_phy_stats`` Retrieve PHY statistics. **dev**: The PHY device for which the statistics are retrieved. **eth_stats**: structure where Ethernet PHY stats will be stored. **stats**: structure where additional PHY-specific stats will be stored. Retrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace. ``get_link_stats`` Retrieve link statistics. **dev**: The PHY device for which the statistics are retrieved. **link_stats**: structure where link-specific stats will be stored. Retrieves link-related statistics for the given PHY device. The input structure is pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace. ``update_stats`` Trigger periodic statistics updates. **dev**: The PHY device for which statistics updates are triggered. Periodically gathers statistics from the PHY device to update locally maintained 64-bit counters. This is necessary for PHYs that implement reduced-width counters (e.g., 16-bit or 32-bit) which can overflow more frequently compared to 64-bit counters. By invoking this callback, drivers can fetch the current counter values, handle overflow detection, and accumulate the results into local 64-bit counters for accurate reporting through the `get_phy_stats` and `get_link_stats` interfaces. Return: 0 on success or a negative error code on failure. ``get_sset_count`` Number of statistic counters ``get_strings`` Names of the statistic counters ``get_stats`` Return the statistic counter values ``get_tunable`` Return the value of a tunable ``set_tunable`` Set the value of a tunable ``set_loopback`` Set the loopback mode of the PHY enable selects if the loopback mode is enabled or disabled. If the loopback mode is enabled, then the speed of the loopback mode can be requested with the speed argument. If the speed argument is zero, then any speed can be selected. If the speed argument is > 0, then this speed shall be selected for the loopback mode or EOPNOTSUPP shall be returned if speed selection is not supported. ``get_sqi`` Get the signal quality indication ``get_sqi_max`` Get the maximum signal quality indication ``get_plca_cfg`` Return the current PLCA configuration ``set_plca_cfg`` Set the PLCA configuration ``get_plca_status`` Return the current PLCA status info ``led_brightness_set`` Set a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL. ``led_blink_set`` Set a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can't match the values specified exactly. ``led_hw_is_supported`` Can the HW support the given rules. **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The core is interested in these rules Return 0 if yes, -EOPNOTSUPP if not, or an error code. ``led_hw_control_set`` Set the HW to control the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The rules used to control the LED Returns 0, or a an error code. ``led_hw_control_get`` Get how the HW is controlling the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** Pointer to the rules used to control the LED Set ***rules** to how the HW is currently blinking. Returns 0 on success, or a error code if the current blinking cannot be represented in rules, or some other error happens. ``led_polarity_set`` Set the LED polarity modes **dev**: PHY device which has the LED **index**: Which LED of the PHY device **modes**: bitmap of LED polarity modes Configure LED with all the required polarity modes in **modes** to make it correctly turn ON or OFF. Returns 0, or an error code. ``get_next_update_time`` Get the time until the next update event **dev**: PHY device Callback to determine the time (in jiffies) until the next update event for the PHY state machine. Allows PHY drivers to dynamically adjust polling intervals based on link state or other conditions. Returns the time in jiffies until the next update event.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj*uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&uubh:}(hj&uhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj"uubjU)}(hXJstruct phy_driver { struct mdio_driver_common mdiodrv; u32 phy_id; char *name; u32 phy_id_mask; const unsigned long * const features; u32 flags; const void *driver_data; int (*soft_reset)(struct phy_device *phydev); int (*config_init)(struct phy_device *phydev); int (*probe)(struct phy_device *phydev); int (*get_features)(struct phy_device *phydev); unsigned int (*inband_caps)(struct phy_device *phydev, phy_interface_t interface); int (*config_inband)(struct phy_device *phydev, unsigned int modes); int (*get_rate_matching)(struct phy_device *phydev, phy_interface_t iface); int (*suspend)(struct phy_device *phydev); int (*resume)(struct phy_device *phydev); int (*config_aneg)(struct phy_device *phydev); int (*aneg_done)(struct phy_device *phydev); int (*read_status)(struct phy_device *phydev); int (*config_intr)(struct phy_device *phydev); irqreturn_t (*handle_interrupt)(struct phy_device *phydev); void (*remove)(struct phy_device *phydev); int (*match_phy_device)(struct phy_device *phydev, const struct phy_driver *phydrv); int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); void (*link_change_notify)(struct phy_device *dev); int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum); int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum, u16 val); int (*read_page)(struct phy_device *dev); int (*write_page)(struct phy_device *dev, int page); int (*module_info)(struct phy_device *dev, struct ethtool_modinfo *modinfo); int (*module_eeprom)(struct phy_device *dev, struct ethtool_eeprom *ee, u8 *data); int (*cable_test_start)(struct phy_device *dev); int (*cable_test_tdr_start)(struct phy_device *dev, const struct phy_tdr_config *config); int (*cable_test_get_status)(struct phy_device *dev, bool *finished); void (*get_phy_stats)(struct phy_device *dev, struct ethtool_eth_phy_stats *eth_stats, struct ethtool_phy_stats *stats); void (*get_link_stats)(struct phy_device *dev, struct ethtool_link_ext_stats *link_stats); int (*update_stats)(struct phy_device *dev); int (*get_sset_count)(struct phy_device *dev); void (*get_strings)(struct phy_device *dev, u8 *data); void (*get_stats)(struct phy_device *dev, struct ethtool_stats *stats, u64 *data); int (*get_tunable)(struct phy_device *dev, struct ethtool_tunable *tuna, void *data); int (*set_tunable)(struct phy_device *dev, struct ethtool_tunable *tuna, const void *data); int (*set_loopback)(struct phy_device *dev, bool enable, int speed); int (*get_sqi)(struct phy_device *dev); int (*get_sqi_max)(struct phy_device *dev); int (*get_plca_cfg)(struct phy_device *dev, struct phy_plca_cfg *plca_cfg); int (*set_plca_cfg)(struct phy_device *dev, const struct phy_plca_cfg *plca_cfg); int (*get_plca_status)(struct phy_device *dev, struct phy_plca_status *plca_st); int (*led_brightness_set)(struct phy_device *dev, u8 index, enum led_brightness value); int (*led_blink_set)(struct phy_device *dev, u8 index, unsigned long *delay_on, unsigned long *delay_off); int (*led_hw_is_supported)(struct phy_device *dev, u8 index, unsigned long rules); int (*led_hw_control_set)(struct phy_device *dev, u8 index, unsigned long rules); int (*led_hw_control_get)(struct phy_device *dev, u8 index, unsigned long *rules); int (*led_polarity_set)(struct phy_device *dev, int index, unsigned long modes); unsigned int (*get_next_update_time)(struct phy_device *dev); };h]hXJstruct phy_driver { struct mdio_driver_common mdiodrv; u32 phy_id; char *name; u32 phy_id_mask; const unsigned long * const features; u32 flags; const void *driver_data; int (*soft_reset)(struct phy_device *phydev); int (*config_init)(struct phy_device *phydev); int (*probe)(struct phy_device *phydev); int (*get_features)(struct phy_device *phydev); unsigned int (*inband_caps)(struct phy_device *phydev, phy_interface_t interface); int (*config_inband)(struct phy_device *phydev, unsigned int modes); int (*get_rate_matching)(struct phy_device *phydev, phy_interface_t iface); int (*suspend)(struct phy_device *phydev); int (*resume)(struct phy_device *phydev); int (*config_aneg)(struct phy_device *phydev); int (*aneg_done)(struct phy_device *phydev); int (*read_status)(struct phy_device *phydev); int (*config_intr)(struct phy_device *phydev); irqreturn_t (*handle_interrupt)(struct phy_device *phydev); void (*remove)(struct phy_device *phydev); int (*match_phy_device)(struct phy_device *phydev, const struct phy_driver *phydrv); int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); void (*link_change_notify)(struct phy_device *dev); int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum); int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum, u16 val); int (*read_page)(struct phy_device *dev); int (*write_page)(struct phy_device *dev, int page); int (*module_info)(struct phy_device *dev, struct ethtool_modinfo *modinfo); int (*module_eeprom)(struct phy_device *dev, struct ethtool_eeprom *ee, u8 *data); int (*cable_test_start)(struct phy_device *dev); int (*cable_test_tdr_start)(struct phy_device *dev, const struct phy_tdr_config *config); int (*cable_test_get_status)(struct phy_device *dev, bool *finished); void (*get_phy_stats)(struct phy_device *dev, struct ethtool_eth_phy_stats *eth_stats, struct ethtool_phy_stats *stats); void (*get_link_stats)(struct phy_device *dev, struct ethtool_link_ext_stats *link_stats); int (*update_stats)(struct phy_device *dev); int (*get_sset_count)(struct phy_device *dev); void (*get_strings)(struct phy_device *dev, u8 *data); void (*get_stats)(struct phy_device *dev, struct ethtool_stats *stats, u64 *data); int (*get_tunable)(struct phy_device *dev, struct ethtool_tunable *tuna, void *data); int (*set_tunable)(struct phy_device *dev, struct ethtool_tunable *tuna, const void *data); int (*set_loopback)(struct phy_device *dev, bool enable, int speed); int (*get_sqi)(struct phy_device *dev); int (*get_sqi_max)(struct phy_device *dev); int (*get_plca_cfg)(struct phy_device *dev, struct phy_plca_cfg *plca_cfg); int (*set_plca_cfg)(struct phy_device *dev, const struct phy_plca_cfg *plca_cfg); int (*get_plca_status)(struct phy_device *dev, struct phy_plca_status *plca_st); int (*led_brightness_set)(struct phy_device *dev, u8 index, enum led_brightness value); int (*led_blink_set)(struct phy_device *dev, u8 index, unsigned long *delay_on, unsigned long *delay_off); int (*led_hw_is_supported)(struct phy_device *dev, u8 index, unsigned long rules); int (*led_hw_control_set)(struct phy_device *dev, u8 index, unsigned long rules); int (*led_hw_control_get)(struct phy_device *dev, u8 index, unsigned long *rules); int (*led_polarity_set)(struct phy_device *dev, int index, unsigned long modes); unsigned int (*get_next_update_time)(struct phy_device *dev); };}hjCusbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj"uubjX)}(h **Members**h]j)}(hjTuh]hMembers}(hjVuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRuubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj"uubj)}(hhh](j)}(h,``mdiodrv`` Data common to all MDIO devices h](j)}(h ``mdiodrv``h]j)}(hjsuh]hmdiodrv}(hjuuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjquubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjmuubj)}(hhh]jX)}(hData common to all MDIO devicesh]hData common to all MDIO devices}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjmuubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjjuubj)}(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)}(hjuh]hphy_id}(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.hhMhjuubj)}(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}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjjuubj)}(h,``name`` The friendly name of this PHY type h](j)}(h``name``h]j)}(hjuh]hname}(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.hhMhjuubj)}(hhh]jX)}(h"The friendly name of this PHY typeh]h"The friendly name of this PHY type}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjjuubj)}(h9``phy_id_mask`` Defines the important bits of the phy_id h](j)}(h``phy_id_mask``h]j)}(hjvh]h phy_id_mask}(hj!vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjvubj)}(hhh]jX)}(h(Defines the important bits of the phy_idh]h(Defines the important bits of the phy_id}(hj8vhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4vhMhj5vubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhj4vhMhjjuubj)}(hU``features`` A mandatory list of features (speed, duplex, etc) supported by this PHY h](j)}(h ``features``h]j)}(hjXvh]hfeatures}(hjZvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVvubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjRvubj)}(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}(hjqvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjnvubah}(h]h ]h"]h$]h&]uh1jhjRvubeh}(h]h ]h"]h$]h&]uh1jhjmvhMhjjuubj)}(hY``flags`` A bitfield defining certain other features this PHY supports (like interrupts) h](j)}(h ``flags``h]j)}(hjvh]hflags}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjvubj)}(hhh]jX)}(hNA bitfield defining certain other features this PHY supports (like interrupts)h]hNA bitfield defining certain other features this PHY supports (like interrupts)}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjjuubj)}(h#``driver_data`` Static driver data h](j)}(h``driver_data``h]j)}(hjvh]h driver_data}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjvubj)}(hhh]jX)}(hStatic driver datah]hStatic driver data}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjjuubj)}(h4``soft_reset`` Called to issue a PHY software reset h](j)}(h``soft_reset``h]j)}(hjwh]h soft_reset}(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.hhMhjvubj)}(hhh]jX)}(h$Called to issue a PHY software reseth]h$Called to issue a PHY software reset}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjjuubj)}(hF``config_init`` Called to initialize the PHY, including after a reset h](j)}(h``config_init``h]j)}(hj>wh]h config_init}(hj@whhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsupported. h](j)}(h``get_features``h]j)}(hjwh]h get_features}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjwubj)}(hhh]jX)}(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.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjjuubj)}(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)}(hjwh]h inband_caps}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjwubj)}(hhh]jX)}(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.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjxubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjjuubj)}(h5``config_inband`` configure in-band mode for the PHY h](j)}(h``config_inband``h]j)}(hj&xh]h config_inband}(hj(xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$xubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj xubj)}(hhh]jX)}(h"configure in-band mode for the PHYh]h"configure in-band mode for the PHY}(hj?xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;xhMhjautoneg is on, forces the speed to the current settings in phydev if phydev->autoneg is off h](j)}(h``config_aneg``h]j)}(hjyh]h config_aneg}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubj)}(hhh]jX)}(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}(hj6yhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj3yubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhj2yhMhjjuubj)}(h5``aneg_done`` Determines the auto negotiation result h](j)}(h ``aneg_done``h]j)}(hjWyh]h aneg_done}(hjYyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjQyubj)}(hhh]jX)}(h&Determines the auto negotiation resulth]h&Determines the auto negotiation result}(hjpyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlyhMhjmyubah}(h]h ]h"]h$]h&]uh1jhjQyubeh}(h]h ]h"]h$]h&]uh1jhjlyhMhjjuubj)}(h;``read_status`` Determines the negotiated speed and duplex h](j)}(h``read_status``h]j)}(hjyh]h read_status}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubj)}(hhh]jX)}(h*Determines the negotiated speed and duplexh]h*Determines the negotiated speed and duplex}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjjuubj)}(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)}(hjyh]h config_intr}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubj)}(hhh]jX)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjjuubj)}(h9``handle_interrupt`` Override default interrupt handling h](j)}(h``handle_interrupt``h]j)}(hjzh]hhandle_interrupt}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubj)}(hhh]jX)}(h#Override default interrupt handlingh]h#Override default interrupt handling}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjjuubj)}(h*``remove`` Clears up any memory if needed h](j)}(h ``remove``h]j)}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:zubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj6zubj)}(hhh]jX)}(hClears up any memory if neededh]hClears up any memory if needed}(hjUzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQzhMhjRzubah}(h]h ]h"]h$]h&]uh1jhj6zubeh}(h]h ]h"]h$]h&]uh1jhjQzhMhjjuubj)}(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)}(hjuzh]hmatch_phy_device}(hjwzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjszubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjozubj)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzubah}(h]h ]h"]h$]h&]uh1jhjozubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjjuubj)}(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)}(hjzh]hset_wol}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzubj)}(hhh]jX)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjjuubj)}(hJ``get_wol`` See set_wol, but for checking whether Wake on LAN is enabled. h](j)}(h ``get_wol``h]j)}(hjzh]hget_wol}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzubj)}(hhh]jX)}(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.hhM hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjjuubj)}(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)}(hj#{h]hlink_change_notify}(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)}(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.}(hj<{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj9{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj8{hMhjjuubj)}(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.hhM$hjW{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.}(hjv{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjs{ubah}(h]h ]h"]h$]h&]uh1jhjW{ubeh}(h]h ]h"]h$]h&]uh1jhjr{hM$hjjuubj)}(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)}(hj{h]h write_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.hhM0hj{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.}(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&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hM0hjjuubj)}(h:``read_page`` Return the current PHY register page number h](j)}(h ``read_page``h]j)}(hj{h]h read_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.hhM5hj{ubj)}(hhh]jX)}(h+Return the current PHY register page numberh]h+Return the current PHY register page number}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hM5hj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hM5hjjuubj)}(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.hhM7hj|ubj)}(hhh]jX)}(h(Set the current PHY register page numberh]h(Set the current PHY register page number}(hj#|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hM7hj |ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hM7hjjuubj)}(hV``module_info`` Get the size and type of the eeprom contained within a plug-in module h](j)}(h``module_info``h]j)}(hjC|h]h module_info}(hjE|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<hj=|ubj)}(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.hhM;hjY|ubah}(h]h ]h"]h$]h&]uh1jhj=|ubeh}(h]h ]h"]h$]h&]uh1jhjX|hM<hjjuubj)}(hE``module_eeprom`` Get the eeprom information from the plug-in module h](j)}(h``module_eeprom``h]j)}(hj}|h]h module_eeprom}(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.hhMChjw|ubj)}(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.hhMBhj|ubah}(h]h ]h"]h$]h&]uh1jhjw|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMChjjuubj)}(h(``cable_test_start`` Start a cable test h](j)}(h``cable_test_start``h]j)}(hj|h]hcable_test_start}(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)}(hStart a cable testh]hStart a cable test}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj|hMHhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMHhjjuubj)}(h4``cable_test_tdr_start`` Start a raw TDR cable test h](j)}(h``cable_test_tdr_start``h]j)}(hj|h]hcable_test_tdr_start}(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)}(hStart a raw TDR cable testh]hStart a raw TDR cable test}(hj }hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj}hMKhj}ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj}hMKhjjuubj)}(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)}(hj)}h]hcable_test_get_status}(hj+}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMQhj#}ubj)}(hhh]jX)}(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.}(hjB}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&]uh1jhj#}ubeh}(h]h ]h"]h$]h&]uh1jhj>}hMQhjjuubj)}(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)}(hjc}h]h get_phy_stats}(hje}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`hj]}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. }(hj|}hhhNhNubj)}(h**dev**h]hdev}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|}ubh9: The PHY device for which the statistics are retrieved. }(hj|}hhhNhNubj)}(h **eth_stats**h]h eth_stats}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|}ubh5: structure where Ethernet PHY stats will be stored. }(hj|}hhhNhNubj)}(h **stats**h]hstats}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|}ubh?: structure where additional PHY-specific stats will be stored.}(hj|}hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjy}ubjX)}(hXFRetrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace.h](h|Retrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with }(hj}hhhNhNubji)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhj}ubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hj}hhhNhNubji)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhj}ubh' and will not be returned to userspace.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hjy}ubeh}(h]h ]h"]h$]h&]uh1jhj]}ubeh}(h]h ]h"]h$]h&]uh1jhjx}hM`hjjuubj)}(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.hhMohj~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. }(hj~hhhNhNubj)}(h**dev**h]hdev}(hj'~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh9: The PHY device for which the statistics are retrieved. }(hj~hhhNhNubj)}(h**link_stats**h]h link_stats}(hj9~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh5: structure where link-specific stats will be stored.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghj~ubjX)}(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 }(hjR~hhhNhNubji)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjZ~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhjR~ubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hjR~hhhNhNubji)}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjl~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhjR~ubh' and will not be returned to userspace.}(hjR~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMkhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMohjjuubj)}(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)}(hj~h]h update_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)}(hhTrigger periodic statistics updates. **dev**: The PHY device for which statistics updates are triggered.h](h%Trigger periodic statistics updates. }(hj~hhhNhNubj)}(h**dev**h]hdev}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh<: The PHY device for which statistics updates are triggered.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhj~ubjX)}(hXPeriodically gathers statistics from the PHY device to update locally maintained 64-bit counters. This is necessary for PHYs that implement reduced-width counters (e.g., 16-bit or 32-bit) which can overflow more frequently compared to 64-bit counters. By invoking this callback, drivers can fetch the current counter values, handle overflow detection, and accumulate the results into local 64-bit counters for accurate reporting through the `get_phy_stats` and `get_link_stats` interfaces.h](hXPeriodically gathers statistics from the PHY device to update locally maintained 64-bit counters. This is necessary for PHYs that implement reduced-width counters (e.g., 16-bit or 32-bit) which can overflow more frequently compared to 64-bit counters. By invoking this callback, drivers can fetch the current counter values, handle overflow detection, and accumulate the results into local 64-bit counters for accurate reporting through the }(hj~hhhNhNubji)}(h`get_phy_stats`h]h get_phy_stats}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhj~ubh and }(hj~hhhNhNubji)}(h`get_link_stats`h]hget_link_stats}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhj~ubh interfaces.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMxhj~ubjX)}(h9Return: 0 on success or a negative error code on failure.h]h9Return: 0 on success or a negative error code on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjjuubj)}(h0``get_sset_count`` Number of statistic counters h](j)}(h``get_sset_count``h]j)}(hj$h]hget_sset_count}(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)}(hNumber of statistic countersh]hNumber of statistic counters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjjuubj)}(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.hhMhjWubj)}(hhh]jX)}(hNames of the statistic countersh]hNames of the statistic counters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjjuubj)}(h2``get_stats`` Return the statistic counter values h](j)}(h ``get_stats``h]j)}(hjh]h get_stats}(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 statistic counter valuesh]h#Return the statistic counter values}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjuubj)}(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.hhMhjubj)}(hhh]jX)}(hReturn the value of a tunableh]hReturn the value of a tunable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjuubj)}(h+``set_tunable`` Set the value of a tunable h](j)}(h``set_tunable``h]j)}(hjh]h set_tunable}(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)}(hSet the value of a tunableh]hSet the value of a tunable}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjuubj)}(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)}(hjAh]h set_loopback}(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)}(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.}(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&]uh1jhjVhMhjjuubj)}(h.``get_sqi`` Get the signal quality indication h](j)}(h ``get_sqi``h]j)}(hj{h]hget_sqi}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjuubj)}(hhh]jX)}(h!Get the signal quality indicationh]h!Get the signal quality indication}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjuubj)}(h:``get_sqi_max`` Get the maximum signal quality indication h](j)}(h``get_sqi_max``h]j)}(hjh]h get_sqi_max}(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)Get the maximum signal quality indicationh]h)Get the maximum signal quality indication}(hj̀hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjɀhMhjʀubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɀhMhjjuubj)}(h7``get_plca_cfg`` Return the current PLCA configuration h](j)}(h``get_plca_cfg``h]j)}(hjh]h get_plca_cfg}(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 configurationh]h%Return the current PLCA configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjuubj)}(h,``set_plca_cfg`` Set the PLCA configuration h](j)}(h``set_plca_cfg``h]j)}(hj&h]h set_plca_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.hhMhj ubj)}(hhh]jX)}(hSet the PLCA configurationh]hSet the PLCA configuration}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjjuubj)}(h8``get_plca_status`` Return the current PLCA status info h](j)}(h``get_plca_status``h]j)}(hj_h]hget_plca_status}(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)}(h#Return the current PLCA status infoh]h#Return the current PLCA status info}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjjuubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjuubj)}(hX/``led_blink_set`` Set a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can't match the values specified exactly. h](j)}(h``led_blink_set``h]j)}(hjҁh]h led_blink_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)}(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.}(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&]uh1jhjhMhjjuubj)}(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)}(hj h]hled_hw_is_supported}(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)}(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. }(hj%hhhNhNubj)}(h**dev**h]hdev}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh: PHY device which has the LED }(hj%hhhNhNubj)}(h **index**h]hindex}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh: Which LED of the PHY device }(hj%hhhNhNubj)}(h **rules**h]hrules}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh& The core is interested in these rules}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj"ubjX)}(h7Return 0 if yes, -EOPNOTSUPP if not, or an error code.h]h7Return 0 if yes, -EOPNOTSUPP if not, or an error code.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMhj"ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjjuubj)}(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)}(hjh]hled_hw_control_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)}(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}(hjςhhhNhNubah}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjuubj)}(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)}(hjh]hled_hw_control_get}(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)}(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 }(hj!hhhNhNubj)}(h**dev**h]hdev}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh: PHY device which has the LED }(hj!hhhNhNubj)}(h **index**h]hindex}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh: Which LED of the PHY device }(hj!hhhNhNubj)}(h **rules**h]hrules}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh- Pointer to the rules used to control the LED}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(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 }(hjfhhhNhNubj)}(h ***rules**h]h*rules}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh 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.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjuubj)}(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.hhMhjubj)}(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}(hj̃hhhNhNubah}(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 }(hjhhhNhNubj)}(h **modes**h]hmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% to make it correctly turn ON or OFF.}(hjhhhNhNubeh}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjuubj)}(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)}(hj8h]hget_next_update_time}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj2ubj)}(hhh](jX)}(hh]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hphydevh]hphydev}(hjʌhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubj)}(hu32 idh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phydev_id_compareasbuh1hhjߌubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjߌubj%)}(hidh]hid}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjߌubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubeh}(h]h ]h"]h$]h&]j<j=uh1jhj1hhhjBhM2ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-hhhjBhM2ubah}(h]j(ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjBhM2hj*hhubjS)}(hhh]jX)}(h*compare **id** with the PHY's Clause 22 IDh](hcompare }(hj<hhhNhNubj)}(h**id**h]hid}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh with the PHY’s Clause 22 ID}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2hj9hhubah}(h]h ]h"]h$]h&]uh1jRhj*hhhjBhM2ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjfjxjfjyjzj{uh1hhhhj]hNhNubj})}(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)}(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.hhM6hjjubj)}(hhh](j)}(h-``struct phy_device *phydev`` the PHY device h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM3hjubj)}(hhh]jX)}(hthe PHY deviceh]hthe PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(h$``u32 id`` the PHY ID to be matched h](j)}(h ``u32 id``h]j)}(hjȍh]hu32 id}(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.hhM4hjubj)}(hhh]jX)}(hthe PHY ID to be matchedh]hthe PHY ID to be matched}(hjhhhNhNubah}(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&]uh1jhjjubjX)}(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.hhM6hjjubjX)}(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 }(hjhhhNhNubj)}(h **phydev**h]hphydev}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh clause 22 ID with the provided }(hjhhhNhNubj)}(h**id**h]hid}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhY and return true or false depending whether it matches, using the bound driver mask. The }(hjhhhNhNubj)}(h **phydev**h]hphydev}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must be bound to a driver.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hjjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_is_started (C function)c.phy_is_startedhNtauh1hhj]hhhNhNubh)}(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&]uh1jhjzhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhjhMFubj)}(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=uh1jhjzhhhjhMFubj)}(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_is_startedasbuh1hhjubj)}(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=uh1jhjzhhhjhMFubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvhhhjhMFubah}(h]jqah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMFhjshhubjS)}(hhh]jX)}(h4Convenience function to check whether PHY is startedh]h4Convenience function to check whether PHY is started}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhj:hhubah}(h]h ]h"]h$]h&]uh1jRhjshhhjhMFubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhj]hNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` The phy_device structh](jX)}(h**Parameters**h]j)}(hj_h]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhjYubj)}(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.hhMLhjxubj)}(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.hhMGhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_driver_is_genphy (C function)c.phy_driver_is_genphyhNtauh1hhj]hhhNhNubh)}(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&]uh1jhjԏhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjԏhhhjhMOubj)}(hphy_driver_is_genphyh]j%)}(hphy_driver_is_genphyh]hphy_driver_is_genphy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjԏhhhjhMOubj)}(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')}jjsbc.phy_driver_is_genphyasbuh1hhjubj)}(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=uh1jhjԏhhhjhMOubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjЏhhhjhMOubah}(h]jˏah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMOhj͏hhubjS)}(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.hhMOhjhhubah}(h]h ]h"]h$]h&]uh1jRhj͏hhhjhMOubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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.hhMShjubj)}(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.hhMQhjҐubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjҐubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjϐ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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjubjX)}(h2true if PHY is driven by one of the genphy driversh]h2true if PHY is driven by one of the genphy drivers}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_disable_eee_mode (C function)c.phy_disable_eee_modehNtauh1hhj]hhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMZubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhjfhMZubj)}(hphy_disable_eee_modeh]j%)}(hphy_disable_eee_modeh]hphy_disable_eee_mode}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjuubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhjfhMZubj)}(h*(struct phy_device *phydev, u32 link_mode)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj{sbc.phy_disable_eee_modeasbuh1hhjubj)}(h h]h }(hjӑhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 link_modeh](h)}(hhh]j%)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jϑc.phy_disable_eee_modeasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h link_modeh]h link_mode}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjThhhjfhMZubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjPhhhjfhMZubah}(h]jKah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjfhMZhjMhhubjS)}(hhh]jX)}(hDon't advertise an EEE mode.h]hDon’t advertise an EEE mode.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMZhj]hhubah}(h]h ]h"]h$]h&]uh1jRhjMhhhjfhMZubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhj]hNhNubj})}(hv**Parameters** ``struct phy_device *phydev`` The phy_device struct ``u32 link_mode`` The EEE mode to be disabledh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.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[hjubj)}(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.hhM]hjԒubj)}(hhh]jX)}(hThe EEE mode to be disabledh]hThe EEE mode to be disabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hjubah}(h]h ]h"]h$]h&]uh1jhjԒubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read (C function) c.phy_readhNtauh1hhj]hhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhjBhMjubj)}(hphy_readh]j%)}(hphy_readh]hphy_read}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0hhhjBhMjubj)}(h'(struct phy_device *phydev, u32 regnum)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjWsb c.phy_readasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hphydevh]hphydev}(hjʓhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.phy_readasbuh1hhjߓubj)}(h h]h }(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=uh1jhjiubeh}(h]h ]h"]h$]h&]j<j=uh1jhj0hhhjBhMjubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,hhhjBhMjubah}(h]j'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjBhMjhj)hhubjS)}(hhh]jX)}(h5Convenience function for reading a given PHY registerh]h5Convenience function for reading a given PHY register}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhj9hhubah}(h]h ]h"]h$]h&]uh1jRhj)hhhjBhMjubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjTjxjTjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to read **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMnhjXubj)}(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.hhMkhjwubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjtubj)}(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.hhMlhjubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjϔhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj˔hMlhj̔ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˔hMlhjtubeh}(h]h ]h"]h$]h&]uh1jhjXubjX)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMnhjXubjX)}(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.hhMnhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read (C function) c.__phy_readhNtauh1hhj]hhhNhNubh)}(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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhjDhMubj)}(h __phy_readh]j%)}(h __phy_readh]h __phy_read}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2hhhjDhMubj)}(h'(struct phy_device *phydev, u32 regnum)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjYsb c.__phy_readasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hphydevh]hphydev}(hj̕hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.__phy_readasbuh1hhjubj)}(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=uh1jhjkubeh}(h]h ]h"]h$]h&]j<j=uh1jhj2hhhjDhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhjDhMubah}(h]j)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhMhj+hhubjS)}(hhh]jX)}(h5convenience function for reading a given PHY registerh]h5convenience function for reading a given PHY register}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj;hhubah}(h]h ]h"]h$]h&]uh1jRhj+hhhjDhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVjxjVjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to read **Description** The caller must have taken the MDIO bus lock.h](jX)}(h**Parameters**h]j)}(hj`h]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjZubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubj)}(h'``u32 regnum`` register number to 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}(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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjZubjX)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write (C function) c.phy_writehNtauh1hhj]hhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhhjFhMubj)}(h phy_writeh]j%)}(h phy_writeh]h phy_write}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4hhhjFhMubj)}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubh)}(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_writeasbuh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjqubj%)}(hphydevh]hphydev}(hjΗhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.phy_writeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjmubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj4modnameN classnameNjj!)}j$]j c.phy_writeasbuh1hhj+ubj)}(h h]h }(hjPhhhNhNubah}(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=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)}(h5Convenience function for writing a given PHY registerh]h5Convenience function for writing a given PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj-hhhjFhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(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 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`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj;h]hu16 val}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj5ubj)}(hhh]jX)}(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&]uh1jWhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write (C function) c.__phy_writehNtauh1hhj]hhhNhNubh)}(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}(hjəhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjřhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjؙhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjřhhhjיhMubj)}(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řhhhjיhMubj)}(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}(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 }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](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.__phy_writeasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjÚhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjŚmodnameN classnameNjj!)}j$]j@ c.__phy_writeasbuh1hhjubj)}(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=uh1jhjřhhhjיhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjי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}(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&]jvjqjwj1jxj1jyjzj{uh1hhhhj]hNhNubj})}(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)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj5ubj)}(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&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjTubj)}(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)}(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&]uh1jhjhMhjQubj)}(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&]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&]uh1jhjhMhjQubeh}(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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj5ubjX)}(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.hhMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_modify_changed (C function)c.__phy_modify_changedhNtauh1hhj]hhhNhNubh)}(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}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVhhhjhhMubj)}(h__phy_modify_changedh]j%)}(h__phy_modify_changedh]h__phy_modify_changed}(hj{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjVhhhjhhMubj)}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj}sbc.__phy_modify_changedasbuh1hhjubj)}(h h]h }(hj՜hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jќc.__phy_modify_changedasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjVmodnameN classnameNjj!)}j$]jќc.__phy_modify_changedasbuh1hhjMubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jќc.__phy_modify_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=uh1jhjVhhhjhhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjRhhhjhhMubah}(h]jMah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhhMhjOhhubjS)}(hhh]jX)}(h1Convenience function for modifying a PHY registerh]h1Convenience function for modifying a PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjOhhhjhhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj]hNhNubj})}(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)}(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)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj3h]hstruct phy_device *phydev}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj-ubj)}(hhh]jX)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjLhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjVh]hstruct phy_device}(hjXhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjHhMhjLubeh}(h]h ]h"]h$]h&]uh1jWhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhj*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&]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&]uh1jhjhMhj*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&]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ٞhMhj*ubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(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&]uh1jhjhMhj*ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj8h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(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}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(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}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_read_mmd_poll_timeout (C macro)c.phy_read_mmd_poll_timeouthNtauh1hhj]hhhNhNubh)}(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]hNhNubjX)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj]hhubj )}(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 hjhMhj]hhubj})}(hX**Parameters** ``phydev`` The phy_device struct ``devaddr`` The MMD to read from ``regnum`` The register on the MMD to read ``val`` Variable to read the register into ``cond`` Break condition (usually involving **val**) ``sleep_us`` Maximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations. ``timeout_us`` Timeout in us, 0 means never timeout ``sleep_before_read`` if it is true, sleep **sleep_us** before read. **Return** 0 on success and -ETIMEDOUT upon a timeout. In either case, the last read value at **args** is stored in **val**. Must not be called from atomic context if sleep_us or timeout_us are used.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h!``phydev`` The phy_device struct h](j)}(h ``phydev``h]j)}(hjh]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hThe phy_device structh]hThe phy_device struct}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj ubj)}(h!``devaddr`` The MMD to read from h](j)}(h ``devaddr``h]j)}(hjOh]hdevaddr}(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 MMD to read fromh]hThe MMD to read from}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhj ubj)}(h+``regnum`` The register on the MMD to read h](j)}(h ``regnum``h]j)}(hjh]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h+``val`` Variable to read the register into h](j)}(h``val``h]j)}(hjh]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&]uh1jWhj֠hMhjנubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֠hMhj ubj)}(h5``cond`` Break condition (usually involving **val**) h](j)}(h``cond``h]j)}(hjh]hcond}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(h+Break condition (usually involving **val**)h](h#Break condition (usually involving }(hjhhhNhNubj)}(h**val**h]hval}(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&]uh1jhjhMhj ubj)}(h``sleep_us`` Maximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations. h](j)}(h ``sleep_us``h]j)}(hjEh]hsleep_us}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj?ubj)}(hhh]jX)}(hMaximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations.h]hMaximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj ubj)}(h4``timeout_us`` Timeout in us, 0 means never timeout h](j)}(h``timeout_us``h]j)}(hjh]h timeout_us}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubj)}(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&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(hE``sleep_before_read`` if it is true, sleep **sleep_us** before read. h](j)}(h``sleep_before_read``h]j)}(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 }(hjѡhhhNhNubj)}(h **sleep_us**h]hsleep_us}(hj١hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѡubh before read.}(hjѡhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj͡hMhjΡubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj͡hMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(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.hhMhjubjX)}(h0 on success and -ETIMEDOUT upon a timeout. In either case, the last read value at **args** is stored in **val**. Must not be called from atomic context if sleep_us or timeout_us are used.h](hS0 on success and -ETIMEDOUT upon a timeout. In either case, the last read value at }(hjhhhNhNubj)}(h**args**h]hargs}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is stored in }(hjhhhNhNubj)}(h**val**h]hval}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhL. Must not be called from atomic context if sleep_us or timeout_us are used.}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits (C function)c.__phy_set_bitshNtauh1hhj]hhhNhNubh)}(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}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhT/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 hjjhhhj|hM 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=uh1jhjjhhhj|hM 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}(hjɢhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjƢubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjˢmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_set_bitsasbuh1hhjubj)}(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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]jc.__phy_set_bitsasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjmodnameN classnameNjj!)}j$]jc.__phy_set_bitsasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubeh}(h]h ]h"]h$]h&]noemphj<j=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)}(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&]uh1jRhjchhhj|hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj֣jxj֣jyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` bits to set **Description** The caller must have taken the MDIO bus lock.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޣubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjڣubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj8h]h u32 regnum}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj2ubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubj)}(h``u16 val`` bits to set h](j)}(h ``u16 val``h]j)}(hjqh]hu16 val}(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)}(h bits to seth]h bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(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&]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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_clear_bits (C function)c.__phy_clear_bitshNtauh1hhj]hhhNhNubh)}(hhh](h)}(hEint __phy_clear_bits (struct phy_device *phydev, u32 regnum, u16 val)h]h)}(hDint __phy_clear_bits(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(h__phy_clear_bitsh]j%)}(h__phy_clear_bitsh]h__phy_clear_bits}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]j')}jjsbc.__phy_clear_bitsasbuh1hhj*ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj;)}(hj>h]h*}(hjzhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jhc.__phy_clear_bitsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjϥhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jhc.__phy_clear_bitsasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h8Convenience function for clearing bits in a PHY registerh]h8Convenience function for clearing bits in a PHY register}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj>hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(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.hhMhj|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&]uh1jhjhMhjyubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjԦhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjЦhMhjѦubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjЦhMhjyubj)}(h``u16 val`` bits to clear h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(h bits to clearh]h bits to clear}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjyubeh}(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&]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.}(hjEhhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits (C function)c.phy_set_bitshNtauh1hhj]hhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjphhhjhM'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=uh1jhjphhhjhM'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}(hjϧhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj̧ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjѧmodnameN classnameNjj!)}j$]j')}jjsbc.phy_set_bitsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(modnameN classnameNjj!)}j$]jc.phy_set_bitsasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]jc.phy_set_bitsasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjphhhjhM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlhhhjhM'ubah}(h]jgah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM'hjihhubjS)}(hhh]jX)}(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'hjhhubah}(h]h ]h"]h$]h&]uh1jRhjihhhjhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjܨjxjܨjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` bits to seth](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM+hjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM(hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj>h]h u32 regnum}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM)hj8ubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShM)hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM)hjubj)}(h``u16 val`` bits to seth](j)}(h ``u16 val``h]j)}(hjwh]hu16 val}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM+hjqubj)}(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&]uh1jhjqubeh}(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](hphy_clear_bits (C function)c.phy_clear_bitshNtauh1hhj]hhhNhNubh)}(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}(hjѩhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjͩhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjͩhhhjߩhM2ubj)}(hphy_clear_bitsh]j%)}(hphy_clear_bitsh]hphy_clear_bits}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjͩhhhjߩhM2ubj)}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j')}jjsbc.phy_clear_bitsasbuh1hhj ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hjZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hphydevh]hphydev}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jHc.phy_clear_bitsasbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj%)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj˪hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjȪubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjͪmodnameN classnameNjj!)}j$]jHc.phy_clear_bitsasbuh1hhjĪubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjĪubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjĪubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjͩhhhjߩhM2ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjɩhhhjߩhM2ubah}(h]jĩah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjߩhM2hjƩhhubjS)}(hhh]jX)}(h8Convenience function for clearing bits in a PHY registerh]h8Convenience function for clearing bits in a PHY register}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2hjhhubah}(h]h ]h"]h$]h&]uh1jRhjƩhhhjߩhM2ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj9jxj9jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjCh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM6hj=ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjbh]hstruct phy_device *phydev}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM3hj\ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjwhM3hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM3hjYubj)}(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.hhM4hjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjYubj)}(h``u16 val`` bits to clearh](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.hhM6hjΫubj)}(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.hhM5hjubah}(h]h ]h"]h$]h&]uh1jhjΫubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjYubeh}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits_mmd (C function)c.__phy_set_bits_mmdhNtauh1hhj]hhhNhNubh)}(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}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhhj<hM=ubj)}(h__phy_set_bits_mmdh]j%)}(h__phy_set_bits_mmdh]h__phy_set_bits_mmd}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj<hM=ubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjQsbc.__phy_set_bits_mmdasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hphydevh]hphydev}(hjĬhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubj)}(h 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=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_set_bits_mmdasbuh1hhjubj)}(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 valh](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_set_bits_mmdasbuh1hhjVubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj%)}(hvalh]hval}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubeh}(h]h ]h"]h$]h&]j<j=uh1jhj*hhhj<hM=ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj&hhhj<hM=ubah}(h]j!ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj<hM=hj#hhubjS)}(hhh]jX)}(h: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&]uh1jRhj#hhhj<hM=ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj˭jxj˭jyjzj{uh1hhhhj]hNhNubj})}(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)}(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.hhMAhjϭ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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM?hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM?hjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(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.hhM@hj'ubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhM@hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM@hjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjfh]h u32 regnum}(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.hhMAhj`ubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hMAhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMAhjubj)}(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.hhMBhjubj)}(hhh]jX)}(h bits to seth]h bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubeh}(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.hhMDhjϭubjX)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChjϭubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_clear_bits_mmd (C function)c.__phy_clear_bits_mmdhNtauh1hhj]hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMMubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj-hMMubj)}(h__phy_clear_bits_mmdh]j%)}(h__phy_clear_bits_mmdh]h__phy_clear_bits_mmd}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj-hMMubj)}(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&]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_clear_bits_mmdasbuh1hhjXubj)}(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 int devadh](j)}(hinth]hint}(hjίhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjʯubj)}(h h]h }(hjܯhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjʯubj%)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjʯubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(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_bits_mmdasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjPmodnameN classnameNjj!)}j$]jc.__phy_clear_bits_mmdasbuh1hhjGubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj%)}(hvalh]hval}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjTubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj-hMMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj-hMMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj-hMMhjhhubjS)}(hhh]jX)}(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.hhMMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj-hMMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(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.hhMQhjubj)}(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.hhMOhj߰ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhj߰ubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjܰubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjh]h int devad}(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.hhMPhjubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMPhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMPhjܰubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjWh]h u32 regnum}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMQhjQubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhMQhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMQhjܰ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.hhMRhjubj)}(hhh]jX)}(h bits to clearh]h bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjܰubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj˱h]h Description}(hjͱhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɱubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjubjX)}(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.hhMShjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits_mmd (C function)c.phy_set_bits_mmdhNtauh1hhj]hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhM]ubj)}(hphy_set_bits_mmdh]j%)}(hphy_set_bits_mmdh]hphy_set_bits_mmd}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM]ubj)}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j')}jj3sbc.phy_set_bits_mmdasbuh1hhjIubj)}(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=uh1jhjEubj)}(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}(hj۲hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_set_bits_mmdasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hregnumh]hregnum}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj?hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]jc.phy_set_bits_mmdasbuh1hhj8ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj%)}(hvalh]hval}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubeh}(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: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&]uh1jRhjhhhjhM]ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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.hhMahjubj)}(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_hjгubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM_hjubah}(h]h ]h"]h$]h&]uh1jhjгubeh}(h]h ]h"]h$]h&]uh1jhjhM_hjͳubj)}(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&]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%the MMD containing register to modifyh]h%the MMD containing register to modify}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj$hM`hj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hM`hjͳubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjHh]h u32 regnum}(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.hhMahjBubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMahj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMahjͳubj)}(h``u16 val`` bits to seth](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMchj{ubj)}(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.hhMbhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMchjͳubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits_mmd (C function)c.phy_clear_bits_mmdhNtauh1hhj]hhhNhNubh)}(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.hhMkubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj״hhhjhMkubj)}(hphy_clear_bits_mmdh]j%)}(hphy_clear_bits_mmdh]hphy_clear_bits_mmd}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj״hhhjhMkubj)}(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 }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j')}jjsbc.phy_clear_bits_mmdasbuh1hhjubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjdhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjqhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjĵmodnameN classnameNjj!)}j$]jRc.phy_clear_bits_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}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jRc.phy_clear_bits_mmdasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hvalh]hval}(hj6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj״hhhjhMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjӴhhhjhMkubah}(h]jδah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMkhjдhhubjS)}(hhh]jX)}(h;Convenience function for clearing bits in a register on MMDh]h;Convenience function for clearing bits in a register on MMD}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMkhj]hhubah}(h]h ]h"]h$]h&]uh1jRhjдhhhjhMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhj]hNhNubj})}(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.hhMohj|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.hhMmhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(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.hhMnhjԶubj)}(hhh]jX)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjԶubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(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.hhMohj ubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(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``u16 val`` bits to clearh](j)}(h ``u16 val``h]j)}(hjLh]hu16 val}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMqhjFubj)}(hhh]jX)}(h bits to clearh]h bits to clear}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMphjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMqhjubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interrupt_is_valid (C function)c.phy_interrupt_is_validhNtauh1hhj]hhhNhNubh)}(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.hhMyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMyubj)}(hphy_interrupt_is_validh]j%)}(hphy_interrupt_is_validh]hphy_interrupt_is_valid}(hjƷhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj·ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMyubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj޷ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj޷ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjȷsbc.phy_interrupt_is_validasbuh1hhj޷ubj)}(h h]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=uh1jhjhhhjhMyubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMyubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMyhjhhubjS)}(hhh]jX)}(h0Convenience function for testing a given PHY irqh]h0Convenience function for testing a given PHY irq}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMyhjbhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMyubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhj]hNhNubj})}(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.hhMzhjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߸ubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM|hjubjX)}(hLmust be kept in sync with addition/removal of PHY_POLL and PHY_MAC_INTERRUPTh]hLmust be kept in sync with addition/removal of PHY_POLL and PHY_MAC_INTERRUPT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM|hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_polling_mode (C function)c.phy_polling_modehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h1bool phy_polling_mode (struct phy_device *phydev)h]h)}(h0bool phy_polling_mode(struct phy_device *phydev)h](j)}(hjTh]hbool}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"hhhj3hMubj)}(hphy_polling_modeh]j%)}(hphy_polling_modeh]hphy_polling_mode}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj"hhhj3hMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^ubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjHsbc.phy_polling_modeasbuh1hhj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjZubah}(h]h ]h"]h$]h&]j<j=uh1jhj"hhhj3hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj3hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hMhjhhubjS)}(hhh]jX)}(hUConvenience function for testing whether polling is used to detect PHY status changesh]hUConvenience function for testing whether polling is used to detect PHY status changes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj3hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](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.hhMhjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj&h]hstruct phy_device *phydev}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(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;hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_hwtstamp (C function)c.phy_has_hwtstamphNtauh1hhj]hhhNhNubh)}(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&]uh1jhj|hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|hhhjhMubj)}(hphy_has_hwtstamph]j%)}(hphy_has_hwtstamph]hphy_has_hwtstamp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj|hhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjɺhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(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 }(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|hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjxhhhjhMubah}(h]jsah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjuhhubjS)}(hhh]jX)}(h-Tests whether a PHY time stamp configuration.h]h-Tests whether a PHY time stamp configuration.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj<hhubah}(h]h ]h"]h$]h&]uh1jRhjuhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjWjxjWjyjzj{uh1hhhhj]hNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](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)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjzubj)}(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&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_rxtstamp (C function)c.phy_has_rxtstamphNtauh1hhj]hhhNhNubh)}(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&]uh1jhjֻhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjֻhhhjhMubj)}(hphy_has_rxtstamph]j%)}(hphy_has_rxtstamph]hphy_has_rxtstamp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjֻhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj6modnameN classnameNjj!)}j$]j')}jjsbc.phy_has_rxtstampasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjֻhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjһhhhjhMubah}(h]jͻah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjϻhhubjS)}(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&]uh1jRhjϻhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjڼh]hstruct phy_device *phydev}(hjܼhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjؼubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjԼubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjԼubeh}(h]h ]h"]h$]h&]uh1jhjhMhjѼubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_tsinfo (C function)c.phy_has_tsinfohNtauh1hhj]hhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhjAhMubj)}(hphy_has_tsinfoh]j%)}(hphy_has_tsinfoh]hphy_has_tsinfo}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0hhhjAhMubj)}(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_has_tsinfoasbuh1hhjlubj)}(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=uh1jhj0hhhjAhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,hhhjAhMubah}(h]j'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhMhj)hhubjS)}(hhh]jX)}(hQTests whether a PHY reports time stamping and/or PTP hardware clock capabilities.h]hQTests whether a PHY reports time stamping and/or PTP hardware clock capabilities.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhj)hhhjAhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj]hNhNubj})}(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)}(hj4h]hstruct phy_device *phydev}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_txtstamp (C function)c.phy_has_txtstamphNtauh1hhj]hhhNhNubh)}(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}(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_has_txtstampasbuh1hhjƾubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjƾubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjƾubj%)}(hphydevh]hphydev}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjƾubeh}(h]h ]h"]h$]h&]noemphj<j=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.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjJhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjejxjejyjzj{uh1hhhhj]hNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjoh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjiubj)}(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&]uh1jhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_is_default_hwtstamp (C function)c.phy_is_default_hwtstamphNtauh1hhj]hhhNhNubh)}(hhh](h)}(h8bool phy_is_default_hwtstamp (struct phy_device *phydev)h]h)}(h7bool phy_is_default_hwtstamp(struct phy_device *phydev)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_is_default_hwtstamph]j%)}(hphy_is_default_hwtstamph]hphy_is_default_hwtstamp}(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 }(hj1hhhNhNubah}(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_is_default_hwtstampasbuh1hhj 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%)}(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=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jۿah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjݿ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ݿhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hXj**Parameters** ``struct phy_device *phydev`` Pointer to phy_device **Description** This is used to get default timestamping device taking into account the new API choice, which is selecting the timestamping from MAC by default if the phydev does not have default_timestamp flag enabled. **Return** True if phy is the default hw timestamp, false otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` Pointer to phy_device h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(hPointer to phy_deviceh]hPointer to phy_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj#h]h Description}(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)}(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.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(h **Return**h]j)}(hjJh]hReturn}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(h9True if phy is the default hw timestamp, false otherwise.h]h9True if phy is the default hw timestamp, false otherwise.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_on_sfp (C function) c.phy_on_sfphNtauh1hhj]hhhNhNubh)}(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 }(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_on_sfpasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h=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}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjKhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjfjxjfjyjzj{uh1hhhhj]hNhNubj})}(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)}(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&]uh1jhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_rgmii (C function)c.phy_interface_mode_is_rgmiihNtauh1hhj]hhhNhNubh)}(hhh](h)}(h7bool phy_interface_mode_is_rgmii (phy_interface_t mode)h]h)}(h6bool phy_interface_mode_is_rgmii(phy_interface_t mode)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_interface_mode_is_rgmiih]j%)}(hphy_interface_mode_is_rgmiih]hphy_interface_mode_is_rgmii}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$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}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj*modnameN classnameNjj!)}j$]j')}jj sbc.phy_interface_mode_is_rgmiiasbuh1hhj!ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj%)}(hmodeh]hmode}(hjVhhhNhNubah}(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)}(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.hhMhj}hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjh]hphy_interface_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(h"the :c:type:`phy_interface_t` enumh](hthe }(hjhhhNhNubh)}(h:c:type:`phy_interface_t`h]j)}(hjh]hphy_interface_t}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubh enum}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_8023z (C function)c.phy_interface_mode_is_8023zhNtauh1hhj]hhhNhNubh)}(hhh](h)}(h7bool phy_interface_mode_is_8023z (phy_interface_t mode)h]h)}(h6bool phy_interface_mode_is_8023z(phy_interface_t mode)h](j)}(hjTh]hbool}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hhhjKhMubj)}(hphy_interface_mode_is_8023zh]j%)}(hphy_interface_mode_is_8023zh]hphy_interface_mode_is_8023z}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:hhhjKhMubj)}(h(phy_interface_t mode)h]j)}(hphy_interface_t modeh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj`sbc.phy_interface_mode_is_8023zasbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj%)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubah}(h]h ]h"]h$]h&]j<j=uh1jhj:hhhjKhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj6hhhjKhMubah}(h]j1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjKhMhj3hhubjS)}(hhh]jX)}(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&]uh1jRhj3hhhjKhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``phy_interface_t mode`` one of :c:type:`enum phy_interface_t ` **Description** Returns true if the PHY interface mode uses the 16-bit negotiation word as defined in 802.3z. (See 802.3-2015 37.2.1 Config_Reg encoding)h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(hQ``phy_interface_t mode`` one of :c:type:`enum phy_interface_t ` h](j)}(h``phy_interface_t mode``h]j)}(hjh]hphy_interface_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jX)}(h7one of :c:type:`enum phy_interface_t `h](hone of }(hj/hhhNhNubh)}(h0:c:type:`enum phy_interface_t `h]j)}(hj9h]henum phy_interface_t}(hj;hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhj+hMhj/ubeh}(h]h ]h"]h$]h&]uh1jWhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj 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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjX)}(hReturns true if the PHY interface mode uses the 16-bit negotiation word as defined in 802.3z. (See 802.3-2015 37.2.1 Config_Reg encoding)h]hReturns true if the PHY interface mode uses the 16-bit negotiation word as defined in 802.3z. (See 802.3-2015 37.2.1 Config_Reg encoding)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interface_is_rgmii (C function)c.phy_interface_is_rgmiihNtauh1hhj]hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(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=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$hj ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_interface_is_rgmiiasbuh1hhjubj)}(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=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)}(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)}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjqhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hhh]jX)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_is_pseudo_fixed_link (C function)c.phy_is_pseudo_fixed_linkhNtauh1hhj]hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj)}(hphy_is_pseudo_fixed_linkh]j%)}(hphy_is_pseudo_fixed_linkh]hphy_is_pseudo_fixed_link}(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_is_pseudo_fixed_linkasbuh1hhjGubj)}(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)}(hkConvenience function for testing if this PHY is the CPU port facing side of an Ethernet switch, or similar.h]hkConvenience function for testing if this PHY is the CPU port facing side of an Ethernet switch, or similar.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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&]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}(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$hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_module_driver (C macro)c.phy_module_driverhNtauh1hhj]hhhNhNubh)}(hhh](h)}(hphy_module_driverh]h)}(hphy_module_driverh]j)}(hphy_module_driverh]j%)}(hjch]hphy_module_driver}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMXubah}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjahhhjhMXubah}(h]j\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMXhj^hhubjS)}(hhh]h}(h]h ]h"]h$]h&]uh1jRhj^hhhjhMXubeh}(h]h ](jqmacroeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubjX)}(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.hhMZhj]hhubj )}(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.hhMXhjubah}(h]h ]h"]h$]h&]uh1j hjhMXhj]hhubj})}(hX7**Parameters** ``__phy_drivers`` array of PHY drivers to register ``__count`` Numbers of members in array **Description** Helper macro for PHY drivers which do not do anything special in module init/exit. Each module may only use this macro once, and calling it replaces module_init() and module_exit().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hjubj)}(hhh](j)}(h3``__phy_drivers`` array of PHY drivers to register h](j)}(h``__phy_drivers``h]j)}(hjh]h __phy_drivers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMYhjubj)}(hhh]jX)}(h array of PHY drivers to registerh]h array of PHY drivers to register}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMYhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(h(``__count`` Numbers of members in array h](j)}(h ``__count``h]j)}(hj,h]h__count}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMZhj&ubj)}(hhh]jX)}(hNumbers of members in arrayh]hNumbers of members in array}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMZhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMZhjubeh}(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&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hjubjX)}(hHelper macro for PHY drivers which do not do anything special in module init/exit. Each module may only use this macro once, and calling it replaces module_init() and module_exit().h]hHelper macro for PHY drivers which do not do anything special in module init/exit. Each module may only use this macro once, and calling it replaces module_init() and module_exit().}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_unregister_fixup (C function)c.phy_unregister_fixuphNtauh1hhj]hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbus_idh]hbus_id}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h u32 phy_uidh](h)}(hhh]j%)}(hu32h]hu32}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]j')}jjsbc.phy_unregister_fixupasbuh1hhjBubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj%)}(hphy_uidh]hphy_uid}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hu32 phy_uid_maskh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jec.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=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 remove a phy_fixup from the listh]h remove a phy_fixup from the list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``const char *bus_id`` A string matches fixup->bus_id (or PHY_ANY_ID) in phy_fixup_list ``u32 phy_uid`` A phy id matches fixup->phy_id (or PHY_ANY_UID) in phy_fixup_list ``u32 phy_uid_mask`` Applied to phy_uid and fixup->phy_uid before comparisonh](jX)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(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)}(hj*h]hconst char *bus_id}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj$ubj)}(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}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj!ubj)}(hR``u32 phy_uid`` A phy id matches fixup->phy_id (or PHY_ANY_UID) in phy_fixup_list h](j)}(h``u32 phy_uid``h]j)}(hjch]h u32 phy_uid}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj]ubj)}(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}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhj!ubj)}(hL``u32 phy_uid_mask`` Applied to phy_uid and fixup->phy_uid before comparisonh](j)}(h``u32 phy_uid_mask``h]j)}(hjh]hu32 phy_uid_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(h7Applied to phy_uid and fixup->phy_uid before comparisonh]h7Applied to phy_uid and fixup->phy_uid before comparison}(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&]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$genphy_match_phy_device (C function)c.genphy_match_phy_devicehNtauh1hhj]hhhNhNubh)}(hhh](h)}(hXint genphy_match_phy_device (struct phy_device *phydev, const struct phy_driver *phydrv)h]h)}(hWint genphy_match_phy_device(struct phy_device *phydev, const struct phy_driver *phydrv)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM)ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM)ubj)}(hgenphy_match_phy_deviceh]j%)}(hgenphy_match_phy_deviceh]hgenphy_match_phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM)ubj)}(h<(struct phy_device *phydev, const struct phy_driver *phydrv)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_match_phy_deviceasbuh1hhj/ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj+ubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_driverh]h phy_driver}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jmc.genphy_match_phy_deviceasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydrvh]hphydrv}(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$match a PHY device with a PHY driverh]h$match a PHY device with a PHY driver}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM)hj>hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM)ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM-hj]ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM*hj|ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhM*hjyubj)}(h=``const struct phy_driver *phydrv`` target phy_driver struct h](j)}(h#``const struct phy_driver *phydrv``h]j)}(hjh]hconst struct phy_driver *phydrv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+hjubj)}(hhh]jX)}(htarget phy_driver structh]htarget phy_driver struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjyubeh}(h]h ]h"]h$]h&]uh1jhj]ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM-hj]ubjX)}(hXChecks whether the given PHY device matches the specified PHY driver. For Clause 45 PHYs, iterates over the available device identifiers and compares them against the driver's expected PHY ID, applying the provided mask. For Clause 22 PHYs, a direct ID comparison is performed.h]hXChecks whether the given PHY device matches the specified PHY driver. For Clause 45 PHYs, iterates over the available device identifiers and compares them against the driver’s expected PHY ID, applying the provided mask. For Clause 22 PHYs, a direct ID comparison is performed.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM-hj]ubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM3hj]ubjX)}(h41 if the PHY device matches the driver, 0 otherwise.h]h41 if the PHY device matches the driver, 0 otherwise.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM3hj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_device (C function)c.get_phy_devicehNtauh1hhj]hhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj^hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMAubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhjohMAubh)}(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')}jget_phy_devicesbc.get_phy_deviceasbuh1hhj^hhhjohMAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhjohMAubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj^hhhjohMAubj)}(hget_phy_deviceh]j%)}(hjh]hget_phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhjohMAubj)}(h,(struct mii_bus *bus, int addr, bool is_c45)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.get_phy_deviceasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hbush]hbus}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint addrh](j)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj%)}(haddrh]haddr}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool is_c45h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj%)}(his_c45h]his_c45}(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^hhhjohMAubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZhhhjohMAubah}(h]jUah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjohMAhjWhhubjS)}(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.chMAhjhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjohMAubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the target MII bus ``int addr`` PHY address on the MII bus ``bool is_c45`` If true the PHY uses the 802.3 clause 45 protocol **Description** Probe for a PHY at **addr** on **bus**. When probing for a clause 22 PHY, then read the ID registers. If we find a valid ID, allocate and return a :c:type:`struct phy_device `. When probing for a clause 45 PHY, read the "devices in package" registers. If the "devices in package" appears valid, read the ID registers for each MMD, allocate and return a :c:type:`struct phy_device `. Returns an allocated :c:type:`struct phy_device ` on success, ``-ENODEV`` if there is no PHY present, or ``-EIO`` on bus access error.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMEhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus 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:128: ./drivers/net/phy/phy_device.chMChjubj)}(hhh]jX)}(hthe target MII bush]hthe target MII bus}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hMChj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMChjubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hjRh]hint addr}(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.chMDhjLubj)}(hhh]jX)}(hPHY address on the MII bush]hPHY address on the MII bus}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjghMDhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMDhjubj)}(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.chMEhjubj)}(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&]uh1jWhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMGhjubjX)}(h'Probe for a PHY at **addr** on **bus**.h](hProbe for a PHY at }(hjhhhNhNubj)}(h**addr**h]haddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on }(hjhhhNhNubj)}(h**bus**h]hbus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMFhjubjX)}(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 }(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.chMHhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj6hMHhjubjX)}(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 }(hjAhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjKh]hstruct phy_device}(hjMhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMKhjAubh.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhhMKhjubjX)}(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 }(hjshhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj}h]hstruct phy_device}(hjhhhNhNubah}(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.chMOhjsubh on success, }(hjshhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh if there is no PHY present, or }(hjshhhNhNubj)}(h``-EIO``h]h-EIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh on bus access error.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMOhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_device_register (C function)c.phy_device_registerhNtauh1hhj]hhhNhNubh)}(hhh](h)}(h3int phy_device_register (struct phy_device *phydev)h]h)}(h2int phy_device_register(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMvubj)}(hphy_device_registerh]j%)}(hphy_device_registerh]hphy_device_register}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMvubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj"ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjFmodnameN classnameNjj!)}j$]j')}jj sbc.phy_device_registerasbuh1hhj"ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hjrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMvubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMvubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMvhjhhubjS)}(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.chMvhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMvubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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.chMzhjubj)}(hhh]j)}(hN``struct phy_device *phydev`` phy_device structure to be added to the MDIO bush](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM|hjubj)}(hhh]jX)}(h0phy_device structure to be added to the MDIO bush]h0phy_device structure to be added to the MDIO bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM|hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_device_remove (C function)c.phy_device_removehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h2void phy_device_remove (struct phy_device *phydev)h]h)}(h1void phy_device_remove(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjDhhhNhNubah}(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 }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjRhMubj)}(hphy_device_removeh]j%)}(hphy_device_removeh]hphy_device_remove}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhjRhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjgsbc.phy_device_removeasbuh1hhj}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=uh1jhjyubah}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhjRhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhjRhMubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRhMhj9hhubjS)}(hhh]jX)}(h;Remove a previously registered phy device from the MDIO bush]h;Remove a previously registered phy device from 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&]uh1jRhj9hhhjRhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(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=``struct phy_device *phydev`` phy_device structure to remove 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:128: ./drivers/net/phy/phy_device.chMhj?ubj)}(hhh]jX)}(hphy_device structure to removeh]hphy_device structure to remove}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj ubjX)}(hThis doesn't free the phy_device itself, it merely reverses the effects of phy_device_register(). Use phy_device_free() to free the device after calling this function.h]hThis doesn’t free the phy_device itself, it merely reverses the effects of phy_device_register(). Use phy_device_free() to free the device after calling this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_c45_ids (C function)c.phy_get_c45_idshNtauh1hhj]hhhNhNubh)}(hhh](h)}(h/int phy_get_c45_ids (struct phy_device *phydev)h]h)}(h.int phy_get_c45_ids(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_get_c45_idsh]j%)}(hphy_get_c45_idsh]hphy_get_c45_ids}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]j')}jjsbc.phy_get_c45_idsasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h"Read 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]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` phy_device structure to read 802.3-c45 IDs **Description** Returns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(hI``struct phy_device *phydev`` phy_device structure to read 802.3-c45 IDs h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(h*phy_device structure to read 802.3-c45 IDsh]h*phy_device structure to read 802.3-c45 IDs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(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)}(hmReturns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid.h](hReturns zero on success, }(hjhhhNhNubj)}(h``-EIO``h]h-EIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on bus access error, or }(hjhhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, if the “devices in package” is invalid.}(hjhhhNhNubeh}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_find_first (C function)c.phy_find_firsthNtauh1hhj]hhhNhNubh)}(hhh](h)}(h8struct phy_device * phy_find_first (struct mii_bus *bus)h]h)}(h6struct phy_device *phy_find_first(struct mii_bus *bus)h](h)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjfhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjwhMubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jphy_find_firstsbc.phy_find_firstasbuh1hhjfhhhjwhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhjwhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjfhhhjwhMubj)}(hphy_find_firsth]j%)}(hjh]hphy_find_first}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfhhhjwhMubj)}(h(struct mii_bus *bus)h]j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phy_find_firstasbuh1hhjubj)}(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}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjfhhhjwhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbhhhjwhMubah}(h]j]ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjwhMhj_hhubjS)}(hhh]jX)}(h%finds the first PHY device on the bush]h%finds the first PHY device on the bus}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjbhhubah}(h]h ]h"]h$]h&]uh1jRhj_hhhjwhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhj]hNhNubj})}(h<**Parameters** ``struct mii_bus *bus`` the target MII bush](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(h*``struct mii_bus *bus`` the target MII bush](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hthe target MII bush]hthe target MII bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect_direct (C function)c.phy_connect_directhNtauh1hhj]hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_connect_directh]j%)}(hphy_connect_directh]hphy_connect_direct}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(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}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j')}jj#sbc.phy_connect_directasbuh1hhj9ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(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$]jwc.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=uh1jhj5ubj)}(h#void (*handler)(struct net_device*)h](j)}(hvoidh]hvoid}(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*}(hjHhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hhandlerh]hhandler}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubj;)}(hjh]h)}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h(}(hjphhhNhNubah}(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%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jwc.phy_connect_directasbuh1hhjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h)}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubj)}(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$]jwc.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=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)}(h3connect an ethernet device to a specific phy_deviceh]h3connect an ethernet device to a specific phy_device}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhj]hNhNubj})}(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)}(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:128: ./drivers/net/phy/phy_device.chMhjSubj)}(hhh](j)}(h9``struct net_device *dev`` the network device to connect h](j)}(h``struct net_device *dev``h]j)}(hjxh]hstruct net_device *dev}(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)}(hthe network device to connecth]hthe network device to connect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubj)}(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&]uh1jhjhMhjoubj)}(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&]uh1jhjhMhjoubj)}(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&]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)}(hPHY device's interfaceh]hPHY device’s interface}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjoubeh}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect (C function) c.phy_connecthNtauh1hhj]hhhNhNubh)}(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}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyhhh]/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 hjyhhhjhMubh)}(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_connectasbuh1hhjyhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhjhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyhhhjhMubj)}(h phy_connecth]j%)}(hjh]h phy_connect}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjyhhhjhMubj)}(hl(struct net_device *dev, const char *bus_id, void (*handler)(struct net_device*), phy_interface_t interface)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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.phy_connectasbuh1hhjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjAhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *bus_idh](h)}(hjh]hconst}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(hcharh]hchar}(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%)}(hbus_idh]hbus_id}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(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)}(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 }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjBmodnameN classnameNjj!)}j$]j c.phy_connectasbuh1hhjubj;)}(hj>h]h*}(hj^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj;)}(hjh]h)}(hjkhhhNhNubah}(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=uh1jhjyhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjuhhhjhMubah}(h]jpah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjrhhubjS)}(hhh]jX)}(h*connect an ethernet device to a PHY deviceh]h*connect an ethernet device to a PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjrhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(hB``const char *bus_id`` the id string of the PHY device to connect h](j)}(h``const char *bus_id``h]j)}(hjVh]hconst char *bus_id}(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.chMhjPubj)}(hhh]jX)}(h*the id string of the PHY device to connecth]h*the id string of the PHY device to connect}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubj)}(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)}(h5``phy_interface_t interface`` PHY device's interface h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hPHY device's interfaceh]hPHY device’s interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disconnect (C function)c.phy_disconnecthNtauh1hhj]hhhNhNubh)}(hhh](h)}(h/void phy_disconnect (struct phy_device *phydev)h]h)}(h.void phy_disconnect(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhh]/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 hjohhhjhM+ubj)}(hphy_disconnecth]j%)}(hphy_disconnecth]hphy_disconnect}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjohhhjhM+ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_disconnectasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(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=uh1jhjohhhjhM+ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhjhM+ubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM+hjhhhubjS)}(hhh]jX)}(h?disable interrupts, stop state machine, and detach a PHY deviceh]h?disable interrupts, stop state machine, and detach a PHY device}(hj3hhhNhNubah}(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&]uh1jRhjhhhhjhM+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{uh1hhhhj]hNhNubj})}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jX)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM/hjOubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjth]hstruct phy_device *phydev}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM1hjnubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM-hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_sfp_connect_phy (C function)c.phy_sfp_connect_phyhNtauh1hhj]hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj'hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hupstreamh]hupstream}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct phy_device *phyh](h)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmmodnameN classnameNjj!)}j$]j')}jjsbc.phy_sfp_connect_phyasbuh1hhjIubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hphyh]hphy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(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]hNhNubj})}(hX]**Parameters** ``void *upstream`` pointer to the upstream phy device ``struct phy_device *phy`` pointer to the SFP module's phy device **Description** This helper allows keeping track of PHY devices on the link. It adds the SFP module's phy to the phy namespace of the upstream phy **Return** 0 on success, otherwise a negative error code.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hjh]hvoid *upstream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj ubj)}(hhh]jX)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubj)}(hB``struct phy_device *phy`` pointer to the SFP module's phy device h](j)}(h``struct phy_device *phy``h]j)}(hjJh]hstruct phy_device *phy}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjDubj)}(hhh]jX)}(h&pointer to the SFP module's phy deviceh]h(pointer to the SFP module’s phy device}(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&]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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_sfp_disconnect_phy (C function)c.phy_sfp_disconnect_phyhNtauh1hhj]hhhNhNubh)}(hhh](h)}(hDvoid phy_sfp_disconnect_phy (void *upstream, struct phy_device *phy)h]h)}(hCvoid phy_sfp_disconnect_phy(void *upstream, struct phy_device *phy)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphy_sfp_disconnect_phyh]j%)}(hphy_sfp_disconnect_phyh]hphy_sfp_disconnect_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&]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%)}(hupstreamh]hupstream}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubj)}(hstruct phy_device *phyh](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')}jjsbc.phy_sfp_disconnect_phyasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hphyh]hphy}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj&ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h5Disconnect the SFP module's PHY from the upstream PHYh]h7Disconnect the SFP module’s PHY from the upstream PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hj4h]hvoid *upstream}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj.ubj)}(hhh]jX)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhj+ubj)}(hB``struct phy_device *phy`` pointer to the SFP module's phy device h](j)}(h``struct phy_device *phy``h]j)}(hjmh]hstruct phy_device *phy}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjgubj)}(hhh]jX)}(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&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhj+ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjX)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_sfp_attach (C function)c.phy_sfp_attachhNtauh1hhj]hhhNhNubh)}(hhh](h)}(h9void phy_sfp_attach (void *upstream, struct sfp_bus *bus)h]h)}(h8void phy_sfp_attach(void *upstream, struct sfp_bus *bus)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphy_sfp_attachh]j%)}(hphy_sfp_attachh]hphy_sfp_attach}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h%(void *upstream, struct sfp_bus *bus)h](j)}(hvoid *upstreamh](j)}(hvoidh]hvoid}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj&ubj%)}(hupstreamh]hupstream}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"ubj)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(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.phy_sfp_attachasbuh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(hbush]hbus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(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)}(h5attach the SFP bus to the PHY upstream network deviceh]h5attach the SFP bus to the PHY upstream network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj ubj)}(hhh](j)}(h-``void *upstream`` pointer to the phy device h](j)}(h``void *upstream``h]j)}(hj0h]hvoid *upstream}(hj2hhhNhNubah}(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 the phy deviceh]hpointer to the phy device}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhM hjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhM hj'ubj)}(hA``struct sfp_bus *bus`` sfp bus representing cage being attached h](j)}(h``struct sfp_bus *bus``h]j)}(hjih]hstruct sfp_bus *bus}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjcubj)}(hhh]jX)}(h(sfp bus representing cage being attachedh]h(sfp bus representing cage being attached}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj'ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj ubjX)}(hh]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"ubj%)}(hupstreamh]hupstream}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubh)}(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_detachasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjdubj%)}(hbush]hbus}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h7detach the SFP bus from the PHY upstream network deviceh]h7detach the SFP bus from the PHY upstream network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM!hjubj)}(hhh](j)}(h-``void *upstream`` pointer to the 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)}(hpointer to the phy deviceh]hpointer to the phy device}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj#ubj)}(hA``struct sfp_bus *bus`` sfp bus representing cage being attached h](j)}(h``struct sfp_bus *bus``h]j)}(hjeh]hstruct sfp_bus *bus}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj_ubj)}(hhh]jX)}(h(sfp bus representing cage being attachedh]h(sfp bus representing cage being attached}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj#ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM!hjubjX)}(hh]h*}(hjnhhhNhNubah}(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 sfp_upstream_ops *opsh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hsfp_upstream_opsh]hsfp_upstream_ops}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j\c.phy_sfp_probeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hopsh]hops}(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)}(h0probe for a SFP cage attached to this PHY deviceh]h0probe for a SFP cage attached to this 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-hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM.ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjHjxjHjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjRh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM2hjLubj)}(hhh](j)}(h4``struct phy_device *phydev`` Pointer to phy_device h](j)}(h``struct phy_device *phydev``h]j)}(hjqh]hstruct phy_device *phydev}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM/hjkubj)}(hhh]jX)}(hPointer to phy_deviceh]hPointer to phy_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjhubj)}(h@``const struct sfp_upstream_ops *ops`` SFP's upstream operationsh](j)}(h&``const struct sfp_upstream_ops *ops``h]j)}(hjh]h"const struct sfp_upstream_ops *ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM1hjubj)}(hhh]jX)}(hSFP's upstream operationsh]hSFP’s upstream operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjhubeh}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_attach_direct (C function)c.phy_attach_directhNtauh1hhj]hhhNhNubh)}(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.chMLubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMLubj)}(hphy_attach_directh]j%)}(hphy_attach_directh]hphy_attach_direct}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMLubj)}(hY(struct net_device *dev, struct phy_device *phydev, u32 flags, phy_interface_t interface)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj=ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jj'sbc.phy_attach_directasbuh1hhj=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=uh1jhj9ubj)}(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{c.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=uh1jhj9ubj)}(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.phy_attach_directasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflagsh]hflags}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]j{c.phy_attach_directasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj9ubeh}(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)}(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.chMLhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMLubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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.chMPhjubj)}(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.chMMhjubj)}(hhh]jX)}(hnetwork device to attachh]hnetwork device to attach}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(h>``struct phy_device *phydev`` Pointer to phy_device to attach h](j)}(h``struct phy_device *phydev``h]j)}(hj>h]hstruct phy_device *phydev}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMNhj8ubj)}(hhh]jX)}(hPointer to phy_device to attachh]hPointer to phy_device to attach}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjShMNhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMNhjubj)}(h%``u32 flags`` PHY device's dev_flags h](j)}(h ``u32 flags``h]j)}(hjwh]h u32 flags}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMOhjqubj)}(hhh]jX)}(hPHY device's dev_flagsh]hPHY device’s dev_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(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.chMPhjubj)}(hhh]jX)}(hPHY device's interfaceh]hPHY device’s interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubeh}(h]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.chMRhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMWhjubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_attach (C function) c.phy_attachhNtauh1hhj]hhhNhNubh)}(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}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjhhMubh)}(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')}j phy_attachsb c.phy_attachasbuh1hhjWhhhjhhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjhhMubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWhhhjhhMubj)}(h phy_attachh]j%)}(hjh]h phy_attach}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjhhMubj)}(hG(struct net_device *dev, const char *bus_id, phy_interface_t interface)h](j)}(hstruct net_device *devh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$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;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdevh]hdev}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hconst char *bus_idh](h)}(hjh]hconst}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(hcharh]hchar}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hj|hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hbus_idh]hbus_id}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(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=uh1jhjWhhhjhhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjShhhjhhMubah}(h]jNah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhhMhjPhhubjS)}(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&]uh1jRhjPhhhjhhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh](j)}(h4``struct net_device *dev`` network device to attach h](j)}(h``struct net_device *dev``h]j)}(hj<h]hstruct net_device *dev}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj6ubj)}(hhh]jX)}(hnetwork device to attachh]hnetwork device to attach}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj3ubj)}(h6``const char *bus_id`` Bus ID of PHY device to attach h](j)}(h``const char *bus_id``h]j)}(hjuh]hconst char *bus_id}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjoubj)}(hhh]jX)}(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&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhj3ubj)}(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&]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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(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.chMhjubj)}(hhh]jX)}(h=string is passed instead of a pointer to a struct phy_device.h]h=string is passed instead of a pointer to a struct phy_device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_detach (C function) c.phy_detachhNtauh1hhj]hhhNhNubh)}(hhh](h)}(h+void phy_detach (struct phy_device *phydev)h]h)}(h*void phy_detach(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUhhhjghM ubj)}(h phy_detachh]j%)}(h phy_detachh]h phy_detach}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjUhhhjghM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj|sb 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=uh1jhjUhhhjghM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjQhhhjghM ubah}(h]jLah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjghM hjNhhubjS)}(hhh]jX)}(h+detach a PHY device from its network deviceh]h+detach a PHY device from its network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjNhhhjghM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1jxj1jyjzj{uh1hhhhj]hNhNubj})}(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)}(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:128: ./drivers/net/phy/phy_device.chM$hj5ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjZh]hstruct phy_device *phydev}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM!hjTubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohM!hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM!hjQubah}(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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM#hj5ubjX)}(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"hj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_reset_after_clk_enable (C function)c.phy_reset_after_clk_enablehNtauh1hhj]hhhNhNubh)}(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}(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}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jjsbc.phy_reset_after_clk_enableasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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)}(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]hNhNubj})}(hX8**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Some PHYs are known to need a reset after their refclk was enabled. This function evaluates the flags and perform the reset if it's needed. Returns < 0 on error, 0 if the phy wasn't reset and 1 if the phy was reset.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(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)}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj/ubj)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjBubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_setup_forced (C function)c.genphy_setup_forcedhNtauh1hhj]hhhNhNubh)}(hhh](h)}(h3int genphy_setup_forced (struct phy_device *phydev)h]h)}(h2int genphy_setup_forced(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hgenphy_setup_forcedh]j%)}(hgenphy_setup_forcedh]hgenphy_setup_forced}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_setup_forcedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~hhhjhMubah}(h]jyah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhj{hhubjS)}(hhh]jX)}(h.configures/forces speed/duplex from **phydev**h](h$configures/forces speed/duplex from }(hjFhhhNhNubj)}(h **phydev**h]hphydev}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjChhubah}(h]h ]h"]h$]h&]uh1jRhj{hhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjljxjljyjzj{uh1hhhhj]hNhNubj})}(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)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjpubj)}(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&]uh1jhjpubjX)}(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.chMhjpubj)}(hhh]j)}(hConfigures MII_BMCR to force speed/duplex to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().h](j)}(h)Configures MII_BMCR to force speed/duplexh]h)Configures MII_BMCR to force speed/duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(h_to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().h]h_to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_restart_aneg (C function)c.genphy_restart_aneghNtauh1hhj]hhhNhNubh)}(hhh](h)}(h3int genphy_restart_aneg (struct phy_device *phydev)h]h)}(h2int genphy_restart_aneg(struct phy_device *phydev)h](j)}(hinth]hint}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM}ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhjMhM}ubj)}(hgenphy_restart_anegh]j%)}(hgenphy_restart_anegh]hgenphy_restart_aneg}(hj`hhhNhNubah}(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}(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_restart_anegasbuh1hhjxubj)}(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=uh1jhjtubah}(h]h ]h"]h$]h&]j<j=uh1jhj;hhhjMhM}ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhjMhM}ubah}(h]j2ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjMhM}hj4hhubjS)}(hhh]jX)}(h"Enable and Restart Autonegotiationh]h"Enable and Restart Autonegotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM}hjhhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhjMhM}ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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&]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``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj@h]hstruct phy_device *phydev}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj:ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM~hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_check_and_restart_aneg (C function)c.genphy_check_and_restart_aneghNtauh1hhj]hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_check_and_restart_anegasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool restarth](j)}(hjTh]hbool}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj%)}(hrestarth]hrestart}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(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]hNhNubj})}(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)}(hjh]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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjCh]h Description}(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.chMhjubjX)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hjYhhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__genphy_config_aneg (C function)c.__genphy_config_aneghNtauh1hhj]hhhNhNubh)}(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*}(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 bool changedh](j)}(hjTh]hbool}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj%)}(hchangedh]hchanged}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhj}hhubjS)}(hhh]jX)}(h&restart auto-negotiation or write BMCRh]h&restart auto-negotiation or write BMCR}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjyhhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hwhether autoneg is requestedh]hwhether autoneg is requested}(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)}(hj1h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.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}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjJubj)}(hhh]jX)}(h^advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.h]h^advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjGubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_config_aneg (C function)c.genphy_c37_config_aneghNtauh1hhj]hhhNhNubh)}(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 }(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h&restart auto-negotiation or write BMCRh]h&restart auto-negotiation or write BMCR}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj]hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhj]hNhNubj})}(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.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&]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&]uh1jhj|ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj|ubj)}(hhh]j)}(hIf auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.h](j)}(h0If auto-negotiation is enabled, we configure theh]h0If auto-negotiation is enabled, we configure the}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jX)}(hadvertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.h]hadvertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_aneg_done (C function)c.genphy_aneg_donehNtauh1hhj]hhhNhNubh)}(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}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhh]/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 hjHhhhjZhM ubj)}(hgenphy_aneg_doneh]j%)}(hgenphy_aneg_doneh]hgenphy_aneg_done}(hjmhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjZhM 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')}jjosbc.genphy_aneg_doneasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjHhhhjZhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjZhM ubah}(h]j?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjZhM hjAhhubjS)}(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&]uh1jRhjAhhhjZhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Reads the status register and returns 0 either if auto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.h](jX)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj(ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjMh]hstruct phy_device *phydev}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjGubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjbhM hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM hjDubah}(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)}(hReads the status register and returns 0 either if auto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.h](j)}(h1Reads the status register and returns 0 either ifh]h1Reads the status register and returns 0 either if}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hpauto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.h]hpauto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_update_link (C function)c.genphy_update_linkhNtauh1hhj]hhhNhNubh)}(hhh](h)}(h2int genphy_update_link (struct phy_device *phydev)h]h)}(h1int genphy_update_link(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hgenphy_update_linkh]j%)}(hgenphy_update_linkh]hgenphy_update_link}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]j')}jjsbc.genphy_update_linkasbuh1hhj0ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0ubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj,ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h update link status in **phydev**h](hupdate link status in }(hjhhhNhNubj)}(h **phydev**h]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Update the value in phydev->link to reflect the current link value. In order to do this, we need to read the status register twice, keeping the second value.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM$ 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)}(hjAh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM# hjubj)}(hhh]j)}(hUpdate the value in phydev->link to reflect the current link value. In order to do this, we need to read the status register twice, keeping the second value.h](j)}(h/Update the value in phydev->link to reflect theh]h/Update the value in phydev->link to reflect the}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM$ hjZubj)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjlhM$ hjmubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjlhM$ hjWubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_read_status_fixed (C function)c.genphy_read_status_fixedhNtauh1hhj]hhhNhNubh)}(hhh](h)}(h8int genphy_read_status_fixed (struct phy_device *phydev)h]h)}(h7int genphy_read_status_fixed(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hgenphy_read_status_fixedh]j%)}(hgenphy_read_status_fixedh]hgenphy_read_status_fixed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]j')}jjsbc.genphy_read_status_fixedasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h'read the link parameters for !aneg modeh]h'read the link parameters for !aneg mode}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjmhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the current duplex and speed state for a PHY operating with autonegotiation disabled.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubjX)}(hZRead the current duplex and speed state for a PHY operating with autonegotiation disabled.h]hZRead the current duplex and speed state for a PHY operating with autonegotiation disabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_read_status (C function)c.genphy_read_statushNtauh1hhj]hhhNhNubh)}(hhh](h)}(h2int genphy_read_status (struct phy_device *phydev)h]h)}(h1int genphy_read_status(struct phy_device *phydev)h](j)}(hinth]hint}(hj1hhhNhNubah}(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_statush]j%)}(hgenphy_read_statush]hgenphy_read_status}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj-hhhj?hM ubj)}(h(struct phy_device *phydev)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.genphy_read_statusasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjjubj%)}(hphydevh]hphydev}(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?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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj&hhhj?hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj2h]hstruct phy_device *phydev}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjGhM hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhM hj)ubah}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hjmh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hby comparing what we advertise with what the link partner advertises. Start by checking the gigabit possibilities, then move on to 10/100.h]hby comparing what we advertise with what the link partner advertises. Start by checking the gigabit possibilities, then move on to 10/100.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_read_status (C function)c.genphy_c37_read_statushNtauh1hhj]hhhNhNubh)}(hhh](h)}(hEint genphy_c37_read_status (struct phy_device *phydev, bool *changed)h]h)}(hDint genphy_c37_read_status(struct phy_device *phydev, bool *changed)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hgenphy_c37_read_statush]j%)}(hgenphy_c37_read_statush]hgenphy_c37_read_status}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h*(struct phy_device *phydev, bool *changed)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]j')}jjsbc.genphy_c37_read_statusasbuh1hhjubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjfhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool *changedh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hchangedh]hchanged}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=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)}(h3check the link status and update current link stateh]h3check the link status and update current link state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool *changed`` pointer where to store if link changed **Description** Check the link, then figure out the current state by comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode. If link has changed, **changed** is set to true, false otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hM hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM hjubj)}(h9``bool *changed`` pointer where to store if link changed h](j)}(h``bool *changed``h]j)}(hjXh]h bool *changed}(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.chM hjRubj)}(hhh]jX)}(h&pointer where to store if link changedh]h&pointer where to store if link changed}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhM hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM 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)}(hCheck the link, then figure out the current state by comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode. If link has changed, **changed** is set to true, false otherwise.h](j)}(h1Check the link, then figure out the current stateh]h1Check the link, then figure out the current state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh](jX)}(huby comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode.h]huby comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubjX)}(hAIf link has changed, **changed** is set to true, false otherwise.h](hIf link has changed, }(hjhhhNhNubj)}(h **changed**h]hchanged}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh! is set to true, false otherwise.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_soft_reset (C function)c.genphy_soft_resethNtauh1hhj]hhhNhNubh)}(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&]uh1jhj hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj2hM ubj)}(hgenphy_soft_reseth]j%)}(hgenphy_soft_reseth]hgenphy_soft_reset}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj2hM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj]ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjGsbc.genphy_soft_resetasbuh1hhj]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=uh1jhjYubah}(h]h ]h"]h$]h&]j<j=uh1jhj hhhj2hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj2hM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj2hM hjhhubjS)}(hhh]jX)}(h)software reset the PHY via BMCR_RESET bith]h)software reset the PHY via BMCR_RESET bit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj2hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj%h]hstruct phy_device *phydev}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj:hM hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj`h]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubjX)}(hhPerform a software PHY reset using the standard BMCR_RESET bit and poll for the reset bit to be cleared.h]hhPerform a software PHY reset using the standard BMCR_RESET bit and poll for the reset bit to be cleared.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubjX)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubjX)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_read_abilities (C function)c.genphy_read_abilitieshNtauh1hhj]hhhNhNubh)}(hhh](h)}(h5int genphy_read_abilities (struct phy_device *phydev)h]h)}(h4int genphy_read_abilities(struct phy_device *phydev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMI ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMI ubj)}(hgenphy_read_abilitiesh]j%)}(hgenphy_read_abilitiesh]hgenphy_read_abilities}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMI ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)modnameN classnameNjj!)}j$]j')}jjsbc.genphy_read_abilitiesasbuh1hhjubj)}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMI ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMI ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMI hjhhubjS)}(hhh]jX)}(h+read PHY abilities from Clause 22 registersh]h+read PHY abilities from Clause 22 registers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMI hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMI ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Reads the PHY's abilities and populates phydev->supported accordingly. **Return** 0 on success, < 0 on failureh](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMM 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.chMJ hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMJ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJ hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chML hjubjX)}(hFReads the PHY's abilities and populates phydev->supported accordingly.h]hHReads the PHY’s abilities and populates phydev->supported accordingly.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chML hjubjX)}(h **Return**h]j)}(hj/ h]hReturn}(hj1 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj- ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMO hjubjX)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMO hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_remove_link_mode (C function)c.phy_remove_link_modehNtauh1hhj]hhhNhNubh)}(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}(hjt hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjp 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 hjp 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=uh1jhjp 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_modeasbuh1hhj ubj)}(h h]h }(hjD hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(h link_modeh]h link_mode}(hjR hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjp hhhj hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjl hhhj hM ubah}(h]jg ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hM hji hhubjS)}(hhh]jX)}(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 hjy hhubah}(h]h ]h"]h$]h&]uh1jRhji hhhj hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj]hNhNubj})}(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)}(hj1 h]h Description}(hj3 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)}(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.}(hjG 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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_advertise_supported (C function)c.phy_advertise_supportedhNtauh1hhj]hhhNhNubh)}(hhh](h)}(h8void phy_advertise_supported (struct phy_device *phydev)h]h)}(h7void phy_advertise_supported(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjv hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjr 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 hjr 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=uh1jhjr 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=uh1jhjr hhhj hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjn hhhj hM ubah}(h]ji ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hM hjk hhubjS)}(hhh]jX)}(hAdvertise all supported modesh]hAdvertise all supported modes}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj3 hhubah}(h]h ]h"]h$]h&]uh1jRhjk hhhj hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjN jxjN jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjX h]h Parameters}(hjZ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjR ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjw h]hstruct phy_device *phydev}(hjy hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjq 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&]uh1jhjq ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjn ubah}(h]h ]h"]h$]h&]uh1jhjR ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjR 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 hjR ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_advertise_eee_all (C function)c.phy_advertise_eee_allhNtauh1hhj]hhhNhNubh)}(hhh](h)}(h6void phy_advertise_eee_all (struct phy_device *phydev)h]h)}(h5void phy_advertise_eee_all(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]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_eee_allh]j%)}(hphy_advertise_eee_allh]hphy_advertise_eee_all}(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}(hj4 hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj0 ubj)}(h h]h }(hjA hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0 ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjR hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjT modnameN classnameNjj!)}j$]j')}jj sbc.phy_advertise_eee_allasbuh1hhj0 ubj)}(h h]h }(hjr hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0 ubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj0 ubj%)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0 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!Advertise all supported EEE modesh]h!Advertise all supported EEE 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&]jvjqjwj jxj jyjzj{uh1hhhhj]hNhNubj})}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM hjubah}(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)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj ubjX)}(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.}(hjIhhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_support_eee (C function)c.phy_support_eeehNtauh1hhj]hhhNhNubh)}(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}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhh]/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 hjthhhjhM ubj)}(hphy_support_eeeh]j%)}(hphy_support_eeeh]hphy_support_eee}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjhM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_support_eeeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(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)}(h$Set initial EEE policy configurationh]h$Set initial EEE policy configuration}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj5hhubah}(h]h ]h"]h$]h&]uh1jRhjmhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjPjxjPjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjTubj)}(hhh]j)}(h7``struct phy_device *phydev`` Target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjyh]hstruct phy_device *phydev}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjsubj)}(hhh]jX)}(hTarget phy_device structh]hTarget phy_device struct}(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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjTubjX)}(hXThis function configures the initial policy for Energy Efficient Ethernet (EEE) on the specified PHY device, influencing that EEE capabilities are advertised before the link is established. It should be called during PHY registration by the MAC driver and/or the PHY driver (for SmartEEE PHYs) if MAC supports LPI or PHY is capable to compensate missing LPI functionality of the MAC.h]hXThis function configures the initial policy for Energy Efficient Ethernet (EEE) on the specified PHY device, influencing that EEE capabilities are advertised before the link is established. It should be called during PHY registration by the MAC driver and/or the PHY driver (for SmartEEE PHYs) if MAC supports LPI or PHY is capable to compensate missing LPI functionality of the MAC.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjTubjX)}(hThe function sets default EEE policy parameters, including preparing the PHY to advertise EEE capabilities based on hardware support.h]hThe function sets default EEE policy parameters, including preparing the PHY to advertise EEE capabilities based on hardware support.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjTubjX)}(hXfIt also sets the expected configuration for Low Power Idle (LPI) in the MAC driver. If the PHY framework determines that both local and remote advertisements support EEE, and the negotiated link mode is compatible with EEE, it will set enable_tx_lpi = true. The MAC driver is expected to act on this setting by enabling the LPI timer if enable_tx_lpi is set.h]hXfIt also sets the expected configuration for Low Power Idle (LPI) in the MAC driver. If the PHY framework determines that both local and remote advertisements support EEE, and the negotiated link mode is compatible with EEE, it will set enable_tx_lpi = true. The MAC driver is expected to act on this setting by enabling the LPI timer if enable_tx_lpi is set.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjTubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disable_eee (C function)c.phy_disable_eeehNtauh1hhj]hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj%hM ubj)}(hphy_disable_eeeh]j%)}(hphy_disable_eeeh]hphy_disable_eee}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj%hM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]j')}jj:sbc.phy_disable_eeeasbuh1hhjPubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj%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)}(hDisable EEE for the PHYh]hDisable EEE for the PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj%hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` Target phy_device struct **Description** This function is used by MAC drivers for MAC's which don't support EEE. It disables EEE on the PHY layer.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` Target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hM hj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjSh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubjX)}(hiThis function is used by MAC drivers for MAC's which don't support EEE. It disables EEE on the PHY layer.h]hmThis function is used by MAC drivers for MAC’s which don’t support EEE. It disables EEE on the PHY layer.}(hjihhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_support_sym_pause (C function)c.phy_support_sym_pausehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h6void phy_support_sym_pause (struct phy_device *phydev)h]h)}(h5void phy_support_sym_pause(struct phy_device *phydev)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM" ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM" ubj)}(hphy_support_sym_pauseh]j%)}(hphy_support_sym_pauseh]hphy_support_sym_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM" ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_support_sym_pauseasbuh1hhjubj)}(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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM" ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM" ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM" hjhhubjS)}(hhh]jX)}(h#Enable support of symmetrical pauseh]h#Enable support of symmetrical pause}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM" hjUhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM" ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjpjxjpjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjzh]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM& hjtubj)}(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&]uh1jhjtubjX)}(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% hjtubjX)}(hPCalled by the MAC to indicate is supports symmetrical Pause, but not asym pause.h]hPCalled by the MAC to indicate is supports symmetrical Pause, but not asym pause.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM% hjtubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_support_asym_pause (C function)c.phy_support_asym_pausehNtauh1hhj]hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0 ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj'hM0 ubj)}(hphy_support_asym_pauseh]j%)}(hphy_support_asym_pauseh]hphy_support_asym_pause}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj'hM0 ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jj<sbc.phy_support_asym_pauseasbuh1hhjRubj)}(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=uh1jhjhhhj'hM0 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj'hM0 ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'hM0 hjhhubjS)}(hhh]jX)}(hEnable support of asym pauseh]hEnable support of asym pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0 hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj'hM0 ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Called by the MAC to indicate is supports Asym Pause.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM4 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.chM1 hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/hM1 hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM1 hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjUh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM3 hjubjX)}(h5Called by the MAC to indicate is supports Asym Pause.h]h5Called by the MAC to indicate is supports Asym Pause.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM3 hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_sym_pause (C function)c.phy_set_sym_pausehNtauh1hhj]hhhNhNubh)}(hhh](h)}(hRvoid phy_set_sym_pause (struct phy_device *phydev, bool rx, bool tx, bool autoneg)h]h)}(hQvoid phy_set_sym_pause(struct phy_device *phydev, bool rx, bool tx, bool autoneg)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM< ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM< ubj)}(hphy_set_sym_pauseh]j%)}(hphy_set_sym_pauseh]hphy_set_sym_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM< ubj)}(h;(struct phy_device *phydev, bool rx, bool tx, bool autoneg)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_set_sym_pauseasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool rxh](j)}(hjTh]hbool}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj%)}(hrxh]hrx}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool txh](j)}(hjTh]hbool}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj%)}(htxh]htx}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool autonegh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hautonegh]hautoneg}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM< ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM< ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM< hjhhubjS)}(hhh]jX)}(hConfigure symmetric Pauseh]hConfigure symmetric Pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM< hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM< ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM@ hjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj7h]hstruct phy_device *phydev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM= hj1ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhM= hjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhM= hj.ubj)}(h(``bool rx`` Receiver Pause is supported h](j)}(h ``bool rx``h]j)}(hjph]hbool rx}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM> hjjubj)}(hhh]jX)}(hReceiver Pause is supportedh]hReceiver Pause is supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM> hjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhM> hj.ubj)}(h(``bool tx`` Transmit Pause is supported h](j)}(h ``bool tx``h]j)}(hjh]hbool tx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM? hjubj)}(hhh]jX)}(hTransmit Pause is supportedh]hTransmit Pause is supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM? hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM? hj.ubj)}(h)``bool autoneg`` Auto neg should be used h](j)}(h``bool autoneg``h]j)}(hjh]h bool autoneg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM@ hjubj)}(hhh]jX)}(hAuto neg should be usedh]hAuto neg should be used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM@ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@ 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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMB hjubjX)}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMB hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_asym_pause (C function)c.phy_set_asym_pausehNtauh1hhj]hhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMT ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^hhhjphMT ubj)}(hphy_set_asym_pauseh]j%)}(hphy_set_asym_pauseh]hphy_set_asym_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhjphMT ubj)}(h-(struct phy_device *phydev, bool rx, bool tx)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phy_set_asym_pauseasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool rxh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hrxh]hrx}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool txh](j)}(hjTh]hbool}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj%)}(htxh]htx}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj^hhhjphMT ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZhhhjphMT ubah}(h]jUah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjphMT hjWhhubjS)}(hhh]jX)}(hConfigure Pause and Asym Pauseh]hConfigure Pause and Asym Pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMT hjhhubah}(h]h ]h"]h$]h&]uh1jRhjWhhhjphMT ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hX|**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool rx`` Receiver Pause is supported ``bool tx`` Transmit Pause is supported **Description** Configure advertised Pause support depending on if transmit and receiver pause is supported. If there has been a change in adverting, trigger a new autoneg. Generally called from the set_pauseparam .ndo.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMX 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.chMU hjubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMU hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMU hjubj)}(h(``bool rx`` Receiver Pause is supported h](j)}(h ``bool rx``h]j)}(hjh]hbool rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMV hjubj)}(hhh]jX)}(hReceiver Pause is supportedh]hReceiver Pause is supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMV hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMV hjubj)}(h(``bool tx`` Transmit Pause is supported h](j)}(h ``bool tx``h]j)}(hj=h]hbool tx}(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.chMW hj7ubj)}(hhh]jX)}(hTransmit Pause is supportedh]hTransmit Pause is supported}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMW hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMW hjubeh}(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:128: ./drivers/net/phy/phy_device.chMY hjubjX)}(hConfigure advertised Pause support depending on if transmit and receiver pause is supported. If there has been a change in adverting, trigger a new autoneg. Generally called from the set_pauseparam .ndo.h]hConfigure advertised Pause support depending on if transmit and receiver pause is supported. If there has been a change in adverting, trigger a new autoneg. Generally called from the set_pauseparam .ndo.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMY hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_validate_pause (C function)c.phy_validate_pausehNtauh1hhj]hhhNhNubh)}(hhh](h)}(hRbool phy_validate_pause (struct phy_device *phydev, struct ethtool_pauseparam *pp)h]h)}(hQbool phy_validate_pause(struct phy_device *phydev, struct ethtool_pauseparam *pp)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMl ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMl ubj)}(hphy_validate_pauseh]j%)}(hphy_validate_pauseh]hphy_validate_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMl ubj)}(h:(struct phy_device *phydev, struct ethtool_pauseparam *pp)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(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_validate_pauseasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphydevh]hphydev}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct ethtool_pauseparam *pph](h)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjgubj)}(h h]h }(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubh)}(hhh]j%)}(hethtool_pauseparamh]hethtool_pauseparam}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j3c.phy_validate_pauseasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjgubj%)}(hpph]hpp}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjgubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMl ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMl ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMl hjhhubjS)}(hhh]jX)}(h3Test if the PHY/MAC support the pause configurationh]h3Test if the PHY/MAC support the pause configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMl hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMl ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMp hjubj)}(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.chMm hj'ubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjBhMm hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMm hj$ubj)}(h@``struct ethtool_pauseparam *pp`` requested pause configuration h](j)}(h!``struct ethtool_pauseparam *pp``h]j)}(hjfh]hstruct ethtool_pauseparam *pp}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMn hj`ubj)}(hhh]jX)}(hrequested pause configurationh]hrequested pause configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hMn hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMn 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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMp hjubjX)}(hTest if the PHY/MAC combination supports the Pause configuration the user is requesting. Returns True if it is supported, false otherwise.h]hTest if the PHY/MAC combination supports the Pause configuration the user is requesting. Returns True if it is supported, false otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMp hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_pause (C function)c.phy_get_pausehNtauh1hhj]hhhNhNubh)}(hhh](h)}(hNvoid phy_get_pause (struct phy_device *phydev, bool *tx_pause, bool *rx_pause)h]h)}(hMvoid phy_get_pause(struct phy_device *phydev, bool *tx_pause, bool *rx_pause)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]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)}(h phy_get_pauseh]j%)}(h phy_get_pauseh]h phy_get_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM 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&]uh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]j')}jj sbc.phy_get_pauseasbuh1hhjubj)}(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)}(hbool *tx_pauseh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(htx_pauseh]htx_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hbool *rx_pauseh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(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=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hresolve negotiated pause modesh]hresolve negotiated pause modes}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj%hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjJh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjDubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjih]hstruct phy_device *phydev}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjcubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hM hjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hM hj`ubj)}(hY``bool *tx_pause`` pointer to bool to indicate whether transmit pause should be enabled. h](j)}(h``bool *tx_pause``h]j)}(hjh]hbool *tx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hEpointer to bool to indicate whether transmit pause should be enabled.h]hEpointer to bool to indicate whether transmit pause should be enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj`ubj)}(hX``bool *rx_pause`` pointer to bool to indicate whether receive pause should be enabled. h](j)}(h``bool *rx_pause``h]j)}(hjh]hbool *rx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubj)}(hhh]jX)}(hDpointer to bool to indicate whether receive pause should be enabled.h]hDpointer to bool to indicate whether receive pause should be enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj`ubeh}(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&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjDubjX)}(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.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_get_internal_delay (C function)c.phy_get_internal_delayhNtauh1hhj]hhhNhNubh)}(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}(hj`hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]j')}jphy_get_internal_delaysbc.phy_get_internal_delayasbuh1hhjYhhh]/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 hjYhhhjhM ubj)}(hphy_get_internal_delayh]j%)}(hj~h]hphy_get_internal_delay}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjYhhhjhM ubj)}(hJ(struct phy_device *phydev, const int *delay_values, int size, bool is_rx)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j|c.phy_get_internal_delayasbuh1hhjubj)}(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)}(hconst int *delay_valuesh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(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;)}(hj>h]h*}(hjVhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h delay_valuesh]h delay_values}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint sizeh](j)}(hinth]hint}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj%)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h bool is_rxh](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(his_rxh]his_rx}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjUhhhjhM ubah}(h]jPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjRhhubjS)}(hhh]jX)}(h'returns the index of the internal delayh]h'returns the index of the internal delay}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjRhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj]hNhNubj})}(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)}(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)}(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)}(hphy_device structh]hphy_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)}(h=``const int *delay_values`` array of delays the PHY supports h](j)}(h``const int *delay_values``h]j)}(hjp h]hconst int *delay_values}(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 array of delays the PHY supportsh]h array of delays the PHY supports}(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. ubj)}(h)``int size`` the size of the delay array h](j)}(h ``int size``h]j)}(hj h]hint size}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj ubj)}(hhh]jX)}(hthe size of the delay arrayh]hthe size of the delay array}(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 is_rx`` boolean to indicate to get the rx internal delay h](j)}(h``bool is_rx``h]j)}(hj h]h bool is_rx}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj ubj)}(hhh]jX)}(h0boolean to indicate to get the rx internal delayh]h0boolean to indicate to get the rx internal delay}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hj. ubeh}(h]h ]h"]h$]h&]uh1jhj ubjX)}(h**Description**h]j)}(hj!h]h Description}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj ubjX)}(hXReturns the index within the array of internal delay passed in. If the device property is not present then the interface type is checked if the interface defines use of internal delay then a 1 is returned otherwise a 0 is returned. The array must be in ascending order. If PHY does not have an ascending order array then size = 0 and the value of the delay property is returned. Return -EINVAL if the delay is invalid or cannot be found.h]hXReturns the index within the array of internal delay passed in. If the device property is not present then the interface type is checked if the interface defines use of internal delay then a 1 is returned otherwise a 0 is returned. The array must be in ascending order. If PHY does not have an ascending order array then size = 0 and the value of the delay property is returned. Return -EINVAL if the delay is invalid or cannot be found.}(hj3!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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_get_tx_amplitude_gain (C function)c.phy_get_tx_amplitude_gainhNtauh1hhj]hhhNhNubh)}(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}(hjb!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 }(hjq!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^!hhhjp!hM ubj)}(hphy_get_tx_amplitude_gainh]j%)}(hphy_get_tx_amplitude_gainh]hphy_get_tx_amplitude_gain}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^!hhhjp!hM 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}(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_get_tx_amplitude_gainasbuh1hhj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj;)}(hj>h]h*}(hj!hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!ubj%)}(hphydevh]hphydev}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(hstruct device *devh](h)}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]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 reftargetj1"modnameN classnameNjj!)}j$]j!c.phy_get_tx_amplitude_gainasbuh1hhj "ubj)}(h h]h }(hjM"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj "ubj;)}(hj>h]h*}(hj["hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj "ubj%)}(hdevh]hdev}(hjh"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj "ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(h+enum ethtool_link_mode_bit_indices linkmodeh](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%)}(hethtool_link_mode_bit_indicesh]hethtool_link_mode_bit_indices}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"modnameN classnameNjj!)}j$]j!c.phy_get_tx_amplitude_gainasbuh1hhj}"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}"ubj%)}(hlinkmodeh]hlinkmode}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubj)}(hu32 *valh](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_get_tx_amplitude_gainasbuh1hhj"ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj"ubj%)}(hvalh]hval}(hj #hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj!ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj^!hhhjp!hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZ!hhhjp!hM ubah}(h]jU!ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjp!hM hjW!hhubjS)}(hhh]jX)}(h#stores tx amplitude gain in **val**h](hstores tx amplitude gain in }(hjJ#hhhNhNubj)}(h**val**h]hval}(hjR#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ#ubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjG#hhubah}(h]h ]h"]h$]h&]uh1jRhjW!hhhjp!hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjp#jxjp#jyjzj{uh1hhhhj]hNhNubj})}(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)}(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:128: ./drivers/net/phy/phy_device.chM hjt#ubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj#h]hstruct phy_device *phydev}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj#ubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hM hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM hj#ubj)}(h<``struct device *dev`` pointer to the devices device struct h](j)}(h``struct device *dev``h]j)}(hj#h]hstruct device *dev}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj#ubj)}(hhh]jX)}(h$pointer to the devices device structh]h$pointer to the devices device struct}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj#hM hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM hj#ubj)}(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 $h]h+enum ethtool_link_mode_bit_indices linkmode}(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$ubj)}(hhh]jX)}(htx amplitude gainh]htx amplitude gain}(hj]$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjY$hM hjZ$ubah}(h]h ]h"]h$]h&]uh1jhj>$ubeh}(h]h ]h"]h$]h&]uh1jhjY$hM hj#ubeh}(h]h ]h"]h$]h&]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:128: ./drivers/net/phy/phy_device.chM hjt#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 hjt#ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_get_mac_termination (C function)c.phy_get_mac_terminationhNtauh1hhj]hhhNhNubh)}(hhh](h)}(hUint phy_get_mac_termination (struct phy_device *phydev, struct device *dev, u32 *val)h]h)}(hTint phy_get_mac_termination(struct phy_device *phydev, struct device *dev, u32 *val)h](j)}(hinth]hint}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$hhhj$hM ubj)}(hphy_get_mac_terminationh]j%)}(hphy_get_mac_terminationh]hphy_get_mac_termination}(hj$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj$hhhj$hM ubj)}(h9(struct phy_device *phydev, struct device *dev, u32 *val)h](j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj$ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!%modnameN classnameNjj!)}j$]j')}jj$sbc.phy_get_mac_terminationasbuh1hhj$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$ubj)}(hstruct device *devh](h)}(hjh]hstruct}(hjs%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjo%ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo%ubh)}(hhh]j%)}(hdeviceh]hdevice}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj%modnameN classnameNjj!)}j$]j;%c.phy_get_mac_terminationasbuh1hhjo%ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo%ubj;)}(hj>h]h*}(hj%hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjo%ubj%)}(hdevh]hdev}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjo%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj$ubj)}(hu32 *valh](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_get_mac_terminationasbuh1hhj%ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj;)}(hj>h]h*}(hj&hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj%ubj%)}(hvalh]hval}(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!stores MAC termination in **val**h](hstores MAC termination in }(hjI&hhhNhNubj)}(h**val**h]hval}(hjQ&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI&ubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjF&hhubah}(h]h ]h"]h$]h&]uh1jRhj$hhhj$hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjo&jxjo&jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjy&h]h Parameters}(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 hjs&ubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj&h]hstruct phy_device *phydev}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj&ubj)}(hhh]jX)}(hphy_device structh]hphy_device struct}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hM hj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hM hj&ubj)}(h<``struct device *dev`` pointer to the devices device struct h](j)}(h``struct device *dev``h]j)}(hj&h]hstruct device *dev}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj&ubj)}(hhh]jX)}(h$pointer to the devices device structh]h$pointer to the devices device struct}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj&hM hj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hM hj&ubj)}(h``u32 *val`` MAC termination h](j)}(h ``u32 *val``h]j)}(hj 'h]hu32 *val}(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)}(hMAC terminationh]hMAC termination}(hj#'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'hM hMj '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 **Return**h]j)}(hjE'h]hReturn}(hjG'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC'ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjs&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 hjs&ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$fwnode_mdio_find_device (C function)c.fwnode_mdio_find_devicehNtauh1hhj]hhhNhNubh)}(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}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj'hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'hhhj'hM 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')}jfwnode_mdio_find_devicesbc.fwnode_mdio_find_deviceasbuh1hhj'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)}(hfwnode_mdio_find_deviceh]j%)}(hj'h]hfwnode_mdio_find_device}(hj'hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj'hhhj'hM ubj)}(h(struct fwnode_handle *fwnode)h]j)}(hstruct fwnode_handle *fwnodeh](h)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hj"(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj$(modnameN classnameNjj!)}j$]j'c.fwnode_mdio_find_deviceasbuh1hhj(ubj)}(h h]h }(hj@(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj;)}(hj>h]h*}(hjN(hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj(ubj%)}(hfwnodeh]hfwnode}(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$Given a fwnode, find the mdio_deviceh]h$Given a fwnode, find the mdio_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]hNhNubj})}(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)}(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)}(hE``struct fwnode_handle *fwnode`` pointer to the mdio_device's fwnode h](j)}(h ``struct fwnode_handle *fwnode``h]j)}(hj(h]hstruct fwnode_handle *fwnode}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj(ubj)}(hhh]jX)}(h#pointer to the mdio_device's fwnodeh]h%pointer to the mdio_device’s fwnode}(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)}(hIf successful, returns a pointer to the mdio_device with the embedded struct device refcount incremented by one, or NULL on failure. The caller should call put_device() on the mdio_device after its use.h]hIf successful, returns a pointer to the mdio_device with the embedded struct device refcount incremented by one, or NULL on failure. The caller should call put_device() on the mdio_device after its use.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#fwnode_phy_find_device (C function)c.fwnode_phy_find_devicehNtauh1hhj]hhhNhNubh)}(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}(hjF)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjB)hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjT)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjB)hhhjS)hM ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hje)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjb)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjg)modnameN classnameNjj!)}j$]j')}jfwnode_phy_find_devicesbc.fwnode_phy_find_deviceasbuh1hhjB)hhhjS)hM ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjB)hhhjS)hM ubj;)}(hj>h]h*}(hj)hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjB)hhhjS)hM ubj)}(hfwnode_phy_find_deviceh]j%)}(hj)h]hfwnode_phy_find_device}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjB)hhhjS)hM ubj)}(h"(struct fwnode_handle *phy_fwnode)h]j)}(h struct fwnode_handle *phy_fwnodeh](h)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj)modnameN classnameNjj!)}j$]j)c.fwnode_phy_find_deviceasbuh1hhj)ubj)}(h h]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 phy_fwnodeh]h phy_fwnode}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubah}(h]h ]h"]h$]h&]j<j=uh1jhjB)hhhjS)hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj>)hhhjS)hM ubah}(h]j9)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjS)hM hj;)hhubjS)}(hhh]jX)}(h)For provided phy_fwnode, find phy_device.h]h)For provided phy_fwnode, find phy_device.}(hjA*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;)hhhjS)hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjY*jxjY*jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjc*h]h Parameters}(hje*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja*ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj]*ubj)}(hhh]j)}(hB``struct fwnode_handle *phy_fwnode`` Pointer to the phy's fwnode. h](j)}(h$``struct fwnode_handle *phy_fwnode``h]j)}(hj*h]h struct fwnode_handle *phy_fwnode}(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 the phy's fwnode.h]hPointer to the phy’s fwnode.}(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 hjy*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)}(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.}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h fwnode_get_phy_node (C function)c.fwnode_get_phy_nodehNtauh1hhj]hhhNhNubh)}(hhh](h)}(hOstruct fwnode_handle * fwnode_get_phy_node (const struct fwnode_handle *fwnode)h]h)}(hMstruct fwnode_handle *fwnode_get_phy_node(const struct fwnode_handle *fwnode)h](h)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj*hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM% ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhhj+hM% ubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hj!+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#+modnameN classnameNjj!)}j$]j')}jfwnode_get_phy_nodesbc.fwnode_get_phy_nodeasbuh1hhj*hhhj+hM% ubj)}(h h]h }(hjB+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*hhhj+hM% ubj;)}(hj>h]h*}(hjP+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj*hhhj+hM% ubj)}(hfwnode_get_phy_nodeh]j%)}(hj?+h]hfwnode_get_phy_node}(hja+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj*hhhj+hM% ubj)}(h$(const struct fwnode_handle *fwnode)h]j)}(h"const struct fwnode_handle *fwnodeh](h)}(hjh]hconst}(hj|+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjx+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjx+ubh)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjx+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjx+ubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj+modnameN classnameNjj!)}j$]j=+c.fwnode_get_phy_nodeasbuh1hhjx+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjx+ubj;)}(hj>h]h*}(hj+hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjx+ubj%)}(hfwnodeh]hfwnode}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjx+ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjt+ubah}(h]h ]h"]h$]h&]j<j=uh1jhj*hhhj+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 phy_node using the named reference.h]h+Get the phy_node using the named reference.}(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&]jvjqjwj0,jxj0,jyjzj{uh1hhhhj]hNhNubj})}(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)}(hj:,h]h Parameters}(hj<,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8,ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM) hj4,ubj)}(hhh]j)}(ha``const struct fwnode_handle *fwnode`` Pointer to fwnode from which phy_node has to be obtained. h](j)}(h&``const struct fwnode_handle *fwnode``h]j)}(hjY,h]h"const struct fwnode_handle *fwnode}(hj[,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW,ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM& hjS,ubj)}(hhh]jX)}(h9Pointer to fwnode from which phy_node has to be obtained.h]h9Pointer to fwnode from which phy_node has to be obtained.}(hjr,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjn,hM& hjo,ubah}(h]h ]h"]h$]h&]uh1jhjS,ubeh}(h]h ]h"]h$]h&]uh1jhjn,hM& hjP,ubah}(h]h ]h"]h$]h&]uh1jhj4,ubjX)}(h**Description**h]j)}(hj,h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM( hj4,ubjX)}(hRefer return conditions of fwnode_find_reference(). For ACPI, only "phy-handle" is supported. Legacy DT properties "phy" and "phy-device" are not supported in ACPI. DT supports all the three named references to the phy node.h]hRefer return conditions of fwnode_find_reference(). For ACPI, only “phy-handle” is supported. Legacy DT properties “phy” and “phy-device” are not supported in ACPI. DT supports all the three named references to the phy node.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM' hj4,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_uses_state_machine (C function)c.phy_uses_state_machinehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h7bool phy_uses_state_machine (struct phy_device *phydev)h]h)}(h6bool phy_uses_state_machine(struct phy_device *phydev)h](j)}(hjTh]hbool}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,hhhj,hM ubj)}(hphy_uses_state_machineh]j%)}(hphy_uses_state_machineh]hphy_uses_state_machine}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhj,hM ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(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}(hj3-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5-modnameN classnameNjj!)}j$]j')}jj,sbc.phy_uses_state_machineasbuh1hhj-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%)}(hphydevh]hphydev}(hjn-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj -ubah}(h]h ]h"]h$]h&]j<j=uh1jhj,hhhj,hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,hhhj,hM ubah}(h]j,ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,hM hj,hhubjS)}(hhh]jX)}(h3test whether consumer driver uses PAL state machineh]h3test whether consumer driver uses PAL state machine}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj-hhubah}(h]h ]h"]h$]h&]uh1jRhj,hhhj,hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-jxj-jyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct phy_device *phydev`` the target PHY device structure **Description** Ultimately, this aims to indirectly determine whether the PHY is attached to a consumer which uses the state machine by calling phy_start() and phy_stop(). When the PHY driver consumer uses phylib, it must have previously called phy_connect_direct() or one of its derivatives, so that phy_prepare_link() has set up a hook for monitoring state changes. When the PHY driver is used by the MAC driver consumer through phylink (the only other provider of a phy_link_change() method), using the PHY state machine is not optional. **Return** true if consumer calls phy_start() and phy_stop(), false otherwise.h](jX)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj-ubj)}(hhh]j)}(h>``struct phy_device *phydev`` the target PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hj-h]hstruct phy_device *phydev}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj-ubj)}(hhh]jX)}(hthe target PHY device structureh]hthe target PHY device structure}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj-hM hj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hM hj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubjX)}(h**Description**h]j)}(hj.h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj-ubjX)}(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().}(hj*.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj-ubjX)}(hWhen the PHY driver consumer uses phylib, it must have previously called phy_connect_direct() or one of its derivatives, so that phy_prepare_link() has set up a hook for monitoring state changes.h]hWhen the PHY driver consumer uses phylib, it must have previously called phy_connect_direct() or one of its derivatives, so that phy_prepare_link() has set up a hook for monitoring state changes.}(hj9.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj-ubjX)}(hWhen the PHY driver is used by the MAC driver consumer through phylink (the only other provider of a phy_link_change() method), using the PHY state machine is not optional.h]hWhen the PHY driver is used by the MAC driver consumer through phylink (the only other provider of a phy_link_change() method), using the PHY state machine is not optional.}(hjH.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj-ubjX)}(h **Return**h]j)}(hjY.h]hReturn}(hj[.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW.ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj-ubjX)}(hCtrue if consumer calls phy_start() and phy_stop(), false otherwise.h]hCtrue if consumer calls phy_start() and phy_stop(), false otherwise.}(hjo.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_register_fixup (C function)c.phy_register_fixuphNtauh1hhj]hhhNhNubh)}(hhh](h)}(hkint phy_register_fixup (const char *bus_id, u32 phy_uid, u32 phy_uid_mask, int (*run)(struct phy_device *))h]h)}(hiint phy_register_fixup(const char *bus_id, u32 phy_uid, u32 phy_uid_mask, int (*run)(struct phy_device*))h](j)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhj.hMubj)}(hphy_register_fixuph]j%)}(hphy_register_fixuph]hphy_register_fixup}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj.hhhj.hMubj)}(hS(const char *bus_id, u32 phy_uid, u32 phy_uid_mask, int (*run)(struct phy_device*))h](j)}(hconst char *bus_idh](h)}(hjh]hconst}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj)}(hcharh]hchar}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj.ubj%)}(hbus_idh]hbus_id}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(h u32 phy_uidh](h)}(hhh]j%)}(hu32h]hu32}(hj;/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj=/modnameN classnameNjj!)}j$]j')}jj.sbc.phy_register_fixupasbuh1hhj4/ubj)}(h h]h }(hj[/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4/ubj%)}(hphy_uidh]hphy_uid}(hji/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hu32 phy_uid_maskh](h)}(hhh]j%)}(hu32h]hu32}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/modnameN classnameNjj!)}j$]jW/c.phy_register_fixupasbuh1hhj~/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~/ubj%)}(h phy_uid_maskh]h phy_uid_mask}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubj)}(hint (*run)(struct phy_device*)h](j)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj;)}(hjh]h(}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj%)}(hrunh]hrun}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubj;)}(hjh]h)}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj;)}(hjh]h(}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubh)}(hjh]hstruct}(hj(0hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ubj)}(h h]h }(hj50hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjF0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjC0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjH0modnameN classnameNjj!)}j$]jW/c.phy_register_fixupasbuh1hhj/ubj;)}(hj>h]h*}(hjd0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj;)}(hjh]h)}(hjq0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj.ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj.hhhj.hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhj.hMubah}(h]j.ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.hMhj.hhubjS)}(hhh]jX)}(h/creates a new phy_fixup and adds it to the listh]h/creates a new phy_fixup and adds it to the list}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj0hhubah}(h]h ]h"]h$]h&]uh1jRhj.hhhj.hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhj]hNhNubj})}(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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj0ubj)}(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)}(hj0h]hconst char *bus_id}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj0ubj)}(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)}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj0ubj)}(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)}(hj1h]h u32 phy_uid}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj1ubj)}(hhh]jX)}(hTUsed to match against phydev->phy_id (the UID of the PHY) It can also be PHY_ANY_UIDh]hTUsed to match against phydev->phy_id (the UID of the PHY) It can also be PHY_ANY_UID}(hj-1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj*1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj)1hMhj0ubj)}(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)}(hjN1h]hu32 phy_uid_mask}(hjP1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL1ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjH1ubj)}(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}(hjg1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjd1ubah}(h]h ]h"]h$]h&]uh1jhjH1ubeh}(h]h ]h"]h$]h&]uh1jhjc1hMhj0ubj)}(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)}(hj1h]hint (*run)(struct phy_device *)}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj1ubj)}(hhh]jX)}(h6The actual code to be run when a matching PHY is foundh]h6The actual code to be run when a matching PHY is found}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_c45_ids (C function)c.get_phy_c45_idshNtauh1hhj]hhhNhNubh)}(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}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1hhhj1hMubj)}(hget_phy_c45_idsh]j%)}(hget_phy_c45_idsh]hget_phy_c45_ids}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj1hhhj1hMubj)}(hC(struct mii_bus *bus, int addr, struct phy_c45_device_ids *c45_ids)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hj,2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj=2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj?2modnameN classnameNjj!)}j$]j')}jj2sbc.get_phy_c45_idsasbuh1hhj2ubj)}(h h]h }(hj]2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hjk2hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hbush]hbus}(hjx2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubj)}(hint addrh](j)}(hinth]hint}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj%)}(haddrh]haddr}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubj)}(h"struct phy_c45_device_ids *c45_idsh](h)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubh)}(hhh]j%)}(hphy_c45_device_idsh]hphy_c45_device_ids}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]jY2c.get_phy_c45_idsasbuh1hhj2ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj;)}(hj>h]h*}(hj3hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj2ubj%)}(hc45_idsh]hc45_ids}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj2ubeh}(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/reads the specified addr for its 802.3-c45 IDs.h]h/reads the specified addr for its 802.3-c45 IDs.}(hjG3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjD3hhubah}(h]h ]h"]h$]h&]uh1jRhj1hhhj1hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj_3jxj_3jyjzj{uh1hhhhj]hNhNubj})}(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)}(hji3h]h Parameters}(hjk3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg3ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjc3ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hj3h]hstruct mii_bus *bus}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj3ubj)}(hhh]jX)}(hthe target MII bush]hthe target MII bus}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj3ubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hj3h]hint addr}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj3ubj)}(hhh]jX)}(hPHY address on the MII bush]hPHY address on the MII bus}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj3ubj)}(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)}(hj3h]h"struct phy_c45_device_ids *c45_ids}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj3ubj)}(hhh]jX)}(h&where to store the c45 ID information.h]h&where to store the c45 ID information.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj3ubeh}(h]h ]h"]h$]h&]uh1jhjc3ubjX)}(h**Description**h]j)}(hj54h]h Description}(hj74hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj34ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjc3ubjX)}(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 }(hjK4hhhNhNubj)}(h **c45_ids**h]hc45_ids}(hjS4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK4ubh.}(hjK4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjc3ubjX)}(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, }(hjl4hhhNhNubj)}(h``-EIO``h]h-EIO}(hjt4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl4ubh on bus access error, or }(hjl4hhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl4ubhB if the “devices in package” is invalid or no device responds.}(hjl4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjc3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_c22_id (C function)c.get_phy_c22_idhNtauh1hhj]hhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4hhhj4hMubj)}(hget_phy_c22_idh]j%)}(hget_phy_c22_idh]hget_phy_c22_id}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4hhhj4hMubj)}(h,(struct mii_bus *bus, int addr, u32 *phy_id)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj4ubj)}(h h]h }(hj 5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j')}jj4sbc.get_phy_c22_idasbuh1hhj4ubj)}(h h]h }(hj:5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj;)}(hj>h]h*}(hjH5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj4ubj%)}(hbush]hbus}(hjU5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(hint addrh](j)}(hinth]hint}(hjn5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj5ubj)}(h h]h }(hj|5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj5ubj%)}(haddrh]haddr}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubj)}(h u32 *phy_idh](h)}(hhh]j%)}(hu32h]hu32}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j65c.get_phy_c22_idasbuh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5ubj%)}(hphy_idh]hphy_id}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj4ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj4hhhj4hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj4hhhj4hMubah}(h]j4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj4hMhj4hhubjS)}(hhh]jX)}(h.reads the specified addr for its clause 22 ID.h]h.reads the specified addr for its clause 22 ID.}(hj 6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj6hhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhj4hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj!6jxj!6jyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the target MII bus ``int addr`` PHY address on the MII bus ``u32 *phy_id`` where to store the ID retrieved. **Description** Read the 802.3 clause 22 PHY ID from the PHY at **addr** on the **bus**, placing it in **phy_id**. Return zero on successful read and the ID is valid, ``-EIO`` on bus access error, or ``-ENODEV`` if no device responds or invalid ID.h](jX)}(h**Parameters**h]j)}(hj+6h]h Parameters}(hj-6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)6ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj%6ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjJ6h]hstruct mii_bus *bus}(hjL6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH6ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjD6ubj)}(hhh]jX)}(hthe target MII bush]hthe target MII bus}(hjc6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_6hMhj`6ubah}(h]h ]h"]h$]h&]uh1jhjD6ubeh}(h]h ]h"]h$]h&]uh1jhj_6hMhjA6ubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hj6h]hint addr}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj}6ubj)}(hhh]jX)}(hPHY address on the MII bush]hPHY address on the MII bus}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj}6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjA6ubj)}(h1``u32 *phy_id`` where to store the ID retrieved. h](j)}(h``u32 *phy_id``h]j)}(hj6h]h u32 *phy_id}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj6ubj)}(hhh]jX)}(h where to store the ID retrieved.h]h where to store the ID retrieved.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjA6ubeh}(h]h ]h"]h$]h&]uh1jhj%6ubjX)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj%6ubjX)}(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 7hhhNhNubj)}(h**addr**h]haddr}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 7ubh on the }(hj 7hhhNhNubj)}(h**bus**h]hbus}(hj'7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 7ubh, placing it in }(hj 7hhhNhNubj)}(h **phy_id**h]hphy_id}(hj97hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 7ubh6. Return zero on successful read and the ID is valid, }(hj 7hhhNhNubj)}(h``-EIO``h]h-EIO}(hjK7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 7ubh on bus access error, or }(hj 7hhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hj]7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 7ubh% if no device responds or invalid ID.}(hj 7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj%6ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_prepare_link (C function)c.phy_prepare_linkhNtauh1hhj]hhhNhNubh)}(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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhj7hMubj)}(hphy_prepare_linkh]j%)}(hphy_prepare_linkh]hphy_prepare_link}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj7hhhj7hMubj)}(h@(struct phy_device *phydev, void (*handler)(struct net_device*))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}(hj7hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jj7sbc.phy_prepare_linkasbuh1hhj7ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7ubj%)}(hphydevh]hphydev}(hj,8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubj)}(h#void (*handler)(struct net_device*)h](j)}(hvoidh]hvoid}(hjE8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjA8ubj)}(h h]h }(hjS8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjA8ubj;)}(hjh]h(}(hja8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjA8ubj;)}(hj>h]h*}(hjn8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjA8ubj%)}(hhandlerh]hhandler}(hj{8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjA8ubj;)}(hjh]h)}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjA8ubj;)}(hjh]h(}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjA8ubh)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjA8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjA8ubh)}(hhh]j%)}(h net_deviceh]h net_device}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj8modnameN classnameNjj!)}j$]j 8c.phy_prepare_linkasbuh1hhjA8ubj;)}(hj>h]h*}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjA8ubj;)}(hjh]h)}(hj8hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjA8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj7ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj7hhhj7hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj7hhhj7hMubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hMhj7hhubjS)}(hhh]jX)}(h-prepares the PHY layer to monitor link statush]h-prepares the PHY layer to monitor link status}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj9hhubah}(h]h ]h"]h$]h&]uh1jRhj7hhhj7hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-9jxj-9jyjzj{uh1hhhhj]hNhNubj})}(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)}(hj79h]h Parameters}(hj99hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj59ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj19ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjV9h]hstruct phy_device *phydev}(hjX9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT9ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjP9ubj)}(hhh]jX)}(htarget phy_device structh]htarget phy_device struct}(hjo9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjk9hMhjl9ubah}(h]h ]h"]h$]h&]uh1jhjP9ubeh}(h]h ]h"]h$]h&]uh1jhjk9hMhjM9ubj)}(h```void (*handler)(struct net_device *)`` callback function for link status change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hj9h]h$void (*handler)(struct net_device *)}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj9ubj)}(hhh]jX)}(h6callback function for link status change notificationsh]h6callback function for link status change notifications}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjM9ubeh}(h]h ]h"]h$]h&]uh1jhj19ubjX)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj19ubj)}(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}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj9ubj)}(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.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj19ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_poll_reset (C function)c.phy_poll_resethNtauh1hhj]hhhNhNubh)}(hhh](h)}(h.int phy_poll_reset (struct phy_device *phydev)h]h)}(h-int phy_poll_reset(struct phy_device *phydev)h](j)}(hinth]hint}(hj::hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6:hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM>ubj)}(h h]h }(hjI:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6:hhhjH:hM>ubj)}(hphy_poll_reseth]j%)}(hphy_poll_reseth]hphy_poll_reset}(hj[:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjW:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6:hhhjH:hM>ubj)}(h(struct phy_device *phydev)h]j)}(hstruct phy_device *phydevh](h)}(hjh]hstruct}(hjw:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjs:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjs:ubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj:modnameN classnameNjj!)}j$]j')}jj]:sbc.phy_poll_resetasbuh1hhjs:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjs:ubj;)}(hj>h]h*}(hj:hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjs:ubj%)}(hphydevh]hphydev}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjs:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjo:ubah}(h]h ]h"]h$]h&]j<j=uh1jhj6:hhhjH:hM>ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2:hhhjH:hM>ubah}(h]j-:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjH:hM>hj/:hhubjS)}(hhh]jX)}(h4Safely wait until a PHY reset has properly completedh]h4Safely wait until a PHY reset has properly completed}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM>hj:hhubah}(h]h ]h"]h$]h&]uh1jRhj/:hhhjH:hM>ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj;jxj;jyjzj{uh1hhhhj]hNhNubj})}(hXM**Parameters** ``struct phy_device *phydev`` The PHY device to poll **Description** According to IEEE 802.3, Section 2, Subsection 22.2.4.1.1, as published in 2008, a PHY reset may take up to 0.5 seconds. The MII BMCR register must be polled until the BMCR_RESET bit clears. Furthermore, any attempts to write to PHY registers may have no effect or even generate MDIO bus errors until this is complete. Some PHYs (such as the Marvell 88E1111) don't entirely conform to the standard and do not fully reset after the BMCR_RESET bit is set, and may even *REQUIRE* a soft-reset to properly restart autonegotiation. In an effort to support such broken PHYs, this function is separate from the standard phy_init_hw() which will zero all the other bits in the BMCR and reapply all driver-specific and board-specific fixups.h](jX)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMBhj;ubj)}(hhh]j)}(h5``struct phy_device *phydev`` The PHY device to poll h](j)}(h``struct phy_device *phydev``h]j)}(hj;;h]hstruct phy_device *phydev}(hj=;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9;ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM?hj5;ubj)}(hhh]jX)}(hThe PHY device to pollh]hThe PHY device to poll}(hjT;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjP;hM?hjQ;ubah}(h]h ]h"]h$]h&]uh1jhj5;ubeh}(h]h ]h"]h$]h&]uh1jhjP;hM?hj2;ubah}(h]h ]h"]h$]h&]uh1jhj;ubjX)}(h**Description**h]j)}(hjv;h]h Description}(hjx;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt;ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMAhj;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.chMLhj;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.chMBhj;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.chMEhj;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;hhhNhNubjz)}(h *REQUIRE*h]hREQUIRE}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jzhj;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.chMHhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMLhj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_config_advert (C function)c.genphy_config_adverthNtauh1hhj]hhhNhNubh)}(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}(hj7<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3<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}(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 phy_deviceh]h phy_device}(hjq<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn<ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjs<modnameN classnameNjj!)}j$]j')}jj9<sbc.genphy_config_advertasbuh1hhjO<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%)}(hphydevh]hphydev}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjK<ubj)}(hconst unsigned long *adverth](h)}(hjh]hconst}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj)}(hunsignedh]hunsigned}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj)}(hlongh]hlong}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(h h]h }(hj =hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj;)}(hj>h]h*}(hj=hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj<ubj%)}(hadverth]hadvert}(hj%=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj<ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjK<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}(hjO=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjL=hhubah}(h]h ]h"]h$]h&]uh1jRhj <hhhj$<hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjg=jxjg=jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjq=h]h Parameters}(hjs=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo=ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjk=ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj=h]hstruct phy_device *phydev}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]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&]uh1jhjk=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.chMhjk=ubj)}(hhh]j)}(hWrites MII_ADVERTISE with the appropriate values, after sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed.h](j)}(h1Writes MII_ADVERTISE with the appropriate values,h]h1Writes MII_ADVERTISE with the appropriate values,}(hj!>hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj>ubj)}(hhh]jX)}(hafter sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed.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.}(hj3>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj0>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj/>hMhj>ubah}(h]h ]h"]h$]h&]uh1jhjk=ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_c37_config_advert (C function)c.genphy_c37_config_adverthNtauh1hhj]hhhNhNubh)}(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}(hjt>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjp>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 hjp>hhhj>hMubj)}(hgenphy_c37_config_adverth]j%)}(hgenphy_c37_config_adverth]hgenphy_c37_config_advert}(hj>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjp>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_c37_config_advertasbuh1hhj>ubj)}(h h]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=uh1jhjp>hhhj>hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjl>hhhj>hMubah}(h]jg>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj>hMhji>hhubjS)}(hhh]jX)}(h2sanitize and advertise auto-negotiation parametersh]h2sanitize and advertise auto-negotiation parameters}(hj4?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj1?hhubah}(h]h ]h"]h$]h&]uh1jRhji>hhhj>hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjL?jxjL?jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjV?h]h Parameters}(hjX?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT?ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjP?ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hju?h]hstruct phy_device *phydev}(hjw?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs?ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjo?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&]uh1jhjo?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjl?ubah}(h]h ]h"]h$]h&]uh1jhjP?ubjX)}(h**Description**h]j)}(hj?h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjP?ubj)}(hhh]j)}(hXWrites MII_ADVERTISE with the appropriate values, after sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed. This function is intended for Clause 37 1000Base-X mode.h](j)}(h1Writes MII_ADVERTISE with the appropriate values,h]h1Writes MII_ADVERTISE with the appropriate values,}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj?ubj)}(hhh]jX)}(hafter sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed. This function is intended for Clause 37 1000Base-X mode.h]hafter sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY’s advertisement hasn’t changed, and > 0 if it has changed. This function is intended for Clause 37 1000Base-X mode.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj?ubah}(h]h ]h"]h$]h&]uh1jhjP?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_probe (C function) c.phy_probehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h"int phy_probe (struct device *dev)h]h)}(h!int phy_probe(struct device *dev)h](j)}(hinth]hint}(hj @hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM= ubj)}(h h]h }(hj/@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhj.@hM= ubj)}(h phy_probeh]j%)}(h phy_probeh]h phy_probe}(hjA@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhj.@hM= ubj)}(h(struct device *dev)h]j)}(hstruct device *devh](h)}(hjh]hstruct}(hj]@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjY@ubj)}(h h]h }(hjj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjY@ubh)}(hhh]j%)}(hdeviceh]hdevice}(hj{@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjx@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}@modnameN classnameNjj!)}j$]j')}jjC@sb c.phy_probeasbuh1hhjY@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjY@ubj;)}(hj>h]h*}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjY@ubj%)}(hdevh]hdev}(hj@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjY@ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjU@ubah}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhj.@hM= ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhj.@hM= ubah}(h]j@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.@hM= hj@hhubjS)}(hhh]jX)}(hprobe and init a PHY deviceh]hprobe and init a PHY device}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM= hj@hhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhj.@hM= ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj@jxj@jyjzj{uh1hhhhj]hNhNubj})}(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)}(hjAh]h Parameters}(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.chMA hj@ubj)}(hhh]j)}(h0``struct device *dev`` device to probe and init h](j)}(h``struct device *dev``h]j)}(hj!Ah]hstruct device *dev}(hj#AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM> hjAubj)}(hhh]jX)}(hdevice to probe and inith]hdevice to probe and init}(hj:AhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj6AhM> hj7Aubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj6AhM> hjAubah}(h]h ]h"]h$]h&]uh1jhj@ubjX)}(h**Description**h]j)}(hj\Ah]h Description}(hj^AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZAubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM@ hj@ubjX)}(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.}(hjrAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM? hj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_driver_register (C function)c.phy_driver_registerhNtauh1hhj]hhhNhNubh)}(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}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAhhhjAhM ubj)}(hphy_driver_registerh]j%)}(hphy_driver_registerh]hphy_driver_register}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjAhhhjAhM ubj)}(h5(struct phy_driver *new_driver, struct module *owner)h](j)}(hstruct phy_driver *new_driverh](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_driverh]h phy_driver}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjAmodnameN classnameNjj!)}j$]j')}jjAsbc.phy_driver_registerasbuh1hhjAubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hj*BhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(h new_driverh]h new_driver}(hj7BhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubj)}(hstruct module *ownerh](h)}(hjh]hstruct}(hjPBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjLBubj)}(h h]h }(hj]BhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLBubh)}(hhh]j%)}(hmoduleh]hmodule}(hjnBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkBubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpBmodnameN classnameNjj!)}j$]jBc.phy_driver_registerasbuh1hhjLBubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLBubj;)}(hj>h]h*}(hjBhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjLBubj%)}(hownerh]howner}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLBubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjAubeh}(h]h ]h"]h$]h&]j<j=uh1jhjAhhhjAhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjAhhhjAhM ubah}(h]jAah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhM hjAhhubjS)}(hhh]jX)}(h(register a phy_driver with the PHY layerh]h(register a phy_driver with the PHY layer}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hjBhhubah}(h]h ]h"]h$]h&]uh1jRhjAhhhjAhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjBjxjBjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct phy_driver *new_driver`` new phy_driver to register ``struct module *owner`` module owning this PHYh](jX)}(h**Parameters**h]j)}(hjBh]h Parameters}(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.chM hjBubj)}(hhh](j)}(h=``struct phy_driver *new_driver`` new phy_driver to register h](j)}(h!``struct phy_driver *new_driver``h]j)}(hjCh]hstruct phy_driver *new_driver}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hj Cubj)}(hhh]jX)}(hnew phy_driver to registerh]hnew phy_driver to register}(hj+ChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'ChM hj(Cubah}(h]h ]h"]h$]h&]uh1jhj Cubeh}(h]h ]h"]h$]h&]uh1jhj'ChM hj Cubj)}(h/``struct module *owner`` module owning this PHYh](j)}(h``struct module *owner``h]j)}(hjKCh]hstruct module *owner}(hjMChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjICubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hjECubj)}(hhh]jX)}(hmodule owning this PHYh]hmodule owning this PHY}(hjdChhhNhNubah}(h]h ]h"]h$]h&]uh1jWh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hjaCubah}(h]h ]h"]h$]h&]uh1jhjECubeh}(h]h ]h"]h$]h&]uh1jhj`ChM hj Cubeh}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdio_find_bus (C function)c.mdio_find_bushNtauh1hhj]hhhNhNubh)}(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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjChhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMrubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhjChMrubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjCmodnameN classnameNjj!)}j$]j')}j mdio_find_bussbc.mdio_find_busasbuh1hhjChhhjChMrubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhjChMrubj;)}(hj>h]h*}(hjChhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjChhhjChMrubj)}(h mdio_find_bush]j%)}(hjCh]h mdio_find_bus}(hjDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjChhhjChMrubj)}(h(const char *mdio_name)h]j)}(hconst char *mdio_nameh](h)}(hjh]hconst}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hj,DhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(hcharh]hchar}(hj:DhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(h h]h }(hjHDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjVDhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(h mdio_nameh]h mdio_name}(hjcDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjDubah}(h]h ]h"]h$]h&]j<j=uh1jhjChhhjChMrubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjChhhjChMrubah}(h]jCah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjChMrhjChhubjS)}(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.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMrhjDhhubah}(h]h ]h"]h$]h&]uh1jRhjChhhjChMrubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjDjxjDjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``const char *mdio_name`` The name of a mdiobus. **Description** Returns a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented, and this must be put_deviced'ed once the bus is finished with.h](jX)}(h**Parameters**h]j)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMvhjDubj)}(hhh]j)}(h1``const char *mdio_name`` The name of a mdiobus. h](j)}(h``const char *mdio_name``h]j)}(hjDh]hconst char *mdio_name}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMshjDubj)}(hhh]jX)}(hThe name of a mdiobus.h]hThe name of a mdiobus.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjDhMshjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMshjDubah}(h]h ]h"]h$]h&]uh1jhjDubjX)}(h**Description**h]j)}(hj Eh]h Description}(hj EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMuhjDubjX)}(hReturns a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented, and this must be put_deviced'ed once the bus is finished with.h]hReturns a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented, and this must be put_deviced’ed once the bus is finished with.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMthjDubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hof_mdio_find_bus (C function)c.of_mdio_find_bushNtauh1hhj]hhhNhNubh)}(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}(hjNEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJEhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj\EhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJEhhhj[EhMubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjmEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjoEmodnameN classnameNjj!)}j$]j')}jof_mdio_find_bussbc.of_mdio_find_busasbuh1hhjJEhhhj[EhMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJEhhhj[EhMubj;)}(hj>h]h*}(hjEhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJEhhhj[EhMubj)}(hof_mdio_find_bush]j%)}(hjEh]hof_mdio_find_bus}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjJEhhhj[EhMubj)}(h!(struct device_node *mdio_bus_np)h]j)}(hstruct device_node *mdio_bus_nph](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubh)}(hhh]j%)}(h device_nodeh]h device_node}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jEc.of_mdio_find_busasbuh1hhjEubj)}(h h]h }(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj;)}(hj>h]h*}(hjFhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjEubj%)}(h mdio_bus_nph]h mdio_bus_np}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjEubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjEubah}(h]h ]h"]h$]h&]j<j=uh1jhjJEhhhj[EhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjFEhhhj[EhMubah}(h]jAEah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[EhMhjCEhhubjS)}(hhh]jX)}(h(Given an mii_bus node, find the mii_bus.h]h(Given an mii_bus node, find the mii_bus.}(hjIFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjFFhhubah}(h]h ]h"]h$]h&]uh1jRhjCEhhhj[EhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjaFjxjaFjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct device_node *mdio_bus_np`` Pointer to the mii_bus. **Description** Returns a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented, and this must be put once the bus is finished with. Because the association of a device_node and mii_bus is made via of_mdiobus_register(), the mii_bus cannot be found before it is registered with of_mdiobus_register().h](jX)}(h**Parameters**h]j)}(hjkFh]h Parameters}(hjmFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiFubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjeFubj)}(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)}(hjFh]hstruct device_node *mdio_bus_np}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjFubj)}(hhh]jX)}(hPointer to the mii_bus.h]hPointer to the mii_bus.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjeFubjX)}(h**Description**h]j)}(hjFh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjeFubjX)}(hReturns a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented, and this must be put once the bus is finished with.h]hReturns a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented, and this must be put once the bus is finished with.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjeFubjX)}(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().}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjeFubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_read (C function)c.__mdiobus_readhNtauh1hhj]hhhNhNubh)}(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}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj(GhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhj'GhMubj)}(h__mdiobus_readh]j%)}(h__mdiobus_readh]h__mdiobus_read}(hj:GhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6Gubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjGhhhj'GhMubj)}(h+(struct mii_bus *bus, int addr, u32 regnum)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjVGhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRGubj)}(h h]h }(hjcGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRGubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjtGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvGmodnameN classnameNjj!)}j$]j')}jjh]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRGubj%)}(hbush]hbus}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNGubj)}(hint addrh](j)}(hinth]hint}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj%)}(haddrh]haddr}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNGubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjHmodnameN classnameNjj!)}j$]jGc.__mdiobus_readasbuh1hhjGubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj%)}(hregnumh]hregnum}(hj,HhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNGubeh}(h]h ]h"]h$]h&]j<j=uh1jhjGhhhj'GhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjGhhhj'GhMubah}(h]j Gah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'GhMhjGhhubjS)}(hhh]jX)}(h-Unlocked version of the mdiobus_read functionh]h-Unlocked version of the mdiobus_read function}(hjVHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjSHhhubah}(h]h ]h"]h$]h&]uh1jRhjGhhhj'GhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjnHjxjnHjyjzj{uh1hhhhj]hNhNubj})}(hX **Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to read **Description** Read a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jX)}(h**Parameters**h]j)}(hjxHh]h Parameters}(hjzHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvHubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjrHubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjHh]hstruct mii_bus *bus}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjHubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjHubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjHh]hint addr}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjHubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjHhMhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjHubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hj Ih]h u32 regnum}(hj IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjIubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hj"IhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjIhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjHubeh}(h]h ]h"]h$]h&]uh1jhjrHubjX)}(h**Description**h]j)}(hjDIh]h Description}(hjFIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBIubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjrHubjX)}(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.}(hjZIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjrHubjX)}(h**NOTE**h]j)}(hjkIh]hNOTE}(hjmIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiIubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjrHubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjrHubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_write (C function)c.__mdiobus_writehNtauh1hhj]hhhNhNubh)}(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}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIhhhjIhMubj)}(h__mdiobus_writeh]j%)}(h__mdiobus_writeh]h__mdiobus_write}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjIhhhjIhMubj)}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj JhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj JmodnameN classnameNjj!)}j$]j')}jjIsbc.__mdiobus_writeasbuh1hhjIubj)}(h h]h }(hj+JhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hj9JhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hbush]hbus}(hjFJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(hint addrh](j)}(hinth]hint}(hj_JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[Jubj)}(h h]h }(hjmJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[Jubj%)}(haddrh]haddr}(hj{JhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[Jubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]j'Jc.__mdiobus_writeasbuh1hhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hregnumh]hregnum}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJmodnameN classnameNjj!)}j$]j'Jc.__mdiobus_writeasbuh1hhjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj%)}(hvalh]hval}(hj KhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubeh}(h]h ]h"]h$]h&]j<j=uh1jhjIhhhjIhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIhhhjIhMubah}(h]jIah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjIhMhjIhhubjS)}(hhh]jX)}(h.Unlocked version of the mdiobus_write functionh]h.Unlocked version of the mdiobus_write function}(hj5KhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj2Khhubah}(h]h ]h"]h$]h&]uh1jRhjIhhhjIhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjMKjxjMKjyjzj{uh1hhhhj]hNhNubj})}(hX:**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Description** Write a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jX)}(h**Parameters**h]j)}(hjWKh]h Parameters}(hjYKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUKubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjQKubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjvKh]hstruct mii_bus *bus}(hjxKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtKubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjpKubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjpKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjmKubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjKh]hint addr}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjKubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjmKubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjKh]h u32 regnum}(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)}(hregister number to writeh]hregister number to write}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjmKubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj!Lh]hu16 val}(hj#LhhhNhNubah}(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.chMhjLubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hj:LhhhNhNubj)}(h **regnum**h]hregnum}(hjBLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Lubeh}(h]h ]h"]h$]h&]uh1jWhj6LhMhj7Lubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhj6LhMhjmKubeh}(h]h ]h"]h$]h&]uh1jhjQKubjX)}(h**Description**h]j)}(hjjLh]h Description}(hjlLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhLubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjQKubjX)}(h>Write a MDIO bus register. Caller must hold the mdio bus lock.h]h>Write a MDIO bus register. Caller must hold the mdio bus lock.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjQKubjX)}(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.chMhjQKubjX)}(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.chMhjQKubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__mdiobus_modify_changed (C function)c.__mdiobus_modify_changedhNtauh1hhj]hhhNhNubh)}(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}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLhhhjLhMubj)}(h__mdiobus_modify_changedh]j%)}(h__mdiobus_modify_changedh]h__mdiobus_modify_changed}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjLhhhjLhMubj)}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjMubj)}(h h]h }(hj MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj1MhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.Mubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj3MmodnameN classnameNjj!)}j$]j')}jjLsbc.__mdiobus_modify_changedasbuh1hhjMubj)}(h h]h }(hjQMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj;)}(hj>h]h*}(hj_MhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjMubj%)}(hbush]hbus}(hjlMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Mubj)}(hint addrh](j)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj%)}(haddrh]haddr}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Mubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]jMMc.__mdiobus_modify_changedasbuh1hhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj%)}(hregnumh]hregnum}(hjMhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Mubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]jMMc.__mdiobus_modify_changedasbuh1hhjMubj)}(h h]h }(hj#NhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj%)}(hmaskh]hmask}(hj1NhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj Mubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjMNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjONmodnameN classnameNjj!)}j$]jMMc.__mdiobus_modify_changedasbuh1hhjFNubj)}(h h]h }(hjkNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFNubj%)}(hseth]hset}(hjyNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFNubeh}(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/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jRhjLhhhjLhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Description** Read, modify, and if any change, write the register value back to the device. Any error returns a negative number. **NOTE** MUST NOT be called from interrupt context.h](jX)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjNhhhNhNubah}(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.chMhjNubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjNh]hstruct mii_bus *bus}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjNubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjNubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjOh]hint addr}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjOubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj6OhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2OhMhj3Oubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhj2OhMhjNubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjVOh]h u32 regnum}(hjXOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTOubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjPOubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjoOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjkOhMhjlOubah}(h]h ]h"]h$]h&]uh1jhjPOubeh}(h]h ]h"]h$]h&]uh1jhjkOhMhjNubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjOh]hu16 mask}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjOubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjNubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjOh]hu16 set}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjOubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjNubeh}(h]h ]h"]h$]h&]uh1jhjNubjX)}(h**Description**h]j)}(hjPh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjNubjX)}(hrRead, modify, and if any change, write the register value back to the device. Any error returns a negative number.h]hrRead, modify, and if any change, write the register value back to the device. Any error returns a negative number.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjNubjX)}(h**NOTE**h]j)}(hj*Ph]hNOTE}(hj,PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(Pubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi: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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_c45_read (C function)c.__mdiobus_c45_readhNtauh1hhj]hhhNhNubh)}(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}(hjoPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkPhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj~PhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkPhhhj}PhMubj)}(h__mdiobus_c45_readh]j%)}(h__mdiobus_c45_readh]h__mdiobus_c45_read}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjkPhhhj}PhMubj)}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)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')}jjPsbc.__mdiobus_c45_readasbuh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPubj%)}(hbush]hbus}(hjQhhhNhNubah}(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&]uh1jhjQubj)}(h h]h }(hj,QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(haddrh]haddr}(hj:QhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubj)}(h int devadh](j)}(hinth]hint}(hjSQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOQubj)}(h h]h }(hjaQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOQubj%)}(hdevadh]hdevad}(hjoQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]jPc.__mdiobus_c45_readasbuh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj%)}(hregnumh]hregnum}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjPubeh}(h]h ]h"]h$]h&]j<j=uh1jhjkPhhhj}PhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjgPhhhj}PhMubah}(h]jbPah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}PhMhjdPhhubjS)}(hhh]jX)}(h1Unlocked version of the mdiobus_c45_read functionh]h1Unlocked version of the mdiobus_c45_read function}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjQhhubah}(h]h ]h"]h$]h&]uh1jRhjdPhhhj}PhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjQjxjQjyjzj{uh1hhhhj]hNhNubj})}(hX4**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to read **Description** Read a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jX)}(h**Parameters**h]j)}(hjRh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjQubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj"Rh]hstruct mii_bus *bus}(hj$RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Rubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjRubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj;RhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj7RhMhj8Rubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhj7RhMhjRubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj[Rh]hint addr}(hj]RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYRubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjURubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjtRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjpRhMhjqRubah}(h]h ]h"]h$]h&]uh1jhjURubeh}(h]h ]h"]h$]h&]uh1jhjpRhMhjRubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjRh]h int devad}(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)}(hdevice address to readh]hdevice address to read}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjRubj)}(h'``u32 regnum`` register number to read 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 readh]hregister number to read}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjRubeh}(h]h ]h"]h$]h&]uh1jhjQubjX)}(h**Description**h]j)}(hjSh]h Description}(hj ShhhNhNubah}(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.chMhjQubjX)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjQubjX)}(h**NOTE**h]j)}(hj/Sh]hNOTE}(hj1ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Subah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjQubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjEShhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __mdiobus_c45_write (C function)c.__mdiobus_c45_writehNtauh1hhj]hhhNhNubh)}(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}(hjtShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpShhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM1ubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpShhhjShM1ubj)}(h__mdiobus_c45_writeh]j%)}(h__mdiobus_c45_writeh]h__mdiobus_c45_write}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjpShhhjShM1ubj)}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j')}jjSsbc.__mdiobus_c45_writeasbuh1hhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjSubj%)}(hbush]hbus}(hj ThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(hint addrh](j)}(hinth]hint}(hj#ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj)}(h h]h }(hj1ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(haddrh]haddr}(hj?ThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(h int devadh](j)}(hinth]hint}(hjXThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTTubj)}(h h]h }(hjfThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTTubj%)}(hdevadh]hdevad}(hjtThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]jSc.__mdiobus_c45_writeasbuh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(hregnumh]hregnum}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjTmodnameN classnameNjj!)}j$]jSc.__mdiobus_c45_writeasbuh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj%)}(hvalh]hval}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjTubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSubeh}(h]h ]h"]h$]h&]j<j=uh1jhjpShhhjShM1ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjlShhhjShM1ubah}(h]jgSah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjShM1hjiShhubjS)}(hhh]jX)}(h.Unlocked version of the mdiobus_write functionh]h.Unlocked version of the mdiobus_write function}(hj.UhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM1hj+Uhhubah}(h]h ]h"]h$]h&]uh1jRhjiShhhjShM1ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjFUjxjFUjyjzj{uh1hhhhj]hNhNubj})}(hXb**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Description** Write a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jX)}(h**Parameters**h]j)}(hjPUh]h Parameters}(hjRUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNUubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM5hjJUubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjoUh]hstruct mii_bus *bus}(hjqUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmUubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM2hjiUubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhM2hjUubah}(h]h ]h"]h$]h&]uh1jhjiUubeh}(h]h ]h"]h$]h&]uh1jhjUhM2hjfUubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjUh]hint addr}(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.chM3hjUubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhM3hjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhM3hjfUubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjUh]h int devad}(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.chM4hjUubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhM4hjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhM4hjfUubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjVh]h u32 regnum}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM5hjVubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hj3VhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj/VhM5hj0Vubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhj/VhM5hjfUubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjSVh]hu16 val}(hjUVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQVubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM6hjMVubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjlVhhhNhNubj)}(h **regnum**h]hregnum}(hjtVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlVubeh}(h]h ]h"]h$]h&]uh1jWhjhVhM6hjiVubah}(h]h ]h"]h$]h&]uh1jhjMVubeh}(h]h ]h"]h$]h&]uh1jhjhVhM6hjfUubeh}(h]h ]h"]h$]h&]uh1jhjJUubjX)}(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.chM8hjJUubjX)}(h>Write a MDIO bus register. Caller must hold the mdio bus lock.h]h>Write a MDIO bus register. Caller must hold the mdio bus lock.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM7hjJUubjX)}(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.chM9hjJUubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM:hjJUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h mdiobus_read_nested (C function)c.mdiobus_read_nestedhNtauh1hhj]hhhNhNubh)}(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}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMtubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjWhMtubj)}(hmdiobus_read_nestedh]j%)}(hmdiobus_read_nestedh]hmdiobus_read_nested}(hj)WhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%Wubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjWhMtubj)}(h+(struct mii_bus *bus, int addr, u32 regnum)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjEWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAWubj)}(h h]h }(hjRWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAWubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjcWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`Wubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjeWmodnameN classnameNjj!)}j$]j')}jj+Wsbc.mdiobus_read_nestedasbuh1hhjAWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAWubj;)}(hj>h]h*}(hjWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAWubj%)}(hbush]hbus}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=Wubj)}(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}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=Wubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjWmodnameN classnameNjj!)}j$]jWc.mdiobus_read_nestedasbuh1hhjWubj)}(h h]h }(hj XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj%)}(hregnumh]hregnum}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=Wubeh}(h]h ]h"]h$]h&]j<j=uh1jhjWhhhjWhMtubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjWhMtubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjWhMthjVhhubjS)}(hhh]jX)}(h+Nested version of the mdiobus_read functionh]h+Nested version of the mdiobus_read function}(hjEXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMthjBXhhubah}(h]h ]h"]h$]h&]uh1jRhjVhhhjWhMtubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]Xjxj]Xjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to read **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjgXh]h Parameters}(hjiXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeXubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMxhjaXubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjXh]hstruct mii_bus *bus}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMuhjXubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhMuhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMuhj}Xubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjXh]hint addr}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMvhjXubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjXhMvhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMvhj}Xubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjXh]h u32 regnum}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMwhjXubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj YhMwhjYubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhj YhMwhj}Xubeh}(h]h ]h"]h$]h&]uh1jhjaXubjX)}(h**Description**h]j)}(hj3Yh]h Description}(hj5YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1Yubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMyhjaXubjX)}(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().}(hjIYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMxhjaXubjX)}(h**NOTE**h]j)}(hjZYh]hNOTE}(hj\YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXYubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM{hjaXubjX)}(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.}(hjpYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM|hjaXubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_read (C function)c.mdiobus_readhNtauh1hhj]hhhNhNubh)}(hhh](h)}(hh]h*}(hj(ZhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjYubj%)}(hbush]hbus}(hj5ZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(hint addrh](j)}(hinth]hint}(hjNZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJZubj)}(h h]h }(hj\ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJZubj%)}(haddrh]haddr}(hjjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjZmodnameN classnameNjj!)}j$]jZc.mdiobus_readasbuh1hhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj%)}(hregnumh]hregnum}(hjZhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjYubeh}(h]h ]h"]h$]h&]j<j=uh1jhjYhhhjYhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYhhhjYhMubah}(h]jYah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYhMhjYhhubjS)}(hhh]jX)}(h:Convenience function for reading a given MII mgmt registerh]h:Convenience function for reading a given MII mgmt register}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jRhjYhhhjYhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjZjxjZjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to read **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjZh]h Parameters}(hj[hhhNhNubah}(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.chMhjZubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj[h]hstruct mii_bus *bus}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj[ubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj6[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj2[hMhj3[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj2[hMhj[ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjV[h]hint addr}(hjX[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT[ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjP[ubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjo[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjk[hMhjl[ubah}(h]h ]h"]h$]h&]uh1jhjP[ubeh}(h]h ]h"]h$]h&]uh1jhjk[hMhj[ubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hj[h]h u32 regnum}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj[ubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj[ubeh}(h]h ]h"]h$]h&]uh1jhjZubjX)}(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.chMhjZubjX)}(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.chMhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_read (C function)c.mdiobus_c45_readhNtauh1hhj]hhhNhNubh)}(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}(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)}(hmdiobus_c45_readh]j%)}(hmdiobus_c45_readh]hmdiobus_c45_read}(hj0\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,\ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj \hhhj\hMubj)}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjL\hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjH\ubj)}(h h]h }(hjY\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH\ubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjg\ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjl\modnameN classnameNjj!)}j$]j')}jj2\sbc.mdiobus_c45_readasbuh1hhjH\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH\ubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjH\ubj%)}(hbush]hbus}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjH\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjD\ubj)}(hint addrh](j)}(hinth]hint}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj%)}(haddrh]haddr}(hj\hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjD\ubj)}(h int devadh](j)}(hinth]hint}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj%)}(hdevadh]hdevad}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjD\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_readasbuh1hhj$]ubj)}(h h]h }(hjI]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$]ubj%)}(hregnumh]hregnum}(hjW]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjD\ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj \hhhj\hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\hhhj\hMubah}(h]j\ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj\hMhj\hhubjS)}(hhh]jX)}(h: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.chMhj~]hhubah}(h]h ]h"]h$]h&]uh1jRhj\hhhj\hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]jxj]jyjzj{uh1hhhhj]hNhNubj})}(hX>**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to read **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hj]h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj]ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj]h]hstruct mii_bus *bus}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj]ubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj]hMhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj]ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj]h]hint addr}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj]ubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj]ubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hj4^h]h int devad}(hj6^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2^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}(hjM^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjI^hMhjJ^ubah}(h]h ]h"]h$]h&]uh1jhj.^ubeh}(h]h ]h"]h$]h&]uh1jhjI^hMhj]ubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjm^h]h u32 regnum}(hjo^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk^ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjg^ubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjg^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: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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$mdiobus_c45_read_nested (C function)c.mdiobus_c45_read_nestedhNtauh1hhj]hhhNhNubh)}(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}(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)}(hmdiobus_c45_read_nestedh]j%)}(hmdiobus_c45_read_nestedh]hmdiobus_c45_read_nested}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj _ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj^hhhj^hMubj)}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj*_hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj&_ubj)}(h h]h }(hj7_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&_ubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjH_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjE_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjJ_modnameN classnameNjj!)}j$]j')}jj_sbc.mdiobus_c45_read_nestedasbuh1hhj&_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%)}(hbush]hbus}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"_ubj)}(hint addrh](j)}(hinth]hint}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj%)}(haddrh]haddr}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"_ubj)}(h int devadh](j)}(hinth]hint}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj%)}(hdevadh]hdevad}(hj_hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj"_ubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj `hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj `modnameN classnameNjj!)}j$]jd_c.mdiobus_c45_read_nestedasbuh1hhj`ubj)}(h h]h }(hj'`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj%)}(hregnumh]hregnum}(hj5`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/Nested version of the mdiobus_c45_read functionh]h/Nested version of the mdiobus_c45_read function}(hj_`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj\`hhubah}(h]h ]h"]h$]h&]uh1jRhj^hhhj^hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjw`jxjw`jyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to read **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hj`h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj{`ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj`h]hstruct mii_bus *bus}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj`ubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj`ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj`h]hint addr}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj`ubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`hMhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj`ubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjah]h int devad}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj aubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hj+ahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'ahMhj(aubah}(h]h ]h"]h$]h&]uh1jhj aubeh}(h]h ]h"]h$]h&]uh1jhj'ahMhj`ubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjKah]h u32 regnum}(hjMahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIaubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjEaubj)}(hhh]jX)}(hregister number to readh]hregister number to read}(hjdahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`ahMhjaaubah}(h]h ]h"]h$]h&]uh1jhjEaubeh}(h]h ]h"]h$]h&]uh1jhj`ahMhj`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: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().}(hjahhhNhNubah}(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)}(hjah]hNOTE}(hjahhhNhNubah}(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.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.}(hjahhhNhNubah}(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]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mdiobus_write_nested (C function)c.mdiobus_write_nestedhNtauh1hhj]hhhNhNubh)}(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}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjbhMubj)}(hmdiobus_write_nestedh]j%)}(hmdiobus_write_nestedh]hmdiobus_write_nested}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjahhhjbhMubj)}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj/bhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj+bubj)}(h h]h }(hjh]h*}(hj{bhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+bubj%)}(hbush]hbus}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+bubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'bubj)}(hint addrh](j)}(hinth]hint}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj%)}(haddrh]haddr}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'bubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjbmodnameN classnameNjj!)}j$]jibc.mdiobus_write_nestedasbuh1hhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj%)}(hregnumh]hregnum}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'bubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj!chhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#cmodnameN classnameNjj!)}j$]jibc.mdiobus_write_nestedasbuh1hhjcubj)}(h h]h }(hj?chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj%)}(hvalh]hval}(hjMchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj'bubeh}(h]h ]h"]h$]h&]j<j=uh1jhjahhhjbhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjahhhjbhMubah}(h]jaah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjbhMhjahhubjS)}(hhh]jX)}(h,Nested version of the mdiobus_write functionh]h,Nested version of the mdiobus_write function}(hjwchhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjtchhubah}(h]h ]h"]h$]h&]uh1jRhjahhhjbhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjcjxjcjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjcubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjch]hstruct mii_bus *bus}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjcubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjchMhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMhjcubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjch]hint addr}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjcubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj dhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjcubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj*dh]h u32 regnum}(hj,dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(dubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj$dubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjCdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?dhMhj@dubah}(h]h ]h"]h$]h&]uh1jhj$dubeh}(h]h ]h"]h$]h&]uh1jhj?dhMhjcubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjcdh]hu16 val}(hjedhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjadubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj]dubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hj|dhhhNhNubj)}(h **regnum**h]hregnum}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|dubeh}(h]h ]h"]h$]h&]uh1jWhjxdhMhjydubah}(h]h ]h"]h$]h&]uh1jhj]dubeh}(h]h ]h"]h$]h&]uh1jhjxdhMhjcubeh}(h]h ]h"]h$]h&]uh1jhjcubjX)}(h**Description**h]j)}(hjdh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjcubjX)}(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().}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjcubjX)}(h**NOTE**h]j)}(hjdh]hNOTE}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjcubjX)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_write (C function)c.mdiobus_writehNtauh1hhj]hhhNhNubh)}(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}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj'ehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhj&ehMubj)}(h mdiobus_writeh]j%)}(h mdiobus_writeh]h mdiobus_write}(hj9ehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5eubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjehhhj&ehMubj)}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjUehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQeubj)}(h h]h }(hjbehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQeubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjsehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjuemodnameN classnameNjj!)}j$]j')}jj;esbc.mdiobus_writeasbuh1hhjQeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQeubj;)}(hj>h]h*}(hjehhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQeubj%)}(hbush]hbus}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMeubj)}(hint addrh](j)}(hinth]hint}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj%)}(haddrh]haddr}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMeubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]jec.mdiobus_writeasbuh1hhjeubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj%)}(hregnumh]hregnum}(hj+fhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMeubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjGfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDfubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjIfmodnameN classnameNjj!)}j$]jec.mdiobus_writeasbuh1hhj@fubj)}(h h]h }(hjefhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@fubj%)}(hvalh]hval}(hjsfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@fubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMeubeh}(h]h ]h"]h$]h&]j<j=uh1jhjehhhj&ehMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhj&ehMubah}(h]j eah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&ehMhj ehhubjS)}(hhh]jX)}(h:Convenience function for writing a given MII mgmt registerh]h:Convenience function for writing a given MII mgmt register}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjfhhubah}(h]h ]h"]h$]h&]uh1jRhj ehhhj&ehMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjfjxjfjyjzj{uh1hhhhj]hNhNubj})}(hXC**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hjfh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjfubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjfh]hstruct mii_bus *bus}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjfubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfhMhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjfubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjgh]hint addr}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjgubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj0ghhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,ghMhj-gubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhj,ghMhjfubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjPgh]h u32 regnum}(hjRghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNgubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjJgubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjighhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjeghMhjfgubah}(h]h ]h"]h$]h&]uh1jhjJgubeh}(h]h ]h"]h$]h&]uh1jhjeghMhjfubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjgh]hu16 val}(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.chMhjgubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjghhhNhNubj)}(h **regnum**h]hregnum}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jWhjghMhjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMhjfubeh}(h]h ]h"]h$]h&]uh1jhjfubjX)}(h**NOTE**h]j)}(hjgh]hNOTE}(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.chMhjfubjX)}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_write (C function)c.mdiobus_c45_writehNtauh1hhj]hhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hj&hhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhhj%hhMubj)}(hmdiobus_c45_writeh]j%)}(hmdiobus_c45_writeh]hmdiobus_c45_write}(hj8hhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj4hubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhhj%hhMubj)}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjThhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjPhubj)}(h h]h }(hjahhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjrhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjohubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjthmodnameN classnameNjj!)}j$]j')}jj:hsbc.mdiobus_c45_writeasbuh1hhjPhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPhubj;)}(hj>h]h*}(hjhhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjPhubj%)}(hbush]hbus}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLhubj)}(hint addrh](j)}(hinth]hint}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(haddrh]haddr}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLhubj)}(h int devadh](j)}(hinth]hint}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(h h]h }(hj ihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj%)}(hdevadh]hdevad}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLhubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hj3ihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0iubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5imodnameN classnameNjj!)}j$]jhc.mdiobus_c45_writeasbuh1hhj,iubj)}(h h]h }(hjQihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,iubj%)}(hregnumh]hregnum}(hj_ihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj,iubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLhubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hj{ihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}imodnameN classnameNjj!)}j$]jhc.mdiobus_c45_writeasbuh1hhjtiubj)}(h h]h }(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtiubj%)}(hvalh]hval}(hjihhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtiubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjLhubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhhj%hhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhhj%hhMubah}(h]j hah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj%hhMhj hhhubjS)}(hhh]jX)}(h:Convenience function for writing a given MII mgmt registerh]h:Convenience function for writing a given MII mgmt register}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjihhubah}(h]h ]h"]h$]h&]uh1jRhj hhhhj%hhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjijxjijyjzj{uh1hhhhj]hNhNubj})}(hXk**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(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.chM hjiubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjjh]hstruct mii_bus *bus}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj jubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj+jhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj'jhMhj(jubah}(h]h ]h"]h$]h&]uh1jhj jubeh}(h]h ]h"]h$]h&]uh1jhj'jhMhj jubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjKjh]hint addr}(hjMjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjEjubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjdjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`jhMhjajubah}(h]h ]h"]h$]h&]uh1jhjEjubeh}(h]h ]h"]h$]h&]uh1jhj`jhMhj jubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjjh]h int devad}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM hj~jubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhM hjjubah}(h]h ]h"]h$]h&]uh1jhj~jubeh}(h]h ]h"]h$]h&]uh1jhjjhM hj jubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjjh]h u32 regnum}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM hjjubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhM hjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhM hj jubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjjh]hu16 val}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM hjjubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hjkhhhNhNubj)}(h **regnum**h]hregnum}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jWhj khM hj kubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhj khM hj jubeh}(h]h ]h"]h$]h&]uh1jhjiubjX)}(h**NOTE**h]j)}(hj?kh]hNOTE}(hjAkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=kubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM hjiubjX)}(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.}(hjUkhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM hjiubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%mdiobus_c45_write_nested (C function)c.mdiobus_c45_write_nestedhNtauh1hhj]hhhNhNubh)}(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}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhhjkhMubj)}(hmdiobus_c45_write_nestedh]j%)}(hmdiobus_c45_write_nestedh]hmdiobus_c45_write_nested}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjkhhhjkhMubj)}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjkhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjkmodnameN classnameNjj!)}j$]j')}jjksbc.mdiobus_c45_write_nestedasbuh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj;)}(hj>h]h*}(hj lhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjkubj%)}(hbush]hbus}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjkubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(hint addrh](j)}(hinth]hint}(hj3lhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/lubj)}(h h]h }(hjAlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/lubj%)}(haddrh]haddr}(hjOlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/lubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(h int devadh](j)}(hinth]hint}(hjhlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdlubj)}(h h]h }(hjvlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdlubj%)}(hdevadh]hdevad}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]jkc.mdiobus_c45_write_nestedasbuh1hhjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj%)}(hregnumh]hregnum}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubj)}(hu16 valh](h)}(hhh]j%)}(hu16h]hu16}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjlmodnameN classnameNjj!)}j$]jkc.mdiobus_c45_write_nestedasbuh1hhjlubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj%)}(hvalh]hval}(hjmhhhNhNubah}(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=jDuh1hjEjFhj|khhhjkhMubah}(h]jwkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkhMhjykhhubjS)}(hhh]jX)}(h0Nested version of the mdiobus_c45_write functionh]h0Nested version of the mdiobus_c45_write function}(hj>mhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj;mhhubah}(h]h ]h"]h$]h&]uh1jRhjykhhhjkhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjVmjxjVmjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jX)}(h**Parameters**h]j)}(hj`mh]h Parameters}(hjbmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^mubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM#hjZmubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjmh]hstruct mii_bus *bus}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}mubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM hjymubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhM hjmubah}(h]h ]h"]h$]h&]uh1jhjymubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjvmubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjmh]hint addr}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM!hjmubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhM!hjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhM!hjvmubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjmh]h int devad}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM"hjmubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hj nhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhM"hjnubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjnhM"hjvmubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj*nh]h u32 regnum}(hj,nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(nubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM#hj$nubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjCnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj?nhM#hj@nubah}(h]h ]h"]h$]h&]uh1jhj$nubeh}(h]h ]h"]h$]h&]uh1jhj?nhM#hjvmubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjcnh]hu16 val}(hjenhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjanubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM$hj]nubj)}(hhh]jX)}(hvalue to write to **regnum**h](hvalue to write to }(hj|nhhhNhNubj)}(h **regnum**h]hregnum}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|nubeh}(h]h ]h"]h$]h&]uh1jWhjxnhM$hjynubah}(h]h ]h"]h$]h&]uh1jhj]nubeh}(h]h ]h"]h$]h&]uh1jhjxnhM$hjvmubeh}(h]h ]h"]h$]h&]uh1jhjZmubjX)}(h**Description**h]j)}(hjnh]h Description}(hjnhhhNhNubah}(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.chM&hjZmubjX)}(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().}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM%hjZmubjX)}(h**NOTE**h]j)}(hjnh]hNOTE}(hjnhhhNhNubah}(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.chM(hjZmubjX)}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM)hjZmubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_modify (C function)c.mdiobus_modifyhNtauh1hhj]hhhNhNubh)}(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}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMOubj)}(h h]h }(hj'ohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhj&ohMOubj)}(hmdiobus_modifyh]j%)}(hmdiobus_modifyh]hmdiobus_modify}(hj9ohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5oubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjohhhj&ohMOubj)}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjUohhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQoubj)}(h h]h }(hjbohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQoubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjsohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjuomodnameN classnameNjj!)}j$]j')}jj;osbc.mdiobus_modifyasbuh1hhjQoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQoubj;)}(hj>h]h*}(hjohhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQoubj%)}(hbush]hbus}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMoubj)}(hint addrh](j)}(hinth]hint}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj%)}(haddrh]haddr}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMoubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]joc.mdiobus_modifyasbuh1hhjoubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj%)}(hregnumh]hregnum}(hj+phhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMoubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjGphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjIpmodnameN classnameNjj!)}j$]joc.mdiobus_modifyasbuh1hhj@pubj)}(h h]h }(hjephhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@pubj%)}(hmaskh]hmask}(hjsphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@pubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMoubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjpmodnameN classnameNjj!)}j$]joc.mdiobus_modifyasbuh1hhjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj%)}(hseth]hset}(hjphhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjMoubeh}(h]h ]h"]h$]h&]j<j=uh1jhjohhhj&ohMOubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjohhhj&ohMOubah}(h]j oah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj&ohMOhj ohhubjS)}(hhh]jX)}(h?Convenience function for modifying a given mdio device registerh]h?Convenience function for modifying a given mdio device register}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMOhjphhubah}(h]h ]h"]h$]h&]uh1jRhj ohhhj&ohMOubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjpjxjpjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to seth](jX)}(h**Parameters**h]j)}(hjqh]h Parameters}(hj qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMShjqubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj&qh]hstruct mii_bus *bus}(hj(qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$qubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMQhj qubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj?qhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;qhMQhjh]h*}(hjrhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjrubj%)}(hbush]hbus}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjrubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(hint addrh](j)}(hinth]hint}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj)}(h h]h }(hj!shhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj%)}(haddrh]haddr}(hj/shhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(h int devadh](j)}(hinth]hint}(hjHshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDsubj)}(h h]h }(hjVshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDsubj%)}(hdevadh]hdevad}(hjdshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}subah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]jrc.mdiobus_c45_modifyasbuh1hhjysubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjysubj%)}(hregnumh]hregnum}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjysubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjsmodnameN classnameNjj!)}j$]jrc.mdiobus_c45_modifyasbuh1hhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj%)}(hmaskh]hmask}(hjshhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjrubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj tubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtmodnameN classnameNjj!)}j$]jrc.mdiobus_c45_modifyasbuh1hhj tubj)}(h h]h }(hj.thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj tubj%)}(hseth]hset}(hj(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj[vhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjWvubj)}(h h]h }(hjhvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWvubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjyvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvvubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj{vmodnameN classnameNjj!)}j$]j')}jjAvsbc.mdiobus_modify_changedasbuh1hhjWvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWvubj;)}(hj>h]h*}(hjvhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjWvubj%)}(hbush]hbus}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSvubj)}(hint addrh](j)}(hinth]hint}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj%)}(haddrh]haddr}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSvubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]jvc.mdiobus_modify_changedasbuh1hhjvubj)}(h h]h }(hj#whhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj%)}(hregnumh]hregnum}(hj1whhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjvubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSvubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjMwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjOwmodnameN classnameNjj!)}j$]jvc.mdiobus_modify_changedasbuh1hhjFwubj)}(h h]h }(hjkwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFwubj%)}(hmaskh]hmask}(hjywhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSvubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjwmodnameN classnameNjj!)}j$]jvc.mdiobus_modify_changedasbuh1hhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj%)}(hseth]hset}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjSvubeh}(h]h ]h"]h$]h&]j<j=uh1jhjvhhhj,vhM|ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjvhhhj,vhM|ubah}(h]jvah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj,vhM|hjvhhubjS)}(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}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM|hjwhhubah}(h]h ]h"]h$]h&]uh1jRhjvhhhj,vhM|ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjxjxjxjyjzj{uh1hhhhj]hNhNubj})}(h**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to seth](jX)}(h**Parameters**h]j)}(hj xh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj xubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjxubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj,xh]hstruct mii_bus *bus}(hj.xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*xubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM~hj&xubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjExhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAxhM~hjBxubah}(h]h ]h"]h$]h&]uh1jhj&xubeh}(h]h ]h"]h$]h&]uh1jhjAxhM~hj#xubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjexh]hint addr}(hjgxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcxubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj_xubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj~xhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjzxhMhj{xubah}(h]h ]h"]h$]h&]uh1jhj_xubeh}(h]h ]h"]h$]h&]uh1jhjzxhMhj#xubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjxh]h u32 regnum}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjxubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhj#xubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjxh]hu16 mask}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjxubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjxhMhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhj#xubj)}(h#``u16 set`` bit mask of bits to seth](j)}(h ``u16 set``h]j)}(hjyh]hu16 set}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj yubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hj)yhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj&yubah}(h]h ]h"]h$]h&]uh1jhj yubeh}(h]h ]h"]h$]h&]uh1jhj%yhMhj#xubeh}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'mdiobus_c45_modify_changed (C function)c.mdiobus_c45_modify_changedhNtauh1hhj]hhhNhNubh)}(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}(hjjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfyhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj)}(h h]h }(hjyyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfyhhhjxyhMubj)}(hmdiobus_c45_modify_changedh]j%)}(hmdiobus_c45_modify_changedh]hmdiobus_c45_modify_changed}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjfyhhhjxyhMubj)}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hjyhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j')}jjysbc.mdiobus_c45_modify_changedasbuh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj;)}(hj>h]h*}(hjyhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjyubj%)}(hbush]hbus}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjyubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(hint addrh](j)}(hinth]hint}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj)}(h h]h }(hj'zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj%)}(haddrh]haddr}(hj5zhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(h int devadh](j)}(hinth]hint}(hjNzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJzubj)}(h h]h }(hj\zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJzubj%)}(hdevadh]hdevad}(hjjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(h u32 regnumh](h)}(hhh]j%)}(hu32h]hu32}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]jyc.mdiobus_c45_modify_changedasbuh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj%)}(hregnumh]hregnum}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjzmodnameN classnameNjj!)}j$]jyc.mdiobus_c45_modify_changedasbuh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj%)}(hmaskh]hmask}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubj)}(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$]jyc.mdiobus_c45_modify_changedasbuh1hhj{ubj)}(h h]h }(hj4{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj%)}(hseth]hset}(hjB{hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubeh}(h]h ]h"]h$]h&]j<j=uh1jhjfyhhhjxyhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjbyhhhjxyhMubah}(h]j]yah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjxyhMhj_yhhubjS)}(hhh]jX)}(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}(hjl{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhji{hhubah}(h]h ]h"]h$]h&]uh1jRhj_yhhhjxyhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj{jxj{jyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to write ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to seth](jX)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj{ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj{h]hstruct mii_bus *bus}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj{ubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hMhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj{ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj{h]hint addr}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj{ubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj{hMhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj{ubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hj|h]h int devad}(hj!|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj|ubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hj8|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4|hMhj5|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj4|hMhj{ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjX|h]h u32 regnum}(hjZ|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV|ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjR|ubj)}(hhh]jX)}(hregister number to writeh]hregister number to write}(hjq|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjm|hMhjn|ubah}(h]h ]h"]h$]h&]uh1jhjR|ubeh}(h]h ]h"]h$]h&]uh1jhjm|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:134: ./drivers/net/phy/mdio_bus.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)}(h#``u16 set`` bit mask of bits to seth](j)}(h ``u16 set``h]j)}(hj|h]hu16 set}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj|ubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_release (C function)c.mdiobus_releasehNtauh1hhj]hhhNhNubh)}(hhh](h)}(h'void mdiobus_release (struct device *d)h]h)}(h&void mdiobus_release(struct device *d)h](j)}(hvoidh]hvoid}(hj$}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj }hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKubj)}(h h]h }(hj3}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj }hhhj2}hKubj)}(hmdiobus_releaseh]j%)}(hmdiobus_releaseh]hmdiobus_release}(hjE}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjA}ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj }hhhj2}hKubj)}(h(struct device *d)h]j)}(hstruct device *dh](h)}(hjh]hstruct}(hja}hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj]}ubj)}(h h]h }(hjn}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]}ubh)}(hhh]j%)}(hdeviceh]hdevice}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|}ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj}modnameN classnameNjj!)}j$]j')}jjG}sbc.mdiobus_releaseasbuh1hhj]}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]}ubj;)}(hj>h]h*}(hj}hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj]}ubj%)}(hjkh]hd}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjY}ubah}(h]h ]h"]h$]h&]j<j=uh1jhj }hhhj2}hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhj2}hKubah}(h]j}ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj2}hKhj}hhubjS)}(hhh]jX)}(hmii_bus device release callbackh]hmii_bus device release callback}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhj}hhubah}(h]h ]h"]h$]h&]uh1jRhj}hhhj2}hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj}jxj}jyjzj{uh1hhhhj]hNhNubj})}(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.chKhj}ubj)}(hhh]j)}(hH``struct device *d`` the target struct device that contains the mii_bus h](j)}(h``struct device *d``h]j)}(hj$~h]hstruct device *d}(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.chKhj~ubj)}(hhh]jX)}(h2the target struct device that contains the mii_bush]h2the target struct device that contains the mii_bus}(hj=~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9~hKhj:~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj9~hKhj~ubah}(h]h ]h"]h$]h&]uh1jhj}ubjX)}(h**Description**h]j)}(hj_~h]h Description}(hja~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]~ubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhj}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.}(hju~hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)__mdiobus_c45_modify_changed (C function)c.__mdiobus_c45_modify_changedhNtauh1hhj]hhhNhNubh)}(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}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMSubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~hhhj~hMSubj)}(h__mdiobus_c45_modify_changedh]j%)}(h__mdiobus_c45_modify_changedh]h__mdiobus_c45_modify_changed}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj~hhhj~hMSubj)}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j)}(hstruct mii_bus *bush](h)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj~ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubh)}(hhh]j%)}(hmii_bush]hmii_bus}(hj~hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN 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*}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj~ubj%)}(hbush]hbus}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hint addrh](j)}(hinth]hint}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj%)}(haddrh]haddr}(hjohhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(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.__mdiobus_c45_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=uh1jhj~ubj)}(hu16 maskh](h)}(hhh]j%)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj modnameN classnameNjj!)}j$]jc.__mdiobus_c45_modify_changedasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmaskh]hmask}(hj4hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubj)}(hu16 seth](h)}(hhh]j%)}(hu16h]hu16}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]jc.__mdiobus_c45_modify_changedasbuh1hhjIubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj%)}(hseth]hset}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj~ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj~hhhj~hMSubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~hhhj~hMSubah}(h]j~ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj~hMShj~hhubjS)}(hhh]jX)}(h/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMShjhhubah}(h]h ]h"]h$]h&]uh1jRhj~hhhj~hMSubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Description** Read, modify, and if any change, write the register value back to the device. Any error returns a negative number. **NOTE** MUST NOT be called from interrupt context.h](jX)}(h**Parameters**h]j)}(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.chMWhj€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:137: ./drivers/net/phy/mdio_bus.chMThjubj)}(hhh]jX)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjހ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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMUhjubj)}(hhh]jX)}(hthe phy addressh]hthe phy address}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hMUhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMUhjހubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjYh]h int devad}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMVhjSubj)}(hhh]jX)}(hdevice address to readh]hdevice address to read}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMVhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMVhjހubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMWhjubj)}(hhh]jX)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjހ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:137: ./drivers/net/phy/mdio_bus.chMXhjŁubj)}(hhh]jX)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjŁubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjހubj)}(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:137: ./drivers/net/phy/mdio_bus.chMYhjubj)}(hhh]jX)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjހubeh}(h]h ]h"]h$]h&]uh1jhj€ubjX)}(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:137: ./drivers/net/phy/mdio_bus.chM[hj€ubjX)}(hrRead, modify, and if any change, write the register value back to the device. Any error returns a negative number.h]hrRead, modify, and if any change, write the register value back to the device. Any error returns a negative number.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMZhj€ubjX)}(h**NOTE**h]j)}(hjfh]hNOTE}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chM]hj€ubjX)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chM^hj€ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdio_bus_match (C function)c.mdio_bus_matchhNtauh1hhj]hhhNhNubh)}(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}(hĵhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjȂubah}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj΂sbc.mdio_bus_matchasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj4hhhNhNubah}(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)}(hconst struct device_driver *drvh](h)}(hjh]hconst}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(h device_driverh]h device_driver}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j"c.mdio_bus_matchasbuh1hhjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hdrvh]hdrv}(hj̃hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(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=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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj]hNhNubj})}(hXv**Parameters** ``struct device *dev`` target MDIO device ``const struct device_driver *drv`` given MDIO driver **Description** Given a MDIO device, and a MDIO driver, return 1 if the driver supports the device. Otherwise, return 0. This may require calling the devices own match function, since different classes of MDIO devices have different match criteria.h](jX)}(h**Parameters**h]j)}(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)}(hj7h]hstruct device *dev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhj1ubj)}(hhh]jX)}(htarget MDIO deviceh]htarget MDIO device}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhj.ubj)}(h6``const struct device_driver *drv`` given MDIO driver h](j)}(h#``const struct device_driver *drv``h]j)}(hjph]hconst struct device_driver *drv}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjjubj)}(hhh]jX)}(hgiven MDIO driverh]hgiven MDIO driver}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(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:137: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]j)}(hGiven a MDIO device, and a MDIO driver, return 1 if the driver supports the device. Otherwise, return 0. This may require calling the devices own match function, since different classes of MDIO devices have different match criteria.h](j)}(h3Given a MDIO device, and a MDIO driver, return 1 ifh]h3Given a MDIO device, and a MDIO driver, return 1 if}(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)}(hthe driver supports the device. Otherwise, return 0. This may require calling the devices own match function, since different classes of MDIO devices have different match criteria.h]hthe driver supports the device. Otherwise, return 0. This may require calling the devices own match function, since different classes of MDIO devices have different match criteria.}(hjڄhhhNhNubah}(h]h ]h"]h$]h&]uh1jWh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjׄubah}(h]h ]h"]h$]h&]uh1jhjĄubeh}(h]h ]h"]h$]h&]uh1jhjքhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj]hhhNhNubeh}(h] phy-supportah ]h"] phy supportah$]h&]uh1hhjŒhhhhhKoubh)}(hhh](h)}(hPHYLINKh]hPHYLINK}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhKubj )}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhhhKhjubah}(h]h ]h"]h$]h&]uh1j hhhKhj hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_link_state (C struct)c.phylink_link_statehNtauh1hhj hhhNhNubh)}(hhh](h)}(hphylink_link_stateh]h)}(hstruct phylink_link_stateh](h)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj)}(h h]h }(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhhjYhKubj)}(hphylink_link_stateh]j%)}(hjFh]hphylink_link_state}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjHhhhjYhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjDhhhjYhKubah}(h]j?ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjYhKhjAhhubjS)}(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&]uh1jRhjAhhhjYhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(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}(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.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)}(hj܅h]hMembers}(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.hhKzhjubj)}(hhh](j)}(hA``advertising`` ethtool bitmask containing advertised link modes h](j)}(h``advertising``h]j)}(hjh]h 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.hhKjhjubj)}(hhh]jX)}(h0ethtool bitmask containing advertised link modesh]h0ethtool bitmask containing advertised link modes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKjhjubj)}(hQ``lp_advertising`` ethtool bitmask containing link partner advertised link modes h](j)}(h``lp_advertising``h]j)}(hj4h]hlp_advertising}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKlhj.ubj)}(hhh]jX)}(h=ethtool bitmask containing link partner advertised link modesh]h=ethtool bitmask containing link partner advertised link modes}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKkhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhKlhjubj)}(hL``interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h ``interface``h]j)}(hjnh]h interface}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKmhjhubj)}(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&]uh1jhjhubeh}(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&]uh1jWhj߆hKnhjubah}(h]h ]h"]h$]h&]uh1jhjĆubeh}(h]h ]h"]h$]h&]uh1jhj߆hKnhjubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKohjubj)}(h@``pause`` link pause state, described by MLO_PAUSE_* constants. h](j)}(h ``pause``h]j)}(hj<h]hpause}(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.hhKphj6ubj)}(hhh]jX)}(h5link pause state, described by MLO_PAUSE_* constants.h]h5link pause state, described by MLO_PAUSE_* constants.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjQhKphjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhKphjubj)}(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)}(hjuh]h rate_matching}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKthjoubj)}(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}(hjhhhNhNubah}(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&]uh1jhjoubeh}(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.hhKuhj߇ubj)}(hhh]jX)}(htrue if the link is up.h]htrue if the link is up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKuhjubah}(h]h ]h"]h$]h&]uh1jhj߇ubeh}(h]h ]h"]h$]h&]uh1jhjhKuhjubj)}(h6``an_complete`` true if autonegotiation has completed.h](j)}(h``an_complete``h]j)}(hjh]h an_complete}(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.hhKuhjubj)}(hhh]jX)}(h&true if autonegotiation has completed.h]h&true if autonegotiation has completed.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKvhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hKuhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_config (C struct)c.phylink_confighNtauh1hhj hhhNhNubh)}(hhh](h)}(hphylink_configh]h)}(hstruct phylink_configh](h)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjthhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhK|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhjhK|ubj)}(hphylink_configh]j%)}(hjrh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjthhhjhK|ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjphhhjhK|ubah}(h]jkah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhK|hjmhhubjS)}(hhh]jX)}(hPHYLINK configuration structureh]hPHYLINK configuration 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&]uh1jRhjmhhhjhK|ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj҈jxj҈jyjzj{uh1hhhhj hNhNubj})}(hX**Definition**:: struct phylink_config { struct device *dev; enum phylink_op_type type; bool poll_fixed_state; bool mac_managed_pm; bool mac_requires_rxc; bool default_an_inband; bool eee_rx_clk_stop_enable; void (*get_fixed_state)(struct phylink_config *config, struct phylink_link_state *state); unsigned long supported_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long lpi_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long mac_capabilities; unsigned long lpi_capabilities; u32 lpi_timer_default; bool eee_enabled_default; }; **Members** ``dev`` a pointer to a struct device associated with the MAC ``type`` operation type of PHYLINK instance ``poll_fixed_state`` if true, starts link_poll, if MAC link is at ``MLO_AN_FIXED`` mode. ``mac_managed_pm`` if true, indicate the MAC driver is responsible for PHY PM. ``mac_requires_rxc`` if true, the MAC always requires a receive clock from PHY. The PHY driver should start the clock signal as soon as possible and avoid stopping it during suspend events. ``default_an_inband`` if true, defaults to MLO_AN_INBAND rather than MLO_AN_PHY. A fixed-link specification will override. ``eee_rx_clk_stop_enable`` if true, PHY can stop the receive clock during LPI ``get_fixed_state`` callback to execute to determine the fixed link state, if MAC link is at ``MLO_AN_FIXED`` mode. ``supported_interfaces`` bitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/PCS. ``lpi_interfaces`` bitmap describing which PHY interface modes can support LPI signalling. ``mac_capabilities`` MAC pause/speed/duplex capabilities. ``lpi_capabilities`` MAC speeds which can support LPI signalling ``lpi_timer_default`` Default EEE LPI timer setting. ``eee_enabled_default`` If set, EEE will be enabled by phylink at creation timeh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjވhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڈubh:}(hjڈhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjֈubjU)}(hXTstruct phylink_config { struct device *dev; enum phylink_op_type type; bool poll_fixed_state; bool mac_managed_pm; bool mac_requires_rxc; bool default_an_inband; bool eee_rx_clk_stop_enable; void (*get_fixed_state)(struct phylink_config *config, struct phylink_link_state *state); unsigned long supported_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long lpi_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long mac_capabilities; unsigned long lpi_capabilities; u32 lpi_timer_default; bool eee_enabled_default; };h]hXTstruct phylink_config { struct device *dev; enum phylink_op_type type; bool poll_fixed_state; bool mac_managed_pm; bool mac_requires_rxc; bool default_an_inband; bool eee_rx_clk_stop_enable; void (*get_fixed_state)(struct phylink_config *config, struct phylink_link_state *state); unsigned long supported_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long lpi_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; unsigned long mac_capabilities; unsigned long lpi_capabilities; u32 lpi_timer_default; bool eee_enabled_default; };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjֈubjX)}(h **Members**h]j)}(hjh]hMembers}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjֈubj)}(hhh](j)}(h=``dev`` a pointer to a struct device associated with the MAC h](j)}(h``dev``h]j)}(hj'h]hdev}(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)}(h4a pointer to a struct device associated with the MACh]h4a pointer to a struct device associated with the MAC}(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,``type`` operation type of PHYLINK instance h](j)}(h``type``h]j)}(hj`h]htype}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjZubj)}(hhh]jX)}(h"operation type of PHYLINK instanceh]h"operation type of PHYLINK instance}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjuhKhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhKhjubj)}(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 }(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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.hhKhj߉ubj)}(hhh]jX)}(h;if true, indicate the MAC driver is responsible for PHY PM.h]h;if true, indicate the MAC driver is responsible for PHY PM.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj߉ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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)}(hjh]hmac_requires_rxc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jX)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hKhjubj)}(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)}(hjXh]hdefault_an_inband}(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.hhKhjRubj)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhKhjubj)}(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&]uh1jhjhKhjubj)}(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&]uh1jhjhKhjubj)}(hf``supported_interfaces`` bitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/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.hhKhjubj)}(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.}(hj0hhhNhNubah}(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,hKhjubj)}(h[``lpi_interfaces`` bitmap describing which PHY interface modes can support LPI signalling. h](j)}(h``lpi_interfaces``h]j)}(hjQh]hlpi_interfaces}(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)}(hGbitmap describing which PHY interface modes can support LPI signalling.h]hGbitmap describing which PHY interface modes can support LPI signalling.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhKhjubj)}(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&]uh1jhjhKhjubj)}(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.hhKhjubj)}(hhh]jX)}(h+MAC speeds which can support LPI signallingh]h+MAC speeds which can support LPI signalling}(hj݋hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjًhKhjڋubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjًhKhjubj)}(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&]uh1jhjubah}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hO``eee_enabled_default`` If set, EEE will be enabled by phylink at creation timeh](j)}(h``eee_enabled_default``h]j)}(hj6h]heee_enabled_default}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj0ubj)}(hhh]jX)}(h7If set, EEE will be enabled by phylink at creation timeh]h7If set, EEE will be enabled by phylink at creation time}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhKhjubeh}(h]h ]h"]h$]h&]uh1jhjֈubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mac_ops (C struct)c.phylink_mac_opshNtauh1hhj hhhNhNubh)}(hhh](h)}(hphylink_mac_opsh]h)}(hstruct phylink_mac_opsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhKubj)}(hphylink_mac_opsh]j%)}(hjh]hphylink_mac_ops}(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)}(hMAC operations structure.h]hMAC operations structure.}(hjҌhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjόhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hX**Definition**:: struct phylink_mac_ops { unsigned long (*mac_get_caps)(struct phylink_config *config, phy_interface_t interface); struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, phy_interface_t interface); int (*mac_prepare)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_config)(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state); int (*mac_finish)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_link_down)(struct phylink_config *config, unsigned int mode, phy_interface_t interface); void (*mac_link_up)(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause); void (*mac_disable_tx_lpi)(struct phylink_config *config); int (*mac_enable_tx_lpi)(struct phylink_config *config, u32 timer, bool tx_clk_stop); }; **Members** ``mac_get_caps`` Get MAC capabilities for interface mode. ``mac_select_pcs`` Select a PCS for the interface mode. ``mac_prepare`` prepare for a major reconfiguration of the interface. ``mac_config`` configure the MAC for the selected mode and state. ``mac_finish`` finish a major reconfiguration of the interface. ``mac_link_down`` take the link down. ``mac_link_up`` allow the link to come up. ``mac_disable_tx_lpi`` disable LPI. ``mac_enable_tx_lpi`` enable and configure LPI.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjU)}(hXstruct phylink_mac_ops { unsigned long (*mac_get_caps)(struct phylink_config *config, phy_interface_t interface); struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, phy_interface_t interface); int (*mac_prepare)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_config)(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state); int (*mac_finish)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_link_down)(struct phylink_config *config, unsigned int mode, phy_interface_t interface); void (*mac_link_up)(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause); void (*mac_disable_tx_lpi)(struct phylink_config *config); int (*mac_enable_tx_lpi)(struct phylink_config *config, u32 timer, bool tx_clk_stop); };h]hXstruct phylink_mac_ops { unsigned long (*mac_get_caps)(struct phylink_config *config, phy_interface_t interface); struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, phy_interface_t interface); int (*mac_prepare)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_config)(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state); int (*mac_finish)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_link_down)(struct phylink_config *config, unsigned int mode, phy_interface_t interface); void (*mac_link_up)(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause); void (*mac_disable_tx_lpi)(struct phylink_config *config); int (*mac_enable_tx_lpi)(struct phylink_config *config, u32 timer, bool tx_clk_stop); };}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)}(hj h]hMembers}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.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}(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.hhKhj9ubj)}(hhh]jX)}(h(Get MAC capabilities for interface mode.h]h(Get MAC capabilities for interface mode.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThKhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThKhj6ubj)}(h8``mac_select_pcs`` Select a PCS for the interface mode. h](j)}(h``mac_select_pcs``h]j)}(hjxh]hmac_select_pcs}(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.hhKhjrubj)}(hhh]jX)}(h$Select a PCS for the interface mode.h]h$Select a PCS for the interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhKhj6ubj)}(hF``mac_prepare`` prepare for a major reconfiguration of the interface. h](j)}(h``mac_prepare``h]j)}(hjh]h mac_prepare}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jX)}(h5prepare for a major reconfiguration of the interface.h]h5prepare for a major reconfiguration of the interface.}(hjʍhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjƍhKhjǍubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƍhKhj6ubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj6ubj)}(h@``mac_finish`` finish a major reconfiguration of the interface. h](j)}(h``mac_finish``h]j)}(hj#h]h mac_finish}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.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&]uh1jWhj8hKhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hKhj6ubj)}(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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjVubj)}(hhh]jX)}(htake the link down.h]htake the link down.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjqhKhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhKhj6ubj)}(h+``mac_link_up`` allow the link to come up. h](j)}(h``mac_link_up``h]j)}(hjh]h mac_link_up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jX)}(hallow the link to come up.h]hallow the link to come up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj6ubj)}(h$``mac_disable_tx_lpi`` disable LPI. h](j)}(h``mac_disable_tx_lpi``h]j)}(hjΎh]hmac_disable_tx_lpi}(hjЎhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̎ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjȎubj)}(hhh]jX)}(h disable LPI.h]h disable LPI.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjȎubeh}(h]h ]h"]h$]h&]uh1jhjhKhj6ubj)}(h/``mac_enable_tx_lpi`` enable and configure LPI.h](j)}(h``mac_enable_tx_lpi``h]j)}(hjh]hmac_enable_tx_lpi}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jX)}(henable and configure LPI.h]henable and configure LPI.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj6ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubjX)}(h**Description**h]j)}(hjJh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj hhubjX)}(h6The individual methods are described more fully below.h]h6The individual methods are described more fully below.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_get_caps (C function)c.mac_get_capshNtauh1hhj hhhNhNubh)}(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$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhKubj)}(h:(struct phylink_config *config, phy_interface_t interface)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjݏubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjݏubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjǏsbc.mac_get_capsasbuh1hhjݏubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjݏubj;)}(hj>h]h*}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjݏubj%)}(hconfigh]hconfig}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjݏubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjُubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]jc.mac_get_capsasbuh1hhjOubj)}(h h]h }(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubeh}(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]j{ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhKhj}hhubjS)}(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&]uh1jRhj}hhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjĐjxjĐjyjzj{uh1hhhhj hNhNubj})}(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 }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h2``phy_interface_t interface`` PHY interface mode. 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.hhKhjCubj)}(hhh]jX)}(hPHY interface mode.h]hPHY interface mode.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^hKhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hKhjubeh}(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|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_select_pcs (C function)c.mac_select_pcshNtauh1hhj hhhNhNubh)}(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 }(hj hhhNhNubah}(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%)}(hjh]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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj?ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]jc.mac_select_pcsasbuh1hhj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj?ubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj;ubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.mac_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=uh1jhj;ubeh}(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$Select a PCS for the interface mode.h]h$Select a PCS for the interface mode.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj֑hKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhj hNhNubj})}(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)}(hj.h]h Parameters}(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.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)}(hjMh]hstruct phylink_config *config}(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.hhKhjGubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjfhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjph]hstruct phylink_config}(hjrhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjbhKhjfubh.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjbhKhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhKhjDubj)}(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&]uh1jWhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjDubeh}(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)}(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.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.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_prepare (C function) c.mac_preparehNtauh1hhj hhhNhNubh)}(hhh](h)}(hYint mac_prepare (struct phylink_config *config, unsigned int mode, phy_interface_t iface)h]h)}(hXint mac_prepare(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](j)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjihKubj)}(h mac_prepareh]j%)}(h mac_prepareh]h mac_prepare}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjihKubj)}(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')}jj~sb 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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmodeh]hmode}(hjBhhhNhNubah}(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}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj`modnameN classnameNjj!)}j$]jҔ c.mac_prepareasbuh1hhjWubj)}(h h]h }(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj%)}(hifaceh]hiface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(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(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.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jRhjPhhhjihKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj̕jxj̕jyjzj{uh1hhhhj hNhNubj})}(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.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 }(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_configuh1hhj hKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(hjQh]hunsigned int mode}(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;one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``.h](hone of }(hjjhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh, }(hjjhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh, }hjjsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjfhKhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhKhjubj)}(h6``phy_interface_t iface`` interface mode to switch to h](j)}(h``phy_interface_t iface``h]j)}(hjh]hphy_interface_t iface}(hj–hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jX)}(hinterface mode to switch toh]hinterface mode to switch to}(hjٖhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjՖhKhj֖ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjՖhKhjubeh}(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)}(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.hhKhjЕ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.hhMhjЕ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.}(hj/hhhNhNubah}(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|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_config (C function) c.mac_confighNtauh1hhj hhhNhNubh)}(hhh](h)}(hjvoid mac_config (struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state)h]h)}(hivoid mac_config(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state)h](j)}(hvoidh]hvoid}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhjlhMubj)}(h mac_configh]j%)}(h mac_configh]h mac_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj{ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhjlhMubj)}(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 reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.mac_configasbuh1hhjubj)}(h h]h }(hjٗhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned int modeh](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(hinth]hint}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hmodeh]hmode}(hjEhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(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&]uh1hhjZubj)}(h h]h }(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubh)}(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_configasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj;)}(hj>h]h*}(hjØhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZubj%)}(hstateh]hstate}(hjИhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjZubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjZhhhjlhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVhhhjlhMubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhMhjShhubjS)}(hhh]jX)}(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&]uh1jRhjShhhjlhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hj;h]hstruct phylink_config *config}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj5ubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjThhhNhNubh)}(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_configuh1hhjPhMhjTubh.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhj2ubj)}(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}(hjʙhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(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&]uh1jhjhMhj2ubj)}(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)}(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.hhMhjubj)}(hhh]jX)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hjhhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(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_stateuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubeh}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(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 }(hjzhhhNhNubj)}(h **state**h]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh are valid. In particular, }(hjzhhhNhNubj)}(h**state->lp_advertising**h]hstate->lp_advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh, }(hjzhhhNhNubj)}(h**state->link**h]h state->link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh, }hjzsbj)}(h**state->an_complete**h]hstate->an_complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubhn are never guaranteed to be correct, and so any mac_config() implementation must never reference these fields.}(hjzhhhNhNubeh}(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.}(hjњhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(hXIn all negotiation modes, as defined by **mode**, **state->pause** indicates the pause settings which should be applied as follows. If ``MLO_PAUSE_AN`` is not set, ``MLO_PAUSE_TX`` and ``MLO_PAUSE_RX`` indicate whether the MAC should send pause frames and/or act on received pause frames respectively. Otherwise, the results of in-band negotiation/status from the MAC PCS should be used to control the MAC pause mode settings.h](h(In all negotiation modes, as defined by }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**state->pause**h]h state->pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE indicates the pause settings which should be applied as follows. If }(hjhhhNhNubj)}(h``MLO_PAUSE_AN``h]h MLO_PAUSE_AN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is not set, }(hjhhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hj0hhhNhNubah}(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.hhMhjubjX)}(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}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh, }(hj_hhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjuhhhNhNubah}(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.hhM3hj[ubj)}(hhh](jX)}(hConfigure for non-inband negotiation mode, where the link settings are completely communicated via mac_link_up(). The physical link protocol from the MAC is specified by **state->interface**.h](hConfigure for non-inband negotiation mode, where the link settings are completely communicated via mac_link_up(). The physical link protocol from the MAC is specified by }(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.hhM&hjubjX)}(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.hhM*hjubjX)}(hOlder drivers (prior to the mac_link_up() change) may use **state->speed**, **state->duplex** and **state->pause** to configure the MAC, but this is deprecated; such drivers should be converted to use mac_link_up().h](h:Older drivers (prior to the mac_link_up() change) may use }(hjϛhhhNhNubj)}(h**state->speed**h]h state->speed}(hjכhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϛubh, }(hjϛhhhNhNubj)}(h**state->duplex**h]h state->duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϛubh and }(hjϛhhhNhNubj)}(h**state->pause**h]h state->pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϛubhe to configure the MAC, but this is deprecated; such drivers should be converted to use mac_link_up().}(hjϛhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM,hjubjX)}(h+Other members of **state** must be ignored.h](hOther members of }(hjhhhNhNubj)}(h **state**h]hstate}(hjhhhNhNubah}(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.hhM0hjubjX)}(h\Valid state members: interface, advertising. Deprecated state members: speed, duplex, pause.h]h\Valid state members: interface, advertising. Deprecated state members: speed, duplex, pause.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM2hjubeh}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjXubj)}(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}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh:}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMLhjPubj)}(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 }(hjthhhNhNubj)}(h**state->interface**h]hstate->interface}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh 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().}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM6hjqubjX)}(h4Interface mode specific details are mentioned below.h]h4Interface mode specific details are mentioned below.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM=hjqubjX)}(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.hhM?hjqubjX)}(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.}(hjלhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMEhjqubjX)}(h3Valid state members: interface, pause, advertising.h]h3Valid state members: interface, pause, advertising.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMLhjqubeh}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjphMLhjXubeh}(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 }(hjhhhNhNubjz)}(h *without*h]hwithout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jzhjubhe taking the link down. This “update” behaviour is critical to avoid bouncing the link up status.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMNhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_finish (C function) c.mac_finishhNtauh1hhj hhhNhNubh)}(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}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMZubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjChhhjUhMZubj)}(h mac_finishh]j%)}(h mac_finishh]h mac_finish}(hjhhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjChhhjUhMZubj)}(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')}jjjsb c.mac_finishasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjНhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjݝhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubj)}(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 }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmodeh]hmode}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubj)}(hphy_interface_t ifaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjLmodnameN classnameNjj!)}j$]j c.mac_finishasbuh1hhjCubj)}(h h]h }(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj%)}(hifaceh]hiface}(hjvhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjCubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj|ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjChhhjUhMZubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?hhhjUhMZubah}(h]j:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjUhMZhj<hhubjS)}(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.hhMZhjhhubah}(h]h ]h"]h$]h&]uh1jRhj<hhhjUhMZubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(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)}(hjžh]h Parameters}(hjĞhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.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&]uh1jhjߞubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM[hj۞ubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjhM[hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhj۞ubeh}(h]h ]h"]h$]h&]uh1jhjhM[hj؞ubj)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(hj=h]hunsigned int mode}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM\hj7ubj)}(hhh]jX)}(h;one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``.h](hone of }(hjVhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh, }(hjVhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh, }hjVsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjRhM\hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM\hj؞ubj)}(h6``phy_interface_t iface`` interface mode to switch to h](j)}(h``phy_interface_t iface``h]j)}(hjh]hphy_interface_t iface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM]hjubj)}(hhh]jX)}(hinterface mode to switch toh]hinterface mode to switch to}(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)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM_hjubjX)}(hXphylink will call this if it called mac_prepare() to allow the MAC to complete any necessary steps after the MAC and PCS have been configured for the **mode** and **iface**. E.g. a MAC driver may wish to re-enable the Serdes PHY here if it was previously disabled by mac_prepare().h](hphylink will call this if it called mac_prepare() to allow the MAC to complete any necessary steps after the MAC and PCS have been configured for the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(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.hhM^hjubjX)}(h_Returns zero on success, or negative errno on failure which will be reported to the kernel log.h]h_Returns zero on success, or negative errno on failure which will be reported to the kernel log.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMchjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_link_down (C function)c.mac_link_downhNtauh1hhj hhhNhNubh)}(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}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMkubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[hhhjmhMkubj)}(h mac_link_downh]j%)}(h mac_link_downh]h mac_link_down}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj|ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj[hhhjmhMkubj)}(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 }(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 }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj%)}(hmodeh]hmode}(hjFhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j֠c.mac_link_downasbuh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj[hhhjmhMkubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjWhhhjmhMkubah}(h]jRah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjmhMkhjThhubjS)}(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.hhMkhjhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhjmhMkubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjСjxjСjyjzj{uh1hhhhj hNhNubj})}(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)}(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.hhMohjԡ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.hhMlhjubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjhMlhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(h0``unsigned int mode`` link autonegotiation mode h](j)}(h``unsigned int mode``h]j)}(hjUh]hunsigned int mode}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMmhjOubj)}(hhh]jX)}(hlink autonegotiation modeh]hlink autonegotiation mode}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjjhMmhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMmhjubj)}(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.hhMnhjubj)}(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_tuh1hhjhMnhjubh mode}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubeh}(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.hhMphjԡubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMohjԡubjX)}(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.hhMrhjԡubjX)}(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}(hj:hhhNhNubah}(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.hhMwhjԡubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_link_up (C function) c.mac_link_uphNtauh1hhj hhhNhNubh)}(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}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjhMubj)}(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=uh1jhjohhhjhMubj)}(h(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjΣhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjˣubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjУmodnameN 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}(hj hhhNhNubah}(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 reftargetjBmodnameN classnameNjj!)}j$]j c.mac_link_upasbuh1hhjubj)}(h h]h }(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjlhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hphyh]hphy}(hjyhhhNhNubah}(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 }(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}(hjʤhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.mac_link_upasbuh1hhjߤubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjߤubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjߤubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int speedh](j)}(hinth]hint}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj%)}(hspeedh]hspeed}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj'ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h int duplexh](j)}(hinth]hint}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj%)}(hduplexh]hduplex}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj\ubeh}(h]h ]h"]h$]h&]noemphj<j=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}(hjɥhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjťubj)}(h h]h }(hj֥hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjťubj%)}(hrx_pauseh]hrx_pause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjťubeh}(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)}(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.hhMhj hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj&jxj&jyjzj{uh1hhhhj hNhNubj})}(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)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.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)}(hjOh]hstruct phylink_config *config}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjIubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjrh]hstruct phylink_config}(hjthhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjdhMhjhubh.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjFubj)}(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)}(hjĦhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubj)}(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.hhMhjަubj)}(hhh]jX)}(hlink autonegotiation modeh]hlink autonegotiation mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjަubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubj)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hj6hhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj@h]htypedef phy_interface_t}(hjBhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhj2hMhj6ubh mode}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjFubj)}(h``int speed`` link speed h](j)}(h ``int speed``h]j)}(hjyh]h int speed}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjsubj)}(hhh]jX)}(h link speedh]h link speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubj)}(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}(hj˧hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjǧhMhjȧubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǧhMhjFubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubj)}(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.hhMhjubj)}(hhh]jX)}(h$link receive pause enablement statush]h$link receive pause enablement status}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjFubeh}(h]h ]h"]h$]h&]uh1jhj*ubjX)}(h**Description**h]j)}(hj_h]h Description}(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.hhMhj*ubjX)}(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.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj*ubjX)}(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}(hjШhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)) is disabled.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj*ubjX)}(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.hhMhj*ubjX)}(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.hhMhj*ubjX)}(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.hhMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_disable_tx_lpi (C function)c.mac_disable_tx_lpihNtauh1hhj hhhNhNubh)}(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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhjDhMubj)}(hmac_disable_tx_lpih]j%)}(hmac_disable_tx_lpih]hmac_disable_tx_lpi}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjSubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj2hhhjDhMubj)}(h(struct phylink_config *config)h]j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjYsbc.mac_disable_tx_lpiasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjoubj%)}(hconfigh]hconfig}(hj̩hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjkubah}(h]h ]h"]h$]h&]j<j=uh1jhj2hhhjDhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj.hhhjDhMubah}(h]j)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjDhMhj+hhubjS)}(hhh]jX)}(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&]uh1jRhj+hhhjDhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(h**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. **Description** Disable generation of LPI at the MAC, effectively preventing the MAC from indicating that it is idle.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hj7h]hstruct phylink_config *config}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj1ubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjPhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjZh]hstruct phylink_config}(hj\hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjLhMhjPubh.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhj.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&]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|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_enable_tx_lpi (C function)c.mac_enable_tx_lpihNtauh1hhj hhhNhNubh)}(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}(hjڪhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj֪hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֪hhhjhMubj)}(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=uh1jhj֪hhhjhMubj)}(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}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj7modnameN classnameNjj!)}j$]j')}jjsbc.mac_enable_tx_lpiasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hconfigh]hconfig}(hjphhhNhNubah}(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$]jQc.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}(hjѫhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjͫubj)}(h h]h }(hjޫhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjͫubj%)}(h tx_clk_stoph]h tx_clk_stop}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjͫubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj֪hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjҪhhhjhMubah}(h]jͪah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjϪhhubjS)}(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&]uh1jRhjϪhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.jxj.jyjzj{uh1hhhhj hNhNubj})}(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)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj2ubj)}(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)}(hjWh]hstruct phylink_config *config}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjQubj)}(hhh]jX)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjphhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjzh]hstruct phylink_config}(hj|hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjlhMhjpubh.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjNubj)}(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.}(hj̬hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjȬhMhjɬubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȬhMhjNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubjX)}(h**Description**h]j)}(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.hhMhj2ubjX)}(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.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj2ubjX)}(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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj2ubjX)}(h **Return**h]j)}(hj]h]hReturn}(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.hhMhj2ubjX)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs (C struct) c.phylink_pcshNtauh1hhj hhhNhNubh)}(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}(hj­hhhNhNubah}(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}(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 ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hX**Definition**:: struct phylink_pcs { unsigned long supported_interfaces[BITS_TO_LONGS(PHY_INTERFACE_MODE_MAX)]; const struct phylink_pcs_ops *ops; struct phylink *phylink; bool poll; bool rxc_always_on; }; **Members** ``supported_interfaces`` describing which PHY_INTERFACE_MODE_xxx are supported by this PCS. ``ops`` a pointer to the :c:type:`struct phylink_pcs_ops ` structure ``phylink`` pointer to :c:type:`struct phylink_config ` ``poll`` poll the PCS for link changes ``rxc_always_on`` The MAC driver requires the reference clock to always be on. Standalone PCS drivers which do not have access to a PHY device can check this instead of PHY_F_RXC_ALWAYS_ON.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjU)}(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.hhMhjubjX)}(h **Members**h]j)}(hj2h]hMembers}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh](j)}(h\``supported_interfaces`` describing which PHY_INTERFACE_MODE_xxx are supported by this PCS. h](j)}(h``supported_interfaces``h]j)}(hjQh]hsupported_interfaces}(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)}(hBdescribing which PHY_INTERFACE_MODE_xxx are supported by this PCS.h]hBdescribing which PHY_INTERFACE_MODE_xxx are supported by this PCS.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjHubj)}(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&]uh1jhjhMhjHubj)}(hH``phylink`` pointer to :c:type:`struct phylink_config ` h](j)}(h ``phylink``h]j)}(hjh]hphylink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h;pointer to :c:type:`struct phylink_config `h](h pointer to }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hj h]hstruct phylink_config}(hj hhhNhNubah}(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&]uh1jhjhMhjHubj)}(h'``poll`` poll the PCS for link changes h](j)}(h``poll``h]j)}(hj?h]hpoll}(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)}(hpoll the PCS for link changesh]hpoll the PCS for link changes}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjHubj)}(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)}(hjxh]h rxc_always_on}(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)}(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&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjHubeh}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj hhubjX)}(hvThis structure is designed to be embedded within the PCS private data, and will be passed between phylink and the PCS.h]hvThis structure is designed to be embedded within the PCS private data, and will be passed between phylink and the PCS.}(hjѯhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj hhubjX)}(hWThe **phylink** member is private to phylink and must not be touched by the PCS driver.h](hThe }(hjhhhNhNubj)}(h **phylink**h]hphylink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhH member is private to phylink and must not be touched by the PCS driver.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs_ops (C struct)c.phylink_pcs_opshNtauh1hhj hhhNhNubh)}(hhh](h)}(hphylink_pcs_opsh]h)}(hstruct phylink_pcs_opsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj'hMubj)}(hphylink_pcs_opsh]j%)}(hjh]hphylink_pcs_ops}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj'hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj'hMubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'hMhjhhubjS)}(hhh]jX)}(hMAC PCS operations structure.h]hMAC PCS operations structure.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjYhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj'hMubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjtjxjtjyjzj{uh1hhhhj hNhNubj})}(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&]uh1jhj|ubh:}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjxubjU)}(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.hhMhjxubjX)}(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.hhMhjxubj)}(hhh](j)}(h2``pcs_validate`` validate the link configuration. h](j)}(h``pcs_validate``h]j)}(hjɰh]h pcs_validate}(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 validate the link configuration.h]h validate the link configuration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjްhMhj߰ubah}(h]h ]h"]h$]h&]uh1jhjðubeh}(h]h ]h"]h$]h&]uh1jhjްhMhjubj)}(h=``pcs_inband_caps`` query inband support for interface mode. h](j)}(h``pcs_inband_caps``h]j)}(hjh]hpcs_inband_caps}(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(query inband support for interface mode.h]h(query inband support for interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``pcs_enable`` enable the PCS. h](j)}(h``pcs_enable``h]j)}(hj;h]h pcs_enable}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj5ubj)}(hhh]jX)}(henable the PCS.h]henable the PCS.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjubj)}(h!``pcs_disable`` disable the PCS. h](j)}(h``pcs_disable``h]j)}(hjth]h pcs_disable}(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.hhMhjnubj)}(hhh]jX)}(hdisable the PCS.h]hdisable the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(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)}(hjƱhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj±hMhjñubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj±hMhjubj)}(h8``pcs_post_config`` post-mac_config method (for arrata) h](j)}(h``pcs_post_config``h]j)}(hjh]hpcs_post_config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h#post-mac_config method (for arrata)h]h#post-mac_config method (for arrata)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hI``pcs_get_state`` read the current MAC PCS link state from the hardware. h](j)}(h``pcs_get_state``h]j)}(hjh]h pcs_get_state}(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)}(h6read the current MAC PCS link state from the hardware.h]h6read the current MAC PCS link state from the hardware.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(hF``pcs_config`` configure the MAC PCS for the selected mode and state. h](j)}(h``pcs_config``h]j)}(hjXh]h pcs_config}(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)}(h6configure the MAC PCS for the selected mode and state.h]h6configure the MAC PCS for the selected mode and state.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(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)}(hjʲh]h pcs_link_up}(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.hhMhjIJubj)}(hhh]jX)}(hFprogram the PCS for the resolved link configuration (where necessary).h]hFprogram the PCS for the resolved link configuration (where necessary).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjIJubeh}(h]h ]h"]h$]h&]uh1jhj߲hMhjubj)}(hX``pcs_disable_eee`` optional notification to PCS that EEE has been disabled at the MAC. h](j)}(h``pcs_disable_eee``h]j)}(hjh]hpcs_disable_eee}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(hCoptional notification to PCS that EEE has been disabled at the MAC.h]hCoptional notification to PCS that EEE has been disabled at the MAC.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``pcs_enable_eee`` optional notification to PCS that EEE will be enabled at the MAC. h](j)}(h``pcs_enable_eee``h]j)}(hj>h]hpcs_enable_eee}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj8ubj)}(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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubj)}(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)}(hjxh]h pcs_pre_init}(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\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&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_validate (C function)c.pcs_validatehNtauh1hhj hhhNhNubh)}(hhh](h)}(hlint pcs_validate (struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state)h]h)}(hkint pcs_validate(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state)h](j)}(hinth]hint}(hjѳhhhNhNubah}(h]h ]jah"]h$]h&]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ͳhhhj߳hMubj)}(h pcs_validateh]j%)}(h pcs_validateh]h pcs_validate}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjͳhhhj߳hMubj)}(h[(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state)h](j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(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')}jjsbc.pcs_validateasbuh1hhj 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%)}(hpcsh]hpcs}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned long *supportedh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj;)}(hj>h]h*}(hjhhhNhNubah}(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=uh1jhjubj)}(h&const struct phylink_link_state *stateh](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%)}(hphylink_link_stateh]hphylink_link_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jHc.pcs_validateasbuh1hhjڴ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%)}(hstateh]hstate}(hjPhhhNhNubah}(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]jijah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj߳hMhjƳhhubjS)}(hhh]jX)}(h validate the link configuration.h]h validate the link configuration.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjwhhubah}(h]h ]h"]h$]h&]uh1jRhjƳhhhj߳hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(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 }(hjԵhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj޵h]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjܵubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjеhM hjԵubh.}(hjԵhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjеhM hjѵubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjеhM hjubj)}(hG``unsigned long *supported`` ethtool bitmask for supported link modes. h](j)}(h``unsigned long *supported``h]j)}(hjh]hunsigned long *supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjubj)}(hhh]jX)}(h)ethtool bitmask for supported link modes.h]h)ethtool bitmask for supported link modes.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj,hM hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM 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)}(hjPh]h&const struct phylink_link_state *state}(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.hhM hjJubj)}(hhh]jX)}(hNa const pointer to a :c:type:`struct phylink_link_state `.h](ha const pointer to a }(hjihhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjsh]hstruct phylink_link_state}(hjuhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhjehM hjiubh.}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjehM hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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 }(hjĶhhhNhNubh)}(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 hjĶubh validate() method.}(hjĶhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM 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.}(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|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_inband_caps (C function)c.pcs_inband_capshNtauh1hhj hhhNhNubh)}(hhh](h)}(hQunsigned int pcs_inband_caps (struct phylink_pcs *pcs, phy_interface_t interface)h]h)}(hPunsigned int pcs_inband_caps(struct phylink_pcs *pcs, phy_interface_t interface)h](j)}(hunsignedh]hunsigned}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj3hMubj)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!hhhj3hMubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj3hMubj)}(hpcs_inband_capsh]j%)}(hpcs_inband_capsh]hpcs_inband_caps}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj3hMubj)}(h4(struct phylink_pcs *pcs, phy_interface_t interface)h](j)}(hstruct phylink_pcs *pcsh](h)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjdsbc.pcs_inband_capsasbuh1hhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj;)}(hj>h]h*}(hjʷhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjzubj%)}(hpcsh]hpcs}(hj׷hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.pcs_inband_capsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjvubeh}(h]h ]h"]h$]h&]j<j=uh1jhj!hhhj3hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj3hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj3hMhjhhubjS)}(hhh]jX)}(h2query PCS in-band capabilities for interface mode.h]h2query PCS in-band capabilities for interface mode.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjFhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj3hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhj hNhNubj})}(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)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjeubj)}(hhh](j)}(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;``phy_interface_t interface`` interface mode to be queried h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(hinterface mode to be queriedh]hinterface mode to be queried}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjeubjX)}(h**Description**h]j)}(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.hhMhjeubjX)}(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 }(hj7hhhNhNubh)}(h>:c:type:`enum link_inband_signalling `h]j)}(hjAh]henum link_inband_signalling}(hjChhhNhNubah}(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.hhMhj7ubhF to describe which inband modes are supported for this interface mode.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj^hMhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_enable (C function) c.pcs_enablehNtauh1hhj hhhNhNubh)}(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.hhM'ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM'ubj)}(h pcs_enableh]j%)}(h pcs_enableh]h pcs_enable}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM'ubj)}(h(struct phylink_pcs *pcs)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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsb c.pcs_enableasbuh1hhj¹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=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM'ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM'ubah}(h]j|ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM'hj~hhubjS)}(hhh]jX)}(henable the PCS.h]henable the PCS.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM'hjFhhubah}(h]h ]h"]h$]h&]uh1jRhj~hhhjhM'ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhj hNhNubj})}(hh**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.h](jX)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM+hjeubj)}(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.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_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM(hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjʺhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_disable (C function) c.pcs_disablehNtauh1hhj hhhNhNubh)}(hhh](h)}(h*void pcs_disable (struct phylink_pcs *pcs)h]h)}(h)void pcs_disable(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.hhM-ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM-ubj)}(h pcs_disableh]j%)}(h pcs_disableh]h pcs_disable}(hj(hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM-ubj)}(h(struct phylink_pcs *pcs)h]j)}(hstruct phylink_pcs *pcsh](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 phylink_pcsh]h phylink_pcs}(hjbhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj_ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjdmodnameN classnameNjj!)}j$]j')}jj*sb 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=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)}(hdisable the PCS.h]hdisable the PCS.}(hjǻhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM-hjĻhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM-ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj߻jxj߻jyjzj{uh1hhhhj hNhNubj})}(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.hhM1hjubj)}(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}(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.hhM3hjubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hj!hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj+h]hstruct phylink_pcs}(hj-hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM.hj!ubh.}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjHhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_get_state (C function)c.pcs_get_statehNtauh1hhj hhhNhNubh)}(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.hhM3ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM3ubj)}(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=uh1jhjhhhjhM3ubj)}(hR(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j)}(hstruct phylink_pcs *pcsh](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 phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjݼubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.pcs_get_stateasbuh1hhjubj)}(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}(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%)}(hneg_modeh]hneg_mode}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(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$]jc.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}(hjܽhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM3ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj}hhhjhM3ubah}(h]jxah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM3hjzhhubjS)}(hhh]jX)}(h4Read the current inband link state from the hardwareh]h4Read the current inband link state from the hardware}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM3hjhhubah}(h]h ]h"]h$]h&]uh1jRhjzhhhjhM3ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(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)}(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.hhM7hj"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)}(hjGh]hstruct phylink_pcs *pcs}(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.hhM4hjAubj)}(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)}(hjjh]hstruct phylink_pcs}(hjlhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhj\hM4hj`ubh.}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj\hM4hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hM4hj>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.hhM5hjubj)}(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&]uh1jWhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hj>ubj)}(hn``struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. h](j)}(h$``struct phylink_link_state *state``h]j)}(hjܾh]h struct phylink_link_state *state}(hj޾hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjھubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM6hj־ubj)}(hhh]jX)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hjhhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjh]hstruct phylink_link_state}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhjhM6hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhj־ubeh}(h]h ]h"]h$]h&]uh1jhjhM6hj>ubeh}(h]h ]h"]h$]h&]uh1jhj"ubjX)}(h**Description**h]j)}(hj:h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM8hj"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 }(hjPhhhNhNubj)}(h**state->speed**h]h state->speed}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh, duplex mode in }(hjPhhhNhNubj)}(h**state->duplex**h]h state->duplex}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh, pause mode in }(hjPhhhNhNubj)}(h**state->pause**h]h state->pause}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh using the }(hjPhhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh and }(hjPhhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh' bits, negotiation completion state in }(hjPhhhNhNubj)}(h**state->an_complete**h]hstate->an_complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh, and link up state in }(hjPhhhNhNubj)}(h**state->link**h]h state->link}(hjĿhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh. If possible, }(hjPhhhNhNubj)}(h**state->lp_advertising**h]hstate->lp_advertising}(hjֿhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh should also be populated.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM7hj"ubjX)}(h]Note that the **neg_mode** parameter is always the PHYLINK_PCS_NEG_xxx state, not MLO_AN_xxx.h](hNote that the }(hjhhhNhNubj)}(h **neg_mode**h]hneg_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC parameter is always the PHYLINK_PCS_NEG_xxx state, not MLO_AN_xxx.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM>hj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_config (C function) c.pcs_confighNtauh1hhj hhhNhNubh)}(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}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMFubj)}(h h]h }(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,hhhj>hMFubj)}(h pcs_configh]j%)}(h pcs_configh]h pcs_config}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjMubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj,hhhj>hMFubj)}(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}(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}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjSsb c.pcs_configasbuh1hhjiubj)}(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=uh1jhjeubj)}(hunsigned int neg_modeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hneg_modeh]hneg_mode}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj5modnameN classnameNjj!)}j$]j c.pcs_configasbuh1hhj,ubj)}(h h]h }(hjQhhhNhNubah}(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=uh1jhjeubj)}(h const unsigned long *advertisingh](h)}(hjh]hconst}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjtubj%)}(h advertisingh]h advertising}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubj)}(hbool permit_pause_to_mach](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hpermit_pause_to_mach]hpermit_pause_to_mac}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjeubeh}(h]h ]h"]h$]h&]j<j=uh1jhj,hhhj>hMFubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj(hhhj>hMFubah}(h]j#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj>hMFhj%hhubjS)}(hhh]jX)}(h(Configure the PCS mode and advertisementh]h(Configure the PCS mode and advertisement}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMFhj3hhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhj>hMFubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjNjxjNjyjzj{uh1hhhhj hNhNubj})}(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)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMJhjRubj)}(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)}(hjwh]hstruct phylink_pcs *pcs}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMGhjqubj)}(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_pcsuh1hhjhMGhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjnubj)}(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.hhMHhjubj)}(hhh]jX)}(h!link negotiation mode (see below)h]h!link negotiation mode (see below)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjnubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMIhjubj)}(hhh]jX)}(hinterface mode to be usedh]hinterface mode to be used}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj!hMIhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMIhjnubj)}(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&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMJhj?ubj)}(hhh]jX)}(h#adertisement ethtool link mode maskh]h#adertisement ethtool link mode mask}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjZhMJhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMJhjnubj)}(hG``bool permit_pause_to_mac`` permit forwarding pause resolution to MAC h](j)}(h``bool permit_pause_to_mac``h]j)}(hj~h]hbool permit_pause_to_mac}(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.hhMKhjxubj)}(hhh]jX)}(h)permit forwarding pause resolution to MACh]h)permit forwarding pause resolution to MAC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjnubeh}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMMhjRubjX)}(hConfigure the PCS for the operating mode, the interface mode, and set the advertisement mask. **permit_pause_to_mac** indicates whether the hardware may forward the pause mode resolution to the MAC.h](h^Configure the PCS for the operating mode, the interface mode, and set the advertisement mask. }(hjhhhNhNubj)}(h**permit_pause_to_mac**h]hpermit_pause_to_mac}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhQ indicates whether the hardware may forward the pause mode resolution to the MAC.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMLhjRubjX)}(hjWhen operating in ``MLO_AN_INBAND``, inband should always be enabled, otherwise inband should be disabled.h](hWhen operating in }(hjhhhNhNubj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhG, inband should always be enabled, otherwise inband should be disabled.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMPhjRubjX)}(hFor SGMII, there is no advertisement from the MAC side, the PCS should be programmed to acknowledge the inband word from the PHY.h]hFor SGMII, there is no advertisement from the MAC side, the PCS should be programmed to acknowledge the inband word from the PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMShjRubjX)}(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.hhMVhjRubjX)}(h.For most 10GBASE-R, there is no advertisement.h]h.For most 10GBASE-R, there is no advertisement.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMXhjRubjX)}(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}(hjFhhhNhNubah}(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.hhMZhjRubjX)}(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.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM^hjRubjX)}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMbhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_an_restart (C function)c.pcs_an_restarthNtauh1hhj hhhNhNubh)}(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.hhMlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMlubj)}(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=uh1jhjhhhjhMlubj)}(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_an_restartasbuh1hhjubj)}(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}(hj3hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMlubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMlubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMlhjhhubjS)}(hhh]jX)}(h$restart 802.3z BaseX autonegotiationh]h$restart 802.3z BaseX autonegotiation}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMlhjZhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMlubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjujxjujyjzj{uh1hhhhj hNhNubj})}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMphjyubj)}(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.hhMmhjubj)}(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_pcsuh1hhjhMmhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubah}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMohjyubjX)}(hpWhen PCS ops are present, this overrides mac_an_restart() in :c:type:`struct phylink_mac_ops `.h](h=When PCS ops are present, this overrides mac_an_restart() in }(hjhhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hjh]hstruct phylink_mac_ops}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_mac_opsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMnhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj9hMnhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_link_up (C function) c.pcs_link_uphNtauh1hhj hhhNhNubh)}(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}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMuubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`hhhjrhMuubj)}(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=uh1jhj`hhhjrhMuubj)}(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*}(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}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hneg_modeh]hneg_mode}(hjKhhhNhNubah}(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}(hjghhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjdubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjimodnameN classnameNjj!)}j$]j c.pcs_link_upasbuh1hhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=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 }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hduplexh]hduplex}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhj`hhhjrhMuubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj\hhhjrhMuubah}(h]jWah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjrhMuhjYhhubjS)}(hhh]jX)}(h3program the PCS for the resolved link configurationh]h3program the PCS for the resolved link configuration}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMuhj$hhubah}(h]h ]h"]h$]h&]uh1jRhjYhhhjrhMuubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj?jxj?jyjzj{uh1hhhhj hNhNubj})}(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)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMyhjCubj)}(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)}(hjhh]hstruct phylink_pcs *pcs}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMvhjbubj)}(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}hMvhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj}hMvhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMvhj_ubj)}(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.hhMwhjubj)}(hhh]jX)}(h!link negotiation mode (see below)h]h!link negotiation mode (see below)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhj_ubj)}(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.hhMxhjubj)}(hhh]jX)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hjhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj h]htypedef phy_interface_t}(hj"hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjhMxhjubh mode}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhj_ubj)}(h``int speed`` link speed h](j)}(h ``int speed``h]j)}(hjYh]h int speed}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMyhjSubj)}(hhh]jX)}(h link speedh]h link speed}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjnhMyhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMyhj_ubj)}(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.hhMzhjubj)}(hhh]jX)}(h link duplexh]h link duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM|hjCubjX)}(hXThis call will be made just before mac_link_up() to inform the PCS of the resolved link parameters. For example, a PCS operating in SGMII mode without in-band AN needs to be manually configured for the link and duplex setting. Otherwise, this should be a no-op.h]hXThis call will be made just before mac_link_up() to inform the PCS of the resolved link parameters. For example, a PCS operating in SGMII mode without in-band AN needs to be manually configured for the link and duplex setting. Otherwise, this should be a no-op.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM{hjCubjX)}(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 }(hjhhhNhNubj)}(h``mode``h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_disable_eee (C function)c.pcs_disable_eeehNtauh1hhj hhhNhNubh)}(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}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/hhhjAhMubj)}(hpcs_disable_eeeh]j%)}(hpcs_disable_eeeh]hpcs_disable_eee}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/hhhjAhMubj)}(h(struct phylink_pcs *pcs)h]j)}(hstruct phylink_pcs *pcsh](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 phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjVsbc.pcs_disable_eeeasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(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)}(hDisable EEE at the PCSh]hDisable 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&]uh1jRhj(hhhjAhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj hNhNubj})}(h**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs ` **Description** Optional method informing the PCS that EEE has been disabled at the MAC.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]j)}(hV``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs ` h](j)}(h``struct phylink_pcs *pcs``h]j)}(hj4h]hstruct phylink_pcs *pcs}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj.ubj)}(hhh]jX)}(h9a pointer to a :c:type:`struct phylink_pcs `h](ha pointer to a }(hjMhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjWh]hstruct phylink_pcs}(hjYhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjIhMhjMubeh}(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)}(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)}(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.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_enable_eee (C function)c.pcs_enable_eeehNtauh1hhj hhhNhNubh)}(hhh](h)}(h-void pcs_enable_eee (struct phylink_pcs *pcs)h]h)}(h,void pcs_enable_eee(struct phylink_pcs *pcs)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hpcs_enable_eeeh]j%)}(hpcs_enable_eeeh]hpcs_enable_eee}(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&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(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 reftargetj0modnameN classnameNjj!)}j$]j')}jjsbc.pcs_enable_eeeasbuh1hhj ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj;)}(hj>h]h*}(hj\hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj ubj%)}(hpcsh]hpcs}(hjihhhNhNubah}(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)}(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{uh1hhhhj hNhNubj})}(h**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs ` **Description** Optional method informing the PCS that EEE is about to be enabled at the MAC.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]j)}(hV``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs ` h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h9a pointer to a :c:type:`struct phylink_pcs `h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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&]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.}(hjDhhhNhNubah}(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|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_pre_init (C function)c.pcs_pre_inithNtauh1hhj hhhNhNubh)}(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}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjhMubj)}(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=uh1jhjohhhjhMubj)}(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_pre_initasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpcsh]hpcs}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjohhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhjhMubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhhubjS)}(hhh]jX)}(h9Configure PCS components necessary for MAC initializationh]h9Configure PCS components necessary for MAC initialization}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj0hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjKjxjKjyjzj{uh1hhhhj hNhNubj})}(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)}(hjUh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjOubj)}(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)}(hjth]hstruct phylink_pcs *pcs}(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.hhMhjnubj)}(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&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhjkubah}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjOubjX)}(hThis function can be called by MAC drivers through the phylink_pcs_pre_init() wrapper, before their hardware is initialized. It should not be called after the link is brought up, as reconfiguring the PCS at this point could break the link.h]hThis function can be called by MAC drivers through the phylink_pcs_pre_init() wrapper, before their hardware is initialized. It should not be called after the link is brought up, as reconfiguring the PCS at this point could break the link.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjOubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjOubjX)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjOubjX)}(hX}The specific configuration performed by pcs_pre_init() is dependent on the model of PCS and the requirements of the MAC device attached to it. PCS driver authors should consider whether their target device is to be used in conjunction with a MAC device whose driver calls phylink_pcs_pre_init(). MAC driver authors should document their requirements for the PCS pre-initialization.h]hX}The specific configuration performed by pcs_pre_init() is dependent on the model of PCS and the requirements of the MAC device attached to it. PCS driver authors should consider whether their target device is to be used in conjunction with a MAC device whose driver calls phylink_pcs_pre_init(). MAC driver authors should document their requirements for the PCS pre-initialization.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_get_link_timer_ns (C function)c.phylink_get_link_timer_nshNtauh1hhj hhhNhNubh)}(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}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhjRhMubj)}(hphylink_get_link_timer_nsh]j%)}(hphylink_get_link_timer_nsh]hphylink_get_link_timer_ns}(hjehhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhjRhMubj)}(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')}jjgsbc.phylink_get_link_timer_nsasbuh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjyubah}(h]h ]h"]h$]h&]j<j=uh1jhj@hhhjRhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj<hhhjRhMubah}(h]j7ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjRhMhj9hhubjS)}(hhh]jX)}(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&]uh1jRhj9hhhjRhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]j)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jX)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hj6hhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj@h]htypedef phy_interface_t}(hjBhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhj2hMhj6ubh mode}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubah}(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&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(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.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_mac_implements_lpi (C function)c.phylink_mac_implements_lpihNtauh1hhj hhhNhNubh)}(hhh](h)}(hCbool phylink_mac_implements_lpi (const struct phylink_mac_ops *ops)h]h)}(hBbool phylink_mac_implements_lpi(const struct phylink_mac_ops *ops)h](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphylink_mac_implements_lpih]j%)}(hphylink_mac_implements_lpih]hphylink_mac_implements_lpi}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h#(const struct phylink_mac_ops *ops)h]j)}(h!const struct phylink_mac_ops *opsh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubh)}(hhh]j%)}(hphylink_mac_opsh]hphylink_mac_ops}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjImodnameN classnameNjj!)}j$]j')}jjsbc.phylink_mac_implements_lpiasbuh1hhj 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%)}(hopsh]hops}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h#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{uh1hhhhj hNhNubj})}(h**Parameters** ``const struct phylink_mac_ops *ops`` phylink_mac_ops structure **Description** Returns true if the phylink MAC operations structure indicates that the LPI operations have been implemented, false otherwise.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]j)}(h@``const struct phylink_mac_ops *ops`` phylink_mac_ops structure h](j)}(h%``const struct phylink_mac_ops *ops``h]j)}(hjh]h!const struct phylink_mac_ops *ops}(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)}(hphylink_mac_ops structureh]hphylink_mac_ops structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj(h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjX)}(h~Returns true if the phylink MAC operations structure indicates that the LPI operations have been implemented, false otherwise.h]h~Returns true if the phylink MAC operations structure indicates that the LPI operations have been implemented, false otherwise.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink (C struct) c.phylinkhNtauh1hhj hhhNhNubh)}(hhh](h)}(hphylinkh]h)}(hstruct phylinkh](h)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjihhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjihhhjzhKubj)}(hphylinkh]j%)}(hjgh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjihhhjzhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjehhhjzhKubah}(h]j`ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjzhKhjbhhubjS)}(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&]uh1jRhjbhhhjzhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(h6**Definition**:: struct phylink { }; **Members**h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK*hjubjU)}(hstruct phylink { };h]hstruct phylink { };}hjsbah}(h]h ]h"]h$]h&]j<j=uh1jThZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK,hjubjX)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK/hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_set_port_modes (C function)c.phylink_set_port_modeshNtauh1hhj hhhNhNubh)}(hhh](h)}(h1void phylink_set_port_modes (unsigned long *mask)h]h)}(h0void phylink_set_port_modes(unsigned long *mask)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.chKubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/hhhjAhKubj)}(hphylink_set_port_modesh]j%)}(hphylink_set_port_modesh]hphylink_set_port_modes}(hjThhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj/hhhjAhKubj)}(h(unsigned long *mask)h]j)}(hunsigned long *maskh](j)}(hunsignedh]hunsigned}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjhubah}(h]h ]h"]h$]h&]j<j=uh1jhj/hhhjAhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj+hhhjAhKubah}(h]j&ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjAhKhj(hhubjS)}(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&]uh1jRhj(hhhjAhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(h**Parameters** ``unsigned long *mask`` ethtool link mode mask **Description** Sets all the port type modes in the ethtool mask. MAC drivers should use this in their 'validate' callback.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubj)}(hhh]j)}(h/``unsigned long *mask`` ethtool link mode mask h](j)}(h``unsigned long *mask``h]j)}(hj h]hunsigned long *mask}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubj)}(hhh]jX)}(hethtool link mode maskh]hethtool link mode mask}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj5hKhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hKhjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj[h]h Description}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubjX)}(hlSets all the port type modes in the ethtool mask. MAC drivers should use this in their 'validate' callback.h]hpSets all the port type modes in the ethtool mask. MAC drivers should use this in their ‘validate’ callback.}(hjqhhhNhNubah}(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|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_interface_max_speed (C function)c.phylink_interface_max_speedhNtauh1hhj hhhNhNubh)}(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 }(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=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}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhj5hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhKubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjPjxjPjyjzj{uh1hhhhj hNhNubj})}(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)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjTubj)}(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)}(hjyh]hphy_interface_t interface}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjsubj)}(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&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhKhjpubah}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjTubjX)}(hDetermine the maximum speed of a phy interface. This is intended to help determine the correct speed to pass to the MAC when the phy is performing rate matching.h]hDetermine the maximum speed of a phy interface. This is intended to help determine the correct speed to pass to the MAC when the phy is performing rate matching.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjTubjX)}(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.chKhjTubjX)}(h"The maximum speed of **interface**h](hThe maximum speed of }(hjhhhNhNubj)}(h **interface**h]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_caps_to_link_caps (C function)c.phylink_caps_to_link_capshNtauh1hhj hhhNhNubh)}(hhh](h)}(hh]h*}(hj>hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(h linkmodesh]h linkmodes}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned long capsh](j)}(hunsignedh]hunsigned}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj%)}(hcapsh]hcaps}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMfubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMfubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMfhjhhubjS)}(hhh]jX)}(h*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.chMfhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMfubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hXG**Parameters** ``unsigned long *linkmodes`` ethtool linkmode mask (must be already initialised) ``unsigned long caps`` bitmask of MAC capabilities **Description** Set all possible pause, speed and duplex linkmodes in **linkmodes** that are supported by the **caps**. **linkmodes** must have been initialised previously.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMjhjubj)}(hhh](j)}(hQ``unsigned long *linkmodes`` ethtool linkmode mask (must be already initialised) h](j)}(h``unsigned long *linkmodes``h]j)}(hjh]hunsigned long *linkmodes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMghjubj)}(hhh]jX)}(h3ethtool linkmode mask (must be already initialised)h]h3ethtool linkmode mask (must be already initialised)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(h3``unsigned long caps`` bitmask of MAC capabilities h](j)}(h``unsigned long caps``h]j)}(hj@h]hunsigned long caps}(hjBhhhNhNubah}(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.chMhhj:ubj)}(hhh]jX)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjUhMhhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj{h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMjhjubjX)}(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.chMihjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_limit_mac_speed (C function)c.phylink_limit_mac_speedhNtauh1hhj hhhNhNubh)}(hhh](h)}(hKvoid phylink_limit_mac_speed (struct phylink_config *config, u32 max_speed)h]h)}(hJvoid phylink_limit_mac_speed(struct phylink_config *config, u32 max_speed)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM|ubj)}(hphylink_limit_mac_speedh]j%)}(hphylink_limit_mac_speedh]hphylink_limit_mac_speed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM|ubj)}(h.(struct phylink_config *config, u32 max_speed)h](j)}(hstruct phylink_config *configh](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%)}(hphylink_configh]hphylink_config}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjSmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_limit_mac_speedasbuh1hhj/ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj%)}(hconfigh]hconfig}(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$]jmc.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=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+limit the phylink_config to a maximum speedh]h+limit the phylink_config to a maximum speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM|hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM|ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(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}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM}hj9ubj)}(hhh]jX)}(h=pointer to a :c:type:`struct phylink_config `h](h pointer to a }(hjXhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjbh]hstruct phylink_config}(hjdhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjThM}hjXubeh}(h]h ]h"]h$]h&]uh1jWhjThM}hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM}hj6ubj)}(h ``u32 max_speed`` maximum speed h](j)}(h``u32 max_speed``h]j)}(hjh]h u32 max_speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM~hjubj)}(hhh]jX)}(h maximum speedh]h maximum speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~hj6ubeh}(h]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)}(hMask off MAC capabilities for speeds higher than the **max_speed** parameter. Any further motifications of config.mac_capabilities will override this.h](h5Mask off MAC capabilities for speeds higher than the }(hjhhhNhNubj)}(h **max_speed**h]h max_speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhT parameter. Any further motifications of config.mac_capabilities will override this.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_cap_from_speed_duplex (C function)c.phylink_cap_from_speed_duplexhNtauh1hhj hhhNhNubh)}(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}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%hhhj7hMubj)}(hlongh]hlong}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhhj7hMubj)}(h h]h }(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%hhhj7hMubj)}(hphylink_cap_from_speed_duplexh]j%)}(hphylink_cap_from_speed_duplexh]hphylink_cap_from_speed_duplex}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjbubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj%hhhj7hMubj)}(h (int speed, unsigned int duplex)h](j)}(h int speedh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj%)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj~ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubj)}(hunsigned int duplexh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hduplexh]hduplex}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjzubeh}(h]h ]h"]h$]h&]j<j=uh1jhj%hhhj7hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj!hhhj7hMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj7hMhjhhubjS)}(hhh]jX)}(h$Get mac capability from speed/duplexh]h$Get mac capability from speed/duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj7hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj1jxj1jyjzj{uh1hhhhj hNhNubj})}(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)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj5ubj)}(hhh](j)}(h&``int speed`` the speed to search for h](j)}(h ``int speed``h]j)}(hjZh]h int speed}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjTubj)}(hhh]jX)}(hthe speed to search forh]hthe speed to search for}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjQubj)}(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&]uh1jhjhMhjQubeh}(h]h ]h"]h$]h&]uh1jhj5ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj5ubjX)}(h5Find the mac capability for a given speed and duplex.h]h5Find the mac capability for a given speed and duplex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj5ubjX)}(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.chMhj5ubjX)}(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 }(hj hhhNhNubj)}(h **speed**h]hspeed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }(hj hhhNhNubj)}(h **duplex**h]hduplex}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh , or 0 if there were no matches.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phylink_get_capabilities (C function)c.phylink_get_capabilitieshNtauh1hhj hhhNhNubh)}(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}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhjlhMubj)}(hlongh]hlong}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhhjlhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZhhhjlhMubj)}(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=uh1jhjZhhhjlhMubj)}(hN(phy_interface_t interface, unsigned long mac_capabilities, int rate_matching)h](j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_get_capabilitiesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hunsigned long mac_capabilitiesh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmac_capabilitiesh]hmac_capabilities}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hint rate_matchingh](j)}(hinth]hint}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj%)}(h rate_matchingh]h rate_matching}(hjnhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjZhhhjlhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVhhhjlhMubah}(h]jQah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjlhMhjShhubjS)}(hhh]jX)}(h get capabilities for a given MACh]h get capabilities for a given MAC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjShhhjlhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hXt**Parameters** ``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` ``unsigned long mac_capabilities`` bitmask of MAC capabilities ``int rate_matching`` type of rate matching being performed **Description** Get the MAC capabilities that are supported by the **interface** mode and **mac_capabilities**.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(hp``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hQphy interface mode defined by :c:type:`typedef phy_interface_t `h](hphy interface mode defined by }(hjhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjh]htypedef phy_interface_t}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``unsigned long mac_capabilities`` bitmask of MAC capabilities h](j)}(h"``unsigned long mac_capabilities``h]j)}(hj1h]hunsigned long mac_capabilities}(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.chMhj+ubj)}(hhh]jX)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjubj)}(h<``int rate_matching`` type of rate matching being performed h](j)}(h``int rate_matching``h]j)}(hjjh]hint rate_matching}(hjlhhhNhNubah}(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.chMhjdubj)}(hhh]jX)}(h%type of rate matching being performedh]h%type of rate matching being performed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h_Get the MAC capabilities that are supported by the **interface** mode and **mac_capabilities**.h](h3Get the MAC capabilities that are supported by the }(hjhhhNhNub5j)}(h **interface**h]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh mode and }(hjhhhNhNubj)}(h**mac_capabilities**h]hmac_capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_validate_mask_caps (C function)c.phylink_validate_mask_capshNtauh1hhj hhhNhNubh)}(hhh](h)}(h|void phylink_validate_mask_caps (unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities)h]h)}(h{void phylink_validate_mask_caps(unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhjhMubj)}(hphylink_validate_mask_capsh]j%)}(hphylink_validate_mask_capsh]hphylink_validate_mask_caps}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj+ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhMubj)}(h\(unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities)h](j)}(hunsigned long *supportedh](j)}(hunsignedh]hunsigned}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(hlongh]hlong}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(h h]h }(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(h supportedh]h supported}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(h struct phylink_link_state *stateh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj1sbc.phylink_validate_mask_capsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstateh]hstate}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubj)}(hunsigned long mac_capabilitiesh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(hlongh]hlong}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hmac_capabilitiesh]hmac_capabilities}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjCubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(h!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.chMhjzhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hX**Parameters** ``unsigned long *supported`` ethtool bitmask for supported link modes. ``struct phylink_link_state *state`` pointer to a :c:type:`struct phylink_link_state `. ``unsigned long mac_capabilities`` bitmask of MAC capabilities **Description** Calculate the supported link modes based on **mac_capabilities**, and restrict **supported** and **state** based on that. Use this function if your capabiliies aren't constant, such as if they vary depending on the interface.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(hG``unsigned long *supported`` ethtool bitmask for supported link modes. h](j)}(h``unsigned long *supported``h]j)}(hjh]hunsigned long *supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(h)ethtool bitmask for supported link modes.h]h)ethtool bitmask for supported link modes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hl``struct phylink_link_state *state`` pointer to a :c:type:`struct phylink_link_state `. h](j)}(h$``struct phylink_link_state *state``h]j)}(hjh]h struct phylink_link_state *state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hFpointer to a :c:type:`struct phylink_link_state `.h](h pointer to a }(hjhhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjh]hstruct phylink_link_state}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhj hMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h?``unsigned long mac_capabilities`` bitmask of MAC capabilities h](j)}(h"``unsigned long mac_capabilities``h]j)}(hjSh]hunsigned long mac_capabilities}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjMubj)}(hhh]jX)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(hCalculate the supported link modes based on **mac_capabilities**, and restrict **supported** and **state** based on that. Use this function if your capabiliies aren't constant, such as if they vary depending on the interface.h](h,Calculate the supported link modes based on }(hjhhhNhNubj)}(h**mac_capabilities**h]hmac_capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, and restrict }(hjhhhNhNubj)}(h **supported**h]h supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **state**h]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhy based on that. Use this function if your capabiliies aren’t constant, such as if they vary depending on the interface.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phylink_pcs_neg_mode (C function)c.phylink_pcs_neg_modehNtauh1hhj hhhNhNubh)}(hhh](h)}(hvoid phylink_pcs_neg_mode (struct phylink *pl, struct phylink_pcs *pcs, phy_interface_t interface, const unsigned long *advertising)h]h)}(hvoid phylink_pcs_neg_mode(struct phylink *pl, struct phylink_pcs *pcs, phy_interface_t interface, const unsigned long *advertising)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM%ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM%ubj)}(hphylink_pcs_neg_modeh]j%)}(hphylink_pcs_neg_modeh]hphylink_pcs_neg_mode}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM%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}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubh)}(hhh]j%)}(hphylinkh]hphylink}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjfmodnameN classnameNjj!)}j$]j')}jj,sbc.phylink_pcs_neg_modeasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjBubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjBubeh}(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 }(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=uh1jhj>ubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hj+hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]jc.phylink_pcs_neg_modeasbuh1hhj$ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj%)}(h interfaceh]h interface}(hjWhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj$ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>ubj)}(h const unsigned long *advertisingh](h)}(hjh]hconst}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjlubj)}(h h]h }(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjlubj%)}(h advertisingh]h advertising}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjlubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj>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#helper to determine PCS inband modeh]h#helper to determine PCS inband mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM%hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM%ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hXt**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct phylink_pcs *pcs`` a pointer to :c:type:`struct phylink_pcs ` ``phy_interface_t interface`` interface mode to be used ``const unsigned long *advertising`` adertisement ethtool link mode mask **Description** Determines the negotiation mode to be used by the PCS, and returns one of: - ``PHYLINK_PCS_NEG_NONE``: interface mode does not support inband - ``PHYLINK_PCS_NEG_OUTBAND``: an out of band mode (e.g. reading the PHY) will be used. - ``PHYLINK_PCS_NEG_INBAND_DISABLED``: inband mode selected but autoneg disabled - ``PHYLINK_PCS_NEG_INBAND_ENABLED``: inband mode selected and autoneg enabled **Note** this is for cases where the PCS itself is involved in negotiation (e.g. Clause 37, SGMII and similar) not Clause 73.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM)hjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj;h]hstruct phylink *pl}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM&hj5ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjThhhNhNubh)}(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 refexplicitrefwarnjjjphylinkuh1hhjPhM&hjTubh returned from phylink_create()}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjPhM&hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhM&hj2ubj)}(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'hj2ubj)}(h8``phy_interface_t interface`` interface mode to be used h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM(hjubj)}(hhh]jX)}(hinterface mode to be usedh]hinterface mode to be used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hj2ubj)}(hI``const unsigned long *advertising`` adertisement ethtool link mode mask h](j)}(h$``const unsigned long *advertising``h]j)}(hj(h]h const unsigned long *advertising}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM)hj"ubj)}(hhh]jX)}(h#adertisement ethtool link mode maskh]h#adertisement ethtool link mode mask}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hM)hj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hM)hj2ubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+hjubjX)}(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:}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM*hjubj&:)}(hhh](j+:)}(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.chM-hjubah}(h]h ]h"]h$]h&]uh1j*:hjubj+:)}(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.chM.hjubah}(h]h ]h"]h$]h&]uh1j*:hjubj+:)}(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.chM0hjubah}(h]h ]h"]h$]h&]uh1j*:hjubj+:)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh*: inband mode selected and autoneg enabled}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM2hjubah}(h]h ]h"]h$]h&]uh1j*:hjubeh}(h]h ]h"]h$]h&]j:juh1j%:hjhM-hjubjX)}(h**Note**h]j)}(hj.h]hNote}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM4hjubjX)}(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.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM5hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_set_fixed_link (C function)c.phylink_set_fixed_linkhNtauh1hhj hhhNhNubh)}(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}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhjhMubj)}(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=uh1jhjohhhjhMubj)}(h<(struct phylink *pl, const struct phylink_link_state *state)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_set_fixed_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h&const struct phylink_link_state *stateh](h)}(hjh]hconst}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]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 }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]jc.phylink_set_fixed_linkasbuh1hhjubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hstateh]hstate}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjohhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjkhhhjhMubah}(h]jfah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhhubjS)}(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&]uh1jRhjhhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``const struct phylink_link_state *state`` a pointer to a struct phylink_link_state. **Description** This function is used when the link parameters are known and do not change, making it suitable for certain types of network connections. **Return** zero on success or negative error code.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj"h]hstruct phylink}(hj$hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhMhjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``const struct phylink_link_state *state`` a pointer to a struct phylink_link_state. h](j)}(h*``const struct phylink_link_state *state``h]j)}(hj[h]h&const struct phylink_link_state *state}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjUubj)}(hhh]jX)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubeh}(h]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|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_create (C function)c.phylink_createhNtauh1hhj hhhNhNubh)}(hhh](h)}(hstruct phylink * phylink_create (struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h]h)}(hstruct phylink *phylink_create(struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubh)}(hhh]j%)}(hphylinkh]hphylink}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj#modnameN classnameNjj!)}j$]j')}jphylink_createsbc.phylink_createasbuh1hhjhhhjhMubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj;)}(hj>h]h*}(hjPhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhhhjhMubj)}(hphylink_createh]j%)}(hj?h]hphylink_create}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h(struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h](j)}(hstruct phylink_config *configh](h)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubh)}(hhh]j%)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j=c.phylink_createasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjxubj%)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubj)}(h"const struct fwnode_handle *fwnodeh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj"ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj'modnameN classnameNjj!)}j$]j=c.phylink_createasbuh1hhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjQhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfwnodeh]hfwnode}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubj)}(hphy_interface_t ifaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjzhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjwubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj|modnameN classnameNjj!)}j$]j=c.phylink_createasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj%)}(hifaceh]hiface}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubj)}(h%const struct phylink_mac_ops *mac_opsh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylink_mac_opsh]hphylink_mac_ops}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j=c.phylink_createasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hmac_opsh]hmac_ops}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjtubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjhhubjS)}(hhh]jX)}(hcreate a phylink instanceh]hcreate a phylink instance}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjXhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjsjxjsjyjzj{uh1hhhhj hNhNubj})}(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)}(hj}h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjwubj)}(hhh](j)}(hk``struct phylink_config *config`` a pointer to the target :c:type:`struct phylink_config ` h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hHa pointer to the target :c:type:`struct phylink_config `h](ha pointer to the target }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_configuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle ` describing the network interface h](j)}(h&``const struct fwnode_handle *fwnode``h]j)}(hjh]h"const struct fwnode_handle *fwnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(h^a pointer to a :c:type:`struct fwnode_handle ` describing the network interfaceh](ha pointer to a }(hj hhhNhNubh)}(h.:c:type:`struct fwnode_handle `h]j)}(hjh]hstruct fwnode_handle}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj fwnode_handleuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj ubh! describing the network interface}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj4hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(ho``phy_interface_t iface`` the desired link mode defined by :c:type:`typedef phy_interface_t ` h](j)}(h``phy_interface_t iface``h]j)}(hjQh]hphy_interface_t iface}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjKubj)}(hhh]jX)}(hTthe desired link mode defined by :c:type:`typedef phy_interface_t `h](h!the desired link mode defined by }(hjjhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjth]htypedef phy_interface_t}(hjvhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphy_interface_tuh1hhjfhMhjjubeh}(h]h ]h"]h$]h&]uh1jWhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubj)}(hy``const struct phylink_mac_ops *mac_ops`` a pointer to a :c:type:`struct phylink_mac_ops ` for the MAC. h](j)}(h)``const struct phylink_mac_ops *mac_ops``h]j)}(hjh]h%const struct phylink_mac_ops *mac_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hNa pointer to a :c:type:`struct phylink_mac_ops ` for the MAC.h](ha pointer to a }(hjhhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hjh]hstruct phylink_mac_ops}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_mac_opsuh1hhjhMhjubh for the MAC.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjwubjX)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjwubjX)}(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 }(hjhhhNhNubj)}(h**np**h]hnp}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhA. This will parse in-band modes, fixed-link or SFP configuration.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjwubjX)}(h**Note**h]j)}(hj@h]hNote}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM!hjwubjX)}(h:the rtnl lock must not be held when calling this function.h]h:the rtnl lock must not be held when calling this function.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM"hjwubjX)}(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 }(hjehhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjoh]hstruct phylink}(hjqhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM$hjeubh\, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM$hjwubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_destroy (C function)c.phylink_destroyhNtauh1hhj hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_destroyasbuh1hhjubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj@hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjMhhhNhNubah}(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(cleanup and destroy the phylink instanceh]h(cleanup and destroy the phylink instance}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjthhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(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 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)}(hDestroy a phylink instance. Any PHY that has been attached must have been cleaned up via phylink_disconnect_phy() prior to calling this function.h]hDestroy a phylink instance. Any PHY that has been attached must have been cleaned up via phylink_disconnect_phy() prior to calling this function.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h**Note**h]j)}(hj=h]hNote}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(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.}(hjShhhNhNubah}(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|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_expects_phy (C function)c.phylink_expects_phyhNtauh1hhj hhhNhNubh)}(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&]uh1jhj~hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~hhhjhMubj)}(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=uh1jhj~hhhjhMubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_expects_phyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhj~hhhjhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjzhhhjhMubah}(h]juah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMhjwhhubjS)}(hhh]jX)}(h1Determine if phylink expects a phy to be attachedh]h1Determine if phylink expects a phy to be attached}(hjAhhhNhNubah}(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&]uh1jRhjwhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhj hNhNubj})}(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)}(hjch]h Parameters}(hjehhhNhNubah}(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.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)}(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.chMhj|ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhMhjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj]ubjX)}(h\When using fixed-link mode, or in-band mode with 1000base-X or 2500base-X, no PHY is needed.h]h\When using fixed-link mode, or in-band mode with 1000base-X or 2500base-X, no PHY is needed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj]ubjX)}(h0Returns true if phylink will be expecting a PHY.h]h0Returns true if phylink will be expecting a PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_connect_phy (C function)c.phylink_connect_phyhNtauh1hhj hhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhjBhMubj)}(hphylink_connect_phyh]j%)}(hphylink_connect_phyh]hphylink_connect_phy}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj0hhhjBhMubj)}(h,(struct phylink *pl, struct phy_device *phy)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjmubj)}(h h]h }(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjWsbc.phylink_connect_phyasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjmubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjmubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjiubj)}(hstruct phy_device *phyh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phylink_connect_phyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj-hhhNhNubah}(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=uh1jhjiubeh}(h]h ]h"]h$]h&]j<j=uh1jhj0hhhjBhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj,hhhjBhMubah}(h]j'ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjBhMhj)hhubjS)}(hhh]jX)}(h%connect a PHY to the phylink instanceh]h%connect a PHY to the phylink instance}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjahhubah}(h]h ]h"]h$]h&]uh1jRhj)hhhjBhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj|jxj|jyjzj{uh1hhhhj hNhNubj})}(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)}(hjh]hstruct phy_device *phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(h8a pointer to a :c:type:`struct phy_device `.h](ha pointer to a }(hjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj$h]hstruct phy_device}(hj&hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phy_deviceuh1hhjhMhjubh.}(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)}(hj_h]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.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 }(hjuhhhNhNubj)}(h**phy**h]hphy}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh& to the phylink instance specified by }(hjuhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh/ by calling phy_attach_direct(). Configure the }(hjuhhhNhNubj)}(h**phy**h]hphy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh~ according to the MAC driver’s capabilities, start the PHYLIB state machine and enable any interrupts that the PHY supports.}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.cJhMhjubjX)}(hMThis updates the phylink's ethtool supported and advertising link mode masks.h]hOThis updates the phylink’s ethtool supported and advertising link mode masks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_of_phy_connect (C function)c.phylink_of_phy_connecthNtauh1hhj hhhNhNubh)}(hhh](h)}(hRint phylink_of_phy_connect (struct phylink *pl, struct device_node *dn, u32 flags)h]h)}(hQint phylink_of_phy_connect(struct phylink *pl, struct device_node *dn, u32 flags)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMubj)}(hphylink_of_phy_connecth]j%)}(hphylink_of_phy_connecth]hphylink_of_phy_connect}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMubj)}(h7(struct phylink *pl, struct device_node *dn, u32 flags)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubh)}(hhh]j%)}(hphylinkh]hphylink}(hjShhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjPubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjUmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_of_phy_connectasbuh1hhj1ubj)}(h h]h }(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-ubj)}(hstruct device_node *dnh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h device_nodeh]h device_node}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]joc.phylink_of_phy_connectasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hdnh]hdn}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-ubj)}(h u32 flagsh](h)}(hhh]j%)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]joc.phylink_of_phy_connectasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(hflagsh]hflags}(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)}(h)connect the PHY specified in the DT mode.h]h)connect the PHY specified in the DT mode.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjmhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct device_node *dn`` a pointer to a :c:type:`struct device_node `. ``u32 flags`` PHY-specific flags to communicate to the PHY device driver **Description** Connect the phy specified in the device node **dn** to the phylink instance specified by **pl**. Actions specified in phylink_connect_phy() will be performed. Returns 0 on success or a negative errno.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhMhjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hV``struct device_node *dn`` a pointer to a :c:type:`struct device_node `. h](j)}(h``struct device_node *dn``h]j)}(hj h]hstruct device_node *dn}(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.chMhjubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct device_node `.h](ha pointer to a }(hj&hhhNhNubh)}(h*:c:type:`struct device_node `h]j)}(hj0h]hstruct device_node}(hj2hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj device_nodeuh1hhj"hMhj&ubh.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjubj)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hjih]h u32 flags}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjcubj)}(hhh]jX)}(h:PHY-specific flags to communicate to the PHY device driverh]h:PHY-specific flags to communicate to the PHY device driver}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(hConnect the phy specified in the device node **dn** to the phylink instance specified by **pl**. Actions specified in phylink_connect_phy() will be performed.h](h-Connect the phy specified in the device node }(hjhhhNhNubj)}(h**dn**h]hdn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& to the phylink instance specified by }(hjhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh?. Actions specified in phylink_connect_phy() will be performed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_fwnode_phy_connect (C function)c.phylink_fwnode_phy_connecthNtauh1hhj hhhNhNubh)}(hhh](h)}(hbint phylink_fwnode_phy_connect (struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags)h]h)}(haint phylink_fwnode_phy_connect(struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj*hMubj)}(hphylink_fwnode_phy_connecth]j%)}(hphylink_fwnode_phy_connecth]hphylink_fwnode_phy_connect}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj*hMubj)}(hC(struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjUubj)}(h h]h }(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubh)}(hhh]j%)}(hphylinkh]hphylink}(hjwhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjtubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjymodnameN classnameNjj!)}j$]j')}jj?sbc.phylink_fwnode_phy_connectasbuh1hhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(h"const struct fwnode_handle *fwnodeh](h)}(hjh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(h fwnode_handleh]h fwnode_handle}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phylink_fwnode_phy_connectasbuh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj0hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hfwnodeh]hfwnode}(hj=hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(h u32 flagsh](h)}(hhh]j%)}(hu32h]hu32}(hjYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]jc.phylink_fwnode_phy_connectasbuh1hhjRubj)}(h h]h }(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj%)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(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)}(h(connect the PHY specified in the fwnode.h]h(connect the PHY specified in the fwnode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj*hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle `. ``u32 flags`` PHY-specific flags to communicate to the PHY device driver **Description** Connect the phy specified **fwnode** to the phylink instance specified by **pl**. Returns 0 on success or a negative errno.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhMhj ubh returned from phylink_create()}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hf``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle `. h](j)}(h&``const struct fwnode_handle *fwnode``h]j)}(hjLh]h"const struct fwnode_handle *fwnode}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjFubj)}(hhh]jX)}(h>a pointer to a :c:type:`struct fwnode_handle `.h](ha pointer to a }(hjehhhNhNubh)}(h.:c:type:`struct fwnode_handle `h]j)}(hjoh]hstruct fwnode_handle}(hjqhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj fwnode_handleuh1hhjahMhjeubh.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjubj)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hjh]h u32 flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jX)}(h:PHY-specific flags to communicate to the PHY device driverh]h:PHY-specific flags to communicate to the PHY device driver}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(hQConnect the phy specified **fwnode** to the phylink instance specified by **pl**.h](hConnect the phy specified }(hjhhhNhNubj)}(h **fwnode**h]hfwnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& to the phylink instance specified by }(hjhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjX)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_disconnect_phy (C function)c.phylink_disconnect_phyhNtauh1hhj hhhNhNubh)}(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&]uh1jhjWhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWhhhjihM ubj)}(hphylink_disconnect_phyh]j%)}(hphylink_disconnect_phyh]hphylink_disconnect_phy}(hj|hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjxubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjWhhhjihM ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jj~sbc.phylink_disconnect_phyasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjWhhhjihM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjShhhjihM ubah}(h]jNah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjihM hjPhhubjS)}(hhh]jX)}(h4disconnect any PHY attached to the phylink instance.h]h4disconnect any PHY attached to the phylink instance.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjPhhhjihM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj3jxj3jyjzj{uh1hhhhj hNhNubj})}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Disconnect any current PHY from the phylink instance described by **pl**.h](jX)}(h**Parameters**h]j)}(hj=h]h Parameters}(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 hj7ubj)}(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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjVubj)}(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)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjqhM hjuubh returned from phylink_create()}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjqhM hjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhM hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj7ubjX)}(hIDisconnect any current PHY from the phylink instance described by **pl**.h](hBDisconnect any current PHY from the phylink instance described by }(hjhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mac_change (C function)c.phylink_mac_changehNtauh1hhj hhhNhNubh)}(hhh](h)}(h5void phylink_mac_change (struct phylink *pl, bool up)h]h)}(h4void phylink_mac_change(struct phylink *pl, bool up)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]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 hhhjhM= ubj)}(hphylink_mac_changeh]j%)}(hphylink_mac_changeh]hphylink_mac_change}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhjhM= ubj)}(h(struct phylink *pl, bool up)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubh)}(hhh]j%)}(hphylinkh]hphylink}(hjlhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjiubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjnmodnameN classnameNjj!)}j$]j')}jj4sbc.phylink_mac_changeasbuh1hhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjJubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubj)}(hbool uph](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(huph]hup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjFubeh}(h]h ]h"]h$]h&]j<j=uh1jhj hhhjhM= ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhjhM= ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM= hjhhubjS)}(hhh]jX)}(h'notify phylink of a change in MAC stateh]h'notify phylink of a change in MAC state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM= hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM= ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hXB**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``bool up`` indicates whether the link is currently up. **Description** The MAC driver should call this driver when the state of its link changes (eg, link failure, new negotiation results, etc.)h](jX)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMA 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)}(hjFh]hstruct phylink *pl}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM> hj@ubj)}(hhh]jX)}(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)}(hjih]hstruct phylink}(hjkhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjgubah}(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)}(h8``bool up`` indicates whether the link is currently up. h](j)}(h ``bool up``h]j)}(hjh]hbool up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM? hjubj)}(hhh]jX)}(h+indicates whether the link is currently up.h]h+indicates whether the link is currently up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhM? hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM? hj=ubeh}(h]h ]h"]h$]h&]uh1jhj!ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMA hj!ubjX)}(h{The MAC driver should call this driver when the state of its link changes (eg, link failure, new negotiation results, etc.)h]h{The MAC driver should call this driver when the state of its link changes (eg, link failure, new negotiation results, etc.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM@ hj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs_change (C function)c.phylink_pcs_changehNtauh1hhj hhhNhNubh)}(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&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMK ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj0hMK ubj)}(hphylink_pcs_changeh]j%)}(hphylink_pcs_changeh]hphylink_pcs_change}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj?ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj0hMK 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 }(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubh)}(hhh]j%)}(h phylink_pcsh]h phylink_pcs}(hj}hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjzubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjEsbc.phylink_pcs_changeasbuh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj[ubj%)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubj)}(hbool uph](j)}(hjTh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj%)}(huph]hup}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjWubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj0hMK ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj0hMK ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj0hMK hjhhubjS)}(hhh]jX)}(h,notify phylink of a change to PCS link stateh]h,notify phylink of a change to PCS link state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMK hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj0hMK ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.jxj.jyjzj{uh1hhhhj hNhNubj})}(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)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMO hj2ubj)}(hhh](j)}(hR``struct phylink_pcs *pcs`` pointer to :c:type:`struct phylink_pcs ` h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjWh]hstruct phylink_pcs *pcs}(hjYhhhNhNubah}(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.chML hjQubj)}(hhh]jX)}(h5pointer to :c:type:`struct phylink_pcs `h](h pointer to }(hjphhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjzh]hstruct phylink_pcs}(hj|hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj phylink_pcsuh1hhjlhML hjpubeh}(h]h ]h"]h$]h&]uh1jWhjlhML hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhML hjNubj)}(h8``bool up`` indicates whether the link is currently up. h](j)}(h ``bool up``h]j)}(hjh]hbool up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMM hjubj)}(hhh]jX)}(h+indicates whether the link is currently up.h]h+indicates whether the link is currently up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjhMM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMM hjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMO hj2ubjX)}(hX>The PCS driver should call this when the state of its link changes (e.g. link failure, new negotiation results, etc.) Note: it should not determine "up" by reading the BMSR. If in doubt about the link state at interrupt time, then pass true if pcs_get_state() returns the latched link-down state, otherwise pass false.h]hXBThe PCS driver should call this when the state of its link changes (e.g. link failure, new negotiation results, etc.) Note: it should not determine “up” by reading the BMSR. If in doubt about the link state at interrupt time, then pass true if pcs_get_state() returns the latched link-down state, otherwise pass false.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMN hj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_start (C function)c.phylink_starthNtauh1hhj hhhNhNubh)}(hhh](h)}(h'void phylink_start (struct phylink *pl)h]h)}(h&void phylink_start(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.chMh ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+hhhj=hMh ubj)}(h phylink_starth]j%)}(h phylink_starth]h phylink_start}(hjPhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjLubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj+hhhj=hMh ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjhubj)}(h h]h }(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjRsbc.phylink_startasbuh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjhubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjhubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjdubah}(h]h ]h"]h$]h&]j<j=uh1jhj+hhhj=hMh ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj'hhhj=hMh ubah}(h]j"ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj=hMh hj$hhubjS)}(hhh]jX)}(hstart a phylink instanceh]hstart a phylink instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMh hjhhubah}(h]h ]h"]h$]h&]uh1jRhj$hhhj=hMh ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hX~**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Start the phylink instance specified by **pl**, configuring the MAC for the desired link mode(s) and negotiation style. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_open() method.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMl 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)}(hj0h]hstruct phylink *pl}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMi hj*ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjIhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjSh]hstruct phylink}(hjUhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjEhMi hjIubh returned from phylink_create()}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjEhMi hjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMi 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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMk hj 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 }(hjhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, configuring the MAC for the desired link mode(s) and negotiation style. This should be called from the network device driver’s }(hjhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjh]hstruct net_device_ops}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMj hjubh ndo_open() method.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMj hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_stop (C function)c.phylink_stophNtauh1hhj hhhNhNubh)}(hhh](h)}(h&void phylink_stop (struct phylink *pl)h]h)}(h%void phylink_stop(struct phylink *pl)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(h phylink_stoph]j%)}(h phylink_stoph]h phylink_stop}(hj)hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubh)}(hhh]j%)}(hphylinkh]hphylink}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjemodnameN classnameNjj!)}j$]j')}jj+sbc.phylink_stopasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjAubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hstop a phylink instanceh]hstop a phylink instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Stop the phylink instance specified by **pl**. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_stop() method. The network device's carrier state should not be changed prior to calling this function. This will synchronously bring down the link if the link is not already down (in other words, it will trigger a mac_link_down() method call.)h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj h]hstruct phylink *pl}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(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 refexplicitrefwarnjjjphylinkuh1hhjhM hj"ubh returned from phylink_create()}(hj"hhhNhNubeh}(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)}(hjgh]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(hXStop the phylink instance specified by **pl**. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_stop() method. The network device's carrier state should not be changed prior to calling this function.h](h'Stop the phylink instance specified by }(hj}hhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(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)}(hjh]hstruct net_device_ops}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM 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&]uh1jWhjhM hjubjX)}(hThis will synchronously bring down the link if the link is not already down (in other words, it will trigger a mac_link_down() method call.)h]hThis will synchronously bring down the link if the link is not already down (in other words, it will trigger a mac_link_down() method call.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_rx_clk_stop_block (C function)c.phylink_rx_clk_stop_blockhNtauh1hhj hhhNhNubh)}(hhh](h)}(h3void phylink_rx_clk_stop_block (struct phylink *pl)h]h)}(h2void phylink_rx_clk_stop_block(struct phylink *pl)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphylink_rx_clk_stop_blockh]j%)}(hphylink_rx_clk_stop_blockh]hphylink_rx_clk_stop_block}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj)ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubh)}(hhh]j%)}(hphylinkh]hphylink}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjMmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_rx_clk_stop_blockasbuh1hhj)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%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj)ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h.block PHY ability to stop receive clock in LPIh]h.block PHY ability to stop receive clock in LPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hX\**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Disable the PHY's ability to stop the receive clock while the receive path is in EEE LPI state, until the number of calls to phylink_rx_clk_stop_block() are balanced by calls to phylink_rx_clk_stop_unblock().h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM hj ubh returned from phylink_create()}(hj hhhNhNubeh}(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)}(hjOh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(hDisable the PHY's ability to stop the receive clock while the receive path is in EEE LPI state, until the number of calls to phylink_rx_clk_stop_block() are balanced by calls to phylink_rx_clk_stop_unblock().h]hDisable the PHY’s ability to stop the receive clock while the receive path is in EEE LPI state, until the number of calls to phylink_rx_clk_stop_block() are balanced by calls to phylink_rx_clk_stop_unblock().}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_rx_clk_stop_unblock (C function)c.phylink_rx_clk_stop_unblockhNtauh1hhj hhhNhNubh)}(hhh](h)}(h5void phylink_rx_clk_stop_unblock (struct phylink *pl)h]h)}(h4void phylink_rx_clk_stop_unblock(struct phylink *pl)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphylink_rx_clk_stop_unblockh]j%)}(hphylink_rx_clk_stop_unblockh]hphylink_rx_clk_stop_unblock}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_rx_clk_stop_unblockasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hj*hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h)unblock PHY ability to stop receive clockh]h)unblock PHY ability to stop receive clock}(hjThhhNhNubah}(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&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjljxjljyjzj{uh1hhhhj hNhNubj})}(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)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjpubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjpubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjpubjX)}(hAll calls to phylink_rx_clk_stop_block() must be balanced with a corresponding call to phylink_rx_clk_stop_unblock() to restore the PHYs ability to stop the receive clock when the receive path is in EEE LPI mode.h]hAll calls to phylink_rx_clk_stop_block() must be balanced with a corresponding call to phylink_rx_clk_stop_unblock() to restore the PHYs ability to stop the receive clock when the receive path is in EEE LPI mode.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjpubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_suspend (C function)c.phylink_suspendhNtauh1hhj hhhNhNubh)}(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}(hj8 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4 hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjG hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4 hhhjF hM ubj)}(hphylink_suspendh]j%)}(hphylink_suspendh]hphylink_suspend}(hjY hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj4 hhhjF hM ubj)}(h"(struct phylink *pl, bool mac_wol)h](j)}(hstruct phylink *plh](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%)}(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_suspendasbuh1hhjq 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%)}(hplh]hpl}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjq ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjm ubj)}(h bool mac_wolh](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%)}(hmac_wolh]hmac_wol}(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)}(h%handle a network device suspend eventh]h%handle a network device suspend event}(hj, hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj) hhubah}(h]h ]h"]h$]h&]uh1jRhj- hhhjF hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjD jxjD jyjzj{uh1hhhhj hNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``bool mac_wol`` true if the MAC needs to receive packets for Wake-on-Lan **Description** Handle a network device suspend event. There are several cases: - If Wake-on-Lan is not active, we can bring down the link between the MAC and PHY by calling phylink_stop(). - If Wake-on-Lan is active, and being handled only by the PHY, we can also bring down the link between the MAC and PHY. - If Wake-on-Lan is active, but being handled by the MAC, the MAC still needs to receive packets, so we can not bring the link down.h](jX)}(h**Parameters**h]j)}(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.chM 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.chM 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 hM hj ubh returned from phylink_create()}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjg ubeh}(h]h ]h"]h$]h&]uh1jhj hM hjd ubj)}(hJ``bool mac_wol`` true if the MAC needs to receive packets for Wake-on-Lan h](j)}(h``bool mac_wol``h]j)}(hj h]h bool mac_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)}(h8true if the MAC needs to receive packets for Wake-on-Lanh]h8true if the MAC needs to receive packets for Wake-on-Lan}(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 hjd ubeh}(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.chM hjH ubjX)}(h?Handle a network device suspend event. There are several cases:h]h?Handle a network device suspend event. There are several cases:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjH ubj&:)}(hhh](j+:)}(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().}(hj0 hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj, ubah}(h]h ]h"]h$]h&]uh1j*:hj) ubj+:)}(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.}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjE ubah}(h]h ]h"]h$]h&]uh1j*:hj) ubj+:)}(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.}(hjb hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj^ ubah}(h]h ]h"]h$]h&]uh1j*:hj) ubeh}(h]h ]h"]h$]h&]j:juh1j%:hj> hM hjH ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_prepare_resume (C function)c.phylink_prepare_resumehNtauh1hhj hhhNhNubh)}(hhh](h)}(h0void phylink_prepare_resume (struct phylink *pl)h]h)}(h/void phylink_prepare_resume(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.chM4 ubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhj hM4 ubj)}(hphylink_prepare_resumeh]j%)}(hphylink_prepare_resumeh]hphylink_prepare_resume}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj hhhj hM4 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_prepare_resumeasbuh1hhj ubj)}(h h]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}(hj3 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 hM4 ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj hhhj hM4 ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj hM4 hj hhubjS)}(hhh]jX)}(h"prepare to resume a network deviceh]h"prepare to resume a network device}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM4 hjZ hhubah}(h]h ]h"]h$]h&]uh1jRhj hhhj hM4 ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwju jxju jyjzj{uh1hhhhj hNhNubj})}(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)}(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.chM8 hjy 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.chM5 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 hM5 hj ubh returned from phylink_create()}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj hM5 hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM5 hj ubah}(h]h ]h"]h$]h&]uh1jhjy ubjX)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM7 hjy ubjX)}(hAOptional, but if called must be called prior to phylink_resume().h]hAOptional, but if called must be called prior to phylink_resume().}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM6 hjy ubjX)}(hCPrepare to resume a network device, preparing the PHY as necessary.h]hCPrepare to resume a network device, preparing the PHY as necessary.}(hj! hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM8 hjy ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_resume (C function)c.phylink_resumehNtauh1hhj hhhNhNubh)}(hhh](h)}(h(void phylink_resume (struct phylink *pl)h]h)}(h'void phylink_resume(struct phylink *pl)h](j)}(hvoidh]hvoid}(hjP hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjL 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 hjL hhhj^ hMM ubj)}(hphylink_resumeh]j%)}(hphylink_resumeh]hphylink_resume}(hjq hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjL hhhj^ hMM 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')}jjs sbc.phylink_resumeasbuh1hhj ubj)}(h h]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=uh1jhjL hhhj^ hMM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjH hhhj^ hMM ubah}(h]jC ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj^ hMM hjE hhubjS)}(hhh]jX)}(h$handle a network device resume eventh]h$handle a network device resume event}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMM hj hhubah}(h]h ]h"]h$]h&]uh1jRhjE hhhj^ hMM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(jxj(jyjzj{uh1hhhhj hNhNubj})}(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)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.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)}(hjQh]hstruct phylink *pl}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMN hjKubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjth]hstruct phylink}(hjvhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjfhMN hjjubh returned from phylink_create()}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjfhMN hjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMN hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMP hj,ubjX)}(hRUndo the effects of phylink_suspend(), returning the link to an operational state.h]hRUndo the effects of phylink_suspend(), returning the link to an operational state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMO hj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_get_wol (C function)c.phylink_ethtool_get_wolhNtauh1hhj hhhNhNubh)}(hhh](h)}(hNvoid phylink_ethtool_get_wol (struct phylink *pl, struct ethtool_wolinfo *wol)h]h)}(hMvoid phylink_ethtool_get_wol(struct phylink *pl, struct ethtool_wolinfo *wol)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMu ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhMu ubj)}(hphylink_ethtool_get_wolh]j%)}(hphylink_ethtool_get_wolh]hphylink_ethtool_get_wol}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhMu ubj)}(h1(struct phylink *pl, struct ethtool_wolinfo *wol)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_ethtool_get_wolasbuh1hhj-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)ubj)}(hstruct ethtool_wolinfo *wolh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hethtool_wolinfoh]hethtool_wolinfo}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jkc.phylink_ethtool_get_wolasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hwolh]hwol}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj)ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhMu ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhMu ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhMu hjhhubjS)}(hhh]jX)}(h*get the wake on lan parameters for the PHYh]h*get the wake on lan parameters for the PHY}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMu hj!hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhMu ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhj hNhNubj})}(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)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMy 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)}(hjeh]hstruct phylink *pl}(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.chMv 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)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjzhMv hj~ubh returned from phylink_create()}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjzhMv hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMv hj\ubj)}(h|``struct ethtool_wolinfo *wol`` a pointer to :c:type:`struct ethtool_wolinfo ` to hold the read parameters h](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjh]hstruct ethtool_wolinfo *wol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMw hjubj)}(hhh]jX)}(h[a pointer to :c:type:`struct ethtool_wolinfo ` to hold the read parametersh](h a pointer to }(hjhhhNhNubh)}(h2:c:type:`struct ethtool_wolinfo `h]j)}(hjh]hstruct ethtool_wolinfo}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_wolinfouh1hhjhMw hjubh to hold the read parameters}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMw hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMw hj\ubeh}(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&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMy 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 }(hj5hhhNhNubj)}(h**pl**h]hpl}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubhE. If no PHY is currently attached, report no support for wake on lan.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMx hj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_set_wol (C function)c.phylink_ethtool_set_wolhNtauh1hhj hhhNhNubh)}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrhhhjhM ubj)}(hphylink_ethtool_set_wolh]j%)}(hphylink_ethtool_set_wolh]hphylink_ethtool_set_wol}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjrhhhjhM ubj)}(h1(struct phylink *pl, struct ethtool_wolinfo *wol)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_ethtool_set_wolasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hj hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(hstruct ethtool_wolinfo *wolh](h)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(hethtool_wolinfoh]hethtool_wolinfo}(hjChhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj@ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjEmodnameN classnameNjj!)}j$]jc.phylink_ethtool_set_wolasbuh1hhj!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%)}(hwolh]hwol}(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)}(hset wake on lan parametersh]hset wake on lan parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjkhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_wolinfo *wol`` a pointer to :c:type:`struct ethtool_wolinfo ` for the desired parameters **Description** Set the wake on lan parameters for the PHY attached to the phylink instance specified by **pl**. If no PHY is attached, returns ``EOPNOTSUPP`` error. Returns zero on success or negative errno code.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj h]hstruct phylink}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h{``struct ethtool_wolinfo *wol`` a pointer to :c:type:`struct ethtool_wolinfo ` for the desired parameters h](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjCh]hstruct ethtool_wolinfo *wol}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.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)}(hjfh]hstruct ethtool_wolinfo}(hjhhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_wolinfouh1hhjXhM hj\ubh for the desired parameters}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjXhM hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(hSet the wake on lan parameters for the PHY attached to the phylink instance specified by **pl**. If no PHY is attached, returns ``EOPNOTSUPP`` error.h](hYSet the wake on lan parameters for the PHY attached to the phylink instance specified by }(hjhhhNhNubj)}(h**pl**h]hpl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh!. If no PHY is attached, returns }(hjhhhNhNubj)}(h``EOPNOTSUPP``h]h EOPNOTSUPP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh error.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(h/Returns zero on success or negative errno code.h]h/Returns zero on success or negative errno code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_ethtool_ksettings_get (C function)c.phylink_ethtool_ksettings_gethNtauh1hhj hhhNhNubh)}(hhh](h)}(h[int phylink_ethtool_ksettings_get (struct phylink *pl, struct ethtool_link_ksettings *kset)h]h)}(hZint phylink_ethtool_ksettings_get(struct phylink *pl, struct ethtool_link_ksettings *kset)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhj'hM ubj)}(hphylink_ethtool_ksettings_geth]j%)}(hphylink_ethtool_ksettings_geth]hphylink_ethtool_ksettings_get}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhj'hM ubj)}(h9(struct phylink *pl, struct ethtool_link_ksettings *kset)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(hphylinkh]hphylink}(hjthhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjqubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjvmodnameN classnameNjj!)}j$]j')}jj<sbc.phylink_ethtool_ksettings_getasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubj)}(h#struct ethtool_link_ksettings *kseth](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phylink_ethtool_ksettings_getasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hkseth]hkset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjNubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhj'hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhj'hM ubah}(h]j ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj'hM hjhhubjS)}(hhh]jX)}(hget the current link settingsh]hget the current link settings}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjFhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhj'hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjajxjajyjzj{uh1hhhhj hNhNubj})}(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)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjeubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``struct ethtool_link_ksettings *kset`` a pointer to a :c:type:`struct ethtool_link_ksettings ` to hold link settings h](j)}(h'``struct ethtool_link_ksettings *kset``h]j)}(hjh]h#struct ethtool_link_ksettings *kset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` to hold link settingsh](ha pointer to a }(hjhhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hj h]hstruct ethtool_link_ksettings}(hj hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_link_ksettingsuh1hhjhM hjubh to hold link settings}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjeubjX)}(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 hjeubjX)}(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 }(hjZhhhNhNubj)}(h**pl**h]hpl}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubhy. This will be the link settings read from the MAC, PHY or fixed link settings depending on the current negotiation mode.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjeubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_ethtool_ksettings_set (C function)c.phylink_ethtool_ksettings_sethNtauh1hhj hhhNhNubh)}(hhh](h)}(haint phylink_ethtool_ksettings_set (struct phylink *pl, const struct ethtool_link_ksettings *kset)h]h)}(h`int phylink_ethtool_ksettings_set(struct phylink *pl, const struct ethtool_link_ksettings *kset)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM@ ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM@ ubj)}(hphylink_ethtool_ksettings_seth]j%)}(hphylink_ethtool_ksettings_seth]hphylink_ethtool_ksettings_set}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM@ ubj)}(h?(struct phylink *pl, const struct ethtool_link_ksettings *kset)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjsbc.phylink_ethtool_ksettings_setasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hj$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hj1hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h)const struct ethtool_link_ksettings *kseth](h)}(hjh]hconst}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFubj)}(h h]h }(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubh)}(hhh]j%)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]jc.phylink_ethtool_ksettings_setasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFubj%)}(hkseth]hkset}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM@ ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM@ ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM@ hjhhubjS)}(hhh]jX)}(hset the link settingsh]hset the link settings}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM@ hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM@ ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(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)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMD hjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj'h]hstruct phylink *pl}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMA 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)}(hjJh]hstruct phylink}(hjLhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhj<hMA hj@ubh returned from phylink_create()}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj<hMA hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMA hjubj)}(h``const struct ethtool_link_ksettings *kset`` a pointer to a :c:type:`struct ethtool_link_ksettings ` for the desired modesh](j)}(h-``const struct ethtool_link_ksettings *kset``h]j)}(hjh]h)const struct ethtool_link_ksettings *kset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMC hj}ubj)}(hhh]jX)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` for the desired modesh](ha pointer to a }(hjhhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hjh]hstruct ethtool_link_ksettings}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_link_ksettingsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMB hjubh for the desired modes}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhMB hjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMC hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_ethtool_nway_reset (C function)c.phylink_ethtool_nway_resethNtauh1hhj hhhNhNubh)}(hhh](h)}(h3int phylink_ethtool_nway_reset (struct phylink *pl)h]h)}(h2int phylink_ethtool_nway_reset(struct phylink *pl)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphylink_ethtool_nway_reseth]j%)}(hphylink_ethtool_nway_reseth]hphylink_ethtool_nway_reset}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubh)}(hhh]j%)}(hphylinkh]hphylink}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj]modnameN classnameNjj!)}j$]j')}jj#sbc.phylink_ethtool_nway_resetasbuh1hhj9ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj9ubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj9ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj5ubah}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(hrestart negotiationh]hrestart negotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjjxjjyjzj{uh1hhhhj hNhNubj})}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Restart negotiation for the phylink instance specified by **pl**. This will cause any attached phy to restart negotiation with the link partner, and if the MAC is in a BaseX mode, the MAC will also be requested to restart negotiation. Returns zero on success, or negative error code.h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj$h]hstruct phylink}(hj&hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjhM hjubh returned from phylink_create()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjX)}(h**Description**h]j)}(hj_h]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(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 }(hjuhhhNhNubj)}(h**pl**h]hpl}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh. 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.}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubjX)}(h0Returns zero on success, or negative error code.h]h0Returns zero on success, or negative error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_ethtool_get_pauseparam (C function) c.phylink_ethtool_get_pauseparamhNtauh1hhj hhhNhNubh)}(hhh](h)}(hZvoid phylink_ethtool_get_pauseparam (struct phylink *pl, struct ethtool_pauseparam *pause)h]h)}(hYvoid phylink_ethtool_get_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphylink_ethtool_get_pauseparamh]j%)}(hphylink_ethtool_get_pauseparamh]hphylink_ethtool_get_pauseparam}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h6(struct phylink *pl, struct ethtool_pauseparam *pause)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(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')}jjsb c.phylink_ethtool_get_pauseparamasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubj)}(h struct ethtool_pauseparam *pauseh](h)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubh)}(hhh]j%)}(hethtool_pauseparamh]hethtool_pauseparam}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j< c.phylink_ethtool_get_pauseparamasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjpubj%)}(hpauseh]hpause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjpubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h get the current pause parametersh]h get the current pause parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj jxj jyjzj{uh1hhhhj hNhNubj})}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](jX)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj6h]hstruct phylink *pl}(hj8hhhNhNubah}(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 hj0ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjOhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjYh]hstruct phylink}(hj[hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjKhM hjOubh returned from phylink_create()}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjKhM hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhM hj-ubj)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hjh]h struct ethtool_pauseparam *pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hjhhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hjh]hstruct ethtool_pauseparam}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_pauseparamuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj-ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_ethtool_set_pauseparam (C function) c.phylink_ethtool_set_pauseparamhNtauh1hhj hhhNhNubh)}(hhh](h)}(hYint phylink_ethtool_set_pauseparam (struct phylink *pl, struct ethtool_pauseparam *pause)h]h)}(hXint phylink_ethtool_set_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhjhM ubj)}(hphylink_ethtool_set_pauseparamh]j%)}(hphylink_ethtool_set_pauseparamh]hphylink_ethtool_set_pauseparam}(hj,hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj(ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjhhhjhM ubj)}(h6(struct phylink *pl, struct ethtool_pauseparam *pause)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjDubj)}(h h]h }(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubh)}(hhh]j%)}(hphylinkh]hphylink}(hjfhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjhmodnameN classnameNjj!)}j$]j')}jj.sb c.phylink_ethtool_set_pauseparamasbuh1hhjDubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjDubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjDubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubj)}(h struct ethtool_pauseparam *pauseh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hethtool_pauseparamh]hethtool_pauseparam}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j c.phylink_ethtool_set_pauseparamasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hpauseh]hpause}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj@ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjhhhjhM ubah}(h]jah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjhM hjhhubjS)}(hhh]jX)}(h set the current pause parametersh]h set the current pause parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj8hhubah}(h]h ]h"]h$]h&]uh1jRhjhhhjhM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjSjxjSjyjzj{uh1hhhhj hNhNubj})}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](jX)}(h**Parameters**h]j)}(hj]h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjWubj)}(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&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjvubj)}(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&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhM hjsubj)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hjh]h struct ethtool_pauseparam *pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubj)}(hhh]jX)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hjhhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hjh]hstruct ethtool_pauseparam}(hjhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_pauseparamuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjubeh}(h]h ]h"]h$]h&]uh1jWhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjsubeh}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_get_eee_err (C function)c.phylink_get_eee_errhNtauh1hhj hhhNhNubh)}(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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMi ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]jah"]h$]jh&]uh1j hjMhhhj_hMi ubj)}(hphylink_get_eee_errh]j%)}(hphylink_get_eee_errh]hphylink_get_eee_err}(hjrhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjnubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjMhhhj_hMi ubj)}(h(struct phylink *pl)h]j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubh)}(hhh]j%)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjmodnameN classnameNjj!)}j$]j')}jjtsbc.phylink_get_eee_errasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj;)}(hj>h]h*}(hjhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjubj%)}(hplh]hpl}(hjhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjubah}(h]h ]h"]h$]h&]j<j=uh1jhjMhhhj_hMi ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIhhhj_hMi ubah}(h]jDah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj_hMi hjFhhubjS)}(hhh]jX)}(h0read the energy efficient ethernet error counterh]h0read the energy efficient ethernet error counter}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMi hj hhubah}(h]h ]h"]h$]h&]uh1jRhjFhhhj_hMi ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj) jxj) jyjzj{uh1hhhhj hNhNubj})}(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)}(hj3 h]h Parameters}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1 ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMm hj- ubj)}(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)}(hjR h]hstruct phylink *pl}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMk hjL ubj)}(hhh]jX)}(hQa pointer to a :c:type:`struct phylink ` returned from phylink_create().h](ha pointer to a }(hjk hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hju h]hstruct phylink}(hjw hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjs ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhjg hMk hjk ubh returned from phylink_create().}(hjk hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjg hMk hjh ubah}(h]h ]h"]h$]h&]uh1jhjL ubeh}(h]h ]h"]h$]h&]uh1jhjg hMk hjI 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.chMm hj- ubjX)}(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 }(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.chMl hj- ubjX)}(h=Returns positive error counter value, or negative error code.h]h=Returns positive error counter value, or negative error code.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMo hj- ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_get_eee (C function)c.phylink_ethtool_get_eeehNtauh1hhj hhhNhNubh)}(hhh](h)}(hJint phylink_ethtool_get_eee (struct phylink *pl, struct ethtool_keee *eee)h]h)}(hIint phylink_ethtool_get_eee(struct phylink *pl, struct ethtool_keee *eee)h](j)}(hinth]hint}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hj%!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhj$!hM ubj)}(hphylink_ethtool_get_eeeh]j%)}(hphylink_ethtool_get_eeeh]hphylink_ethtool_get_eee}(hj7!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj3!ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj!hhhj$!hM ubj)}(h.(struct phylink *pl, struct ethtool_keee *eee)h](j)}(hstruct phylink *plh](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%)}(hphylinkh]hphylink}(hjq!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjs!modnameN classnameNjj!)}j$]j')}jj9!sbc.phylink_ethtool_get_eeeasbuh1hhjO!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%)}(hplh]hpl}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjK!ubj)}(hstruct ethtool_keee *eeeh](h)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hj!hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!modnameN classnameNjj!)}j$]j!c.phylink_ethtool_get_eeeasbuh1hhj!ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj;)}(hj>h]h*}(hj"hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj!ubj%)}(heeeh]heee}(hj"hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj!ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjK!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-read the energy efficient ethernet parametersh]h-read the energy efficient ethernet parameters}(hjF"hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjC"hhubah}(h]h ]h"]h$]h&]uh1jRhj !hhhj$!hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^"jxj^"jyjzj{uh1hhhhj hNhNubj})}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_keee *eee`` a pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](jX)}(h**Parameters**h]j)}(hjh"h]h Parameters}(hjj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf"ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjb"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)}(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)}(hj"h]hstruct ethtool_keee *eee}(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)}(hSa pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](ha pointer to a }(hj"hhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hj#h]hstruct ethtool_keee}(hj#hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj ethtool_keeeuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj"ubh for the read 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 hj~"ubeh}(h]h ]h"]h$]h&]uh1jhjb"ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_set_eee (C function)c.phylink_ethtool_set_eeehNtauh1hhj hhhNhNubh)}(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}(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 }(hjo#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\#hhhjn#hM ubj)}(hphylink_ethtool_set_eeeh]j%)}(hphylink_ethtool_set_eeeh]hphylink_ethtool_set_eee}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}#ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj\#hhhjn#hM ubj)}(h.(struct phylink *pl, struct ethtool_keee *eee)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_set_eeeasbuh1hhj#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj;)}(hj>h]h*}(hj#hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj#ubj%)}(hplh]hpl}(hj#hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj#ubj)}(hstruct ethtool_keee *eeeh](h)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj $ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj $ubh)}(hhh]j%)}(h ethtool_keeeh]h ethtool_keee}(hj-$hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj*$ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/$modnameN classnameNjj!)}j$]j#c.phylink_ethtool_set_eeeasbuh1hhj $ubj)}(h h]h }(hjK$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj $ubj;)}(hj>h]h*}(hjY$hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj $ubj%)}(heeeh]heee}(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\#hhhjn#hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjX#hhhjn#hM ubah}(h]jS#ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjn#hM hjU#hhubjS)}(hhh]jX)}(h,set the energy efficient ethernet parametersh]h,set the energy efficient ethernet 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&]uh1jRhjU#hhhjn#hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj$jxj$jyjzj{uh1hhhhj hNhNubj})}(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$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)}(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)}(hj-%h]hstruct ethtool_keee *eee}(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)}(hVa pointer to a :c:type:`struct ethtool_keee ` for the desired parametersh](ha pointer to a }(hjF%hhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hjP%h]hstruct ethtool_keee}(hjR%hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjN%ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj ethtool_keeeuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjF%ubh for the desired parameters}(hjF%hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjm%hM hjC%ubah}(h]h ]h"]h$]h&]uh1jhj'%ubeh}(h]h ]h"]h$]h&]uh1jhjB%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](hphylink_mii_ioctl (C function)c.phylink_mii_ioctlhNtauh1hhj hhhNhNubh)}(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%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMW ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%hhhj%hMW ubj)}(hphylink_mii_ioctlh]j%)}(hphylink_mii_ioctlh]hphylink_mii_ioctl}(hj%hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj%hhhj%hMW ubj)}(h0(struct phylink *pl, struct ifreq *ifr, int cmd)h](j)}(hstruct phylink *plh](h)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]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_mii_ioctlasbuh1hhj%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%)}(hplh]hpl}(hj@&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubj)}(hstruct ifreq *ifrh](h)}(hjh]hstruct}(hjY&hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjU&ubj)}(h h]h }(hjf&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjU&ubh)}(hhh]j%)}(hifreqh]hifreq}(hjw&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjt&ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjy&modnameN classnameNjj!)}j$]j!&c.phylink_mii_ioctlasbuh1hhjU&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%)}(hifrh]hifr}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjU&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubj)}(hint cmdh](j)}(hinth]hint}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj%)}(hcmdh]hcmd}(hj&hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj&ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj%ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj%hhhj%hMW ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj%hhhj%hMW ubah}(h]j%ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj%hMW hj%hhubjS)}(hhh]jX)}(hgeneric mii ioctl interfaceh]hgeneric mii ioctl interface}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMW hj 'hhubah}(h]h ]h"]h$]h&]uh1jRhj%hhhj%hMW ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj''jxj''jyjzj{uh1hhhhj hNhNubj})}(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)}(hj1'h]h Parameters}(hj3'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)}(hjP'h]hstruct phylink *pl}(hjR'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMX hjJ'ubj)}(hhh]jX)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hji'hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjs'h]hstruct phylink}(hju'hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjq'ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylinkuh1hhje'hMX hji'ubh returned from phylink_create()}(hji'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhje'hMX hjf'ubah}(h]h ]h"]h$]h&]uh1jhjJ'ubeh}(h]h ]h"]h$]h&]uh1jhje'hMX hjG'ubj)}(hV``struct ifreq *ifr`` a pointer to a :c:type:`struct ifreq ` for socket ioctls 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMY hj'ubj)}(hhh]jX)}(h?a pointer to a :c:type:`struct ifreq ` for socket ioctlsh](ha pointer to a }(hj'hhhNhNubh)}(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'hMY hj'ubh for socket ioctls}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj'hMY hj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMY hjG'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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMZ hj(ubj)}(hhh]jX)}(hioctl cmd to executeh]hioctl cmd to execute}(hj!(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj(hMZ hj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMZ hjG'ubeh}(h]h ]h"]h$]h&]uh1jhj+'ubjX)}(h**Description**h]j)}(hjC(h]h Description}(hjE(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA(ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM\ hj+'ubjX)}(hPerform the specified MII ioctl on the PHY attached to the phylink instance specified by **pl**. If no PHY is attached, emulate the presence of the PHY.h](hYPerform the specified MII ioctl on the PHY attached to the phylink instance specified by }(hjY(hhhNhNubj)}(h**pl**h]hpl}(hja(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY(ubh9. If no PHY is attached, emulate the presence of the PHY.}(hjY(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM[ hj+'ubj)}(hhh](j)}(h4``SIOCGMIIPHY``: read register from the current PHY.h](j)}(h``SIOCGMIIPHY``:h](j)}(h``SIOCGMIIPHY``h]h SIOCGMIIPHY}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh:}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM_ hj}(ubj)}(hhh]jX)}(h#read register from the current PHY.h]h#read register from the current PHY.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM` hj(ubah}(h]h ]h"]h$]h&]uh1jhj}(ubeh}(h]h ]h"]h$]h&]uh1jhj(hM_ hjz(ubj)}(h6``SIOCGMIIREG``: read register from the specified PHY.h](j)}(h``SIOCGMIIREG``:h](j)}(h``SIOCGMIIREG``h]h SIOCGMIIREG}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh:}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMa hj(ubj)}(hhh]jX)}(h%read register from the specified PHY.h]h%read register from the specified PHY.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMb hj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMa hjz(ubj)}(h6``SIOCSMIIREG``: set a register on the specified PHY. h](j)}(h``SIOCSMIIREG``:h](j)}(h``SIOCSMIIREG``h]h SIOCSMIIREG}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh:}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMd hj(ubj)}(hhh]jX)}(h$set a register on the specified PHY.h]h$set a register on the specified PHY.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj)hMd hj)ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj)hMd hjz(ubeh}(h]h ]h"]h$]h&]uh1jhj+'ubjX)}(h **Return**h]j)}(hjA)h]hReturn}(hjC)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?)ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMf hj+'ubjX)}(h'zero on success or negative error code.h]h'zero on success or negative error code.}(hjW)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|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_speed_down (C function)c.phylink_speed_downhNtauh1hhj hhhNhNubh)}(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}(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_speed_downh]j%)}(hphylink_speed_downh]hphylink_speed_down}(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, bool sync)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_speed_downasbuh1hhj)ubj)}(h h]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 bool synch](j)}(hjTh]hbool}(hj5*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1*ubj)}(h h]h }(hjB*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1*ubj%)}(hsynch]hsync}(hjP*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)hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj~)hhhj)hM ubah}(h]jy)ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj)hM hj{)hhubjS)}(hhh]jX)}(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}(hjz*hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjw*hhubah}(h]h ]h"]h$]h&]uh1jRhj{)hhhj)hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj*jxj*jyjzj{uh1hhhhj hNhNubj})}(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)}(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+``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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj+ubj)}(hhh]jX)}(hperform action synchronouslyh]hperform action synchronously}(hj0+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)}(hjR+h]h Description}(hjT+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP+ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj*ubjX)}(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 }(hjh+hhhNhNubj)}(h**sync**h]hsync}(hjp+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh+ubh parameter.}(hjh+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj*ubjX)}(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().}(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|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_speed_up (C function)c.phylink_speed_uphNtauh1hhj hhhNhNubh)}(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+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_speed_uph]j%)}(hphylink_speed_uph]hphylink_speed_up}(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_speed_upasbuh1hhj+ubj)}(h h]h }(hj3,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj;)}(hj>h]h*}(hjA,hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj+ubj%)}(hplh]hpl}(hjN,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)}(hGrestore the advertised speeds prior to the call to phylink_speed_down()h]hGrestore the advertised speeds prior to the call to phylink_speed_down()}(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&]jvjqjwj,jxj,jyjzj{uh1hhhhj hNhNubj})}(hX4**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** If we have a PHY that is not part of a SFP module, then restore the PHY speeds as per phy_speed_up(). Returns zero if there is no PHY, otherwise as per phy_speed_up().h](jX)}(h**Parameters**h]j)}(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,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)}(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().}(hj--hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj,ubjX)}(hAReturns zero if there is no PHY, otherwise as per phy_speed_up().h]hAReturns zero if there is no PHY, otherwise as per phy_speed_up().}(hj<-hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_decode_usxgmii_word (C function)c.phylink_decode_usxgmii_wordhNtauh1hhj hhhNhNubh)}(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}(hjk-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg-hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM}ubj)}(h h]h }(hjz-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjg-hhhjy-hM}ubj)}(hphylink_decode_usxgmii_wordh]j%)}(hphylink_decode_usxgmii_wordh]hphylink_decode_usxgmii_word}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjg-hhhjy-hM}ubj)}(h0(struct phylink_link_state *state, uint16_t lpa)h](j)}(h struct phylink_link_state *stateh](h)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hj-hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj-modnameN classnameNjj!)}j$]j')}jj-sbc.phylink_decode_usxgmii_wordasbuh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj;)}(hj>h]h*}(hj-hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj-ubj%)}(hstateh]hstate}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj-ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-ubj)}(h uint16_t lpah](h)}(hhh]j%)}(huint16_th]huint16_t}(hj.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj.modnameN classnameNjj!)}j$]j-c.phylink_decode_usxgmii_wordasbuh1hhj.ubj)}(h h]h }(hj;.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj%)}(hlpah]hlpa}(hjI.hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj.ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj-ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjg-hhhjy-hM}ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjc-hhhjy-hM}ubah}(h]j^-ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjy-hM}hj`-hhubjS)}(hhh]jX)}(h&decode the USXGMII word from a MAC PCSh]h&decode the USXGMII word from a MAC PCS}(hjs.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM}hjp.hhubah}(h]h ]h"]h$]h&]uh1jRhj`-hhhjy-hM}ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj.jxj.jyjzj{uh1hhhhj hNhNubj})}(hX**Parameters** ``struct phylink_link_state *state`` a pointer to a struct phylink_link_state. ``uint16_t lpa`` a 16 bit value which stores the USXGMII auto-negotiation word **Description** Helper for MAC PCS supporting the USXGMII protocol and the auto-negotiation code word. Decode the USXGMII code word and populate the corresponding fields (speed, duplex) into the phylink_link_state structure.h](jX)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.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.chM~hj.ubj)}(hhh]jX)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj.hM~hj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hM~hj.ubj)}(hO``uint16_t lpa`` a 16 bit value which stores the USXGMII auto-negotiation word h](j)}(h``uint16_t lpa``h]j)}(hj.h]h uint16_t lpa}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj.ubj)}(hhh]jX)}(h=a 16 bit value which stores the USXGMII auto-negotiation wordh]h=a 16 bit value which stores the USXGMII auto-negotiation word}(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)}(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.}(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|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_decode_usgmii_word (C function)c.phylink_decode_usgmii_wordhNtauh1hhj hhhNhNubh)}(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}(hjm/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji/hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj)}(h h]h }(hj|/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji/hhhj{/hMubj)}(hphylink_decode_usgmii_wordh]j%)}(hphylink_decode_usgmii_wordh]hphylink_decode_usgmii_word}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhji/hhhj{/hMubj)}(h0(struct phylink_link_state *state, uint16_t lpa)h](j)}(h struct phylink_link_state *stateh](h)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hj/hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj/modnameN classnameNjj!)}j$]j')}jj/sbc.phylink_decode_usgmii_wordasbuh1hhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj;)}(hj>h]h*}(hj/hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj/ubj%)}(hstateh]hstate}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj/ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubj)}(h uint16_t lpah](h)}(hhh]j%)}(huint16_th]huint16_t}(hj0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj!0modnameN classnameNjj!)}j$]j/c.phylink_decode_usgmii_wordasbuh1hhj0ubj)}(h h]h }(hj=0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj%)}(hlpah]hlpa}(hjK0hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj0ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj/ubeh}(h]h ]h"]h$]h&]j<j=uh1jhji/hhhj{/hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhje/hhhj{/hMubah}(h]j`/ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj{/hMhjb/hhubjS)}(hhh]jX)}(h%decode the USGMII word from a MAC PCSh]h%decode the USGMII word from a MAC PCS}(hju0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjr0hhubah}(h]h ]h"]h$]h&]uh1jRhjb/hhhj{/hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj0jxj0jyjzj{uh1hhhhj hNhNubj})}(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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj0ubj)}(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)}(hj0h]h struct phylink_link_state *state}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj0ubj)}(hhh]jX)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj0ubj)}(hN``uint16_t lpa`` a 16 bit value which stores the USGMII auto-negotiation word h](j)}(h``uint16_t lpa``h]j)}(hj0h]h uint16_t lpa}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj0ubj)}(hhh]jX)}(hh]h*}(hj1hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj1ubj%)}(hstateh]hstate}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj1ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(hunsigned int neg_modeh](j)}(hunsignedh]hunsigned}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hj,2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(hinth]hint}(hj:2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hjH2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj%)}(hneg_modeh]hneg_mode}(hjV2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(hu16 bmsrh](h)}(hhh]j%)}(hu16h]hu16}(hjr2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjo2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjt2modnameN classnameNjj!)}j$]j1"c.phylink_mii_c22_pcs_decode_stateasbuh1hhjk2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjk2ubj%)}(hbmsrh]hbmsr}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjk2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubj)}(hu16 lpah](h)}(hhh]j%)}(hu16h]hu16}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj2modnameN classnameNjj!)}j$]j1"c.phylink_mii_c22_pcs_decode_stateasbuh1hhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj%)}(hlpah]hlpa}(hj2hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj2ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj1ubeh}(h]h ]h"]h$]h&]j<j=uh1jhjk1hhhj}1hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjg1hhhj}1hMubah}(h]jb1ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj}1hMhjd1hhubjS)}(hhh]jX)}(h'Decode MAC PCS state from MII registersh]h'Decode MAC PCS state from MII registers}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj 3hhubah}(h]h ]h"]h$]h&]uh1jRhjd1hhhj}1hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj(3jxj(3jyjzj{uh1hhhhj hNhNubj})}(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)}(hj23h]h Parameters}(hj43hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj03ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj,3ubj)}(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)}(hjQ3h]h struct phylink_link_state *state}(hjS3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO3ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjK3ubj)}(hhh]jX)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hjj3hhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjt3h]hstruct phylink_link_state}(hjv3hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjr3ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhjf3hMhjj3ubh.}(hjj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjf3hMhjg3ubah}(h]h ]h"]h$]h&]uh1jhjK3ubeh}(h]h ]h"]h$]h&]uh1jhjf3hMhjH3ubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hj3h]hunsigned int neg_mode}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj3ubj)}(hhh]jX)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjH3ubj)}(h4``u16 bmsr`` The value of the ``MII_BMSR`` register h](j)}(h ``u16 bmsr``h]j)}(hj3h]hu16 bmsr}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj3ubj)}(hhh]jX)}(h&The value of the ``MII_BMSR`` registerh](hThe value of the }(hj3hhhNhNubj)}(h ``MII_BMSR``h]hMII_BMSR}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh register}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjH3ubj)}(h2``u16 lpa`` The value of the ``MII_LPA`` register h](j)}(h ``u16 lpa``h]j)}(hj14h]hu16 lpa}(hj34hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj+4ubj)}(hhh]jX)}(h%The value of the ``MII_LPA`` registerh](hThe value of the }(hjJ4hhhNhNubj)}(h ``MII_LPA``h]hMII_LPA}(hjR4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ4ubh register}(hjJ4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjF4hMhjG4ubah}(h]h ]h"]h$]h&]uh1jhj+4ubeh}(h]h ]h"]h$]h&]uh1jhjF4hMhjH3ubeh}(h]h ]h"]h$]h&]uh1jhj,3ubjX)}(h**Description**h]j)}(hj~4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|4ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj,3ubjX)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj,3ubjX)}(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 }(hj4hhhNhNubj)}(h **state**h]hstate}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh structure. This is suitable to be used for implementing the pcs_get_state() member of the struct phylink_pcs_ops structure if accessing }(hj4hhhNhNubj)}(h**bmsr**h]hbmsr}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh and }(hj4hhhNhNubj)}(h**lpa**h]hlpa}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh# cannot be done with MDIO directly.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj,3ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_mii_c22_pcs_get_state (C function)c.phylink_mii_c22_pcs_get_statehNtauh1hhj hhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhj5hM ubj)}(hphylink_mii_c22_pcs_get_stateh]j%)}(hphylink_mii_c22_pcs_get_stateh]hphylink_mii_c22_pcs_get_state}(hj)5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj%5ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj5hhhj5hM ubj)}(hR(struct mdio_device *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j)}(hstruct mdio_device *pcsh](h)}(hjh]hstruct}(hjE5hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjA5ubj)}(h h]h }(hjR5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjA5ubh)}(hhh]j%)}(h mdio_deviceh]h mdio_device}(hjc5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj`5ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetje5modnameN classnameNjj!)}j$]j')}jj+5sbc.phylink_mii_c22_pcs_get_stateasbuh1hhjA5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjA5ubj;)}(hj>h]h*}(hj5hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjA5ubj%)}(hpcsh]hpcs}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjA5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=5ubj)}(hunsigned int neg_modeh](j)}(hunsignedh]hunsigned}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(hinth]hint}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj%)}(hneg_modeh]hneg_mode}(hj5hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=5ubj)}(h struct phylink_link_state *stateh](h)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubh)}(hhh]j%)}(hphylink_link_stateh]hphylink_link_state}(hj&6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj#6ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj(6modnameN classnameNjj!)}j$]j5c.phylink_mii_c22_pcs_get_stateasbuh1hhj6ubj)}(h h]h }(hjD6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj;)}(hj>h]h*}(hjR6hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj6ubj%)}(hstateh]hstate}(hj_6hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj6ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj=5ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj5hhhj5hM ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj5hhhj5hM ubah}(h]j4ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj5hM hj4hhubjS)}(hhh]jX)}(hread the MAC PCS stateh]hread the MAC PCS state}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj6hhubah}(h]h ]h"]h$]h&]uh1jRhj4hhhj5hM ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj6jxj6jyjzj{uh1hhhhj hNhNubj})}(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)}(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.chMhj6ubj)}(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)}(hj6h]hstruct mdio_device *pcs}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj6ubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hj6hhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hj6h]hstruct mdio_device}(hj6hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj mdio_deviceuh1hhj6hM hj6ubh.}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj6hM hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM hj6ubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hj&7h]hunsigned int neg_mode}(hj(7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj 7ubj)}(hhh]jX)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hj?7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj;7hM hj<7ubah}(h]h ]h"]h$]h&]uh1jhj 7ubeh}(h]h ]h"]h$]h&]uh1jhj;7hM hj6ubj)}(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_7h]h struct phylink_link_state *state}(hja7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjY7ubj)}(hhh]jX)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hjx7hhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hj7h]hstruct phylink_link_state}(hj7hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjphylink_link_stateuh1hhjt7hMhjx7ubh.}(hjx7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjt7hMhju7ubah}(h]h ]h"]h$]h&]uh1jhjY7ubeh}(h]h ]h"]h$]h&]uh1jhjt7hMhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6ubjX)}(h**Description**h]j)}(hj7h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj6ubjX)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj6ubjX)}(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 }(hj7hhhNhNubj)}(h **config**h]hconfig}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubhW and parse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink }(hj7hhhNhNubj)}(h **state**h]hstate}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh| structure. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h5phylink_mii_c22_pcs_encode_advertisement (C function)*c.phylink_mii_c22_pcs_encode_advertisementhNtauh1hhj hhhNhNubh)}(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}(hj58hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj18hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+ubj)}(h h]h }(hjD8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj18hhhjC8hM+ubj)}(h(phylink_mii_c22_pcs_encode_advertisementh]j%)}(h(phylink_mii_c22_pcs_encode_advertisementh]h(phylink_mii_c22_pcs_encode_advertisement}(hjV8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjR8ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj18hhhjC8hM+ubj)}(h=(phy_interface_t interface, const unsigned long *advertising)h](j)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hju8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjr8ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjw8modnameN classnameNjj!)}j$]j')}jjX8sb*c.phylink_mii_c22_pcs_encode_advertisementasbuh1hhjn8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjn8ubj%)}(h interfaceh]h interface}(hj8hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjn8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjj8ubj)}(h const unsigned long *advertisingh](h)}(hjh]hconst}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(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 }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj;)}(hj>h]h*}(hj9hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj8ubj%)}(h advertisingh]h advertising}(hj9hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj8ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjj8ubeh}(h]h ]h"]h$]h&]j<j=uh1jhj18hhhjC8hM+ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj-8hhhjC8hM+ubah}(h]j(8ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjC8hM+hj*8hhubjS)}(hhh]jX)}(h)configure the clause 37 PCS advertisementh]h)configure the clause 37 PCS advertisement}(hjF9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+hjC9hhubah}(h]h ]h"]h$]h&]uh1jRhj*8hhhjC8hM+ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj^9jxj^9jyjzj{uh1hhhhj hNhNubj})}(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)}(hjh9h]h Parameters}(hjj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf9ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/hjb9ubj)}(hhh](j)}(hF``phy_interface_t interface`` the PHY interface mode being configured h](j)}(h``phy_interface_t interface``h]j)}(hj9h]hphy_interface_t interface}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM-hj9ubj)}(hhh]jX)}(h'the PHY interface mode being configuredh]h'the PHY interface mode being configured}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hM-hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM-hj~9ubj)}(hD``const unsigned long *advertising`` the ethtool advertisement mask h](j)}(h$``const unsigned long *advertising``h]j)}(hj9h]h const unsigned long *advertising}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM.hj9ubj)}(hhh]jX)}(hthe ethtool advertisement maskh]hthe ethtool advertisement mask}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj9hM.hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM.hj~9ubeh}(h]h ]h"]h$]h&]uh1jhjb9ubjX)}(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:150: ./drivers/net/phy/phylink.chM0hjb9ubjX)}(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/hjb9ubjX)}(hYEncode the clause 37 PCS advertisement as specified by **interface** and **advertising**.h](h7Encode the clause 37 PCS advertisement as specified by }(hj :hhhNhNubj)}(h **interface**h]h interface}(hj(:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj :ubh and }(hj :hhhNhNubj)}(h**advertising**h]h advertising}(hj::hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj :ubh.}(hj :hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM2hjb9ubjX)}(h **Return**h]j)}(hjU:h]hReturn}(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.chM5hjb9ubjX)}(hFThe new value for **adv**, or ``-EINVAL`` if it should not be changed.h](hThe new value for }(hjk:hhhNhNubj)}(h**adv**h]hadv}(hjs:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk:ubh, or }(hjk:hhhNhNubj)}(h ``-EINVAL``h]h-EINVAL}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk:ubh if it should not be changed.}(hjk:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM6hjb9ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_mii_c22_pcs_config (C function)c.phylink_mii_c22_pcs_confighNtauh1hhj hhhNhNubh)}(hhh](h)}(hint phylink_mii_c22_pcs_config (struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode)h]h)}(hint phylink_mii_c22_pcs_config(struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode)h](j)}(hinth]hint}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMSubj)}(h h]h }(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:hhhj:hMSubj)}(hphylink_mii_c22_pcs_configh]j%)}(hphylink_mii_c22_pcs_configh]hphylink_mii_c22_pcs_config}(hj:hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj:hhhj:hMSubj)}(hm(struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode)h](j)}(hstruct mdio_device *pcsh](h)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj:ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubh)}(hhh]j%)}(h mdio_deviceh]h mdio_device}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj;modnameN classnameNjj!)}j$]j')}jj:sbc.phylink_mii_c22_pcs_configasbuh1hhj:ubj)}(h h]h }(hj9;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj;)}(hj>h]h*}(hjG;hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj:ubj%)}(hpcsh]hpcs}(hjT;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj:ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubj)}(hphy_interface_t interfaceh](h)}(hhh]j%)}(hphy_interface_th]hphy_interface_t}(hjp;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjm;ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjr;modnameN classnameNjj!)}j$]j5;c.phylink_mii_c22_pcs_configasbuh1hhji;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji;ubj%)}(h interfaceh]h interface}(hj;hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hji;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubj)}(h const unsigned long *advertisingh](h)}(hjh]hconst}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj)}(hunsignedh]hunsigned}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj)}(hlongh]hlong}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj;)}(hj>h]h*}(hj<hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj;ubj%)}(h advertisingh]h advertising}(hj<hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj;ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj:ubj)}(hunsigned int neg_modeh](j)}(hunsignedh]hunsigned}(hj.<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*<ubj)}(h h]h }(hj<<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*<ubj)}(hinth]hint}(hjJ<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*<ubj)}(h h]h }(hjX<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*<ubj%)}(hneg_modeh]hneg_mode}(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:hMSubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj:hhhj:hMSubah}(h]j:ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj:hMShj:hhubjS)}(hhh]jX)}(hconfigure clause 22 PCSh]hconfigure clause 22 PCS}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMShj<hhubah}(h]h ]h"]h$]h&]uh1jRhj:hhhj:hMSubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj<jxj<jyjzj{uh1hhhhj hNhNubj})}(hX=**Parameters** ``struct mdio_device *pcs`` a pointer to a :c:type:`struct mdio_device `. ``phy_interface_t interface`` the PHY interface mode being configured ``const unsigned long *advertising`` the ethtool advertisement mask ``unsigned int neg_mode`` PCS negotiation mode **Description** Configure a Clause 22 PCS PHY with the appropriate negotiation parameters for the **mode**, **interface** and **advertising** parameters. Returns negative error number on failure, zero if the advertisement has not changed, or positive if there is a change.h](jX)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMWhj<ubj)}(hhh](j)}(hW``struct mdio_device *pcs`` a pointer to a :c:type:`struct mdio_device `. h](j)}(h``struct mdio_device *pcs``h]j)}(hj<h]hstruct mdio_device *pcs}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMThj<ubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hj<hhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hj<h]hstruct mdio_device}(hj<hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj mdio_deviceuh1hhj<hMThj<ubh.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj<hMThj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMThj<ubj)}(hF``phy_interface_t interface`` the PHY interface mode being configured h](j)}(h``phy_interface_t interface``h]j)}(hj-=h]hphy_interface_t interface}(hj/=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMUhj'=ubj)}(hhh]jX)}(h'the PHY interface mode being configuredh]h'the PHY interface mode being configured}(hjF=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjB=hMUhjC=ubah}(h]h ]h"]h$]h&]uh1jhj'=ubeh}(h]h ]h"]h$]h&]uh1jhjB=hMUhj<ubj)}(hD``const unsigned long *advertising`` the ethtool advertisement mask h](j)}(h$``const unsigned long *advertising``h]j)}(hjf=h]h const unsigned long *advertising}(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.chMVhj`=ubj)}(hhh]jX)}(hthe ethtool advertisement maskh]hthe ethtool advertisement mask}(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/``unsigned int neg_mode`` PCS negotiation mode h](j)}(h``unsigned int neg_mode``h]j)}(hj=h]hunsigned int neg_mode}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMWhj=ubj)}(hhh]jX)}(hPCS negotiation modeh]hPCS negotiation mode}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj=hMWhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMWhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<ubjX)}(h**Description**h]j)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMYhj<ubjX)}(hXConfigure a Clause 22 PCS PHY with the appropriate negotiation parameters for the **mode**, **interface** and **advertising** parameters. Returns negative error number on failure, zero if the advertisement has not changed, or positive if there is a change.h](hRConfigure a Clause 22 PCS PHY with the appropriate negotiation parameters for the }(hj=hhhNhNubj)}(h**mode**h]hmode}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh, }(hj=hhhNhNubj)}(h **interface**h]h interface}(hj >hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh and }(hj=hhhNhNubj)}(h**advertising**h]h advertising}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh parameters. Returns negative error number on failure, zero if the advertisement has not changed, or positive if there is a change.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMXhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_mii_c22_pcs_an_restart (C function) c.phylink_mii_c22_pcs_an_restarthNtauh1hhj hhhNhNubh)}(hhh](h)}(h=void phylink_mii_c22_pcs_an_restart (struct mdio_device *pcs)h]h)}(hhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ>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 hjQ>hhhjc>hMubj)}(hphylink_mii_c22_pcs_an_restarth]j%)}(hphylink_mii_c22_pcs_an_restarth]hphylink_mii_c22_pcs_an_restart}(hjv>hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjr>ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQ>hhhjc>hMubj)}(h(struct mdio_device *pcs)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')}jjx>sb c.phylink_mii_c22_pcs_an_restartasbuh1hhj>ubj)}(h h]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>ubah}(h]h ]h"]h$]h&]j<j=uh1jhjQ>hhhjc>hMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjM>hhhjc>hMubah}(h]jH>ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjc>hMhjJ>hhubjS)}(hhh]jX)}(hrestart 802.3z autonegotiationh]hrestart 802.3z autonegotiation}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj?hhubah}(h]h ]h"]h$]h&]uh1jRhjJ>hhhjc>hMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj-?jxj-?jyjzj{uh1hhhhj hNhNubj})}(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)}(hj7?h]h Parameters}(hj9?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5?ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1?ubj)}(hhh]j)}(hW``struct mdio_device *pcs`` a pointer to a :c:type:`struct mdio_device `. h](j)}(h``struct mdio_device *pcs``h]j)}(hjV?h]hstruct mdio_device *pcs}(hjX?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjP?ubj)}(hhh]jX)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hjo?hhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hjy?h]hstruct mdio_device}(hj{?hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjw?ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjj mdio_deviceuh1hhjk?hMhjo?ubh.}(hjo?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjk?hMhjl?ubah}(h]h ]h"]h$]h&]uh1jhjP?ubeh}(h]h ]h"]h$]h&]uh1jhjk?hMhjM?ubah}(h]h ]h"]h$]h&]uh1jhj1?ubjX)}(h**Description**h]j)}(hj?h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1?ubjX)}(hYHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation.h]hYHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1?ubjX)}(hRestart the clause 37 negotiation with the link partner. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.h]hRestart the clause 37 negotiation with the link partner. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1?ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj hhhNhNubeh}(h]phylinkah ]h"]phylinkah$]h&]uh1hhjŒhhhhhKubh)}(hhh](h)}(h SFP supporth]h SFP support}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus (C struct) c.sfp_bushNtauh1hhj?hhhNhNubh)}(hhh](h)}(hsfp_bush]h)}(hstruct sfp_bush](h)}(hjh]hstruct}(hj!@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKubj)}(h h]h }(hj/@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhj.@hKubj)}(hsfp_bush]j%)}(hj@h]hsfp_bus}(hjA@hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj=@ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhj.@hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhj.@hKubah}(h]j@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj.@hKhj@hhubjS)}(hhh]jX)}(h$internal representation of a sfp bush]h$internal representation of a sfp bus}(hjc@hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj`@hhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhj.@hKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwj{@jxj{@jyjzj{uh1hhhhj?hNhNubj})}(h6**Definition**:: struct sfp_bus { }; **Members**h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh:}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj@ubjU)}(hstruct sfp_bus { };h]hstruct sfp_bus { };}hj@sbah}(h]h ]h"]h$]h&]j<j=uh1jThZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj@ubjX)}(h **Members**h]j)}(hj@h]hMembers}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_eeprom_id (C struct)c.sfp_eeprom_idhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h sfp_eeprom_idh]h)}(hstruct sfp_eeprom_idh](h)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj@hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj)}(h h]h }(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhj@hKubj)}(h sfp_eeprom_idh]j%)}(hj@h]h sfp_eeprom_id}(hjAhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjAubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj@hhhj@hKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj@hhhj@hKubah}(h]j@ah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj@hKhj@hhubjS)}(hhh]jX)}(h)raw SFP module identification informationh]h)raw SFP module identification information}(hj)AhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj&Ahhubah}(h]h ]h"]h$]h&]uh1jRhj@hhhj@hKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjAAjxjAAjyjzj{uh1hhhhj?hNhNubj})}(h**Definition**:: struct sfp_eeprom_id { struct sfp_eeprom_base base; struct sfp_eeprom_ext ext; }; **Members** ``base`` base SFP module identification structure ``ext`` extended SFP module identification structureh](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjMAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIAubh:}(hjIAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjEAubjU)}(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; };}hjfAsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjEAubjX)}(h **Members**h]j)}(hjwAh]hMembers}(hjyAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuAubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjEAubj)}(hhh](j)}(h2``base`` base SFP module identification structure h](j)}(h``base``h]j)}(hjAh]hbase}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjAubj)}(hhh]jX)}(h(base SFP module identification structureh]h(base SFP module identification structure}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjAhKhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhKhjAubj)}(h4``ext`` extended SFP module identification structureh](j)}(h``ext``h]j)}(hjAh]hext}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjAubj)}(hhh]jX)}(h,extended SFP module identification structureh]h,extended SFP module identification structure}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhKhjAubeh}(h]h ]h"]h$]h&]uh1jhjEAubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubjX)}(h**Description**h]j)}(hjBh]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj?hhubjX)}(hSee the SFF-8472 specification and related documents for the definition of these structure members. This can be obtained from https://www.snia.org/technology-communities/sff/specificationsh](h~See the SFF-8472 specification and related documents for the definition of these structure members. This can be obtained from }(hj(BhhhNhNubh reference)}(h>https://www.snia.org/technology-communities/sff/specificationsh]h>https://www.snia.org/technology-communities/sff/specifications}(hj2BhhhNhNubah}(h]h ]h"]h$]h&]refurij4Buh1j0Bhj(Bubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj?hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_module_caps (C struct)c.sfp_module_capshNtauh1hhj?hhhNhNubh)}(hhh](h)}(hsfp_module_capsh]h)}(hstruct sfp_module_capsh](h)}(hjh]hstruct}(hjaBhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj]BhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj)}(h h]h }(hjoBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]BhhhjnBhKubj)}(hsfp_module_capsh]j%)}(hj[Bh]hsfp_module_caps}(hjBhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj}Bubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj]BhhhjnBhKubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjYBhhhjnBhKubah}(h]jTBah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjnBhKhjVBhhubjS)}(hhh]jX)}(hsfp module capabilitiesh]hsfp module capabilities}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM hjBhhubah}(h]h ]h"]h$]h&]uh1jRhjVBhhhjnBhKubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjBjxjBjyjzj{uh1hhhhj?hNhNubj})}(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}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh:}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjBubjU)}(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; };}hjBsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjBubjX)}(h **Members**h]j)}(hjBh]hMembers}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjBubj)}(hhh](j)}(h@``interfaces`` bitmap of interfaces that the module may support h](j)}(h``interfaces``h]j)}(hjCh]h interfaces}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj Cubj)}(hhh]jX)}(h0bitmap of interfaces that the module may supporth]h0bitmap of interfaces that the module may support}(hj)ChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj%ChMhj&Cubah}(h]h ]h"]h$]h&]uh1jhj Cubeh}(h]h ]h"]h$]h&]uh1jhj%ChMhjCubj)}(hH``link_modes`` bitmap of ethtool link modes that the module may support h](j)}(h``link_modes``h]j)}(hjICh]h link_modes}(hjKChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGCubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjCCubj)}(hhh]jX)}(h8bitmap of ethtool link modes that the module may supporth]h8bitmap of ethtool link modes that the module may support}(hjbChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj^ChMhj_Cubah}(h]h ]h"]h$]h&]uh1jhjCCubeh}(h]h ]h"]h$]h&]uh1jhj^ChMhjCubj)}(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)}(hjCh]h may_have_phy}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhj|Cubj)}(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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjCubah}(h]h ]h"]h$]h&]uh1jhj|Cubeh}(h]h ]h"]h$]h&]uh1jhjChMhjCubj)}(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)}(hjCh]hport}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjCubj)}(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 }(hjChhhNhNubj)}(h ``PORT_*``h]hPORT_*}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh0 definitions, parsed from the module EEPROM, or }(hjChhhNhNubj)}(h``PORT_OTHER``h]h PORT_OTHER}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh if the port type is not known.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMhjCubeh}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_ops (C struct)c.sfp_upstream_opshNtauh1hhj?hhhNhNubh)}(hhh](h)}(hsfp_upstream_opsh]h)}(hstruct sfp_upstream_opsh](h)}(hjh]hstruct}(hj9DhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5DhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM$ubj)}(h h]h }(hjGDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5DhhhjFDhM$ubj)}(hsfp_upstream_opsh]j%)}(hj3Dh]hsfp_upstream_ops}(hjYDhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUDubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj5DhhhjFDhM$ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj1DhhhjFDhM$ubah}(h]j,Dah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjFDhM$hj.DhhubjS)}(hhh]jX)}(hupstream operations structureh]hupstream operations structure}(hj{DhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM#hjxDhhubah}(h]h ]h"]h$]h&]uh1jRhj.DhhhjFDhM$ubeh}(h]h ](jqstructeh"]h$]h&]jvjqjwjDjxjDjyjzj{uh1hhhhj?hNhNubj})}(hXD**Definition**:: struct sfp_upstream_ops { void (*attach)(void *priv, struct sfp_bus *bus); void (*detach)(void *priv, struct sfp_bus *bus); int (*module_insert)(void *priv, const struct sfp_eeprom_id *id); void (*module_remove)(void *priv); int (*module_start)(void *priv); void (*module_stop)(void *priv); void (*link_down)(void *priv); void (*link_up)(void *priv); int (*connect_phy)(void *priv, struct phy_device *); void (*disconnect_phy)(void *priv, struct phy_device *); }; **Members** ``attach`` called when the sfp socket driver is bound to the upstream (mandatory). ``detach`` called when the sfp socket driver is unbound from the upstream (mandatory). ``module_insert`` called after a module has been detected to determine whether the module is supported for the upstream device. ``module_remove`` called after the module has been removed. ``module_start`` called after the PHY probe step ``module_stop`` called before the PHY is removed ``link_down`` called when the link is non-operational for whatever reason. ``link_up`` called when the link is operational. ``connect_phy`` called when an I2C accessible PHY has been detected on the module. ``disconnect_phy`` called when a module with an I2C accessible PHY has been removed.h](jX)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh:}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM'hjDubjU)}(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 *); };}hjDsbah}(h]h ]h"]h$]h&]j<j=uh1jThT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM)hjDubjX)}(h **Members**h]j)}(hjDh]hMembers}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM6hjDubj)}(hhh](j)}(hS``attach`` called when the sfp socket driver is bound to the upstream (mandatory). h](j)}(h ``attach``h]j)}(hjDh]hattach}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM&hjDubj)}(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).}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM%hjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhM&hjDubj)}(hW``detach`` called when the sfp socket driver is unbound from the upstream (mandatory). h](j)}(h ``detach``h]j)}(hj"Eh]hdetach}(hj$EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Eubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM(hjEubj)}(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).}(hj;EhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM'hj8Eubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj7EhM(hjDubj)}(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)}(hj\Eh]h module_insert}(hj^EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM*hjVEubj)}(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.}(hjuEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM)hjrEubah}(h]h ]h"]h$]h&]uh1jhjVEubeh}(h]h ]h"]h$]h&]uh1jhjqEhM*hjDubj)}(h<``module_remove`` called after the module has been removed. h](j)}(h``module_remove``h]j)}(hjEh]h module_remove}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM+hjEubj)}(hhh]jX)}(h)called after the module has been removed.h]h)called after the module has been removed.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhM+hjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhM+hjDubj)}(h1``module_start`` called after the PHY probe step h](j)}(h``module_start``h]j)}(hjEh]h module_start}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM,hjEubj)}(hhh]jX)}(hcalled after the PHY probe steph]hcalled after the PHY probe step}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEhM,hjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhM,hjDubj)}(h1``module_stop`` called before the PHY is removed h](j)}(h``module_stop``h]j)}(hjFh]h module_stop}(hj FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM-hjFubj)}(hhh]jX)}(h called before the PHY is removedh]h called before the PHY is removed}(hj!FhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjFhM-hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM-hjDubj)}(hK``link_down`` called when the link is non-operational for whatever reason. h](j)}(h ``link_down``h]j)}(hjAFh]h link_down}(hjCFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?Fubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM/hj;Fubj)}(hhh]jX)}(hh]h*}(hjGhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjGubj%)}(hbush]hbus}(hjGhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjGubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubj)}(hconst unsigned long *link_modesh](h)}(hjh]hconst}(hj HhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(hunsignedh]hunsigned}(hj$HhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hj2HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(hlongh]hlong}(hj@HhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj)}(h h]h }(hjNHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj;)}(hj>h]h*}(hj\HhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjHubj%)}(h link_modesh]h link_modes}(hjiHhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjHubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjGubeh}(h]h ]h"]h$]h&]j<j=uh1jhjCGhhhjkGhMMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?GhhhjkGhMMubah}(h]j:Gah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjkGhMMhj` 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)}(hjHh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQhjHubj)}(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)}(hjHh]hstruct sfp_bus *bus}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMNhjHubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjHhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjHh]hstruct sfp_bus}(hjHhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjHhMNhjHubh structure for the sfp module}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjHhMNhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMNhjHubj)}(h<``const unsigned long *link_modes`` ethtool link modes mask h](j)}(h#``const unsigned long *link_modes``h]j)}(hj0Ih]hconst unsigned long *link_modes}(hj2IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Iubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMOhj*Iubj)}(hhh]jX)}(hethtool link modes maskh]hethtool link modes mask}(hjIIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjEIhMOhjFIubah}(h]h ]h"]h$]h&]uh1jhj*Iubeh}(h]h ]h"]h$]h&]uh1jhjEIhMOhjHubeh}(h]h ]h"]h$]h&]uh1jhjHubjX)}(h**Description**h]j)}(hjkIh]h Description}(hjmIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiIubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQhjHubjX)}(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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMPhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus_put (C function) c.sfp_bus_puthNtauh1hhj?hhhNhNubh)}(hhh](h)}(h&void sfp_bus_put (struct sfp_bus *bus)h]h)}(h%void sfp_bus_put(struct sfp_bus *bus)h](j)}(hvoidh]hvoid}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIhhhjIhMubj)}(h sfp_bus_puth]j%)}(h sfp_bus_puth]h sfp_bus_put}(hjIhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjIhhhjIhMubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hj JhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjJubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj JmodnameN classnameNjj!)}j$]j')}jjIsb c.sfp_bus_putasbuh1hhjIubj)}(h h]h }(hj+JhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj;)}(hj>h]h*}(hj9JhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjIubj%)}(hbush]hbus}(hjFJhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjIubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjIubah}(h]h ]h"]h$]h&]j<j=uh1jhjIhhhjIhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjIhhhjIhMubah}(h]jIah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjIhMhjIhhubjS)}(hhh]jX)}(h9put a reference on the :c:type:`struct sfp_bus `h](hput a reference on the }(hjpJhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjzJh]hstruct sfp_bus}(hj|JhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjxJubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjj!)}j$]j'J c.sfp_bus_putasbjsfp_busuh1hhjkGhMMhjpJubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjmJhhubah}(h]h ]h"]h$]h&]uh1jRhjIhhhjIhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjJjxjJjyjzj{uh1hhhhj?hNhNubj})}(h**Parameters** ``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() **Description** Put a reference on the :c:type:`struct sfp_bus ` and free the underlying structure if this was the last reference.h](jX)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjJubj)}(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)}(hjJh]hstruct sfp_bus *bus}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjJubj)}(hhh]jX)}(hFthe :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode()h](hthe }(hjJhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjJh]hstruct sfp_bus}(hjJhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjJhMhjJubh found via sfp_bus_find_fwnode()}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubjX)}(h**Description**h]j)}(hj3Kh]h Description}(hj5KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1Kubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjJubjX)}(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 }(hjIKhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjSKh]hstruct sfp_bus}(hjUKhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjQKubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjIKubhB and free the underlying structure if this was the last reference.}(hjIKhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjpKhMhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_get_module_info (C function)c.sfp_get_module_infohNtauh1hhj?hhhNhNubh)}(hhh](h)}(hNint sfp_get_module_info (struct sfp_bus *bus, struct ethtool_modinfo *modinfo)h]h)}(hMint sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo)h](j)}(hinth]hint}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKhhhjKhMubj)}(hsfp_get_module_infoh]j%)}(hsfp_get_module_infoh]hsfp_get_module_info}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjKhhhjKhMubj)}(h6(struct sfp_bus *bus, struct ethtool_modinfo *modinfo)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjKhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjKmodnameN classnameNjj!)}j$]j')}jjKsbc.sfp_get_module_infoasbuh1hhjKubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj;)}(hj>h]h*}(hj$LhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjKubj%)}(hbush]hbus}(hj1LhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjKubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjKubj)}(hstruct ethtool_modinfo *modinfoh](h)}(hjh]hstruct}(hjJLhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjFLubj)}(h h]h }(hjWLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFLubh)}(hhh]j%)}(hethtool_modinfoh]hethtool_modinfo}(hjhLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjeLubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjjLmodnameN classnameNjj!)}j$]jLc.sfp_get_module_infoasbuh1hhjFLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFLubj;)}(hj>h]h*}(hjLhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjFLubj%)}(hmodinfoh]hmodinfo}(hjLhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjFLubeh}(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(Get the ethtool_modinfo for a SFP moduleh]h(Get the ethtool_modinfo for a SFP module}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjLhhubah}(h]h ]h"]h$]h&]uh1jRhjKhhhjKhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjLjxjLjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``struct ethtool_modinfo *modinfo`` a :c:type:`struct ethtool_modinfo ` **Description** Fill in the type and eeprom_len parameters in **modinfo** for a module on the sfp bus specified by **bus**. Returns 0 on success or a negative errno number.h](jX)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjLubj)}(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 Mh]hstruct sfp_bus *bus}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Mubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjMubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hj%MhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj/Mh]hstruct sfp_bus}(hj1MhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj-Mubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhj!MhMhj%Mubh structure for the sfp module}(hj%MhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj!MhMhj"Mubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhj!MhMhjMubj)}(hY``struct ethtool_modinfo *modinfo`` a :c:type:`struct ethtool_modinfo ` h](j)}(h#``struct ethtool_modinfo *modinfo``h]j)}(hjhMh]hstruct ethtool_modinfo *modinfo}(hjjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjbMubj)}(hhh]jX)}(h4a :c:type:`struct ethtool_modinfo `h](ha }(hjMhhhNhNubh)}(h2:c:type:`struct ethtool_modinfo `h]j)}(hjMh]hstruct ethtool_modinfo}(hjMhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_modinfouh1hhj}MhMhjMubeh}(h]h ]h"]h$]h&]uh1jWhj}MhMhj~Mubah}(h]h ]h"]h$]h&]uh1jhjbMubeh}(h]h ]h"]h$]h&]uh1jhj}MhMhjMubeh}(h]h ]h"]h$]h&]uh1jhjLubjX)}(h**Description**h]j)}(hjMh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjLubjX)}(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 }(hjMhhhNhNubj)}(h **modinfo**h]hmodinfo}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh* for a module on the sfp bus specified by }(hjMhhhNhNubj)}(h**bus**h]hbus}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh.}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjLubjX)}(h0Returns 0 on success or a negative errno number.h]h0Returns 0 on success or a negative errno number.}(hj NhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sfp_get_module_eeprom (C function)c.sfp_get_module_eepromhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hTint sfp_get_module_eeprom (struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)h]h)}(hSint sfp_get_module_eeprom(struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)h](j)}(hinth]hint}(hj:NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6NhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjINhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6NhhhjHNhMubj)}(hsfp_get_module_eepromh]j%)}(hsfp_get_module_eepromh]hsfp_get_module_eeprom}(hj[NhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWNubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj6NhhhjHNhMubj)}(h:(struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)h](j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjwNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjsNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsNubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjNmodnameN classnameNjj!)}j$]j')}jj]Nsbc.sfp_get_module_eepromasbuh1hhjsNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsNubj;)}(hj>h]h*}(hjNhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjsNubj%)}(hbush]hbus}(hjNhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjsNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoNubj)}(hstruct ethtool_eeprom *eeh](h)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubh)}(hhh]j%)}(hethtool_eepromh]hethtool_eeprom}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj OmodnameN classnameNjj!)}j$]jNc.sfp_get_module_eepromasbuh1hhjNubj)}(h h]h }(hj%OhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj;)}(hj>h]h*}(hj3OhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjNubj%)}(heeh]hee}(hj@OhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjNubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoNubj)}(hu8 *datah](h)}(hhh]j%)}(hu8h]hu8}(hj\OhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjYOubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj^OmodnameN classnameNjj!)}j$]jNc.sfp_get_module_eepromasbuh1hhjUOubj)}(h h]h }(hjzOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUOubj;)}(hj>h]h*}(hjOhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjUOubj%)}(hdatah]hdata}(hjOhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUOubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjoNubeh}(h]h ]h"]h$]h&]j<j=uh1jhj6NhhhjHNhMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj2NhhhjHNhMubah}(h]j-Nah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjHNhMhj/NhhubjS)}(hhh]jX)}(hRead the SFP module EEPROMh]hRead the SFP module EEPROM}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjOhhubah}(h]h ]h"]h$]h&]uh1jRhj/NhhhjHNhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjOjxjOjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``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)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjOubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjPh]hstruct sfp_bus *bus}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(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 }(hjPhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj#Ph]hstruct sfp_bus}(hj%PhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj!Pubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjPhMhjPubh structure for the sfp module}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjOubj)}(hQ``struct ethtool_eeprom *ee`` a :c:type:`struct ethtool_eeprom ` h](j)}(h``struct ethtool_eeprom *ee``h]j)}(hj\Ph]hstruct ethtool_eeprom *ee}(hj^PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZPubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjVPubj)}(hhh]jX)}(h2a :c:type:`struct ethtool_eeprom `h](ha }(hjuPhhhNhNubh)}(h0:c:type:`struct ethtool_eeprom `h]j)}(hjPh]hstruct ethtool_eeprom}(hjPhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj}Pubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_eepromuh1hhjqPhMhjuPubeh}(h]h ]h"]h$]h&]uh1jWhjqPhMhjrPubah}(h]h ]h"]h$]h&]uh1jhjVPubeh}(h]h ]h"]h$]h&]uh1jhjqPhMhjOubj)}(hT``u8 *data`` buffer to contain the EEPROM data (must be at least **ee->len** bytes) h](j)}(h ``u8 *data``h]j)}(hjPh]hu8 *data}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjPubj)}(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 }(hjPhhhNhNubj)}(h **ee->len**h]hee->len}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh bytes)}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjOubeh}(h]h ]h"]h$]h&]uh1jhjOubjX)}(h**Description**h]j)}(hjQh]h Description}(hjQhhhNhNubah}(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.chMhjOubjX)}(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 }(hjQhhhNhNubj)}(h**ee**h]hee}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh. See the documentation for }(hjQhhhNhNubh)}(h0:c:type:`struct ethtool_eeprom `h]j)}(hj3Qh]hstruct ethtool_eeprom}(hj5QhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj1Qubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_eepromuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjQubh for the region to be read.}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjPQhMhjOubjX)}(h0Returns 0 on success or a negative errno number.h]h0Returns 0 on success or a negative errno number.}(hj[QhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*sfp_get_module_eeprom_by_page (C function)c.sfp_get_module_eeprom_by_pagehNtauh1hhj?hhhNhNubh)}(hhh](h)}(hint sfp_get_module_eeprom_by_page (struct sfp_bus *bus, const struct ethtool_module_eeprom *page, struct netlink_ext_ack *extack)h]h)}(hint sfp_get_module_eeprom_by_page(struct sfp_bus *bus, const struct ethtool_module_eeprom *page, struct netlink_ext_ack *extack)h](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQhhhjQhMubj)}(hsfp_get_module_eeprom_by_pageh]j%)}(hsfp_get_module_eeprom_by_pageh]hsfp_get_module_eeprom_by_page}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjQhhhjQhMubj)}(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}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjQhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjQmodnameN classnameNjj!)}j$]j')}jjQsbc.sfp_get_module_eeprom_by_pageasbuh1hhjQubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjQubj%)}(hbush]hbus}(hj RhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjQubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(h(const struct ethtool_module_eeprom *pageh](h)}(hjh]hconst}(hj9RhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5Rubj)}(h h]h }(hjFRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5Rubh)}(hjh]hstruct}(hjTRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj5Rubj)}(h h]h }(hjaRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5Rubh)}(hhh]j%)}(hethtool_module_eepromh]hethtool_module_eeprom}(hjrRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjoRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjtRmodnameN classnameNjj!)}j$]jRc.sfp_get_module_eeprom_by_pageasbuh1hhj5Rubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5Rubj;)}(hj>h]h*}(hjRhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj5Rubj%)}(hpageh]hpage}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj5Rubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjQubj)}(hstruct netlink_ext_ack *extackh](h)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubh)}(hhh]j%)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjRhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjRubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjRmodnameN classnameNjj!)}j$]jRc.sfp_get_module_eeprom_by_pageasbuh1hhjRubj)}(h h]h }(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj;)}(hj>h]h*}(hjShhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjRubj%)}(hextackh]hextack}(hjShhhNhNubah}(h]h ]j0ah"]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]j}Qah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjQhMhjQhhubjS)}(hhh]jX)}(h&Read a page from the SFP module EEPROMh]h&Read a page from the SFP module EEPROM}(hjEShhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjBShhubah}(h]h ]h"]h$]h&]uh1jRhjQhhhjQhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj]Sjxj]Sjyjzj{uh1hhhhj?hNhNubj})}(hXT**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``const struct ethtool_module_eeprom *page`` a :c:type:`struct ethtool_module_eeprom ` ``struct netlink_ext_ack *extack`` extack for reporting problems **Description** Read an EEPROM page as specified by the supplied **page**. See the documentation for :c:type:`struct ethtool_module_eeprom ` for the page to be read. Returns 0 on success or a negative errno number. More error information might be provided via extackh](jX)}(h**Parameters**h]j)}(hjgSh]h Parameters}(hjiShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeSubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjaSubj)}(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)}(hjSh]hstruct sfp_bus *bus}(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.chMhjSubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjShhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjSh]hstruct sfp_bus}(hjShhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjShMhjSubh structure for the sfp module}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhj}Subj)}(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)}(hjSh]h(const struct ethtool_module_eeprom *page}(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.chMhjSubj)}(hhh]jX)}(h@a :c:type:`struct ethtool_module_eeprom `h](ha }(hjShhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hjTh]hstruct ethtool_module_eeprom}(hjThhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_module_eepromuh1hhjShMhjSubeh}(h]h ]h"]h$]h&]uh1jWhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhj}Subj)}(hA``struct netlink_ext_ack *extack`` extack for reporting problems h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj:Th]hstruct netlink_ext_ack *extack}(hj` for the page to be read.h](h1Read an EEPROM page as specified by the supplied }(hjThhhNhNubj)}(h**page**h]hpage}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh. See the documentation for }(hjThhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hjTh]hstruct ethtool_module_eeprom}(hjThhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjethtool_module_eepromuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjTubh for the page to be read.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjThMhjaSubjX)}(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}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjaSubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_start (C function)c.sfp_upstream_starthNtauh1hhj?hhhNhNubh)}(hhh](h)}(h-void sfp_upstream_start (struct sfp_bus *bus)h]h)}(h,void sfp_upstream_start(struct sfp_bus *bus)h](j)}(hvoidh]hvoid}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hj UhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhj UhMubj)}(hsfp_upstream_starth]j%)}(hsfp_upstream_starth]hsfp_upstream_start}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjUubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjThhhj UhMubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hj;UhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhj7Uubj)}(h h]h }(hjHUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7Uubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjYUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVUubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[UmodnameN classnameNjj!)}j$]j')}jj!Usbc.sfp_upstream_startasbuh1hhj7Uubj)}(h h]h }(hjyUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7Uubj;)}(hj>h]h*}(hjUhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hj7Uubj%)}(hbush]hbus}(hjUhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7Uubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj3Uubah}(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)}(h,Inform the SFP that the network device is uph]h,Inform the SFP that the network device is up}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjUhhubah}(h]h ]h"]h$]h&]uh1jRhjThhhj UhMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjUjxjUjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Inform the SFP socket that the network device is now up, so that the module can be enabled by allowing TX_DISABLE to be deasserted. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_open() method.h](jX)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjUubj)}(hhh]j)}(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}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjUubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjVhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj"Vh]hstruct sfp_bus}(hj$VhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj Vubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjVhMhjVubh structure for the sfp module}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubjX)}(h**Description**h]j)}(hj]Vh]h Description}(hj_VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[Vubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjUubjX)}(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 }(hjsVhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hj}Vh]hstruct net_device_ops}(hjVhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj{Vubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjsVubh ndo_open() method.}(hjsVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjVhMhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_stop (C function)c.sfp_upstream_stophNtauh1hhj?hhhNhNubh)}(hhh](h)}(h,void sfp_upstream_stop (struct sfp_bus *bus)h]h)}(h+void sfp_upstream_stop(struct sfp_bus *bus)h](j)}(hvoidh]hvoid}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM&ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVhhhjVhM&ubj)}(hsfp_upstream_stoph]j%)}(hsfp_upstream_stoph]hsfp_upstream_stop}(hjVhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjVhhhjVhM&ubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjVubj)}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hj WhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjWubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj"WmodnameN classnameNjj!)}j$]j')}jjVsbc.sfp_upstream_stopasbuh1hhjVubj)}(h h]h }(hj@WhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj;)}(hj>h]h*}(hjNWhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjVubj%)}(hbush]hbus}(hj[WhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjVubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjVubah}(h]h ]h"]h$]h&]j<j=uh1jhjVhhhjVhM&ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjVhhhjVhM&ubah}(h]jVah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjVhM&hjVhhubjS)}(hhh]jX)}(h.Inform the SFP that the network device is downh]h.Inform the SFP that the network device is down}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM&hjWhhubah}(h]h ]h"]h$]h&]uh1jRhjVhhhjVhM&ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjWjxjWjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Inform the SFP socket that the network device is now up, so that the module can be disabled by asserting TX_DISABLE, disabling the laser in optical modules. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_stop() method.h](jX)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM*hjWubj)}(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.chM'hjWubj)}(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_busuh1hhjWhM'hjWubh structure for the sfp module}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjWhM'hjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhM'hjWubah}(h]h ]h"]h$]h&]uh1jhjWubjX)}(h**Description**h]j)}(hj$Xh]h Description}(hj&XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Xubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM)hjWubjX)}(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 }(hj:XhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjDXh]hstruct net_device_ops}(hjFXhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjBXubah}(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(hj:Xubh ndo_stop() method.}(hj:XhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjaXhM(hjWubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)sfp_upstream_set_signal_rate (C function)c.sfp_upstream_set_signal_ratehNtauh1hhj?hhhNhNubh)}(hhh](h)}(hNvoid sfp_upstream_set_signal_rate (struct sfp_bus *bus, unsigned int rate_kbd)h]h)}(hMvoid sfp_upstream_set_signal_rate(struct sfp_bus *bus, unsigned int rate_kbd)h](j)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM=ubj)}(h h]h }(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXhhhjXhM=ubj)}(hsfp_upstream_set_signal_rateh]j%)}(hsfp_upstream_set_signal_rateh]hsfp_upstream_set_signal_rate}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjXhhhjXhM=ubj)}(h,(struct sfp_bus *bus, unsigned int rate_kbd)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}(hjXhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjXmodnameN classnameNjj!)}j$]j')}jjXsbc.sfp_upstream_set_signal_rateasbuh1hhjXubj)}(h h]h }(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj;)}(hj>h]h*}(hjYhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjXubj%)}(hbush]hbus}(hj"YhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjXubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubj)}(hunsigned int rate_kbdh](j)}(hunsignedh]hunsigned}(hj;YhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7Yubj)}(h h]h }(hjIYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7Yubj)}(hinth]hint}(hjWYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7Yubj)}(h h]h }(hjeYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7Yubj%)}(hrate_kbdh]hrate_kbd}(hjsYhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj7Yubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjXubeh}(h]h ]h"]h$]h&]j<j=uh1jhjXhhhjXhM=ubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjXhhhjXhM=ubah}(h]jXah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjXhM=hjXhhubjS)}(hhh]jX)}(hset data signalling rateh]hset data signalling rate}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM=hjYhhubah}(h]h ]h"]h$]h&]uh1jRhjXhhhjXhM=ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjYjxjYjyjzj{uh1hhhhj?hNhNubj})}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``unsigned int rate_kbd`` signalling rate in units of 1000 baud **Description** Configure the rate select settings on the SFP module for the signalling rate (not the same as the data rate). Locks that may be held: Phylink's state_mutex rtnl lock SFP's sm_mutexh](jX)}(h**Parameters**h]j)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMAhjYubj)}(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)}(hjYh]hstruct sfp_bus *bus}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM>hjYubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjYhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjZh]hstruct sfp_bus}(hjZhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjYhM>hjYubh structure for the sfp module}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjYhM>hjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhM>hjYubj)}(h@``unsigned int rate_kbd`` signalling rate in units of 1000 baud h](j)}(h``unsigned int rate_kbd``h]j)}(hj:Zh]hunsigned int rate_kbd}(hjh]h*}(hjB[hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjZhhhj[hMQubj)}(hsfp_bus_find_fwnodeh]j%)}(hj1[h]hsfp_bus_find_fwnode}(hjS[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjO[ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjZhhhj[hMQubj)}(h$(const struct fwnode_handle *fwnode)h]j)}(h"const struct fwnode_handle *fwnodeh](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 fwnode_handleh]h fwnode_handle}(hj[hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj[ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj[modnameN classnameNjj!)}j$]j/[c.sfp_bus_find_fwnodeasbuh1hhjj[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%)}(hfwnodeh]hfwnode}(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=uh1jhjZhhhj[hMQubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhjZhhhj[hMQubah}(h]jZah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhj[hMQhjZhhubjS)}(hhh]jX)}(h(parse and locate the SFP bus from fwnodeh]h(parse and locate the SFP bus from fwnode}(hj \hhhNhNubah}(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&]uh1jRhjZhhhj[hMQubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwj"\jxj"\jyjzj{uh1hhhhj?hNhNubj})}(hX{**Parameters** ``const struct fwnode_handle *fwnode`` firmware node for the parent device (MAC or PHY) **Description** Parse the parent device's firmware node for a SFP bus, and locate the sfp_bus structure, incrementing its reference count. This must be put via sfp_bus_put() when done. - 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.chMUhj&\ubj)}(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)}(hjK\h]h"const struct fwnode_handle *fwnode}(hjM\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI\ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMRhjE\ubj)}(hhh]jX)}(h0firmware node for the parent device (MAC or PHY)h]h0firmware node for the parent device (MAC or PHY)}(hjd\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj`\hMRhja\ubah}(h]h ]h"]h$]h&]uh1jhjE\ubeh}(h]h ]h"]h$]h&]uh1jhj`\hMRhjB\ubah}(h]h ]h"]h$]h&]uh1jhj&\ubjX)}(h**Description**h]j)}(hj\h]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMThj&\ubjX)}(hParse the parent device's firmware node for a SFP bus, and locate the sfp_bus structure, incrementing its reference count. This must be put via sfp_bus_put() when done.h]hParse the parent device’s firmware node for a SFP bus, and locate the sfp_bus structure, incrementing its reference count. This must be put via sfp_bus_put() when done.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMShj&\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]j&:)}(hhh](j+:)}(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&]uh1j*:hj\ubj+:)}(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.chMZhj\ubah}(h]h ]h"]h$]h&]uh1j*:hj\ubj+:)}(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.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM[hj\ubah}(h]h ]h"]h$]h&]uh1j*:hj\ubeh}(h]h ]h"]h$]h&]j:juh1j%:hj\hMXhj\ubah}(h]h ]h"]h$]h&]uh1j hj\hMXhj&\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:161: ./drivers/net/phy/sfp-bus.chM]hj&\ubj&:)}(hhh](j+:)}(h/on success, a pointer to the sfp_bus structure,h]jX)}(hj3]h]h/on success, a pointer to the sfp_bus structure,}(hj5]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMXhj1]ubah}(h]h ]h"]h$]h&]uh1j*:hj.]ubj+:)}(h ``NULL`` if no SFP is specified,h]jX)}(hjK]h](j)}(h``NULL``h]hNULL}(hjP]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM]ubh if no SFP is specified,}(hjM]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMYhjI]ubah}(h]h ]h"]h$]h&]uh1j*:hj.]ubj+:)}(h#on failure, an error pointer value:h]jX)}(hjq]h]h#on failure, an error pointer value:}(hjs]hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMZhjo]ubah}(h]h ]h"]h$]h&]uh1j*:hj.]ubeh}(h]h ]h"]h$]h&]j:juh1j%:hjB]hMXhj&\ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_add_upstream (C function)c.sfp_bus_add_upstreamhNtauh1hhj?hhhNhNubh)}(hhh](h)}(hbint sfp_bus_add_upstream (struct sfp_bus *bus, void *upstream, const struct sfp_upstream_ops *ops)h]h)}(haint sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, const struct sfp_upstream_ops *ops)h](j)}(hinth]hint}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM~ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhj]hM~ubj)}(hsfp_bus_add_upstreamh]j%)}(hsfp_bus_add_upstreamh]hsfp_bus_add_upstream}(hj]hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhj]hhhj]hM~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 }(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj^ubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetj ^modnameN classnameNjj!)}j$]j')}jj]sbc.sfp_bus_add_upstreamasbuh1hhj]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%)}(hbush]hbus}(hjC^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hj]ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]ubj)}(hvoid *upstreamh](j)}(hvoidh]hvoid}(hj\^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjX^ubj)}(h h]h }(hjj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjX^ubj;)}(hj>h]h*}(hjx^hhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjX^ubj%)}(hupstreamh]hupstream}(hj^hhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjX^ubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhj]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$]j$^c.sfp_bus_add_upstreamasbuh1hhj^ubj)}(h h]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=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*parse and register the neighbouring deviceh]h*parse and register the neighbouring device}(hj:_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM~hj7_hhubah}(h]h ]h"]h$]h&]uh1jRhj]hhhj]hM~ubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjR_jxjR_jyjzj{uh1hhhhj?hNhNubj})}(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&]uh1jhjZ_ubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjV_ubj)}(hhh](j)}(h_``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() h](j)}(h``struct sfp_bus *bus``h]j)}(hj{_h]hstruct sfp_bus *bus}(hj}_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy_ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhju_ubj)}(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)}(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 found via sfp_bus_find_fwnode()}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhj_hMhj_ubah}(h]h ]h"]h$]h&]uh1jhju_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjr_ubj)}(h-``void *upstream`` the upstream private data 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj_ubj)}(hhh]jX)}(hthe upstream private datah]hthe upstream private data}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhj_hMhj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjr_ubj)}(hk``const struct sfp_upstream_ops *ops`` the upstream's :c:type:`struct sfp_upstream_ops ` h](j)}(h&``const struct sfp_upstream_ops *ops``h]j)}(hj`h]h"const struct sfp_upstream_ops *ops}(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)}(hCthe upstream's :c:type:`struct sfp_upstream_ops `h](hthe upstream’s }(hj)`hhhNhNubh)}(h4:c:type:`struct sfp_upstream_ops `h]j)}(hj3`h]hstruct sfp_upstream_ops}(hj5`hhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhj1`ubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_upstream_opsuh1hhj%`hMhj)`ubeh}(h]h ]h"]h$]h&]uh1jWhj%`hMhj&`ubah}(h]h ]h"]h$]h&]uh1jhj `ubeh}(h]h ]h"]h$]h&]uh1jhj%`hMhjr_ubeh}(h]h ]h"]h$]h&]uh1jhjV_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:161: ./drivers/net/phy/sfp-bus.chMhjV_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.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjV_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]j&:)}(hhh](j+:)}(hNcorresponding to the errors detailed for fwnode_property_get_reference_args().h]jX)}(hNcorresponding to the errors detailed for fwnode_property_get_reference_args().h]hNcorresponding to the errors detailed for fwnode_property_get_reference_args().}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj`ubah}(h]h ]h"]h$]h&]uh1j*:hj`ubj+:)}(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&]uh1j*:hj`ubj+:)}(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.}(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&]uh1j*:hj`ubeh}(h]h ]h"]h$]h&]j:juh1j%:hj`hMhj`ubah}(h]h ]h"]h$]h&]uh1j hj`hMhjV_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:161: ./drivers/net/phy/sfp-bus.chMhjV_ubj&:)}(hhh](j+:)}(h/on success, a pointer to the sfp_bus structure,h]jX)}(hjah]h/on success, a pointer to the sfp_bus structure,}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjaubah}(h]h ]h"]h$]h&]uh1j*:hjaubj+:)}(h ``NULL`` if no SFP is specified,h]jX)}(hj/ah](j)}(h``NULL``h]hNULL}(hj4ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1aubh if no SFP is specified,}(hj1ahhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj-aubah}(h]h ]h"]h$]h&]uh1j*:hjaubj+:)}(h#on failure, an error pointer value:h]jX)}(hjUah]h#on failure, an error pointer value:}(hjWahhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjSaubah}(h]h ]h"]h$]h&]uh1j*:hjaubeh}(h]h ]h"]h$]h&]j:juh1j%:hj&ahMhjV_ubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_del_upstream (C function)c.sfp_bus_del_upstreamhNtauh1hhj?hhhNhNubh)}(hhh](h)}(h/void sfp_bus_del_upstream (struct sfp_bus *bus)h]h)}(h.void sfp_bus_del_upstream(struct sfp_bus *bus)h](j)}(hvoidh]hvoid}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjahhhjahMubj)}(hsfp_bus_del_upstreamh]j%)}(hsfp_bus_del_upstreamh]hsfp_bus_del_upstream}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjahhhjahMubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjahhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjaubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjamodnameN classnameNjj!)}j$]j')}jjasbc.sfp_bus_del_upstreamasbuh1hhjaubj)}(h h]h }(hj bhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj;)}(hj>h]h*}(hjbhhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjaubj%)}(hbush]hbus}(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)}(hDelete a sfp bush]hDelete a sfp bus}(hjQbhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjNbhhubah}(h]h ]h"]h$]h&]uh1jRhjahhhjahMubeh}(h]h ](jqfunctioneh"]h$]h&]jvjqjwjibjxjibjyjzj{uh1hhhhj?hNhNubj})}(hX **Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Delete a previously registered upstream connection for the SFP module. **bus** should have been added by sfp_bus_add_upstream().h](jX)}(h**Parameters**h]j)}(hjsbh]h Parameters}(hjubhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqbubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjmbubj)}(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)}(hjbh]hstruct sfp_bus *bus}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjbubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjbhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjbh]hstruct sfp_bus}(hjbhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjbhMhjbubh structure for the sfp module}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jhjmbubjX)}(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:161: ./drivers/net/phy/sfp-bus.chMhjmbubjX)}(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. }(hjchhhNhNubj)}(h**bus**h]hbus}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh2 should have been added by sfp_bus_add_upstream().}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjmbubeh}(h]h ] kernelindentah"]h$]h&]uh1j|hj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_get_name (C function)c.sfp_get_namehNtauh1hhj?hhhNhNubh)}(hhh](h)}(h/const char * sfp_get_name (struct sfp_bus *bus)h]h)}(h-const char *sfp_get_name(struct sfp_bus *bus)h](h)}(hjh]hconst}(hjGchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjCchhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj)}(h h]h }(hjUchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCchhhjTchMubj)}(hcharh]hchar}(hjcchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCchhhjTchMubj)}(h h]h }(hjqchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCchhhjTchMubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjCchhhjTchMubj)}(h sfp_get_nameh]j%)}(h sfp_get_nameh]h sfp_get_name}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ](j7j8eh"]h$]h&]j<j=uh1jhjCchhhjTchMubj)}(h(struct sfp_bus *bus)h]j)}(hstruct sfp_bus *bush](h)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubh)}(hhh]j%)}(hsfp_bush]hsfp_bus}(hjchhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubah}(h]h ]h"]h$]h&] refdomainjqreftypej reftargetjcmodnameN classnameNjj!)}j$]j')}jjcsbc.sfp_get_nameasbuh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj;)}(hj>h]h*}(hjchhhNhNubah}(h]h ]jGah"]h$]h&]uh1j:hjcubj%)}(hbush]hbus}(hjdhhhNhNubah}(h]h ]j0ah"]h$]h&]uh1j$hjcubeh}(h]h ]h"]h$]h&]noemphj<j=uh1jhjcubah}(h]h ]h"]h$]h&]j<j=uh1jhjCchhhjTchMubeh}(h]h ]h"]h$]h&]j<j=jDuh1hjEjFhj?chhhjTchMubah}(h]j:cah ](jJjKeh"]h$]h&]jOjP)jQhuh1hhjTchMhj` 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)}(hjQdh]h Parameters}(hjSdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOdubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjKdubj)}(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)}(hjpdh]hstruct sfp_bus *bus}(hjrdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjndubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjjdubj)}(hhh]jX)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjdhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjdh]hstruct sfp_bus}(hjdhhhNhNubah}(h]h ](jjqc-typeeh"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]refdocj refdomainjqreftypetype refexplicitrefwarnjjjsfp_busuh1hhjdhMhjdubh structure for the sfp module}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjgdubah}(h]h ]h"]h$]h&]uh1jhjKdubjX)}(h**Description**h]j)}(hjdh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjKdubjX)}(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 }(hjdhhhNhNubj)}(h**bus**h]hbus}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubhm has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjKdubjX)}(h **Return**h]j)}(hjeh]hReturn}(hj ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjKdubj&:)}(hhh](j+:)}(h@The name of the SFP device registered with sfp_register_socket()h]jX)}(hj"eh]h@The name of the SFP device registered with sfp_register_socket()}(hj$ehhhNhNubah}(h]h ]h"]h$]h&]uh1jWhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj eubah}(h]h ]h"]h$]h&]uh1j*:hjeubj+:)}(h/``NULL`` if no device was registered on **bus**h]jX)}(hj:eh](j)}(h``NULL``h]hNULL}(hj?ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj>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-j2jjjcjhjjj0j5jEjJjPjUjjjjjjjjjKjPjjjjjjjGjLjjjj j{jjjj!j!j[#j`#j#j#j%j%j'j'jB)jG)j*j*jy,j~,jM.jR.j1j 1j3j 3j{6j6j8j8j-<j2<j>>jC>jS@jX@jAjAjMCjRCjEjEjIjIjLjLjPjPjTjTjQXjVXj3[j8[j^j^jd`ji`jajajbdjgdjZfj_fj;ij@ijoljtljnjnjpjqj!sj&sjtjtjvjvjDxjIxjzjzj}j}jjjSjXjdjijшjֈj\jajPjUjێjjfjkjjjzjjjjSjXj?jDjjjtjyjjjjj!j&jj j(j-jJjOjljqjjjjjDjIj{jjxj}jjjjjjjjjtjyjjjj"jjjjjjjdjijjjPjUjjjjjjj#j(j8j=jjjjj\jajjjjjjjjjjj j j j jjjjj3j8jjjjjjjjjjj!j!j#j#j%j%jI)jN)j+j+j.j.jF1jK1j3j3jv5j{5j;j#;j >j>jAjAjDjDjGjGjJj JjLjLjsPjxPjSjSjUjUjbjWjWjWj:[j?[jq]jv]j`j`jjbjbjbjdj dj]ejbejfjfjhjhjijij\njanjqjrjujujyyj~yj{j{jDjIjjjKjPjňjʈjejjjSjXjjj jjjjjjjjjjWj\jRjWjjjvj{jjjj jjjjjSjXjjjajfjPjUjͺjҺjj jKjPjjjjjjj<jAjGjLj&j+jjjSjXjjjjjjjj!jjjjjsjxjjjjj[j`jjjjjZj_j[j`jjj]jbjjjljqj+j0jv j{ j j! jjjEjJjjjjjj j/j4jXj]jjjjj j j"j"j#j#j$j$jM&jR&j'j'j)j)j,j,j-j-j/j/j0j0js2jx2j3j3ju5jz5j 7j7jf8jk8j9j9j;j;jl=jq=j>j>j@j@jGCjLCjEjEjUIjZIjJjJj1Lj6LjNjNjxQj}Qj%Tj*TjYj YjZjZjP\jU\j ^j^jI`jN`jFcjKcjfjfj kjkj njnjojojJrjOrjvjvjyjyj|j|j~j~jjj'j,jjj)j.jjjjj&j+jejŒj]j֒jjjjjmjrj*j/jЙjՙjj jrjwj֠j۠jSjXjjjߨjj"j'jj j2j7jjjȵj͵jRjWjjjjj(j-jjjjj*j/j?jDjjjMjRjbjgjjjj#j;j@jZj_jjjjjjj?jDjjjj jjj*j/jjjujzjjjjjsjxj jjjj jjjj=jBjjj jjjjjjjj_jdjj jjjjj j jY j^ j j jjjvj{j?jDjijnjjjwj|jjj j j"j"j^%jc%j(j!(j*j#*j+j+j4-j9-j/j/j1j1j2j2jC5jH5j7j7j9j9j{;j;j(@j-@jAjAj*Cj/Cj\DjaDjFjFjKHjPHjIjIjLjLjPjQjSjSjVjVj XjXjZjZj]j]jS_jX_j(aj-ajbjcjej ejfjfj-ij2ijWkj\kjqmjvmjGojLojqqjvqjrjrjstjxtjujujwjwjByjGyjzjzjB|jG|j}j}jijnjj$jjjj jjjojІjՆjQjVjjjjjj#jHjMjjjǔj̔jjjљj֙jejjj&j+jfjkjjjTjYjjjj#jҨjרj)j.jjjŮjʮjjj/j4jjjõjȵj^jcjݸjj$j)jjjHjMjjj8j=jjjjjjj*j/jjj@jEjjj j j j j j j<jAjujzjjjjjjjYj^jxj}jj!j j# j "j%"j<$jA$j&j&j(j(j+j"+j-j-jR0jW0j3j3j5j#5j6j6j 8j%8j9j9j<;jA;j<j<jM>jR>j?j?jxAj}AjBjBjDjDj/Fj4FjGjGjKIjPIjMjMjPjPjTjTjWjWjlZjqZjj]j]j]j$_j)_jajaj^cjccjdjdj9gj>gjijijljlj8oj=ojpjpj|rjrjsjsjivjnvjmxjrxj5{j:{j}j}jjjjjIjNjFjKjdžj̆jsjxjjjjjKjPjjjRjWjӑjؑjVj[jוjܕjjjڙjߙj[j`jjjjƟjšjʡjɣjΣj$j)j j%jީjjjjjj`jejEjJjjjBjGjljqjZj_jHjMjrjwjjjjjjjjj(j-jjjjjjj4j9jzjjjj"j'jUjZjWj\jjjYj^jjj9j>j8j=j7j<jXj]jjjoj|jj jjjjjjjj:j?jHjMj/j4jjjjj_ jd jjjKjPjjjjj\jajjj|jj jj jjjjjj j j"j "jc#jh#j$j$j&j&jt'jy'j(j(jv*j{*j+j+jx-j}-j#/j(/j<1jA1j3j3j6j6jT8jY8jl:jq:j<j<j>j>j:Hj?HjIjIjIKjNKjVMj[MjnSjsSjTjTjWjWjYYj^YjkjkjmjmjHojMojqjqjsjsjtjtj܄jjjjj j(j-jqjvjˏjЏjKjPj'j,j)j.j+j0jjjMjRjjjajfjjjgjljĩjɩj!j&jjjjjδjӴjjjjjsjxjͻjһj'j,jjjۿjjjjjj1j6jjjjj\jajjjjjUjZjjj7j<jjj]jbjjjpjujfjkjjjjjjjjjjjjjNjSjLjQjjjyj~j2j7jjj{jjjj?jDjjjjj$j)jjjjjjjg jl ji jn j j jkjpj jjjj jjjjUjZjjjjjPjUjU!jZ!j$j$j}'j'j9)j>)j*j*j,j,j.j.j1j1j4j4j7j7j-:j2:j <j<jg>jl>j@j@jAjAjCjCjAEjFEj GjGjIjIjLjLjbPjgPjgSjlSjVjWjYjYj\j\j^j^jajaj ejej hjhjwkj|kj ojojWrj\rjvjvj]yjbyj}j}j~j~jjj?j j?jDjkjpjjj{jjjjNjSjQjVj:j?jRjWjfjkj)j.jͪjҪjjj jjijjɳjjj|jjjjxj}j#j(jjjWj\j&j+jjjfjkj7j<jjj`jej&j+jjj@jEjjjjjj!jQjVjjjjjfjkjjjjjujzj'j,jjjjjNjSjj jjj"j'jjjjjjj+ j0 j j jC jH jjjijnj jjjjjjjjjjDjIj !j!jS#jX#j%j%jy)j~)j+j+j^-jc-j`/je/jb1jg1j4j5j(8j-8j:j:jH>jM>j{ej?j@j@j@j@jTBjYBj,Dj1Dj:Gj?GjIjIjKjKj-Nj2Nj}QjQjTjTjVjVjXjXjZjZj]j]jajaj:cj?cu 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)}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jWhjfubah}(h]h ]h"]h$]h&]levelKtypeINFOsourceS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.clineMuh1jfhj:ubatransform_messages] transformerN include_log] decorationNhhub.