Lines Matching defs:stropt
53 struct stroptions *stropt;
55 if (!(mp = allocb(sizeof (*stropt), BPRI_LO)))
58 mp->b_wptr += sizeof (*stropt);
59 stropt = (struct stroptions *)mp->b_rptr;
60 stropt->so_flags = SO_HIWAT;
61 stropt->so_hiwat = size;
80 struct stroptions *stropt;
82 if (!(mp = allocb(sizeof (*stropt), BPRI_LO)))
85 mp->b_wptr += sizeof (*stropt);
86 stropt = (struct stroptions *)mp->b_rptr;
87 stropt->so_flags = SO_LOWAT;
88 stropt->so_lowat = size;
144 struct stroptions *stropt;
146 if (!(mp = allocb(sizeof (*stropt), BPRI_LO)))
149 mp->b_wptr += sizeof (*stropt);
150 stropt = (struct stroptions *)mp->b_rptr;
151 stropt->so_flags = SO_MAXBLK;
152 stropt->so_maxblk = size;
170 struct stroptions *stropt;
172 if (!(mp = allocb(sizeof (*stropt), BPRI_LO)))
175 mp->b_wptr += sizeof (*stropt);
176 stropt = (struct stroptions *)mp->b_rptr;
177 stropt->so_flags = SO_COPYOPT;
178 stropt->so_copyopt = (ushort_t)copyopt;
200 struct stroptions *stropt;
201 if (!(mp = allocb(sizeof (*stropt), BPRI_LO)))
204 mp->b_wptr += sizeof (*stropt);
205 stropt = (struct stroptions *)mp->b_rptr;
206 stropt->so_flags = SO_WROFF;
207 stropt->so_wroff = (ushort_t)size;