Lines Matching defs:hdr
132 struct e1000_host_mng_dhcp_cookie *hdr = &hw->mng_cookie;
164 hdr_csum = hdr->checksum;
165 hdr->checksum = 0;
166 csum = e1000_calculate_checksum((u8 *)hdr,
173 if ((hdr_csum != csum) || (hdr->signature != E1000_IAMT_SIGNATURE)) {
179 if (!(hdr->status & E1000_MNG_DHCP_COOKIE_STATUS_PARSING))
188 * @hdr: pointer to the host interface command header
193 struct e1000_host_mng_command_header *hdr)
201 hdr->checksum = e1000_calculate_checksum((u8 *)hdr, length);
207 *((u32 *) hdr + i));
302 struct e1000_host_mng_command_header hdr;
308 hdr.command_id = E1000_MNG_DHCP_TX_PAYLOAD_CMD;
309 hdr.command_length = length;
310 hdr.reserved1 = 0;
311 hdr.reserved2 = 0;
312 hdr.checksum = 0;
321 sizeof(hdr), &(hdr.checksum));
326 ret_val = hw->mac.ops.mng_write_cmd_header(hw, &hdr);