Home
last modified time | relevance | path

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

/linux/drivers/s390/net/
H A Dctcm_mpc.c958 skb_put(ch->xid_skb, TH_HEADER_LENGTH); in mpc_channel_action()
1054 CTCM_D3_DUMP((char *)header, TH_HEADER_LENGTH); in ctcmpc_unpack_skb()
1059 skb_pull(pskb, TH_HEADER_LENGTH); in ctcmpc_unpack_skb()
1074 __skb_push(pskb, TH_HEADER_LENGTH); in ctcmpc_unpack_skb()
1288 skb_put_data(grp->xid_skb, &thnorm, TH_HEADER_LENGTH); in ctcmpc_init_mpc_group()
1308 skb_put_data(grp->rcvd_xid_skb, &thnorm, TH_HEADER_LENGTH); in ctcmpc_init_mpc_group()
1399 skb_put_data(grp->rcvd_xid_skb, &thnorm, TH_HEADER_LENGTH); in mpc_action_go_inop()
1539 int len = TH_HEADER_LENGTH + PDU_HEADER_LENGTH; in mpc_validate_xid()
1677 skb_put(ch->trans_skb, TH_HEADER_LENGTH); in mpc_action_side_xid()
1710 ch->ccw[9].count = TH_HEADER_LENGTH; in mpc_action_side_xid()
[all …]
H A Dctcm_main.c701 hi = ((unsigned long)skb->tail + TH_HEADER_LENGTH) >> 31; in ctcmpc_transmit_skb()
740 header = skb_push(skb, TH_HEADER_LENGTH); in ctcmpc_transmit_skb()
741 memset(header, 0, TH_HEADER_LENGTH); in ctcmpc_transmit_skb()
806 priv->stats.tx_bytes += skb->len - TH_HEADER_LENGTH; in ctcmpc_transmit_skb()
890 if (skb_headroom(skb) < (TH_HEADER_LENGTH + PDU_HEADER_LENGTH)) { in ctcmpc_tx()
894 TH_HEADER_LENGTH + PDU_HEADER_LENGTH); in ctcmpc_tx()
898 len = skb->len + TH_HEADER_LENGTH + PDU_HEADER_LENGTH; in ctcmpc_tx()
914 skb_reserve(newskb, TH_HEADER_LENGTH + PDU_HEADER_LENGTH); in ctcmpc_tx()
991 if (new_mtu > max_bufsize - TH_HEADER_LENGTH) in ctcm_change_mtu()
993 dev->hard_header_len = TH_HEADER_LENGTH + PDU_HEADER_LENGTH; in ctcm_change_mtu()
[all …]
H A Dctcm_mpc.h110 #define TH_HEADER_LENGTH (sizeof(struct th_header)) macro
H A 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()
1307 header = skb_push(ch->trans_skb, TH_HEADER_LENGTH); in ctcmpc_chx_txdone()
1308 memset(header, 0, TH_HEADER_LENGTH); in ctcmpc_chx_txdone()
1395 if (len < TH_HEADER_LENGTH) { in ctcmpc_chx_rx()
1404 len = TH_HEADER_LENGTH + XID2_LENGTH + 4; in ctcmpc_chx_rx()