Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c2776 struct ip_sourceroute *sr_opt; in prepare_optbuf() local
2815 sr_opt = (struct ip_sourceroute *)(*opt_bufpp + 1); in prepare_optbuf()
2816 sr_opt->ipsr_code = src_rtng_type; in prepare_optbuf()
2818 sr_opt->ipsr_len = needed_buflen - 1; in prepare_optbuf()
2819 sr_opt->ipsr_ptr = IPOPT_MINOFF; in prepare_optbuf()
2823 (void) bcopy(&gw_addrs[i].gw_addr, &sr_opt->ipsr_addrs[i], in prepare_optbuf()