blob: 12cf6229f0816b1d4e04d8319e950391e881be13 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _LINUX_UN_H
8#define _LINUX_UN_H
9#include <linux/socket.h>
10#define UNIX_PATH_MAX 108
Ben Cheng655a7c02013-10-16 16:09:24 -070011struct sockaddr_un {
Tao Baod7db5942015-01-28 10:07:51 -080012 __kernel_sa_family_t sun_family;
13 char sun_path[UNIX_PATH_MAX];
Ben Cheng655a7c02013-10-16 16:09:24 -070014};
Christopher Ferris525ce912017-07-26 13:12:53 -070015#define SIOCUNIXFILE (SIOCPROTOPRIVATE + 0)
Ben Cheng655a7c02013-10-16 16:09:24 -070016#endif