Lines Matching refs:linger
59 TAIL_ALLOC_OBJECT_CONST_PTR(struct linger, linger); in main()
62 const unsigned int sizeof_l_onoff = sizeof(linger->l_onoff); in main()
63 struct linger *const l_onoff = tail_alloc(sizeof_l_onoff); in main()
66 struct linger *const l_onoff_truncated = in main()
70 offsetofend(struct linger, l_linger) - 1; in main()
71 struct linger *const l_linger_truncated = in main()
79 *len = sizeof(*linger); in main()
80 get_linger(fd, linger, len); in main()
83 fd, linger->l_onoff, linger->l_linger, *len, errstr); in main()
86 linger->l_onoff = -15; in main()
87 linger->l_linger = -42; in main()
88 set_linger(fd, linger, sizeof(*linger)); in main()
91 fd, linger->l_onoff, linger->l_linger, in main()
92 (unsigned int) sizeof(*linger), errstr); in main()
95 set_linger(fd, linger, sizeof(*linger) + 1); in main()
98 fd, linger->l_onoff, linger->l_linger, in main()
99 (unsigned int) sizeof(*linger) + 1, errstr); in main()
102 set_linger(fd, linger, -1U); in main()
104 fd, linger, errstr); in main()
107 set_linger(fd, linger, sizeof(linger->l_onoff)); in main()
109 fd, linger, (unsigned int) sizeof(linger->l_onoff), errstr); in main()
112 set_linger(fd, &linger->l_linger, sizeof(*linger)); in main()
114 fd, &linger->l_linger, (unsigned int) sizeof(*linger), errstr); in main()
118 get_linger(fd, linger, len); in main()
120 fd, linger, errstr); in main()
123 *len = sizeof(*linger) + 1; in main()
124 get_linger(fd, linger, len); in main()
127 fd, linger->l_onoff, linger->l_linger, in main()
128 (unsigned int) sizeof(*linger) + 1, *len, errstr); in main()
161 memcpy(linger, l_linger_truncated, sizeof_l_linger_truncated); in main()
163 fd, linger->l_onoff); in main()
164 print_quoted_hex(&linger->l_linger, sizeof_l_linger_truncated - in main()
165 offsetof(struct linger, l_linger)); in main()
169 *len = sizeof(*linger); in main()
170 get_linger(fd, &linger->l_linger, len); in main()
172 fd, &linger->l_linger, *len, errstr); in main()
175 get_linger(fd, linger, len + 1); in main()
177 fd, linger, len + 1, errstr); in main()