Home | History | Annotate | Download | only in config

Lines Matching defs:sinstore

135 	struct sockaddr_in sinstore;
155 memset(&sinstore, 0, sizeof(sinstore));
156 sinstore.sin_family = AF_INET;
157 sinstore.sin_len = sizeof(sinstore);
158 sinstore.sin_addr.s_addr = inet_addr(dst);
159 memcpy(bp, &sinstore, sizeof(sinstore));
160 bp += sizeof(sinstore);
163 memset(&sinstore, 0, sizeof(sinstore));
164 sinstore.sin_family = AF_INET;
165 sinstore.sin_len = sizeof(sinstore);
166 sinstore.sin_addr.s_addr = inet_addr(gw);
167 memcpy(bp, &sinstore, sizeof(sinstore));
168 bp += sizeof(sinstore);
171 memset(&sinstore, 0, sizeof(sinstore));
172 sinstore.sin_family = AF_INET;
173 sinstore.sin_len = sizeof(sinstore);
174 sinstore.sin_addr.s_addr = inet_addr(mask);
175 memcpy(bp, &sinstore, sizeof(sinstore));
176 bp += sizeof(sinstore);