Lines Matching defs:dh
40 const struct dccp_hdr *dh,
45 unsigned int optoff = __dccp_hdr_len(dh);
46 unsigned int optlen = dh->dccph_doff*4 - __dccp_hdr_len(dh);
49 if (dh->dccph_doff * 4 < __dccp_hdr_len(dh))
86 match_types(const struct dccp_hdr *dh, u_int16_t typemask)
88 return typemask & (1 << dh->dccph_type);
93 const struct dccp_hdr *dh, bool *hotdrop)
95 return dccp_find_option(option, skb, protoff, dh, hotdrop);
102 const struct dccp_hdr *dh;
108 dh = skb_header_pointer(skb, par->thoff, sizeof(_dh), &_dh);
109 if (dh == NULL) {
114 return DCCHECK(ntohs(dh->dccph_sport) >= info->spts[0]
115 && ntohs(dh->dccph_sport) <= info->spts[1],
117 && DCCHECK(ntohs(dh->dccph_dport) >= info->dpts[0]
118 && ntohs(dh->dccph_dport) <= info->dpts[1],
120 && DCCHECK(match_types(dh, info->typemask),
122 && DCCHECK(match_option(info->option, skb, par->thoff, dh,