• Home
  • Raw
  • Download

Lines Matching refs:dh

234 	const struct dccp_hdr *dh;  in dccp_v4_err()  local
250 dh = (struct dccp_hdr *)(skb->data + offset); in dccp_v4_err()
253 iph->daddr, dh->dccph_dport, in dccp_v4_err()
254 iph->saddr, ntohs(dh->dccph_sport), in dccp_v4_err()
265 seq = dccp_hdr_seq(dh); in dccp_v4_err()
370 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_send_check() local
373 dh->dccph_checksum = dccp_v4_csum_finish(skb, in dccp_v4_send_check()
491 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_send_response() local
493 dh->dccph_checksum = dccp_v4_csum_finish(skb, ireq->ir_loc_addr, in dccp_v4_send_response()
654 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_do_rcv() local
657 if (dccp_rcv_established(sk, skb, dh, skb->len)) in dccp_v4_do_rcv()
686 if (dccp_rcv_state_process(sk, skb, dh, skb->len)) in dccp_v4_do_rcv()
706 const struct dccp_hdr *dh; in dccp_invalid_packet() local
719 dh = dccp_hdr(skb); in dccp_invalid_packet()
722 if (dh->dccph_type >= DCCP_PKT_INVALID) { in dccp_invalid_packet()
730 dccph_doff = dh->dccph_doff; in dccp_invalid_packet()
742 dh = dccp_hdr(skb); in dccp_invalid_packet()
747 if ((dh->dccph_type < DCCP_PKT_DATA || in dccp_invalid_packet()
748 dh->dccph_type > DCCP_PKT_DATAACK) && dh->dccph_x == 0) { in dccp_invalid_packet()
750 dccp_packet_name(dh->dccph_type)); in dccp_invalid_packet()
761 dh->dccph_cscov, skb->len); in dccp_invalid_packet()
776 const struct dccp_hdr *dh; in dccp_v4_rcv() local
794 dh = dccp_hdr(skb); in dccp_v4_rcv()
796 DCCP_SKB_CB(skb)->dccpd_seq = dccp_hdr_seq(dh); in dccp_v4_rcv()
797 DCCP_SKB_CB(skb)->dccpd_type = dh->dccph_type; in dccp_v4_rcv()
800 dccp_packet_name(dh->dccph_type), in dccp_v4_rcv()
801 &iph->saddr, ntohs(dh->dccph_sport), in dccp_v4_rcv()
802 &iph->daddr, ntohs(dh->dccph_dport), in dccp_v4_rcv()
815 sk = __inet_lookup_skb(&dccp_hashinfo, skb, __dccp_hdr_len(dh), in dccp_v4_rcv()
816 dh->dccph_sport, dh->dccph_dport, 0, &refcounted); in dccp_v4_rcv()
867 if (dh->dccph_cscov && (min_cov == 0 || dh->dccph_cscov < min_cov)) { in dccp_v4_rcv()
869 dh->dccph_cscov, min_cov); in dccp_v4_rcv()
880 return __sk_receive_skb(sk, skb, 1, dh->dccph_doff * 4, refcounted); in dccp_v4_rcv()
891 if (dh->dccph_type != DCCP_PKT_RESET) { in dccp_v4_rcv()