/include/net/ |
D | checksum.h | 59 static __always_inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument 61 u32 res = (__force u32)csum; in csum_add() 67 static __always_inline __wsum csum_sub(__wsum csum, __wsum addend) in csum_sub() argument 69 return csum_add(csum, ~addend); in csum_sub() 72 static __always_inline __sum16 csum16_add(__sum16 csum, __be16 addend) in csum16_add() argument 74 u16 res = (__force u16)csum; in csum16_add() 80 static __always_inline __sum16 csum16_sub(__sum16 csum, __be16 addend) in csum16_sub() argument 82 return csum16_add(csum, ~addend); in csum16_sub() 96 csum_block_add(__wsum csum, __wsum csum2, int offset) in csum_block_add() argument 98 return csum_add(csum, csum_shift(csum2, offset)); in csum_block_add() [all …]
|
D | seg6.h | 22 skb->csum = ~csum_partial((char *)diff, sizeof(diff), ~skb->csum); in update_csum_diff4() 33 skb->csum = ~csum_partial((char *)diff, sizeof(diff), ~skb->csum); in update_csum_diff16()
|
D | gso.h | 20 __wsum csum; member 53 SKB_GSO_CB(skb)->csum = res; in gso_reset_checksum() 69 __wsum partial = SKB_GSO_CB(skb)->csum; in gso_make_checksum() 71 SKB_GSO_CB(skb)->csum = res; in gso_make_checksum()
|
D | udp.h | 132 __wsum csum = csum_partial(skb_transport_header(skb), in udp_csum_outgoing() local 135 csum = csum_add(csum, skb->csum); in udp_csum_outgoing() 137 return csum; in udp_csum_outgoing() 142 __wsum csum = csum_partial(skb_transport_header(skb), in udp_csum() local 143 sizeof(struct udphdr), skb->csum); in udp_csum() 146 csum = csum_add(csum, skb->csum); in udp_csum() 148 return csum; in udp_csum() 163 skb->csum = csum_partial(skb->data, sizeof(struct udphdr), in udp_csum_pull_header() 164 skb->csum); in udp_csum_pull_header()
|
D | gro.h | 88 __wsum csum; member 207 NAPI_GRO_CB(skb)->csum = wsum_negate(csum_partial(start, len, in skb_gro_postpull_rcsum() 208 wsum_negate(NAPI_GRO_CB(skb)->csum))); in skb_gro_postpull_rcsum() 239 !csum_fold(csum_add(psum, NAPI_GRO_CB(skb)->csum))) in __skb_gro_checksum_validate_complete() 242 NAPI_GRO_CB(skb)->csum = psum; in __skb_gro_checksum_validate_complete() 292 NAPI_GRO_CB(skb)->csum = ~pseudo; in __skb_gro_checksum_convert() 334 delta = remcsum_adjust(ptr + hdrlen, NAPI_GRO_CB(skb)->csum, in skb_gro_remcsum_process() 338 NAPI_GRO_CB(skb)->csum = csum_add(NAPI_GRO_CB(skb)->csum, delta); in skb_gro_remcsum_process()
|
D | inet_ecn.h | 145 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)from), in IP6_ECN_set_ce() 161 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)from), in IP6_ECN_set_ect1()
|
D | ip6_checksum.h | 36 __u32 len, __u8 proto, __wsum csum);
|
D | mptcp.h | 28 __sum16 csum; member 79 __sum16 csum; member
|
D | gre.h | 15 __be16 csum; member
|
D | sock.h | 2297 __wsum csum = 0; in skb_do_copy_data_nocache() local 2298 if (!csum_and_copy_from_iter_full(to, copy, &csum, from)) in skb_do_copy_data_nocache() 2300 skb->csum = csum_block_add(skb->csum, csum, offset); in skb_do_copy_data_nocache()
|
D | ip.h | 275 __wsum csum; member
|
/include/uapi/linux/ |
D | igmp.h | 34 __sum16 csum; member 57 __sum16 csum; member 66 __sum16 csum; member
|
D | virtio_net.h | 154 } csum; member
|
D | btrfs_tree.h | 462 __u8 csum[BTRFS_CSUM_SIZE]; member 648 __u8 csum[BTRFS_CSUM_SIZE]; member 1076 __u8 csum; member
|
/include/linux/ |
D | pim.h | 58 __be16 csum; member 65 __be16 csum; member
|
D | uio.h | 346 __wsum csum; member 351 size_t csum_and_copy_from_iter(void *addr, size_t bytes, __wsum *csum, struct iov_iter *i); 355 __wsum *csum, struct iov_iter *i) in csum_and_copy_from_iter_full() argument 357 size_t copied = csum_and_copy_from_iter(addr, bytes, csum, i); in csum_and_copy_from_iter_full()
|
D | skbuff.h | 1001 __wsum csum; 3728 __wsum csum = 0; in skb_add_data() local 3730 &csum, from)) { in skb_add_data() 3731 skb->csum = csum_block_add(skb->csum, csum, off); in skb_add_data() 3803 skb->csum = csum_block_sub(skb->csum, in __skb_postpull_rcsum() 3824 skb->csum = wsum_negate(csum_partial(start, len, in skb_postpull_rcsum() 3825 wsum_negate(skb->csum))); in skb_postpull_rcsum() 3836 skb->csum = csum_block_add(skb->csum, in __skb_postpush_rcsum() 4064 __wsum (*combine)(__wsum csum, __wsum csum2, int offset, int len); 4070 __wsum csum, const struct skb_checksum_ops *ops); [all …]
|
D | pe.h | 242 uint32_t csum; /* checksum */ member 276 uint32_t csum; /* checksum */ member
|
/include/asm-generic/ |
D | checksum.h | 31 static inline __sum16 csum_fold(__wsum csum) in csum_fold() argument 33 u32 sum = (__force u32)csum; in csum_fold()
|
/include/net/sctp/ |
D | checksum.h | 39 static inline __wsum sctp_csum_combine(__wsum csum, __wsum csum2, in sctp_csum_combine() argument 42 return (__force __wsum)__crc32c_le_combine((__force __u32)csum, in sctp_csum_combine()
|
/include/trace/events/ |
D | mptcp.h | 76 __field(u16, csum) 95 __entry->csum = (__force u16)mpext->csum; 112 __entry->csum, __entry->use_map,
|
/include/video/ |
D | metronomefb.h | 19 u16 csum; member
|
/include/rdma/ |
D | ib_pack.h | 234 __be16 csum; member
|