Lines Matching refs:pend
987 uint8_t *pend; in dhcpc_sendmsg() local
1002 pend = state->pdhcp.options; in dhcpc_sendmsg()
1003 pend = dhcpc_addmsgtype(pend, msgtype); in dhcpc_sendmsg()
1005 if (!flag_chk(FLAG_C)) pend = dhcpc_addclientid(pend); in dhcpc_sendmsg()
1012 pend = dhcpc_addreqipaddr(&rqsd, pend); in dhcpc_sendmsg()
1014 pend = dhcpc_addmaxsize(pend, htons(sizeof(dhcp_raw_t))); in dhcpc_sendmsg()
1016 pend = dhcpc_addstropt(pend, DHCP_OPTION_VENDOR, vendor, strlen(vendor)); in dhcpc_sendmsg()
1017 …if (flag_chk(FLAG_H)) pend = dhcpc_addstropt(pend, DHCP_OPTION_HOST_NAME, TT.hostname, strlen(TT.h… in dhcpc_sendmsg()
1018 if (flag_chk(FLAG_F)) pend = dhcpc_addfdnname(pend, TT.fdn_name); in dhcpc_sendmsg()
1019 if ((!flag_chk(FLAG_o)) || flag_chk(FLAG_O)) pend = dhcpc_addreqoptions(pend); in dhcpc_sendmsg()
1020 if (flag_chk(FLAG_x)) pend = set_xopt(pend); in dhcpc_sendmsg()
1025 pend = dhcpc_addmaxsize(pend, htons(sizeof(dhcp_raw_t))); in dhcpc_sendmsg()
1027 pend = dhcpc_addserverid(&rqsd, pend); in dhcpc_sendmsg()
1028 pend = dhcpc_addreqipaddr(&state->ipaddr, pend); in dhcpc_sendmsg()
1030 pend = dhcpc_addstropt(pend, DHCP_OPTION_VENDOR, vendor, strlen(vendor)); in dhcpc_sendmsg()
1031 …if (flag_chk(FLAG_H)) pend = dhcpc_addstropt(pend, DHCP_OPTION_HOST_NAME, TT.hostname, strlen(TT.h… in dhcpc_sendmsg()
1032 if (flag_chk(FLAG_F)) pend = dhcpc_addfdnname(pend, TT.fdn_name); in dhcpc_sendmsg()
1033 if ((!flag_chk(FLAG_o)) || flag_chk(FLAG_O)) pend = dhcpc_addreqoptions(pend); in dhcpc_sendmsg()
1034 if (flag_chk(FLAG_x)) pend = set_xopt(pend); in dhcpc_sendmsg()
1039 pend = dhcpc_addserverid(&rqsd, pend); in dhcpc_sendmsg()
1044 pend = dhcpc_addend(pend); in dhcpc_sendmsg()