Lines Matching defs:opts
684 struct mbuf *opts = NULL;
748 if ((opts = ip_srcroute()) == 0 &&
749 (opts = m_gethdr(M_DONTWAIT, MT_HEADER))) { /* MAC-OK */
750 opts->m_len = sizeof(struct in_addr);
751 mtod(opts, struct in_addr *)->s_addr = 0;
753 if (opts) {
757 optlen, opts->m_len);
779 mtod(opts, caddr_t) + opts->m_len, len);
780 opts->m_len += len;
784 cnt = opts->m_len % 4;
787 *(mtod(opts, caddr_t) + opts->m_len) =
789 opts->m_len++;
794 printf("%d\n", opts->m_len);
811 icmp_send(m, opts);
813 if (opts)
814 (void)m_free(opts);
822 icmp_send(struct mbuf *m, struct mbuf *opts)
855 (void) ip_output(m, opts, &ro, IP_OUTARGS, NULL, &ipoa);