Searched refs:CMSG_ALIGNTO (Results 1 - 1 of 1) sorted by relevance

/system/extras/tests/net_test/
H A Dcsocket.py37 CMSG_ALIGNTO = struct.calcsize("@L") # The kernel defines this as sizeof(long). variable
45 return CMSG_ALIGNTO * ((length / CMSG_ALIGNTO) + (length % CMSG_ALIGNTO != 0))
81 Data is padded to an integer multiple of CMSG_ALIGNTO.

Completed in 73 milliseconds