Home | History | Annotate | Download | only in slirp-android

Lines Matching defs:bc

56     BOOTPClient *bc;
60 bc = &bootp_clients[i];
61 if (!bc->allocated || !memcmp(macaddr, bc->macaddr, 6))
66 bc = &bootp_clients[i];
67 bc->allocated = 1;
71 return bc;
79 BOOTPClient *bc;
83 bc = &bootp_clients[(req_addr & 0xff) - START_ADDR];
84 if (!bc->allocated || !memcmp(macaddr, bc->macaddr, 6)) {
85 bc->allocated = 1;
86 return bc;
94 BOOTPClient *bc;
103 bc = &bootp_clients[i];
104 bc->allocated = 1;
108 return bc;
160 BOOTPClient *bc = NULL;
195 bc = request_addr(preq_addr, client_ethaddr);
196 if (bc) {
200 if (!bc) {
202 bc = get_new_addr(&daddr, client_ethaddr);
203 if (!bc) {
208 memcpy(bc->macaddr, client_ethaddr, 6);
210 bc = request_addr(preq_addr, client_ethaddr);
211 if (bc) {
213 memcpy(bc->macaddr, client_ethaddr, 6);
218 bc = find_addr(&daddr, bp->bp_hwaddr);
219 if (!bc) {
242 if (bc) {