mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
fa20edc44d
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
27 lines
529 B
C
27 lines
529 B
C
#ifndef COSMOPOLITAN_LIBC_SOCK_ALG_H_
|
|
#define COSMOPOLITAN_LIBC_SOCK_ALG_H_
|
|
COSMOPOLITAN_C_START_
|
|
|
|
struct sockaddr_alg {
|
|
uint16_t salg_family;
|
|
uint8_t salg_type[14];
|
|
uint32_t salg_feat;
|
|
uint32_t salg_mask;
|
|
uint8_t salg_name[64];
|
|
};
|
|
|
|
struct sockaddr_alg_new {
|
|
uint16_t salg_family;
|
|
uint8_t salg_type[14];
|
|
uint32_t salg_feat;
|
|
uint32_t salg_mask;
|
|
uint8_t salg_name[]; /* Linux v4.12+ */
|
|
};
|
|
|
|
struct af_alg_iv {
|
|
uint32_t ivlen;
|
|
uint8_t iv[0];
|
|
};
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* COSMOPOLITAN_LIBC_SOCK_ALG_H_ */
|