Home
last modified time | relevance | path

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

12

/include/net/
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()
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()
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()
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)
Dudplite.h38 if (uh->check == 0) { in udplite_checksum_init()
Ddst_ops.h20 struct dst_entry * (*check)(struct dst_entry *, __u32 cookie); member
Dip.h423 u32 check = (__force u32)iph->check; in ip_decrease_ttl() local
424 check += (__force u32)htons(0x0100); in ip_decrease_ttl()
425 iph->check = (__force __sum16)(check + (check>=0xFFFF)); in ip_decrease_ttl()
Dvxlan.h431 offsetof(struct udphdr, check) : in vxlan_rco_offset()
432 offsetof(struct tcphdr, check); in vxlan_rco_offset()
439 if (offset == offsetof(struct udphdr, check)) in vxlan_compute_rco()
/include/linux/
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()
Dhw_breakpoint.h68 bool check);
115 bool check) { return -ENOSYS; } in modify_user_hw_breakpoint_check() argument
Dzutil.h47 typedef uLong (*check_func) (uLong check, const Byte *buf,
Dvirtio_net.h169 if (skb->csum_offset != offsetof(struct udphdr, check)) in virtio_net_hdr_to_skb()
179 skb->csum_offset != offsetof(struct tcphdr, check)) in virtio_net_hdr_to_skb()
Dlockdep_types.h252 unsigned int check:1; /* see lock_acquire() comment */ member
Dmemstick.h259 int (*check)(struct memstick_dev *card); member
Dsuspend.h197 void (*check)(void); member
Dlockdep.h228 int trylock, int read, int check,
234 int read, int check, struct lockdep_map *nest_lock,
/include/uapi/linux/
Dudp.h27 __sum16 check; member
Dip.h103 __sum16 check; member
Dtcp.h56 __sum16 check; member
/include/net/netfilter/
Dnf_reject.h23 if (!udp_hdr || udp_hdr->check) in nf_reject_verify_csum()
Dnf_nat.h83 u8 nfproto, u8 proto, void *data, __sum16 *check,
/include/trace/events/
Dlock.h27 int trylock, int read, int check,
30 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
/include/linux/mtd/
Dubi.h241 int len, int check);
243 int offset, int len, int check);
/include/drm/
Ddrm_simple_kms_helper.h91 int (*check)(struct drm_simple_display_pipe *pipe, member
/include/rdma/
Dib_pack.h225 __sum16 check; member

12