mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
17 lines
No EOL
467 B
C
Vendored
17 lines
No EOL
467 B
C
Vendored
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
/* AF_TIPC sock_diag interface for querying open sockets */
|
|
|
|
#ifndef __TIPC_SOCKETS_DIAG_H__
|
|
#define __TIPC_SOCKETS_DIAG_H__
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/sock_diag.h>
|
|
|
|
/* Request */
|
|
struct tipc_sock_diag_req {
|
|
__u8 sdiag_family; /* must be AF_TIPC */
|
|
__u8 sdiag_protocol; /* must be 0 */
|
|
__u16 pad; /* must be 0 */
|
|
__u32 tidiag_states; /* query*/
|
|
};
|
|
#endif /* __TIPC_SOCKETS_DIAG_H__ */ |