/Linux-v6.1/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_handlers.c | 137 int required_headroom, additional_header_len, csum_type = 0; in rmnet_map_egress_handler() local 145 csum_type = RMNET_FLAGS_EGRESS_MAP_CKSUMV4; in rmnet_map_egress_handler() 148 csum_type = RMNET_FLAGS_EGRESS_MAP_CKSUMV5; in rmnet_map_egress_handler() 156 if (csum_type) in rmnet_map_egress_handler() 158 csum_type); in rmnet_map_egress_handler()
|
D | rmnet_map.h | 54 int csum_type);
|
D | rmnet_map_data.c | 476 int csum_type) in rmnet_map_checksum_uplink_packet() argument 478 switch (csum_type) { in rmnet_map_checksum_uplink_packet()
|
/Linux-v6.1/net/netfilter/ |
D | nft_payload.c | 705 if ((priv->csum_type == NFT_PAYLOAD_CSUM_INET || priv->csum_flags) && in nft_payload_set_eval() 712 if (priv->csum_type == NFT_PAYLOAD_CSUM_INET && in nft_payload_set_eval() 725 if (priv->csum_type == NFT_PAYLOAD_CSUM_SCTP && in nft_payload_set_eval() 743 u32 csum_offset, csum_type = NFT_PAYLOAD_CSUM_NONE; in nft_payload_set_init() local 751 csum_type = ntohl(nla_get_be32(tb[NFTA_PAYLOAD_CSUM_TYPE])); in nft_payload_set_init() 770 switch (csum_type) { in nft_payload_set_init() 784 priv->csum_type = csum_type; in nft_payload_set_init() 798 nla_put_be32(skb, NFTA_PAYLOAD_CSUM_TYPE, htonl(priv->csum_type)) || in nft_payload_set_dump()
|
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1082 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-v6.1/include/net/netfilter/ |
D | nf_tables_core.h | 74 u8 csum_type; member
|
/Linux-v6.1/fs/btrfs/ |
D | disk-io.c | 152 static bool btrfs_supported_super_csum(u16 csum_type) in btrfs_supported_super_csum() argument 154 switch (csum_type) { in btrfs_supported_super_csum() 2328 static int btrfs_init_csum_hash(struct btrfs_fs_info *fs_info, u16 csum_type) in btrfs_init_csum_hash() argument 2331 const char *csum_driver = btrfs_super_csum_driver(csum_type); in btrfs_init_csum_hash() 2344 btrfs_super_csum_name(csum_type), in btrfs_init_csum_hash() 3410 u16 csum_type; in open_ctree() local 3460 csum_type = btrfs_super_csum_type(disk_super); in open_ctree() 3461 if (!btrfs_supported_super_csum(csum_type)) { in open_ctree() 3463 csum_type); in open_ctree() 3471 ret = btrfs_init_csum_hash(fs_info, csum_type); in open_ctree()
|
D | super.c | 2558 u16 csum_type; in check_dev_super() local 2574 csum_type = btrfs_super_csum_type(sb); in check_dev_super() 2575 if (csum_type != btrfs_super_csum_type(fs_info->super_copy)) { in check_dev_super() 2577 csum_type, btrfs_super_csum_type(fs_info->super_copy)); in check_dev_super()
|
D | ctree.c | 56 const char *btrfs_super_csum_name(u16 csum_type) in btrfs_super_csum_name() argument 59 return btrfs_csums[csum_type].name; in btrfs_super_csum_name() 66 const char *btrfs_super_csum_driver(u16 csum_type) in btrfs_super_csum_driver() argument 69 return btrfs_csums[csum_type].driver[0] ? in btrfs_super_csum_driver() 70 btrfs_csums[csum_type].driver : in btrfs_super_csum_driver() 71 btrfs_csums[csum_type].name; in btrfs_super_csum_driver()
|
D | ctree.h | 273 __le16 csum_type; member 2637 csum_type, 16); 2645 const char *btrfs_super_csum_name(u16 csum_type); 2646 const char *btrfs_super_csum_driver(u16 csum_type);
|
D | sysfs.c | 1095 u16 csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_checksum_show() local 1098 btrfs_super_csum_name(csum_type), in btrfs_checksum_show()
|
D | ioctl.c | 3703 fi_args->csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_ioctl_fs_info()
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | dp.c | 647 if (meta->csum_type) { in nfp_nfd3_rx_csum() 648 skb->ip_summed = meta->csum_type; in nfp_nfd3_rx_csum() 756 meta->csum_type = CHECKSUM_COMPLETE; in nfp_nfd3_parse_meta()
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | dp.c | 656 if (meta->csum_type) { in nfp_nfdk_rx_csum() 657 skb->ip_summed = meta->csum_type; in nfp_nfdk_rx_csum() 752 meta->csum_type = CHECKSUM_COMPLETE; in nfp_nfdk_parse_meta()
|
/Linux-v6.1/drivers/net/ethernet/microsoft/mana/ |
D | mana_en.c | 142 unsigned int csum_type; in mana_start_xmit() local 223 csum_type = mana_checksum_info(skb); in mana_start_xmit() 225 if (csum_type == IPPROTO_TCP) { in mana_start_xmit() 232 } else if (csum_type == IPPROTO_UDP) { in mana_start_xmit()
|
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 1160 int csum_type; in hwcsum() local 1180 csum_type = TX_CSUM_TCPIP; in hwcsum() 1182 csum_type = TX_CSUM_UDPIP; in hwcsum() 1195 csum_type = TX_CSUM_TCPIP6; in hwcsum() 1197 csum_type = TX_CSUM_UDPIP6; in hwcsum() 1202 if (likely(csum_type >= TX_CSUM_TCPIP)) { in hwcsum() 1222 return TXPKT_CSUM_TYPE_V(csum_type) | hdr_len; in hwcsum() 1226 return TXPKT_CSUM_TYPE_V(csum_type) | in hwcsum()
|
/Linux-v6.1/include/uapi/linux/ |
D | btrfs.h | 266 __u16 csum_type; /* out */ member
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net.h | 256 u8 csum_type; member
|