/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 | 2678 __wsum __skb_checksum(const struct sk_buff *skb, int offset, int len, in __skb_checksum() 2679 __wsum csum, const struct skb_checksum_ops *ops) in __skb_checksum() 2708 __wsum csum2; in __skb_checksum() 2742 __wsum csum2; in __skb_checksum() 2762 __wsum skb_checksum(const struct sk_buff *skb, int offset, in skb_checksum() 2763 int len, __wsum csum) in skb_checksum() 2776 __wsum skb_copy_and_csum_bits(const struct sk_buff *skb, int offset, in skb_copy_and_csum_bits() 2783 __wsum csum = 0; in skb_copy_and_csum_bits() 2808 __wsum csum2; in skb_copy_and_csum_bits() 2835 __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 | 483 static inline void nft_csum_replace(__sum16 *sum, __wsum fsum, __wsum tsum) in nft_csum_replace() 545 __wsum fsum, __wsum tsum) in nft_payload_l4csum_update() 581 __wsum fsum, __wsum tsum, int csum_offset) in nft_payload_csum_inet() 604 __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 | 297 __wsum tmp_csum = 0; in icmpv6_push_pending_frames() 323 __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()
|
D | udp.c | 1151 __wsum csum = 0; in udp6_hwcsum_outgoing() 1192 __wsum csum = 0; in udp_v6_send_skb()
|
/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() 132 (__force __wsum)htonl(len))); in __skb_udp_tunnel_segment() 369 __wsum csum; in udp4_ufo_fragment()
|
D | gre_offload.c | 96 *pcsum = ~csum_fold((__force __wsum)htonl(partial_adj)); in gre_gso_segment() 103 __wsum csum; in gre_gso_segment()
|
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 | 947 __wsum csum = 0; in ip_generic_getfrag() 956 static inline __wsum 960 __wsum csum; in csum_page() 1450 __wsum csum; in ip_append_page() 1673 __wsum csum; in ip_reply_glue_bits()
|
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()
|
D | ip_tunnel_core.c | 295 __wsum csum; in iptunnel_pmtud_build_icmpv6()
|
/net/dsa/ |
D | tag_dsa.c | 118 __wsum c = skb->csum; in dsa_rcv()
|
D | tag_edsa.c | 167 __wsum c = skb->csum; in edsa_rcv()
|
/net/openvswitch/ |
D | actions.c | 434 csum_replace(&skb->csum, (__force __wsum)(old_ipv6_tclass << 12), in set_ipv6_dsfield() 435 (__force __wsum)(ipv6_tclass << 12)); in set_ipv6_dsfield() 453 csum_replace(&skb->csum, (__force __wsum)htonl(ofl), (__force __wsum)htonl(fl)); in set_ipv6_fl() 461 csum_replace(&skb->csum, (__force __wsum)(nh->hop_limit << 8), in set_ipv6_ttl() 462 (__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/bridge/netfilter/ |
D | nft_reject_bridge.c | 112 __wsum csum; in nft_reject_br_send_v4_unreach()
|