Home
last modified time | relevance | path

Searched refs:__wsum (Results 1 – 25 of 36) sorted by relevance

12

/net/ipv6/ila/
Dila_common.c26 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()
Dila.h74 __wsum csum_diff;
79 static inline __wsum compute_csum_diff8(const __be32 *from, const __be32 *to) in compute_csum_diff8()
/net/core/
Dutils.c432 (__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()
Dskbuff.c2837 __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 …]
Ddatagram.c722 __wsum *csump) in skb_copy_and_csum_datagram()
751 __wsum csum; in skb_copy_and_csum_datagram_msg()
/net/netfilter/
Dnft_payload.c528 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()
Dutils.c102 __wsum hsum; in nf_ip6_checksum_partial()
/net/sunrpc/
Dsocklib.c30 __wsum csum;
68 __wsum csum2; in xdr_skb_read_and_csum_bits()
184 __wsum csum2; in csum_partial_copy_to_xdr()
/net/ipv6/
Dip6_checksum.c10 __u32 len, __u8 proto, __wsum csum) in csum_ipv6_magic()
60 return csum_fold((__force __wsum)sum); in csum_ipv6_magic()
Dudp_offload.c27 __wsum csum; in udp6_ufo_fragment()
Dicmp.c298 __wsum tmp_csum = 0; in icmpv6_push_pending_frames()
324 __wsum csum; in icmpv6_getfrag()
Desp6.c272 __wsum csum = skb_checksum(skb, offset, skb->len - offset, 0); in esp_output_encap_csum()
749 __wsum csumdiff; in esp_remove_trailer()
/net/ipv4/
Dudp_offload.c28 __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()
Dtcp_offload.c121 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()
Dip_output.c939 __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()
Dgre_offload.c102 *pcsum = ~csum_fold((__force __wsum)htonl(partial_adj)); in gre_gso_segment()
Dicmp.c356 __wsum csum; in icmp_glue_bits()
384 __wsum csum; in icmp_push_reply()
Dip_sockglue.c118 __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/
Doffload.c33 SKB_GSO_CB(skb)->csum = (__force __wsum)~0; in sctp_gso_make_checksum()
/net/openvswitch/
Dactions.c435 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/
Dip6t_NPT.c19 __wsum src_sum, dst_sum; in ip6t_npt_checkentry()
/net/dsa/
Dtag_dsa.c296 __wsum c = skb->csum; in dsa_rcv_ll()
/net/mptcp/
Dprotocol.h419 __wsum map_data_csum;
721 __sum16 __mptcp_make_csum(u64 data_seq, u32 subflow_seq, u16 data_len, __wsum sum);
Doptions.c1216 __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/
Dnf_reject_ipv4.c83 __wsum csum; in nf_reject_skb_v4_unreach()

12