Lines Matching defs:cond
689 const struct inet_diag_hostcond *cond;
692 cond = (const struct inet_diag_hostcond *)(op + 1);
693 if (cond->port != -1 &&
694 cond->port != (op->code == INET_DIAG_BC_S_COND ?
705 if (cond->family != AF_UNSPEC &&
706 cond->family != entry->family) {
708 cond->family == AF_INET) {
712 cond->addr,
713 cond->prefix_len))
720 if (cond->prefix_len == 0)
722 if (bitstring_match(addr, cond->addr,
723 cond->prefix_len))
737 struct inet_diag_markcond *cond;
739 cond = (struct inet_diag_markcond *)(op + 1);
740 if ((entry->mark & cond->mask) != cond->mark)
845 struct inet_diag_hostcond *cond;
852 cond = (struct inet_diag_hostcond *)(op + 1);
855 switch (cond->family) {
873 if (cond->prefix_len > 8 * addr_len)