Lines Matching full:code
25 The setup and packet enqueue/send code is shared between the two types of
34 .. code-block:: c
42 The lower two bits of *flags* are used as the return code if the map lookup
64 .. code-block:: c
80 .. code-block:: c
89 .. code-block:: c
117 .. code-block:: c
127 .. code-block:: c
142 The following code snippet shows how to declare a ``BPF_MAP_TYPE_DEVMAP``
145 .. code-block:: c
154 The following code snippet shows how to declare a ``BPF_MAP_TYPE_DEVMAP_HASH``
157 .. code-block:: c
170 The following code snippet shows a simple xdp_redirect_map program. This program
175 .. code-block:: c
185 The following code snippet shows a BPF program that is broadcasting packets to
188 .. code-block:: c
199 The following code snippet shows how to update a devmap called ``tx_port``.
201 .. code-block:: c
216 The following code snippet shows how to update a hash_devmap called ``forward_map``.
218 .. code-block:: c