Lines Matching refs:sinstore
133 struct sockaddr_in sinstore;
152 memset(&sinstore, 0, sizeof(sinstore));
153 sinstore.sin_family = AF_INET;
154 sinstore.sin_len = sizeof(sinstore);
155 sinstore.sin_addr.s_addr = inet_addr(dst);
156 memcpy(bp, &sinstore, sizeof(sinstore));
157 bp += sizeof(sinstore);
160 memset(&sinstore, 0, sizeof(sinstore));
161 sinstore.sin_family = AF_INET;
162 sinstore.sin_len = sizeof(sinstore);
163 sinstore.sin_addr.s_addr = inet_addr(gw);
164 memcpy(bp, &sinstore, sizeof(sinstore));
165 bp += sizeof(sinstore);
168 memset(&sinstore, 0, sizeof(sinstore));
169 sinstore.sin_family = AF_INET;
170 sinstore.sin_len = sizeof(sinstore);
171 sinstore.sin_addr.s_addr = inet_addr(mask);
172 memcpy(bp, &sinstore, sizeof(sinstore));
173 bp += sizeof(sinstore);