Home
last modified time | relevance | path

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

/include/net/
Ddsfield.h30 __u32 check = ntohs((__force __be16)iph->check); in ipv4_change_dsfield() local
34 check += iph->tos; in ipv4_change_dsfield()
35 if ((check+1) >> 16) check = (check+1) & 0xffff; in ipv4_change_dsfield()
36 check -= dsfield; in ipv4_change_dsfield()
37 check += check >> 16; /* adjust carry */ in ipv4_change_dsfield()
38 iph->check = (__force __sum16)htons(check); in ipv4_change_dsfield()
Dinet_ecn.h77 u32 check = (__force u32)iph->check; in IP_ECN_set_ce() local
95 check += (__force u16)htons(0xFFFB) + (__force u16)htons(ecn); in IP_ECN_set_ce()
97 iph->check = (__force __sum16)(check + (check>=0xFFFF)); in IP_ECN_set_ce()
Dip6_checksum.h74 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check()
76 skb->csum_offset = offsetof(struct tcphdr, check); in __tcp_v6_send_check()
78 th->check = tcp_v6_check(skb->len, saddr, daddr, in __tcp_v6_send_check()
Ddst_ops.h19 struct dst_entry * (*check)(struct dst_entry *, __u32 cookie); member
Dip.h277 u32 check = (__force u32)iph->check; in ip_decrease_ttl() local
278 check += (__force u32)htons(0x0100); in ip_decrease_ttl()
279 iph->check = (__force __sum16)(check + (check>=0xFFFF)); in ip_decrease_ttl()
Dudplite.h43 if (uh->check == 0) { in udplite_checksum_init()
Dudp_tunnel.h114 skb_shinfo(skb)->gso_type |= uh->check ? in udp_tunnel_gro_complete()
Dflow.h236 int (*check)(struct flow_cache_object *); member
Ddst.h518 dst = dst->ops->check(dst, cookie); in dst_check()
Dxfrm.h272 int (*check)(struct xfrm_state *x, member
/include/uapi/linux/
Dudp.h26 __sum16 check; member
Dip.h101 __sum16 check; member
Dtcp.h55 __sum16 check; member
/include/trace/events/
Dlock.h15 int trylock, int read, int check,
18 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
/include/linux/mtd/
Dubi.h251 int len, int check);
253 int offset, int len, int check);
/include/net/netfilter/
Dnf_nat_l3proto.h20 __sum16 *check,
25 void *data, __sum16 *check,
/include/linux/
Dzutil.h47 typedef uLong (*check_func) (uLong check, const Byte *buf,
Dcompiler.h299 #define __READ_ONCE(x, check) \ argument
302 if (check) \
Dskbuff.h3225 __sum16 check) in __skb_checksum_validate_needed() argument
3227 if (skb_csum_unnecessary(skb) || (zero_okay && !check)) { in __skb_checksum_validate_needed()
3305 zero_okay, check, compute_pseudo) \
3309 if (__skb_checksum_validate_needed(skb, zero_okay, check)) \
3318 #define skb_checksum_init_zero_check(skb, proto, check, compute_pseudo) \ argument
3319 __skb_checksum_validate(skb, proto, false, true, check, compute_pseudo)
3324 #define skb_checksum_validate_zero_check(skb, proto, check, \ argument
3326 __skb_checksum_validate(skb, proto, true, true, check, compute_pseudo)
3338 __sum16 check, __wsum pseudo) in __skb_checksum_convert() argument
3344 #define skb_checksum_try_convert(skb, proto, check, compute_pseudo) \ argument
[all …]
Dlockdep.h255 unsigned int check:1; /* see lock_acquire() comment */ member
334 int trylock, int read, int check,
Dmemstick.h263 int (*check)(struct memstick_dev *card); member
Dnetdevice.h2390 __sum16 check) in __skb_gro_checksum_validate_needed() argument
2397 (!zero_okay || check)); in __skb_gro_checksum_validate_needed()
2426 #define __skb_gro_checksum_validate(skb, proto, zero_okay, check, \ argument
2430 if (__skb_gro_checksum_validate_needed(skb, zero_okay, check)) \
2443 #define skb_gro_checksum_validate_zero_check(skb, proto, check, \ argument
2445 __skb_gro_checksum_validate(skb, proto, true, check, compute_pseudo)
2457 __sum16 check, __wsum pseudo) in __skb_gro_checksum_convert() argument
2463 #define skb_gro_checksum_try_convert(skb, proto, check, compute_pseudo) \ argument
2466 __skb_gro_checksum_convert(skb, check, \
Dide.h371 int (*check)(struct ide_drive_s *, const char *); member
/include/linux/netfilter_bridge/
Debtables.h102 int (*check)(const struct ebt_table_info *info, member
/include/linux/amba/
Dclcd.h136 int (*check)(struct clcd_fb *fb, struct fb_var_screeninfo *var); member