Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/net/
H A Dbootp.c701 int extlen, pktlen, iplen; in bootp_request() local
798 iplen = BOOTP_HDR_SIZE - OPT_FIELD_SIZE + extlen; in bootp_request()
799 pktlen = eth_hdr_size + IP_UDP_HDR_SIZE + iplen; in bootp_request()
801 net_set_udp_header(iphdr, bcast_ip, PORT_BOOTPS, PORT_BOOTPC, iplen); in bootp_request()
957 int pktlen, iplen, extlen; in dhcp_send_request_packet() local
1007 iplen = BOOTP_HDR_SIZE - OPT_FIELD_SIZE + extlen; in dhcp_send_request_packet()
1008 pktlen = eth_hdr_size + IP_UDP_HDR_SIZE + iplen; in dhcp_send_request_packet()
1010 net_set_udp_header(iphdr, bcast_ip, PORT_BOOTPS, PORT_BOOTPC, iplen); in dhcp_send_request_packet()