Lines Matching defs:optoffset
412 size_t optlen, optoffset, size;
433 client->arp_type, optlen, &optoffset);
492 r = dhcp_option_append(&packet->dhcp, optlen, &optoffset, 0,
508 r = dhcp_option_append(&packet->dhcp, optlen, &optoffset, 0,
537 r = dhcp_option_append(&packet->dhcp, client->mtu, &optoffset, 0,
544 *_optoffset = optoffset;
551 static int client_append_fqdn_option(DHCPMessage *message, size_t optlen, size_t *optoffset,
563 r = dhcp_option_append(message, optlen, optoffset, 0,
580 size_t optoffset, optlen;
588 &optlen, &optoffset);
599 r = dhcp_option_append(&discover->dhcp, optlen, &optoffset, 0,
615 r = dhcp_option_append(&discover->dhcp, optlen, &optoffset, 0,
619 r = client_append_fqdn_option(&discover->dhcp, optlen, &optoffset,
626 r = dhcp_option_append(&discover->dhcp, optlen, &optoffset, 0,
634 r = dhcp_option_append(&discover->dhcp, optlen, &optoffset, 0,
643 r = dhcp_client_send_raw(client, discover, sizeof(DHCPPacket) + optoffset);
654 size_t optoffset, optlen;
658 &optlen, &optoffset);
673 r = dhcp_option_append(&request->dhcp, optlen, &optoffset, 0,
679 r = dhcp_option_append(&request->dhcp, optlen, &optoffset, 0,
692 r = dhcp_option_append(&request->dhcp, optlen, &optoffset, 0,
727 r = dhcp_option_append(&request->dhcp, optlen, &optoffset, 0,
731 r = client_append_fqdn_option(&request->dhcp, optlen, &optoffset,
737 r = dhcp_option_append(&request->dhcp, optlen, &optoffset, 0,
747 sizeof(DHCPMessage) + optoffset);
749 r = dhcp_client_send_raw(client, request, sizeof(DHCPPacket) + optoffset);