Home
last modified time | relevance | path

Searched refs:__wsum (Results 1 – 25 of 32) 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.c2678 __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 …]
Ddatagram.c722 __wsum *csump) in skb_copy_and_csum_datagram()
751 __wsum csum; in skb_copy_and_csum_datagram_msg()
/net/netfilter/
Dnft_payload.c483 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()
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.c297 __wsum tmp_csum = 0; in icmpv6_push_pending_frames()
323 __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()
Dudp.c1151 __wsum csum = 0; in udp6_hwcsum_outgoing()
1192 __wsum csum = 0; in udp_v6_send_skb()
/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()
132 (__force __wsum)htonl(len))); in __skb_udp_tunnel_segment()
369 __wsum csum; in udp4_ufo_fragment()
Dgre_offload.c96 *pcsum = ~csum_fold((__force __wsum)htonl(partial_adj)); in gre_gso_segment()
103 __wsum csum; in gre_gso_segment()
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.c947 __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()
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()
Dip_tunnel_core.c295 __wsum csum; in iptunnel_pmtud_build_icmpv6()
/net/dsa/
Dtag_dsa.c118 __wsum c = skb->csum; in dsa_rcv()
Dtag_edsa.c167 __wsum c = skb->csum; in edsa_rcv()
/net/openvswitch/
Dactions.c434 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/
Dip6t_NPT.c19 __wsum src_sum, dst_sum; in ip6t_npt_checkentry()
/net/bridge/netfilter/
Dnft_reject_bridge.c112 __wsum csum; in nft_reject_br_send_v4_unreach()

12