Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/qualcomm/rmnet/
A Drmnet_handlers.c137 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()
A Drmnet_map.h54 int csum_type);
A Drmnet_map_data.c478 int csum_type) in rmnet_map_checksum_uplink_packet() argument
480 switch (csum_type) { in rmnet_map_checksum_uplink_packet()
/linux/net/netfilter/
A Dnft_payload.c673 if ((priv->csum_type == NFT_PAYLOAD_CSUM_INET || priv->csum_flags) && in nft_payload_set_eval()
680 if (priv->csum_type == NFT_PAYLOAD_CSUM_INET && in nft_payload_set_eval()
693 if (priv->csum_type == NFT_PAYLOAD_CSUM_SCTP && in nft_payload_set_eval()
716 priv->csum_type = in nft_payload_set_init()
731 switch (priv->csum_type) { in nft_payload_set_init()
758 nla_put_be32(skb, NFTA_PAYLOAD_CSUM_TYPE, htonl(priv->csum_type)) || in nft_payload_set_dump()
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
A 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/include/net/netfilter/
A Dnf_tables_core.h73 u8 csum_type; member
/linux/fs/btrfs/
A Ddisk-io.c270 static bool btrfs_supported_super_csum(u16 csum_type) in btrfs_supported_super_csum() argument
272 switch (csum_type) { in btrfs_supported_super_csum()
2368 static int btrfs_init_csum_hash(struct btrfs_fs_info *fs_info, u16 csum_type) in btrfs_init_csum_hash() argument
2371 const char *csum_driver = btrfs_super_csum_driver(csum_type); in btrfs_init_csum_hash()
3206 u16 csum_type; in open_ctree() local
3256 csum_type = btrfs_super_csum_type(disk_super); in open_ctree()
3257 if (!btrfs_supported_super_csum(csum_type)) { in open_ctree()
3259 csum_type); in open_ctree()
3267 ret = btrfs_init_csum_hash(fs_info, csum_type); in open_ctree()
A Dctree.c55 const char *btrfs_super_csum_name(u16 csum_type) in btrfs_super_csum_name() argument
58 return btrfs_csums[csum_type].name; in btrfs_super_csum_name()
65 const char *btrfs_super_csum_driver(u16 csum_type) in btrfs_super_csum_driver() argument
68 return btrfs_csums[csum_type].driver[0] ? in btrfs_super_csum_driver()
69 btrfs_csums[csum_type].driver : in btrfs_super_csum_driver()
70 btrfs_csums[csum_type].name; in btrfs_super_csum_driver()
A Dctree.h258 __le16 csum_type; member
2442 csum_type, 16);
2450 const char *btrfs_super_csum_name(u16 csum_type);
2451 const char *btrfs_super_csum_driver(u16 csum_type);
A Dsysfs.c900 u16 csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_checksum_show() local
903 btrfs_super_csum_name(csum_type), in btrfs_checksum_show()
A Dioctl.c3323 fi_args->csum_type = btrfs_super_csum_type(fs_info->super_copy); in btrfs_ioctl_fs_info()
/linux/drivers/net/ethernet/microsoft/mana/
A Dmana_en.c139 unsigned int csum_type; in mana_start_xmit() local
220 csum_type = mana_checksum_info(skb); in mana_start_xmit()
222 if (csum_type == IPPROTO_TCP) { in mana_start_xmit()
229 } else if (csum_type == IPPROTO_UDP) { in mana_start_xmit()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dsge.c1160 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/include/uapi/linux/
A Dbtrfs.h266 __u16 csum_type; /* out */ member
/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_net.h295 u8 csum_type; member
A Dnfp_net_common.c1600 if (meta->csum_type) { in nfp_net_rx_csum()
1601 skb->ip_summed = meta->csum_type; in nfp_net_rx_csum()
1698 meta->csum_type = CHECKSUM_COMPLETE; in nfp_net_parse_meta()

Completed in 80 milliseconds