Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Ddhcpd.c164 dhcp_msg_t send_pkt; member
653 memcpy(&packet.dhcp, &gstate.send_pkt, sizeof(dhcp_msg_t)); in send_packet()
671 padding = 308 - 1 - dhcp_opt_size(gstate.send_pkt.options); in send_packet()
725 memset((void*)&gstate.send_pkt, 0, sizeof(gstate.send_pkt)); in prepare_send_pkt()
726 gstate.send_pkt.op = 2; //BOOTPREPLY in prepare_send_pkt()
727 gstate.send_pkt.htype = 1; in prepare_send_pkt()
728 gstate.send_pkt.hlen = 6; in prepare_send_pkt()
729 gstate.send_pkt.xid = gstate.rcvd_pkt.xid; in prepare_send_pkt()
730 gstate.send_pkt.cookie = htonl(DHCP_MAGIC); in prepare_send_pkt()
731 gstate.send_pkt.nsiaddr = gconfig.server_nip; in prepare_send_pkt()
[all …]