Lines Matching defs:opt
106 int opt, optlen, cnt, off, code, type = ICMP_PARAMPROB, forward = 0;
127 opt = cp[IPOPT_OPTVAL];
128 if (opt == IPOPT_EOL)
130 if (opt == IPOPT_NOP)
143 switch (opt) {
172 if (opt == IPOPT_SSRR) {
240 if (opt == IPOPT_SSRR) {
505 ip_insertoptions(struct mbuf *m, struct mbuf *opt, int *phlen)
507 struct ipoption *p = mtod(opt, struct ipoption *);
512 optlen = opt->m_len - sizeof(p->ipopt_dst);
560 int opt, optlen, cnt;
566 opt = cp[0];
567 if (opt == IPOPT_EOL)
569 if (opt == IPOPT_NOP) {
585 if (IPOPT_COPIED(opt)) {
606 u_char opt;
640 opt = cp[IPOPT_OPTVAL];
641 if (opt == IPOPT_EOL)
643 if (opt == IPOPT_NOP)
652 switch (opt) {
722 int opt, optlen, cnt, found_ra;
728 opt = cp[IPOPT_OPTVAL];
729 if (opt == IPOPT_EOL)
731 if (opt == IPOPT_NOP)
744 switch (opt) {