Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 30) sorted by relevance

12

/include/net/
A Ddsfield.h31 __u32 check = ntohs((__force __be16)iph->check); in ipv4_change_dsfield() local
35 check += iph->tos; in ipv4_change_dsfield()
36 if ((check+1) >> 16) check = (check+1) & 0xffff; in ipv4_change_dsfield()
37 check -= dsfield; in ipv4_change_dsfield()
38 check += check >> 16; /* adjust carry */ in ipv4_change_dsfield()
39 iph->check = (__force __sum16)htons(check); in ipv4_change_dsfield()
A Dip6_checksum.h60 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check()
62 skb->csum_offset = offsetof(struct tcphdr, check); in __tcp_v6_send_check()
71 th->check = ~tcp_v6_check(0, &ipv6h->saddr, &ipv6h->daddr, 0); in tcp_v6_gso_csum_prep()
A Dinet_ecn.h100 iph->check = csum16_add(iph->check, check_add); in IP_ECN_set_ce()
110 iph->check = csum16_add(iph->check, htons(0x1)); in IP_ECN_set_ect1()
A Dgro.h230 __sum16 check) in __skb_gro_checksum_validate_needed() argument
237 (!zero_okay || check)); in __skb_gro_checksum_validate_needed()
266 #define __skb_gro_checksum_validate(skb, proto, zero_okay, check, \ argument
270 if (__skb_gro_checksum_validate_needed(skb, zero_okay, check)) \
281 #define skb_gro_checksum_validate_zero_check(skb, proto, check, \ argument
283 __skb_gro_checksum_validate(skb, proto, true, check, compute_pseudo)
A Dudplite.h38 if (uh->check == 0) { in udplite_checksum_init()
A Ddst_ops.h20 struct dst_entry * (*check)(struct dst_entry *, __u32 cookie); member
A Dip.h418 u32 check = (__force u32)iph->check; in ip_decrease_ttl() local
419 check += (__force u32)htons(0x0100); in ip_decrease_ttl()
420 iph->check = (__force __sum16)(check + (check>=0xFFFF)); in ip_decrease_ttl()
A Dvxlan.h436 offsetof(struct udphdr, check) : in vxlan_rco_offset()
437 offsetof(struct tcphdr, check); in vxlan_rco_offset()
444 if (offset == offsetof(struct udphdr, check)) in vxlan_compute_rco()
/include/linux/
A Dptp_classify.h190 uhdr->check = csum_fold(ptp_check_diff8(correction_old, in ptp_header_update_correction()
192 ~csum_unfold(uhdr->check))); in ptp_header_update_correction()
193 if (!uhdr->check) in ptp_header_update_correction()
194 uhdr->check = CSUM_MANGLED_0; in ptp_header_update_correction()
A Dhw_breakpoint.h68 bool check);
115 bool check) { return -ENOSYS; } in modify_user_hw_breakpoint_check() argument
A Dzutil.h47 typedef uLong (*check_func) (uLong check, const Byte *buf,
A Dlockdep_types.h252 unsigned int check:1; /* see lock_acquire() comment */ member
A Dvirtio_net.h170 if (skb->csum_offset != offsetof(struct udphdr, check)) in __virtio_net_hdr_to_skb()
180 skb->csum_offset != offsetof(struct tcphdr, check)) in __virtio_net_hdr_to_skb()
A Dmemstick.h259 int (*check)(struct memstick_dev *card); member
A Dsuspend.h138 void (*check)(void); member
A Dlockdep.h228 int trylock, int read, int check,
234 int read, int check, struct lockdep_map *nest_lock,
/include/uapi/linux/
A Dudp.h27 __sum16 check; member
A Dip.h103 __sum16 check; member
A Dtcp.h58 __sum16 check; member
/include/net/netfilter/
A Dnf_reject.h23 if (!udp_hdr || udp_hdr->check) in nf_reject_verify_csum()
A Dnf_nat.h83 u8 nfproto, u8 proto, void *data, __sum16 *check,
/include/linux/mtd/
A Dubi.h241 int len, int check);
243 int offset, int len, int check);
/include/trace/events/
A Dlock.h27 int trylock, int read, int check,
30 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
/include/drm/
A Ddrm_simple_kms_helper.h91 int (*check)(struct drm_simple_display_pipe *pipe, member
/include/rdma/
A Dib_pack.h225 __sum16 check; member

Completed in 247 milliseconds

12