Lines Matching refs:vendp

1168 	unsigned char *vendp;  in bootpc_compose_query()  local
1187 vendp = ifctx->call.vend; in bootpc_compose_query()
1188 *vendp++ = 99; /* RFC1048 cookie */ in bootpc_compose_query()
1189 *vendp++ = 130; in bootpc_compose_query()
1190 *vendp++ = 83; in bootpc_compose_query()
1191 *vendp++ = 99; in bootpc_compose_query()
1192 *vendp++ = TAG_MAXMSGSIZE; in bootpc_compose_query()
1193 *vendp++ = 2; in bootpc_compose_query()
1194 *vendp++ = (sizeof(struct bootp_packet) >> 8) & 255; in bootpc_compose_query()
1195 *vendp++ = sizeof(struct bootp_packet) & 255; in bootpc_compose_query()
1200 *vendp++ = TAG_VENDOR_INDENTIFIER; in bootpc_compose_query()
1201 *vendp++ = vendor_client_len; in bootpc_compose_query()
1202 memcpy(vendp, vendor_client, vendor_client_len); in bootpc_compose_query()
1203 vendp += vendor_client_len; in bootpc_compose_query()
1207 *vendp++ = TAG_DHCP_MSGTYPE; in bootpc_compose_query()
1208 *vendp++ = 1; in bootpc_compose_query()
1209 *vendp++ = DHCP_DISCOVER; in bootpc_compose_query()
1214 *vendp++ = TAG_DHCP_MSGTYPE; in bootpc_compose_query()
1215 *vendp++ = 1; in bootpc_compose_query()
1216 *vendp++ = DHCP_REQUEST; in bootpc_compose_query()
1218 *vendp++ = TAG_DHCP_REQ_ADDR; in bootpc_compose_query()
1219 *vendp++ = 4; in bootpc_compose_query()
1220 memcpy(vendp, &ifctx->reply.yiaddr, 4); in bootpc_compose_query()
1221 vendp += 4; in bootpc_compose_query()
1223 *vendp++ = TAG_DHCP_SERVERID; in bootpc_compose_query()
1224 *vendp++ = 4; in bootpc_compose_query()
1225 memcpy(vendp, &ifctx->dhcpserver, 4); in bootpc_compose_query()
1226 vendp += 4; in bootpc_compose_query()
1228 *vendp++ = TAG_DHCP_LEASETIME; in bootpc_compose_query()
1229 *vendp++ = 4; in bootpc_compose_query()
1231 memcpy(vendp, &leasetime, 4); in bootpc_compose_query()
1232 vendp += 4; in bootpc_compose_query()
1237 *vendp = TAG_END; in bootpc_compose_query()