Lines Matching refs:sname
1492 (ret = option_find1(&mess->sname[0], &mess->sname[64], opt_type, minsize))) in option_find()
1600 *dhcp_skip_opts(mess->sname) = OPTION_END; in dhcp_packet_size()
1602 log_options(mess->sname, mess->xid); in dhcp_packet_size()
1604 else if ((daemon->options & OPT_LOG_OPTS) && strlen((char *)mess->sname) != 0) in dhcp_packet_size()
1605 my_syslog(MS_DHCP | LOG_INFO, _("%u server name: %s"), ntohl(mess->xid), (char *)mess->sname); in dhcp_packet_size()
1640 (mess->file[0] == 0 || mess->sname[0] == 0)) in free_space()
1667 if (mess->sname[0] == 0) in free_space()
1672 p = dhcp_skip_opts(mess->sname); in free_space()
1673 if (p + len + 3 >= mess->sname + sizeof(mess->file)) in free_space()
1991 memset(mess->sname, 0, sizeof(mess->sname)); in clear_packet()
2068 if (boot->sname) in do_options()
2073 option_put_string(mess, end, OPTION_SNAME, boot->sname, 1); in do_options()
2075 strncpy((char *)mess->sname, boot->sname, sizeof(mess->sname)-1); in do_options()
2107 strncpy((char *)mess->sname, (char *)opt->val, sizeof(mess->sname)-1); in do_options()
2123 s0 = mess->sname[0]; in do_options()
2124 mess->sname[0] = 1; in do_options()
2129 if (mess->file[0] == 0 || mess->sname[0] == 0) in do_options()
2321 mess->sname[0] = s0; in do_options()