Home | History | Annotate | Download | only in virtual_ip_router

Lines Matching defs:sinstore

123 	struct sockaddr_in sinstore;
142 memset(&sinstore, 0, sizeof(sinstore));
143 sinstore.sin_family = AF_INET;
144 sinstore.sin_len = sizeof(sinstore);
145 sinstore.sin_addr.s_addr = inet_addr(dst);
146 memcpy(bp, &sinstore, sizeof(sinstore));
147 bp += sizeof(sinstore);
150 memset(&sinstore, 0, sizeof(sinstore));
151 sinstore.sin_family = AF_INET;
152 sinstore.sin_len = sizeof(sinstore);
153 sinstore.sin_addr.s_addr = inet_addr(gw);
154 memcpy(bp, &sinstore, sizeof(sinstore));
155 bp += sizeof(sinstore);
158 memset(&sinstore, 0, sizeof(sinstore));
159 sinstore.sin_family = AF_INET;
160 sinstore.sin_len = sizeof(sinstore);
161 sinstore.sin_addr.s_addr = inet_addr(mask);
162 memcpy(bp, &sinstore, sizeof(sinstore));
163 bp += sizeof(sinstore);