Lines Matching refs:stropt

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