Home | History | Annotate | Download | only in slirp

Lines Matching refs:bc

55     BOOTPClient *bc;
59 bc = &bootp_clients[i];
60 if (!bc->allocated || !memcmp(macaddr, bc->macaddr, 6))
65 bc = &bootp_clients[i];
66 bc->allocated = 1;
68 return bc;
76 BOOTPClient *bc;
80 bc = &bootp_clients[(req_addr & 0xff) - START_ADDR];
81 if (!bc->allocated || !memcmp(macaddr, bc->macaddr, 6)) {
82 bc->allocated = 1;
83 return bc;
91 BOOTPClient *bc;
100 bc = &bootp_clients[i];
101 bc->allocated = 1;
103 return bc;
155 BOOTPClient *bc = NULL;
190 bc = request_addr(preq_addr, client_ethaddr);
191 if (bc) {
195 if (!bc) {
197 bc = get_new_addr(&daddr.sin_addr, client_ethaddr);
198 if (!bc) {
203 memcpy(bc->macaddr, client_ethaddr, 6);
205 bc = request_addr(preq_addr, client_ethaddr);
206 if (bc) {
208 memcpy(bc->macaddr, client_ethaddr, 6);
213 bc = find_addr(&daddr.sin_addr, bp->bp_hwaddr);
214 if (!bc) {
239 if (bc) {