Home
last modified time | relevance | path

Searched refs:ip_udp (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_snp.c61 struct ip_udp_hdr ip_udp; member
115 p.ip_udp.ip_hl_v = 0x45; in send_dhcp_discover()
116 p.ip_udp.ip_len = htons(sizeof(struct dhcp) - in send_dhcp_discover()
118 p.ip_udp.ip_id = htons(++net_ip_id); in send_dhcp_discover()
119 p.ip_udp.ip_off = htons(IP_FLAGS_DFRAG); in send_dhcp_discover()
120 p.ip_udp.ip_ttl = 0xff; /* time to live */ in send_dhcp_discover()
121 p.ip_udp.ip_p = IPPROTO_UDP; in send_dhcp_discover()
122 boottime->set_mem(&p.ip_udp.ip_dst, 4, 0xff); in send_dhcp_discover()
123 p.ip_udp.ip_sum = efi_ip_checksum(&p.ip_udp, IP_HDR_SIZE); in send_dhcp_discover()
128 p.ip_udp.udp_src = htons(68); in send_dhcp_discover()
[all …]