Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/s390/net/
Dctcm_main.c726 hi = ((unsigned long)skb->tail + TH_HEADER_LENGTH) >> 31; in ctcmpc_transmit_skb()
772 header = kmalloc(TH_HEADER_LENGTH, gfp_type()); in ctcmpc_transmit_skb()
787 memcpy(skb_push(skb, TH_HEADER_LENGTH), header, TH_HEADER_LENGTH); in ctcmpc_transmit_skb()
848 priv->stats.tx_bytes += skb->len - TH_HEADER_LENGTH; in ctcmpc_transmit_skb()
932 if (skb_headroom(skb) < (TH_HEADER_LENGTH + PDU_HEADER_LENGTH)) { in ctcmpc_tx()
936 TH_HEADER_LENGTH + PDU_HEADER_LENGTH); in ctcmpc_tx()
940 len = skb->len + TH_HEADER_LENGTH + PDU_HEADER_LENGTH; in ctcmpc_tx()
956 skb_reserve(newskb, TH_HEADER_LENGTH + PDU_HEADER_LENGTH); in ctcmpc_tx()
1033 if (new_mtu > max_bufsize - TH_HEADER_LENGTH) in ctcm_change_mtu()
1035 dev->hard_header_len = TH_HEADER_LENGTH + PDU_HEADER_LENGTH; in ctcm_change_mtu()
[all …]
Dctcm_mpc.c968 skb_put(ch->xid_skb, TH_HEADER_LENGTH); in mpc_channel_action()
1064 CTCM_D3_DUMP((char *)header, TH_HEADER_LENGTH); in ctcmpc_unpack_skb()
1069 skb_pull(pskb, TH_HEADER_LENGTH); in ctcmpc_unpack_skb()
1084 __skb_push(pskb, TH_HEADER_LENGTH); in ctcmpc_unpack_skb()
1298 skb_put_data(grp->xid_skb, &thnorm, TH_HEADER_LENGTH); in ctcmpc_init_mpc_group()
1318 skb_put_data(grp->rcvd_xid_skb, &thnorm, TH_HEADER_LENGTH); in ctcmpc_init_mpc_group()
1409 skb_put_data(grp->rcvd_xid_skb, &thnorm, TH_HEADER_LENGTH); in mpc_action_go_inop()
1549 int len = TH_HEADER_LENGTH + PDU_HEADER_LENGTH; in mpc_validate_xid()
1687 skb_put(ch->trans_skb, TH_HEADER_LENGTH); in mpc_action_side_xid()
1720 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.c1247 priv->stats.tx_bytes += skb->len - TH_HEADER_LENGTH; in ctcmpc_chx_txdone()
1270 if (ch->prof.maxmulti < (ch->collect_len + TH_HEADER_LENGTH)) in ctcmpc_chx_txdone()
1271 ch->prof.maxmulti = ch->collect_len + TH_HEADER_LENGTH; in ctcmpc_chx_txdone()
1276 data_space = grp->group_max_buflen - TH_HEADER_LENGTH; in ctcmpc_chx_txdone()
1312 header = kzalloc(TH_HEADER_LENGTH, gfp_type()); in ctcmpc_chx_txdone()
1325 memcpy(skb_push(ch->trans_skb, TH_HEADER_LENGTH), header, in ctcmpc_chx_txdone()
1326 TH_HEADER_LENGTH); /* put the TH on the packet */ in ctcmpc_chx_txdone()
1409 if (len < TH_HEADER_LENGTH) { in ctcmpc_chx_rx()
1418 len = TH_HEADER_LENGTH + XID2_LENGTH + 4; in ctcmpc_chx_rx()