Home
last modified time | relevance | path

Searched refs:TH_HEADER_LENGTH (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/s390/net/
Dctcm_main.c725 hi = ((unsigned long)skb->tail + TH_HEADER_LENGTH) >> 31; in ctcmpc_transmit_skb()
771 header = kmalloc(TH_HEADER_LENGTH, gfp_type()); in ctcmpc_transmit_skb()
786 memcpy(skb_push(skb, TH_HEADER_LENGTH), header, TH_HEADER_LENGTH); in ctcmpc_transmit_skb()
846 priv->stats.tx_bytes += skb->len - TH_HEADER_LENGTH; in ctcmpc_transmit_skb()
937 if (skb_headroom(skb) < (TH_HEADER_LENGTH + PDU_HEADER_LENGTH)) { in ctcmpc_tx()
941 TH_HEADER_LENGTH + PDU_HEADER_LENGTH); in ctcmpc_tx()
945 len = skb->len + TH_HEADER_LENGTH + PDU_HEADER_LENGTH; in ctcmpc_tx()
961 skb_reserve(newskb, TH_HEADER_LENGTH + PDU_HEADER_LENGTH); in ctcmpc_tx()
1038 if (new_mtu > max_bufsize - TH_HEADER_LENGTH) in ctcm_change_mtu()
1040 dev->hard_header_len = TH_HEADER_LENGTH + PDU_HEADER_LENGTH; in ctcm_change_mtu()
[all …]
Dctcm_mpc.c971 skb_put(ch->xid_skb, TH_HEADER_LENGTH); in mpc_channel_action()
1067 CTCM_D3_DUMP((char *)header, TH_HEADER_LENGTH); in ctcmpc_unpack_skb()
1072 skb_pull(pskb, TH_HEADER_LENGTH); in ctcmpc_unpack_skb()
1087 __skb_push(pskb, TH_HEADER_LENGTH); in ctcmpc_unpack_skb()
1301 skb_put_data(grp->xid_skb, &thnorm, TH_HEADER_LENGTH); in ctcmpc_init_mpc_group()
1321 skb_put_data(grp->rcvd_xid_skb, &thnorm, TH_HEADER_LENGTH); in ctcmpc_init_mpc_group()
1412 skb_put_data(grp->rcvd_xid_skb, &thnorm, TH_HEADER_LENGTH); in mpc_action_go_inop()
1552 int len = TH_HEADER_LENGTH + PDU_HEADER_LENGTH; in mpc_validate_xid()
1690 skb_put(ch->trans_skb, TH_HEADER_LENGTH); in mpc_action_side_xid()
1723 ch->ccw[9].count = TH_HEADER_LENGTH; in mpc_action_side_xid()
[all …]
Dctcm_mpc.h110 #define TH_HEADER_LENGTH (sizeof(struct th_header)) macro
Dctcm_fsms.c1241 priv->stats.tx_bytes += skb->len - TH_HEADER_LENGTH; in ctcmpc_chx_txdone()
1264 if (ch->prof.maxmulti < (ch->collect_len + TH_HEADER_LENGTH)) in ctcmpc_chx_txdone()
1265 ch->prof.maxmulti = ch->collect_len + TH_HEADER_LENGTH; in ctcmpc_chx_txdone()
1270 data_space = grp->group_max_buflen - TH_HEADER_LENGTH; in ctcmpc_chx_txdone()
1306 header = kzalloc(TH_HEADER_LENGTH, gfp_type()); in ctcmpc_chx_txdone()
1319 memcpy(skb_push(ch->trans_skb, TH_HEADER_LENGTH), header, in ctcmpc_chx_txdone()
1320 TH_HEADER_LENGTH); /* put the TH on the packet */ in ctcmpc_chx_txdone()
1402 if (len < TH_HEADER_LENGTH) { in ctcmpc_chx_rx()
1411 len = TH_HEADER_LENGTH + XID2_LENGTH + 4; in ctcmpc_chx_rx()