/net/ipv6/ila/ |
D | ila_common.c | 26 static __wsum get_csum_diff_iaddr(struct ila_addr *iaddr, struct ila_params *p) in get_csum_diff_iaddr() 35 static __wsum get_csum_diff(struct ipv6hdr *ip6h, struct ila_params *p) in get_csum_diff() 44 __wsum diff, fval; in ila_csum_do_neutral_fmt() 48 fval = (__force __wsum)(ila_csum_neutral_set(iaddr->ident) ? in ila_csum_do_neutral_fmt() 67 __wsum diff; in ila_csum_do_neutral_nofmt() 79 __wsum diff; in ila_csum_adjust_transport()
|
D | ila.h | 74 __wsum csum_diff; 79 static inline __wsum compute_csum_diff8(const __be32 *from, const __be32 *to) in compute_csum_diff8()
|
/net/core/ |
D | utils.c | 432 (__force __wsum)from), in inet_proto_csum_replace4() 433 (__force __wsum)to); in inet_proto_csum_replace4() 436 (__force __wsum)from), in inet_proto_csum_replace4() 437 (__force __wsum)to)); in inet_proto_csum_replace4() 476 __wsum diff, bool pseudohdr) in inet_proto_csum_replace_by_diff()
|
D | skbuff.c | 2837 __wsum __skb_checksum(const struct sk_buff *skb, int offset, int len, in __skb_checksum() 2838 __wsum csum, const struct skb_checksum_ops *ops) in __skb_checksum() 2867 __wsum csum2; in __skb_checksum() 2901 __wsum csum2; in __skb_checksum() 2921 __wsum skb_checksum(const struct sk_buff *skb, int offset, in skb_checksum() 2922 int len, __wsum csum) in skb_checksum() 2935 __wsum skb_copy_and_csum_bits(const struct sk_buff *skb, int offset, in skb_copy_and_csum_bits() 2942 __wsum csum = 0; in skb_copy_and_csum_bits() 2967 __wsum csum2; in skb_copy_and_csum_bits() 2994 __wsum csum2; in skb_copy_and_csum_bits() [all …]
|
D | datagram.c | 722 __wsum *csump) in skb_copy_and_csum_datagram() 751 __wsum csum; in skb_copy_and_csum_datagram_msg()
|
/net/netfilter/ |
D | nft_payload.c | 528 static inline void nft_csum_replace(__sum16 *sum, __wsum fsum, __wsum tsum) in nft_csum_replace() 590 __wsum fsum, __wsum tsum) in nft_payload_l4csum_update() 626 __wsum fsum, __wsum tsum, int csum_offset) in nft_payload_csum_inet() 649 __wsum fsum, tsum; in nft_payload_set_eval()
|
D | utils.c | 102 __wsum hsum; in nf_ip6_checksum_partial()
|
/net/sunrpc/ |
D | socklib.c | 30 __wsum csum; 68 __wsum csum2; in xdr_skb_read_and_csum_bits() 184 __wsum csum2; in csum_partial_copy_to_xdr()
|
/net/ipv6/ |
D | ip6_checksum.c | 10 __u32 len, __u8 proto, __wsum csum) in csum_ipv6_magic() 60 return csum_fold((__force __wsum)sum); in csum_ipv6_magic()
|
D | udp_offload.c | 27 __wsum csum; in udp6_ufo_fragment()
|
D | icmp.c | 298 __wsum tmp_csum = 0; in icmpv6_push_pending_frames() 324 __wsum csum; in icmpv6_getfrag()
|
D | esp6.c | 272 __wsum csum = skb_checksum(skb, offset, skb->len - offset, 0); in esp_output_encap_csum() 749 __wsum csumdiff; in esp_remove_trailer()
|
/net/ipv4/ |
D | udp_offload.c | 28 __wsum partial; in __skb_udp_tunnel_segment() 41 partial = (__force __wsum)uh->len; in __skb_udp_tunnel_segment() 43 partial = (__force __wsum)htonl(skb->len); in __skb_udp_tunnel_segment() 135 (__force __wsum)htonl(len))); in __skb_udp_tunnel_segment() 372 __wsum csum; in udp4_ufo_fragment()
|
D | tcp_offload.c | 121 newcheck = ~csum_fold((__force __wsum)((__force u32)th->check + in tcp_gso_segment() 170 th->check = ~csum_fold((__force __wsum)((__force u32)th->check + in tcp_gso_segment()
|
D | ip_output.c | 939 __wsum csum = 0; in ip_generic_getfrag() 948 static inline __wsum 952 __wsum csum; in csum_page() 1441 __wsum csum; in ip_append_page() 1664 __wsum csum; in ip_reply_glue_bits()
|
D | gre_offload.c | 102 *pcsum = ~csum_fold((__force __wsum)htonl(partial_adj)); in gre_gso_segment()
|
D | icmp.c | 356 __wsum csum; in icmp_glue_bits() 384 __wsum csum; in icmp_push_reply()
|
D | ip_sockglue.c | 118 __wsum csum = skb->csum; in ip_cmsg_recv_checksum() 128 put_cmsg(msg, SOL_IP, IP_CHECKSUM, sizeof(__wsum), &csum); in ip_cmsg_recv_checksum()
|
/net/sctp/ |
D | offload.c | 33 SKB_GSO_CB(skb)->csum = (__force __wsum)~0; in sctp_gso_make_checksum()
|
/net/openvswitch/ |
D | actions.c | 435 csum_replace(&skb->csum, (__force __wsum)(old_ipv6_tclass << 12), in set_ipv6_dsfield() 436 (__force __wsum)(ipv6_tclass << 12)); in set_ipv6_dsfield() 454 csum_replace(&skb->csum, (__force __wsum)htonl(ofl), (__force __wsum)htonl(fl)); in set_ipv6_fl() 462 csum_replace(&skb->csum, (__force __wsum)(nh->hop_limit << 8), in set_ipv6_ttl() 463 (__force __wsum)(new_ttl << 8)); in set_ipv6_ttl()
|
/net/ipv6/netfilter/ |
D | ip6t_NPT.c | 19 __wsum src_sum, dst_sum; in ip6t_npt_checkentry()
|
/net/dsa/ |
D | tag_dsa.c | 296 __wsum c = skb->csum; in dsa_rcv_ll()
|
/net/mptcp/ |
D | protocol.h | 419 __wsum map_data_csum; 721 __sum16 __mptcp_make_csum(u64 data_seq, u32 subflow_seq, u16 data_len, __wsum sum);
|
D | options.c | 1216 __sum16 __mptcp_make_csum(u64 data_seq, u32 subflow_seq, u16 data_len, __wsum sum) in __mptcp_make_csum() 1219 __wsum csum; in __mptcp_make_csum()
|
/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 83 __wsum csum; in nf_reject_skb_v4_unreach()
|