Lines Matching refs:dhcp
0 /* dhcp.c - DHCP client for dynamic network configuration.
7 USE_DHCP(NEWTOY(dhcp, "V:H:F:x*r:O*A#<0=20T#<0=3t#<0=3s:p:i:SBRCaovqnbf", TOYFLAG_SBIN|TOYFLAG_ROOTONLY))
10 bool "dhcp"
13 usage: dhcp [-fbnqvoCRB] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]
20 -s Run PROG at DHCP events (default /usr/share/dhcp/default.script)
171 dhcp_msg_t dhcp;
262 // calculates checksum for dhcp messages.
386 // String to dhcp option conversion
534 : "/usr/share/dhcp/default.script";
694 memcpy(&state->pdhcp, &packet.dhcp, bytes - (sizeof(packet.iph) + sizeof(packet.udph)));
727 memcpy(&packet.dhcp, &state->pdhcp, sizeof(dhcp_msg_t));
832 // adds client id to dhcp packet
842 // adds messege type to dhcp packet
851 // adds max size to dhcp packet
868 // adds server id to dhcp packet.
877 // adds requested ip address to dhcp packet.
886 // adds hostname to dhcp packet.
900 // adds request options using -o,-O flag to dhcp packet
930 // Sets values of -x options in dhcp discover and request packet.
984 // sends dhcp msg of MSGTYPE
1053 * parses options from received dhcp packet at OPTPTR and
1288 infomsg(infomode, "dhcp started");