Lines Matching defs:type
130 uint16_t type() const {
134 // L3 type is now 16 bytes into the hdr with 802.1Q
296 if (eth->type() == ETH_TYPE_IP)
336 uint8_t type() const { return opt_type; }
340 uint8_t len() const { return IP_OPT_TYPEONLY(type()) ? 1 : opt_len; }
409 if (eth->type() == ETH_TYPE_IPV6)
457 uint8_t type;
465 uint8_t type;
488 // fragment, routing type 2 and dstopts.
490 // Routing type 2
491 uint8_t rtType2Type() const { return ext_data.rtType2.type; }
500 uint8_t dstOptType() const { return ext_data.dstOpts.type; }
588 uint8_t type() const { return opt_type; }
589 uint8_t len() const { return TCP_OPT_TYPEONLY(type()) ? 1 : opt_len; }
591 bool isopt(int opt) const { return type() == opt; }