Home
last modified time | relevance | path

Searched refs:do_csum (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/lib/
Dchecksum.c36 #ifndef do_csum
46 static unsigned int do_csum(const unsigned char *buff, int len) in do_csum() function
108 return (__force __sum16)~do_csum(iph, ihl*4); in ip_fast_csum()
128 unsigned int result = do_csum(buff, len); in csum_partial()
144 return (__force __sum16)~do_csum(buff, len); in ip_compute_csum()
/Linux-v5.10/arch/hexagon/include/asm/
Dchecksum.h9 #define do_csum do_csum macro
10 unsigned int do_csum(const void *voidptr, int len);
/Linux-v5.10/arch/arm64/include/asm/
Dchecksum.h44 extern unsigned int do_csum(const unsigned char *buff, int len);
45 #define do_csum do_csum macro
/Linux-v5.10/arch/alpha/lib/
Dchecksum.c79 static inline unsigned long do_csum(const unsigned char * buff, int len) in do_csum() function
147 return (__force __sum16)~do_csum(iph,ihl*4); in ip_fast_csum()
165 unsigned long result = do_csum(buff, len); in csum_partial()
182 return (__force __sum16)~from64to16(do_csum(buff,len)); in ip_compute_csum()
/Linux-v5.10/arch/ia64/lib/
Dchecksum.c66 extern unsigned long do_csum (const unsigned char *, long);
82 u64 result = do_csum(buff, len); in csum_partial()
99 return (__force __sum16)~do_csum(buff,len); in ip_compute_csum()
Ddo_csum.S127 GLOBAL_ENTRY(do_csum)
324 END(do_csum)
DMakefile10 flush.o ip_fast_csum.o do_csum.o \
Dip_fast_csum.S90 br.call.sptk.many b0=do_csum
/Linux-v5.10/arch/parisc/lib/
Dchecksum.c37 static inline unsigned int do_csum(const unsigned char * buff, int len) in do_csum() function
103 unsigned int result = do_csum(buff, len); in csum_partial()
/Linux-v5.10/arch/x86/lib/
Dcsum-partial_64.c35 static unsigned do_csum(const unsigned char *buff, unsigned len) in do_csum() function
136 return (__force __wsum)add32_with_carry(do_csum(buff, len), in csum_partial()
/Linux-v5.10/arch/c6x/lib/
Dcsum_64plus.S223 ;do_csum(unsigned char *buff, unsigned int len)
287 ENTRY(do_csum)
377 ENDPROC(do_csum)
382 ; unsigned int result = do_csum(buff, len);
393 || CALLP .S2 do_csum,B3
410 || CALLP .S2 do_csum,B3
/Linux-v5.10/arch/arm64/lib/
Dcsum.c21 unsigned int __no_sanitize_address do_csum(const unsigned char *buff, int len) in do_csum() function
/Linux-v5.10/arch/hexagon/lib/
Dchecksum.c85 unsigned int do_csum(const void *voidptr, int len) in do_csum() function
/Linux-v5.10/drivers/net/wimax/i2400m/
Dfw.c645 unsigned int direct, unsigned int do_csum) in i2400m_download_chunk() argument
658 addr, direct, do_csum); in i2400m_download_chunk()
664 __chunk_len & 0x3 ? 0 : do_csum, in i2400m_download_chunk()
674 addr, direct, do_csum, ret); in i2400m_download_chunk()
/Linux-v5.10/net/netfilter/
Dnf_nat_proto.c42 enum nf_nat_manip_type maniptype, bool do_csum) in __udp_manip_pkt() argument
55 if (do_csum) { in __udp_manip_pkt()
/Linux-v5.10/samples/bpf/
Dxdpsock_user.c585 static unsigned int do_csum(const unsigned char *buff, int len) in do_csum() function
652 return (__force __sum16)~do_csum(iph, ihl * 4); in ip_fast_csum()
/Linux-v5.10/drivers/net/ethernet/qualcomm/emac/
Demac-mac.c1272 goto do_csum; in emac_tso_csum()
1306 do_csum: in emac_tso_csum()
/Linux-v5.10/drivers/net/ethernet/freescale/
Dgianfar.c1809 int do_tstamp, do_csum, do_vlan; in gfar_start_xmit() local
1819 do_csum = (CHECKSUM_PARTIAL == skb->ip_summed); in gfar_start_xmit()
1824 if (do_csum || do_vlan) in gfar_start_xmit()
1880 if (do_csum) { in gfar_start_xmit()