Lines Matching refs:optsize
107 int optsize = ROUTE_SIZE;
120 if (optsize < req_size) {
136 optsize -= srp->ipsr_len;
141 if (optsize < IPOPT_MINOFF) {
150 tsp->ipt_len = optsize;
163 if (optsize < req_size) {
179 optsize -= tsp->ipt_len;
184 if (optsize < IPOPT_MINOFF) {
197 srp->ipsr_len = optsize;
200 optsize -= srp->ipsr_len;
203 optsize = bufp - srr;
205 if (optsize & 0x3)
206 optsize = (optsize & ~0x3) + 4;
207 if (setsockopt(sock, IPPROTO_IP, IP_OPTIONS, srr, optsize) <