Home
last modified time | relevance | path

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

/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.h69 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check()
71 skb->csum_offset = offsetof(struct tcphdr, check); in __tcp_v6_send_check()
73 th->check = tcp_v6_check(skb->len, saddr, daddr, in __tcp_v6_send_check()
85 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()
Ddst_ops.h20 struct dst_entry * (*check)(struct dst_entry *, __u32 cookie); member
Dvxlan.h371 offsetof(struct udphdr, check) : in vxlan_rco_offset()
372 offsetof(struct tcphdr, check); in vxlan_rco_offset()
379 if (offset == offsetof(struct udphdr, check)) in vxlan_compute_rco()
Dudplite.h37 if (uh->check == 0) { in udplite_checksum_init()
Dip.h412 u32 check = (__force u32)iph->check; in ip_decrease_ttl() local
413 check += (__force u32)htons(0x0100); in ip_decrease_ttl()
414 iph->check = (__force __sum16)(check + (check>=0xFFFF)); in ip_decrease_ttl()
Ddst.h464 dst = INDIRECT_CALL_INET(dst->ops->check, ip6_dst_check, in dst_check()
/include/trace/events/
Dlock.h16 int trylock, int read, int check,
19 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
/include/uapi/linux/
Dudp.h27 __sum16 check; member
Dip.h103 __sum16 check; member
Dtcp.h56 __sum16 check; member
/include/linux/mtd/
Dubi.h238 int len, int check);
240 int offset, int len, int check);
/include/linux/
Dhw_breakpoint.h58 bool check);
108 bool check) { return -ENOSYS; } in modify_user_hw_breakpoint_check() argument
Dzutil.h47 typedef uLong (*check_func) (uLong check, const Byte *buf,
Dmemstick.h259 int (*check)(struct memstick_dev *card); member
Dlockdep.h139 unsigned int check:1; /* see lock_acquire() comment */ member
270 int trylock, int read, int check,
Dkey.h171 key_restrict_link_func_t check; member
Dskbuff.h4168 __sum16 check) in __skb_checksum_validate_needed() argument
4170 if (skb_csum_unnecessary(skb) || (zero_okay && !check)) { in __skb_checksum_validate_needed()
4245 zero_okay, check, compute_pseudo) \
4249 if (__skb_checksum_validate_needed(skb, zero_okay, check)) \
4258 #define skb_checksum_init_zero_check(skb, proto, check, compute_pseudo) \ argument
4259 __skb_checksum_validate(skb, proto, false, true, check, compute_pseudo)
4264 #define skb_checksum_validate_zero_check(skb, proto, check, \ argument
4266 __skb_checksum_validate(skb, proto, true, true, check, compute_pseudo)
Dnetdevice.h3151 __sum16 check) in __skb_gro_checksum_validate_needed() argument
3158 (!zero_okay || check)); in __skb_gro_checksum_validate_needed()
3187 #define __skb_gro_checksum_validate(skb, proto, zero_okay, check, \ argument
3191 if (__skb_gro_checksum_validate_needed(skb, zero_okay, check)) \
3202 #define skb_gro_checksum_validate_zero_check(skb, proto, check, \ argument
3204 __skb_gro_checksum_validate(skb, proto, true, check, compute_pseudo)
/include/drm/
Ddrm_simple_kms_helper.h91 int (*check)(struct drm_simple_display_pipe *pipe, member
/include/net/netfilter/
Dnf_nat.h83 u8 nfproto, u8 proto, void *data, __sum16 *check,
/include/linux/amba/
Dclcd.h90 int (*check)(struct clcd_fb *fb, struct fb_var_screeninfo *var); member
/include/rdma/
Dib_pack.h220 __sum16 check; member