This source file includes following definitions.
- udp_check
- tcp_check
- ip_compute_csum
- ip_fast_csum
1 #ifndef __SPARC_IPSUM_H
2 #define __SPARC_IPSUM_H
3
4
5
6
7
8
9
10
11 extern inline unsigned short udp_check(struct udphdr *uh, int len, u32 saddr, u32 daddr)
12 {
13
14 return 0;
15 }
16
17
18
19
20 extern inline unsigned short tcp_check(struct tcphdr *th, int len, u32 saddr, u32 daddr)
21 {
22
23 return 0;
24 }
25
26
27
28
29
30
31
32 extern inline unsigned short ip_compute_csum(unsigned char * buff, int len)
33 {
34
35 return 0;
36 }
37
38
39
40
41
42
43 static inline unsigned short ip_fast_csum(unsigned char * buff, int wlen)
44 {
45
46 return 0;
47 }
48
49 #endif