Home
last modified time | relevance | path

Searched refs:th (Results 1 – 8 of 8) sorted by relevance

/include/net/netfilter/
Dnf_synproxy.h46 const struct tcphdr *th,
53 const struct tcphdr *th,
58 const struct tcphdr *th,
71 const struct tcphdr *th,
75 const struct tcphdr *th,
/include/net/
Dip6_checksum.h66 struct tcphdr *th = tcp_hdr(skb); in __tcp_v6_send_check() local
69 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check()
73 th->check = tcp_v6_check(skb->len, saddr, daddr, in __tcp_v6_send_check()
74 csum_partial(th, th->doff << 2, in __tcp_v6_send_check()
Darp.h71 const unsigned char *src_hw, const unsigned char *th);
Dtcp.h381 const struct tcphdr *th);
421 const u8 *tcp_parse_md5sig_option(const struct tcphdr *th);
427 struct tcphdr *th, u32 *cookie);
429 struct tcphdr *th, u32 *cookie);
432 struct sock *sk, struct tcphdr *th);
472 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th,
554 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th,
564 int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th,
569 const struct tcphdr *th, u16 *mssp);
810 #define tcp_flag_byte(th) (((u_int8_t *)th)[13]) argument
/include/linux/
Dnetfilter_ipv6.h52 const struct tcphdr *th, u16 *mssp);
54 const struct tcphdr *th, __u32 cookie);
165 const struct tcphdr *th, in nf_ipv6_cookie_init_sequence() argument
173 return v6_ops->cookie_init_sequence(iph, th, mssp); in nf_ipv6_cookie_init_sequence()
175 return __cookie_v6_init_sequence(iph, th, mssp); in nf_ipv6_cookie_init_sequence()
182 const struct tcphdr *th, __u32 cookie) in nf_cookie_v6_check() argument
189 return v6_ops->cookie_v6_check(iph, th, cookie); in nf_cookie_v6_check()
191 return __cookie_v6_check(iph, th, cookie); in nf_cookie_v6_check()
Dtcp.h29 static inline unsigned int __tcp_hdrlen(const struct tcphdr *th) in __tcp_hdrlen() argument
31 return th->doff * 4; in __tcp_hdrlen()
/include/soc/fsl/
Dqman.h577 static inline u64 qm_cgr_cs_thres_get64(const struct qm_cgr_cs_thres *th) in qm_cgr_cs_thres_get64() argument
579 int thres = be16_to_cpu(th->word); in qm_cgr_cs_thres_get64()
584 static inline int qm_cgr_cs_thres_set64(struct qm_cgr_cs_thres *th, u64 val, in qm_cgr_cs_thres_set64() argument
597 th->word = cpu_to_be16(((val & 0xff) << 5) | (e & 0x1f)); in qm_cgr_cs_thres_set64()
/include/trace/events/
Dtcp.h254 const struct tcphdr *th = (const struct tcphdr *)skb->data;
268 __entry->data_len = skb->len - __tcp_hdrlen(th);