Home
last modified time | relevance | path

Searched refs:dh (Results 1 – 3 of 3) sorted by relevance

/net/netfilter/
A Dxt_dccp.c37 const struct dccp_hdr *dh, in dccp_find_option() argument
42 unsigned int optoff = __dccp_hdr_len(dh); in dccp_find_option()
43 unsigned int optlen = dh->dccph_doff*4 - __dccp_hdr_len(dh); in dccp_find_option()
46 if (dh->dccph_doff * 4 < __dccp_hdr_len(dh)) in dccp_find_option()
85 return typemask & (1 << dh->dccph_type); in match_types()
90 const struct dccp_hdr *dh, bool *hotdrop) in match_option() argument
99 const struct dccp_hdr *dh; in dccp_mt() local
106 if (dh == NULL) { in dccp_mt()
112 && ntohs(dh->dccph_sport) <= info->spts[1], in dccp_mt()
115 && ntohs(dh->dccph_dport) <= info->dpts[1], in dccp_mt()
[all …]
A Dxt_hashlimit.c365 struct dsthash_ent *dh; in htable_selective_cleanup() local
374 dsthash_free(ht, dh); in htable_selective_cleanup()
583 dh->rateinfo.rate = in rateinfo_init()
586 dh->rateinfo.burst = in rateinfo_init()
589 dh->rateinfo.burst = dh->rateinfo.rate; in rateinfo_init()
592 dh->rateinfo.burst = in rateinfo_init()
604 dh->rateinfo.credit_cap = dh->rateinfo.credit; in rateinfo_init()
719 if (dh->rateinfo.credit < tmp && dh->rateinfo.credit_cap) { in hashlimit_byte_cost()
742 if (dh == NULL) { in hashlimit_mt_common()
744 if (dh == NULL) { in hashlimit_mt_common()
[all …]
A Dnft_exthdr.c418 const struct dccp_hdr *dh; in nft_exthdr_dccp_eval() local
426 dh = skb_header_pointer(pkt->skb, thoff, sizeof(_dh), &_dh); in nft_exthdr_dccp_eval()
427 if (!dh) in nft_exthdr_dccp_eval()
430 dataoff = dh->dccph_doff * sizeof(u32); in nft_exthdr_dccp_eval()
431 optoff = __dccp_hdr_len(dh); in nft_exthdr_dccp_eval()

Completed in 11 milliseconds