• Home
  • Raw
  • Download

Lines Matching refs:dh

49 		struct dccp_hdr *dh;  in dccp_transmit_skb()  local
51 const u32 dccp_header_size = sizeof(*dh) + in dccp_transmit_skb()
100 dh = dccp_zeroed_hdr(skb, dccp_header_size); in dccp_transmit_skb()
101 dh->dccph_type = dcb->dccpd_type; in dccp_transmit_skb()
102 dh->dccph_sport = inet->inet_sport; in dccp_transmit_skb()
103 dh->dccph_dport = inet->inet_dport; in dccp_transmit_skb()
104 dh->dccph_doff = (dccp_header_size + dcb->dccpd_opt_len) / 4; in dccp_transmit_skb()
105 dh->dccph_ccval = dcb->dccpd_ccval; in dccp_transmit_skb()
106 dh->dccph_cscov = dp->dccps_pcslen; in dccp_transmit_skb()
108 dh->dccph_x = 1; in dccp_transmit_skb()
111 dccp_hdr_set_seq(dh, dp->dccps_gss); in dccp_transmit_skb()
393 struct dccp_hdr *dh; in dccp_make_response() local
427 dh = dccp_zeroed_hdr(skb, dccp_header_size); in dccp_make_response()
429 dh->dccph_sport = htons(inet_rsk(req)->ir_num); in dccp_make_response()
430 dh->dccph_dport = inet_rsk(req)->ir_rmt_port; in dccp_make_response()
431 dh->dccph_doff = (dccp_header_size + in dccp_make_response()
433 dh->dccph_type = DCCP_PKT_RESPONSE; in dccp_make_response()
434 dh->dccph_x = 1; in dccp_make_response()
435 dccp_hdr_set_seq(dh, dreq->dreq_gss); in dccp_make_response()
455 struct dccp_hdr *rxdh = dccp_hdr(rcv_skb), *dh; in dccp_ctl_make_reset() local
470 dh = dccp_zeroed_hdr(skb, dccp_hdr_reset_len); in dccp_ctl_make_reset()
471 dh->dccph_type = DCCP_PKT_RESET; in dccp_ctl_make_reset()
472 dh->dccph_sport = rxdh->dccph_dport; in dccp_ctl_make_reset()
473 dh->dccph_dport = rxdh->dccph_sport; in dccp_ctl_make_reset()
474 dh->dccph_doff = dccp_hdr_reset_len / 4; in dccp_ctl_make_reset()
475 dh->dccph_x = 1; in dccp_ctl_make_reset()
495 dccp_hdr_set_seq(dh, ADD48(dcb->dccpd_ack_seq, 1)); in dccp_ctl_make_reset()