Home
last modified time | relevance | path

Searched refs:csum_type (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/net/netfilter/
Dnft_payload.c300 if ((priv->csum_type == NFT_PAYLOAD_CSUM_INET || priv->csum_flags) && in nft_payload_set_eval()
306 if (priv->csum_type == NFT_PAYLOAD_CSUM_INET && in nft_payload_set_eval()
336 priv->csum_type = in nft_payload_set_init()
351 switch (priv->csum_type) { in nft_payload_set_init()
370 nla_put_be32(skb, NFTA_PAYLOAD_CSUM_TYPE, htonl(priv->csum_type)) || in nft_payload_set_dump()
/Linux-v4.19/include/net/netfilter/
Dnf_tables_core.h58 u8 csum_type; member
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1082 int csum_type; in hwcsum() local
1087 csum_type = TX_CSUM_TCPIP; in hwcsum()
1089 csum_type = TX_CSUM_UDPIP; in hwcsum()
1105 csum_type = TX_CSUM_TCPIP6; in hwcsum()
1107 csum_type = TX_CSUM_UDPIP6; in hwcsum()
1112 if (likely(csum_type >= TX_CSUM_TCPIP)) { in hwcsum()
1120 return TXPKT_CSUM_TYPE_V(csum_type) | hdr_len; in hwcsum()
1124 return TXPKT_CSUM_TYPE_V(csum_type) | in hwcsum()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1073 int csum_type; in hwcsum() local
1093 csum_type = TX_CSUM_TCPIP; in hwcsum()
1095 csum_type = TX_CSUM_UDPIP; in hwcsum()
1108 csum_type = TX_CSUM_TCPIP6; in hwcsum()
1110 csum_type = TX_CSUM_UDPIP6; in hwcsum()
1115 if (likely(csum_type >= TX_CSUM_TCPIP)) { in hwcsum()
1135 return TXPKT_CSUM_TYPE_V(csum_type) | hdr_len; in hwcsum()
1139 return TXPKT_CSUM_TYPE_V(csum_type) | in hwcsum()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h320 u8 csum_type; member
Dnfp_net_common.c1427 if (meta->csum_type) { in nfp_net_rx_csum()
1428 skb->ip_summed = meta->csum_type; in nfp_net_rx_csum()
1525 meta->csum_type = CHECKSUM_COMPLETE; in nfp_net_parse_meta()
/Linux-v4.19/fs/btrfs/
Ddisk-io.c381 u16 csum_type = btrfs_super_csum_type(disk_sb); in btrfs_check_super_csum() local
384 if (csum_type == BTRFS_CSUM_TYPE_CRC32) { in btrfs_check_super_csum()
401 if (csum_type >= ARRAY_SIZE(btrfs_csum_sizes)) { in btrfs_check_super_csum()
403 csum_type); in btrfs_check_super_csum()
Dctree.h232 __le16 csum_type; member
2346 csum_type, 16);