Searched refs:cmp (Results 1 – 10 of 10) sorted by relevance
/net/sched/ |
D | em_cmp.c | 20 static inline int cmp_needs_transformation(struct tcf_em_cmp *cmp) in cmp_needs_transformation() argument 22 return unlikely(cmp->flags & TCF_EM_CMP_TRANS); in cmp_needs_transformation() 28 struct tcf_em_cmp *cmp = (struct tcf_em_cmp *) em->data; in em_cmp_match() local 29 unsigned char *ptr = tcf_get_base_ptr(skb, cmp->layer) + cmp->off; in em_cmp_match() 32 if (!tcf_valid_offset(skb, ptr, cmp->align)) in em_cmp_match() 35 switch (cmp->align) { in em_cmp_match() 43 if (cmp_needs_transformation(cmp)) in em_cmp_match() 53 if (cmp_needs_transformation(cmp)) in em_cmp_match() 61 if (cmp->mask) in em_cmp_match() 62 val &= cmp->mask; in em_cmp_match() [all …]
|
/net/bridge/netfilter/ |
D | ebt_among.c | 28 uint32_t cmp[2] = { 0, 0 }; in ebt_mac_wormhash_contains() local 31 ether_addr_copy(((char *) cmp) + 2, mac); in ebt_mac_wormhash_contains() 37 if (cmp[1] == p->cmp[1] && cmp[0] == p->cmp[0]) in ebt_mac_wormhash_contains() 44 if (cmp[1] == p->cmp[1] && cmp[0] == p->cmp[0]) in ebt_mac_wormhash_contains()
|
/net/rds/ |
D | bind.c | 56 u64 cmp; in rds_bind_lookup() local 61 cmp = ((u64)be32_to_cpu(rs->rs_bound_addr) << 32) | in rds_bind_lookup() 64 if (cmp == needle) { in rds_bind_lookup()
|
/net/ipv4/ |
D | inetpeer.c | 191 int cmp = addr_compare(_daddr, &u->daddr); \ 192 if (cmp == 0) \ 194 if (cmp == -1) \ 218 int cmp = addr_compare(daddr, &u->daddr); in lookup_rcu() local 219 if (cmp == 0) { in lookup_rcu() 227 if (cmp == -1) in lookup_rcu()
|
/net/ipv6/ |
D | xfrm6_state.c | 60 __xfrm6_sort(void **dst, void **src, int n, int (*cmp)(void *p), int maxclass) in __xfrm6_sort() 70 class[i] = c = cmp(src[i]); in __xfrm6_sort()
|
/net/sctp/ |
D | auth.c | 300 int cmp; in sctp_auth_asoc_create_secret() local 334 cmp = sctp_auth_compare_vectors(local_key_vector, in sctp_auth_asoc_create_secret() 336 if (cmp < 0) { in sctp_auth_asoc_create_secret()
|
D | input.c | 82 __le32 cmp = sh->checksum; in sctp_rcv_checksum() local 85 if (val != cmp) { in sctp_rcv_checksum()
|
/net/netfilter/ipvs/ |
D | ip_vs_proto_sctp.c | 178 __le32 cmp, val; in sctp_csum_check() local 191 cmp = sh->checksum; in sctp_csum_check() 194 if (val != cmp) { in sctp_csum_check()
|
/net/dns_resolver/ |
D | dns_key.c | 217 match_data->cmp = dns_resolver_cmp; in dns_resolver_match_preparse()
|
/net/wireless/ |
D | scan.c | 579 int cmp; in rb_insert_bss() local 585 cmp = cmp_bss(&bss->pub, &tbss->pub, BSS_CMP_REGULAR); in rb_insert_bss() 587 if (WARN_ON(!cmp)) { in rb_insert_bss() 592 if (cmp < 0) in rb_insert_bss()
|