Antoni Segura Puimedon has posted comments on this change.

Change subject: ipwrapper: switch link polling to netlink
......................................................................


Patch Set 5:

(1 comment)

http://gerrit.ovirt.org/#/c/23248/5/lib/vdsm/netlink.py
File lib/vdsm/netlink.py:

Line 22: import ctypes
Line 23: import errno
Line 24: 
Line 25: NETLINK_ROUTE = 0
Line 26: CHARBUFFSIZE = 32
It is used for the address of the form:
"00:11:22:33:44:55" and for state, so I opted for a large enough power of two 
for the buffers.
Line 27: LIBNL = ctypes.CDLL('libnl.so.1', use_errno=True)
Line 28: 
Line 29: # C function specs
Line 30: _int_proto = CFUNCTYPE(c_int, c_void_p)


-- 
To view, visit http://gerrit.ovirt.org/23248
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I09a120155e3c5be15c237171620e5c996c2af681
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Assaf Muller <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: OndÅ™ej Svoboda <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to