Lines Matching refs:dh
387 const struct dccp_hdr *dh,
395 state = dccp_state_table[CT_DCCP_ROLE_CLIENT][dh->dccph_type][CT_DCCP_NONE];
424 static u64 dccp_ack_seq(const struct dccp_hdr *dh)
428 dhack = (void *)dh + __dccp_basic_hdr_len(dh);
433 static bool dccp_error(const struct dccp_hdr *dh,
451 if (dh->dccph_doff * 4 < sizeof(struct dccp_hdr) ||
452 dh->dccph_doff * 4 > dccp_len) {
458 if (dh->dccph_cscov) {
459 cscov = (dh->dccph_cscov - 1) * 4;
474 type = dh->dccph_type;
480 if (test_bit(type, &require_seq48) && !dh->dccph_x) {
492 struct dccp_hdr dh; /* generic header part */
493 struct dccp_hdr_ext ext; /* optional depending dh->dccph_x */
503 dccp_header_pointer(const struct sk_buff *skb, int offset, const struct dccp_hdr *dh,
506 unsigned int hdrlen = __dccp_hdr_len(dh);
524 struct dccp_hdr *dh;
526 dh = skb_header_pointer(skb, dataoff, sizeof(*dh), &_dh.dh);
527 if (!dh)
530 if (dccp_error(dh, skb, dataoff, state))
534 dh = dccp_header_pointer(skb, dataoff, dh, &_dh);
535 if (!dh)
538 type = dh->dccph_type;
539 if (!nf_ct_is_confirmed(ct) && !dccp_new(ct, skb, dh, state))
567 ct->proto.dccp.handshake_seq = dccp_hdr_seq(dh);
572 dccp_ack_seq(dh) == ct->proto.dccp.handshake_seq)
586 ct->proto.dccp.handshake_seq = dccp_hdr_seq(dh);