File: addr.pxd

package info (click to toggle)
rdma-core 33.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,844 kB
  • sloc: ansic: 145,804; python: 5,688; sh: 2,761; perl: 1,465; makefile: 73
file content (27 lines) | stat: -rw-r--r-- 661 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
20
21
22
23
24
25
26
27
# SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB)
# Copyright (c) 2018, Mellanox Technologies. All rights reserved. See COPYING file

#cython: language_level=3

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


cdef class GID(PyverbsObject):
    cdef v.ibv_gid gid

cdef class GRH(PyverbsObject):
    cdef v.ibv_grh grh

cdef class GlobalRoute(PyverbsObject):
    cdef v.ibv_global_route gr

cdef class AHAttr(PyverbsObject):
    cdef v.ibv_ah_attr ah_attr
    cdef init_from_ud_param(self, UDParam udparam)

cdef class AH(PyverbsCM):
    cdef v.ibv_ah *ah
    cdef object pd
    cpdef close(self)