Lines Matching defs:opt
19 static inline unsigned int optlen(const u_int8_t *opt, unsigned int offset)
22 if (opt[offset] <= TCPOPT_NOP || opt[offset+1] == 0)
25 return opt[offset+1];
37 u_int8_t *opt;
57 opt = (u8 *)tcph;
64 optl = optlen(opt, i);
69 if (!tcpoptstrip_test_bit(info->strip_bmap, opt[i]))
73 o = opt[i+j];
82 memset(opt + i, TCPOPT_NOP, optl);