Lines Matching refs:un
56 TAIL_ALLOC_OBJECT_VAR_PTR(struct sockaddr_un, un); in check_un()
57 un->sun_family = AF_UNIX; in check_un()
58 memset(un->sun_path, '0', sizeof(un->sun_path)); in check_un()
59 unsigned int len = sizeof(*un); in check_un()
60 int ret = connect(-1, (void *) un, len); in check_un()
63 (int) sizeof(un->sun_path), 0, len, ret); in check_un()
65 un->sun_path[1] = 0; in check_un()
66 ret = connect(-1, (void *) un, len); in check_un()
70 un->sun_path[0] = 0; in check_un()
71 un->sun_path[2] = 1; in check_un()
72 ret = connect(-1, (void *) un, len); in check_un()
75 (int) sizeof(un->sun_path) - 3, 0, len, ret); in check_un()
77 un = ((void *) un) - 2; in check_un()
78 un->sun_family = AF_UNIX; in check_un()
79 memset(un->sun_path, '0', sizeof(un->sun_path)); in check_un()
80 len = sizeof(*un) + 2; in check_un()
81 ret = connect(-1, (void *) un, len); in check_un()
84 (int) sizeof(un->sun_path), 0, len, ret); in check_un()
86 un->sun_path[0] = 0; in check_un()
87 ret = connect(-1, (void *) un, len); in check_un()
90 (int) sizeof(un->sun_path) - 1, 0, len, ret); in check_un()
92 un = ((void *) un) + 4; in check_un()
93 un->sun_family = AF_UNIX; in check_un()
94 len = sizeof(*un) - 2; in check_un()
95 ret = connect(-1, (void *) un, len); in check_un()
98 (int) sizeof(un->sun_path) - 2, 0, len, ret); in check_un()
100 un->sun_path[0] = 0; in check_un()
101 ret = connect(-1, (void *) un, len); in check_un()
104 (int) sizeof(un->sun_path) - 3, 0, len, ret); in check_un()
106 len = sizeof(*un); in check_un()
107 ret = connect(-1, (void *) un, len); in check_un()
108 printf("connect(-1, %p, %u) = %d EBADF (%m)\n", un, len, ret); in check_un()
110 un = tail_alloc(sizeof(struct sockaddr_storage)); in check_un()
111 un->sun_family = AF_UNIX; in check_un()
112 memset(un->sun_path, '0', sizeof(un->sun_path)); in check_un()
114 ret = connect(-1, (void *) un, len); in check_un()
117 (int) sizeof(un->sun_path), 0, len, ret); in check_un()
119 un->sun_path[0] = 0; in check_un()
120 ret = connect(-1, (void *) un, len); in check_un()
123 (int) sizeof(un->sun_path) - 1, 0, len, ret); in check_un()