Lines Matching refs:cond
702 const struct inet_diag_hostcond *cond;
705 cond = (const struct inet_diag_hostcond *)(op + 1);
706 if (cond->port != -1 &&
707 cond->port != (op->code == INET_DIAG_BC_S_COND ?
718 if (cond->family != AF_UNSPEC &&
719 cond->family != entry->family) {
721 cond->family == AF_INET) {
725 cond->addr,
726 cond->prefix_len))
733 if (cond->prefix_len == 0)
735 if (bitstring_match(addr, cond->addr,
736 cond->prefix_len))
750 struct inet_diag_markcond *cond;
752 cond = (struct inet_diag_markcond *)(op + 1);
753 if ((entry->mark & cond->mask) != cond->mark)
860 struct inet_diag_hostcond *cond;
867 cond = (struct inet_diag_hostcond *)(op + 1);
870 switch (cond->family) {
888 if (cond->prefix_len > 8 * addr_len)