File: flow.pxd

package info (click to toggle)
rdma-core 56.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,196 kB
  • sloc: ansic: 171,361; python: 13,724; sh: 2,774; perl: 1,465; makefile: 73
file content (19 lines) | stat: -rw-r--r-- 472 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB)
# Copyright (c) 2020 Nvidia All rights reserved.

#cython: language_level=3

from pyverbs.base cimport PyverbsObject, PyverbsCM
cimport pyverbs.libibverbs as v

cdef class FlowAttr(PyverbsObject):
    cdef v.ibv_flow_attr attr
    cdef object specs

cdef class Flow(PyverbsCM):
    cdef v.ibv_flow *flow
    cdef object qp
    cpdef close(self)

cdef class FlowAction(PyverbsObject):
    cdef v.ibv_flow_action *action