Home
last modified time | relevance | path

Searched refs:dcb (Results 1 – 9 of 9) sorted by relevance

/net/dccp/
Doutput.c51 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_transmit_skb() local
56 dccp_packet_hdr_len(dcb->dccpd_type); in dccp_transmit_skb()
63 dcb->dccpd_seq = ADD48(dp->dccps_gss, 1); in dccp_transmit_skb()
65 switch (dcb->dccpd_type) { in dccp_transmit_skb()
77 dcb->dccpd_seq = dp->dccps_iss; in dccp_transmit_skb()
82 ackno = dcb->dccpd_ack_seq; in dccp_transmit_skb()
104 dh->dccph_type = dcb->dccpd_type; in dccp_transmit_skb()
107 dh->dccph_doff = (dccp_header_size + dcb->dccpd_opt_len) / 4; in dccp_transmit_skb()
108 dh->dccph_ccval = dcb->dccpd_ccval; in dccp_transmit_skb()
113 dccp_update_gss(sk, dcb->dccpd_seq); in dccp_transmit_skb()
[all …]
Doptions.c435 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_insert_option_ackvec() local
444 if (dcb->dccpd_opt_len + len > DCCP_MAX_OPT_LEN) { in dccp_insert_option_ackvec()
446 dccp_packet_name(dcb->dccpd_type)); in dccp_insert_option_ackvec()
455 len + dcb->dccpd_opt_len + skb->len > dp->dccps_mss_cache) { in dccp_insert_option_ackvec()
458 dcb->dccpd_opt_len, dp->dccps_mss_cache); in dccp_insert_option_ackvec()
462 dcb->dccpd_opt_len += len; in dccp_insert_option_ackvec()
503 if (dccp_ackvec_update_records(av, dcb->dccpd_seq, nonce)) in dccp_insert_option_ackvec()
Dinput.c578 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_rcv_state_process() local
616 dcb->dccpd_reset_code = DCCP_RESET_CODE_NO_CONNECTION; in dccp_rcv_state_process()
619 dcb->dccpd_reset_code = DCCP_RESET_CODE_NO_CONNECTION; in dccp_rcv_state_process()
640 dccp_send_sync(sk, dcb->dccpd_seq, DCCP_PKT_SYNC); in dccp_rcv_state_process()
698 dccp_send_sync(sk, dcb->dccpd_seq, DCCP_PKT_SYNCACK); in dccp_rcv_state_process()
Dipv4.c601 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_v4_conn_request() local
608 dcb->dccpd_reset_code = DCCP_RESET_CODE_BAD_SERVICE_CODE; in dccp_v4_conn_request()
616 dcb->dccpd_reset_code = DCCP_RESET_CODE_TOO_BUSY; in dccp_v4_conn_request()
654 dreq->dreq_isr = dcb->dccpd_seq; in dccp_v4_conn_request()
Dipv6.c369 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_v6_conn_request() local
378 dcb->dccpd_reset_code = DCCP_RESET_CODE_BAD_SERVICE_CODE; in dccp_v6_conn_request()
384 dcb->dccpd_reset_code = DCCP_RESET_CODE_TOO_BUSY; in dccp_v6_conn_request()
429 dreq->dreq_isr = dcb->dccpd_seq; in dccp_v6_conn_request()
/net/dcb/
Ddcbnl.c202 struct dcbmsg *dcb; in dcbnl_newmsg() local
209 nlh = nlmsg_put(skb, port, seq, type, sizeof(*dcb), flags); in dcbnl_newmsg()
212 dcb = nlmsg_data(nlh); in dcbnl_newmsg()
213 dcb->dcb_family = AF_UNSPEC; in dcbnl_newmsg()
214 dcb->cmd = cmd; in dcbnl_newmsg()
215 dcb->dcb_pad = 0; in dcbnl_newmsg()
1665 struct dcbmsg *dcb = nlmsg_data(nlh); in dcb_doit() local
1676 ret = nlmsg_parse(nlh, sizeof(*dcb), tb, DCB_ATTR_MAX, in dcb_doit()
1681 if (dcb->cmd > DCB_CMD_MAX) in dcb_doit()
1685 fn = &reply_funcs[dcb->cmd]; in dcb_doit()
[all …]
/net/
DMakefile58 obj-y += dcb/
DKconfig229 source "net/dcb/Kconfig"
/net/sched/
Dact_api.c773 struct netlink_callback dcb; in tca_action_flush() local
816 err = a->ops->walk(skb, &dcb, RTM_DELACTION, a); in tca_action_flush()