• Home
  • Raw
  • Download

Lines Matching refs:dh

236 	const struct dccp_hdr *dh;  in dccp_v4_err()  local
252 dh = (struct dccp_hdr *)(skb->data + offset); in dccp_v4_err()
255 iph->daddr, dh->dccph_dport, in dccp_v4_err()
256 iph->saddr, ntohs(dh->dccph_sport), in dccp_v4_err()
267 seq = dccp_hdr_seq(dh); in dccp_v4_err()
372 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_send_check() local
375 dh->dccph_checksum = dccp_v4_csum_finish(skb, in dccp_v4_send_check()
493 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_send_response() local
495 dh->dccph_checksum = dccp_v4_csum_finish(skb, ireq->ir_loc_addr, in dccp_v4_send_response()
656 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_do_rcv() local
659 if (dccp_rcv_established(sk, skb, dh, skb->len)) in dccp_v4_do_rcv()
688 if (dccp_rcv_state_process(sk, skb, dh, skb->len)) in dccp_v4_do_rcv()
708 const struct dccp_hdr *dh; in dccp_invalid_packet() local
721 dh = dccp_hdr(skb); in dccp_invalid_packet()
724 if (dh->dccph_type >= DCCP_PKT_INVALID) { in dccp_invalid_packet()
732 dccph_doff = dh->dccph_doff; in dccp_invalid_packet()
744 dh = dccp_hdr(skb); in dccp_invalid_packet()
749 if ((dh->dccph_type < DCCP_PKT_DATA || in dccp_invalid_packet()
750 dh->dccph_type > DCCP_PKT_DATAACK) && dh->dccph_x == 0) { in dccp_invalid_packet()
752 dccp_packet_name(dh->dccph_type)); in dccp_invalid_packet()
763 dh->dccph_cscov, skb->len); in dccp_invalid_packet()
778 const struct dccp_hdr *dh; in dccp_v4_rcv() local
796 dh = dccp_hdr(skb); in dccp_v4_rcv()
798 DCCP_SKB_CB(skb)->dccpd_seq = dccp_hdr_seq(dh); in dccp_v4_rcv()
799 DCCP_SKB_CB(skb)->dccpd_type = dh->dccph_type; in dccp_v4_rcv()
802 dccp_packet_name(dh->dccph_type), in dccp_v4_rcv()
803 &iph->saddr, ntohs(dh->dccph_sport), in dccp_v4_rcv()
804 &iph->daddr, ntohs(dh->dccph_dport), in dccp_v4_rcv()
817 sk = __inet_lookup_skb(&dccp_hashinfo, skb, __dccp_hdr_len(dh), in dccp_v4_rcv()
818 dh->dccph_sport, dh->dccph_dport, 0, &refcounted); in dccp_v4_rcv()
869 if (dh->dccph_cscov && (min_cov == 0 || dh->dccph_cscov < min_cov)) { in dccp_v4_rcv()
871 dh->dccph_cscov, min_cov); in dccp_v4_rcv()
882 return __sk_receive_skb(sk, skb, 1, dh->dccph_doff * 4, refcounted); in dccp_v4_rcv()
893 if (dh->dccph_type != DCCP_PKT_RESET) { in dccp_v4_rcv()