Lines Matching defs:hdr
94 struct e1000_host_mng_dhcp_cookie *hdr = &hw->mng_cookie;
123 hdr_csum = hdr->checksum;
124 hdr->checksum = 0;
125 csum = e1000_calculate_checksum((u8 *)hdr,
131 if ((hdr_csum != csum) || (hdr->signature != E1000_IAMT_SIGNATURE)) {
137 if (!(hdr->status & E1000_MNG_DHCP_COOKIE_STATUS_PARSING))
146 * @hdr: pointer to the host interface command header
151 struct e1000_host_mng_command_header *hdr)
157 hdr->checksum = e1000_calculate_checksum((u8 *)hdr, length);
162 E1000_WRITE_REG_ARRAY(hw, E1000_HOST_IF, i, *((u32 *)hdr + i));
251 struct e1000_host_mng_command_header hdr;
255 hdr.command_id = E1000_MNG_DHCP_TX_PAYLOAD_CMD;
256 hdr.command_length = length;
257 hdr.reserved1 = 0;
258 hdr.reserved2 = 0;
259 hdr.checksum = 0;
268 sizeof(hdr), &(hdr.checksum));
273 ret_val = e1000_mng_write_cmd_header(hw, &hdr);