Home
last modified time | relevance | path

Searched refs:th (Results 1 – 11 of 11) 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.h58 struct tcphdr *th = tcp_hdr(skb); in __tcp_v6_send_check() local
60 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check()
68 struct tcphdr *th = tcp_hdr(skb); in tcp_v6_gso_csum_prep() local
71 th->check = ~tcp_v6_check(0, &ipv6h->saddr, &ipv6h->daddr, 0); in tcp_v6_gso_csum_prep()
Dtcp_ao.h178 struct tcp_ao_key *key, struct tcphdr *th,
213 const struct tcphdr *th, u32 sne);
268 struct tcp_ao_key *key, struct tcphdr *th, in tcp_ao_transmit_skb() argument
345 int tcp_do_parse_auth_options(const struct tcphdr *th,
348 static inline int tcp_do_parse_auth_options(const struct tcphdr *th, in tcp_do_parse_auth_options() argument
Dgro.h483 static inline int __gro_receive_network_flush(const void *th, const void *th2, in __gro_receive_network_flush() argument
487 const void *nh = th - diff; in __gro_receive_network_flush()
496 static inline int gro_receive_network_flush(const void *th, const void *th2, in gro_receive_network_flush() argument
503 flush = __gro_receive_network_flush(th, th2, p, off - NAPI_GRO_CB(p)->network_offset, encap_mark); in gro_receive_network_flush()
505 …flush |= __gro_receive_network_flush(th, th2, p, off - NAPI_GRO_CB(p)->inner_network_offset, false… in gro_receive_network_flush()
Darp.h65 const unsigned char *src_hw, const unsigned char *th);
Dtcp.h390 const struct tcphdr *th,
442 struct tcphdr *th, u32 *cookie);
444 struct tcphdr *th, u32 *cookie);
445 u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss);
448 struct sock *sk, struct tcphdr *th);
490 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th);
601 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th,
635 int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th);
639 const struct tcphdr *th, u16 *mssp);
929 #define tcp_flag_byte(th) (((u_int8_t *)th)[13]) argument
[all …]
Dmptcp.h151 void mptcp_write_options(struct tcphdr *th, __be32 *ptr, struct tcp_sock *tp,
/include/linux/
Dnetfilter_ipv6.h53 const struct tcphdr *th, u16 *mssp);
55 const struct tcphdr *th);
168 const struct tcphdr *th, in nf_ipv6_cookie_init_sequence() argument
176 return v6_ops->cookie_init_sequence(iph, th, mssp); in nf_ipv6_cookie_init_sequence()
178 return __cookie_v6_init_sequence(iph, th, mssp); in nf_ipv6_cookie_init_sequence()
185 const struct tcphdr *th) in nf_cookie_v6_check() argument
192 return v6_ops->cookie_v6_check(iph, th); in nf_cookie_v6_check()
194 return __cookie_v6_check(iph, th); in nf_cookie_v6_check()
Dtcp.h30 static inline unsigned int __tcp_hdrlen(const struct tcphdr *th) in __tcp_hdrlen() argument
32 return th->doff * 4; in __tcp_hdrlen()
/include/trace/events/
Dtcp.h122 const struct tcphdr *th = (const struct tcphdr *)skb__nullable->data;
127 TP_STORE_ADDR_PORTS_SKB(skb__nullable, th, entry->daddr, entry->saddr);
292 const struct tcphdr *th = (const struct tcphdr *)skb->data;
307 __entry->data_len = skb->len - __tcp_hdrlen(th);
346 const struct tcphdr *th = (const struct tcphdr *)skb->data;
352 TP_STORE_ADDR_PORTS_SKB(skb, th, __entry->saddr, __entry->daddr);
443 const struct tcphdr *th = (const struct tcphdr *)skb->data;
452 TP_STORE_ADDR_PORTS_SKB(skb, th, __entry->saddr, __entry->daddr);
456 __entry->sport = ntohs(th->source);
457 __entry->dport = ntohs(th->dest);
[all …]
/include/soc/fsl/
Dqman.h578 static inline u64 qm_cgr_cs_thres_get64(const struct qm_cgr_cs_thres *th) in qm_cgr_cs_thres_get64() argument
580 int thres = be16_to_cpu(th->word); in qm_cgr_cs_thres_get64()
585 static inline int qm_cgr_cs_thres_set64(struct qm_cgr_cs_thres *th, u64 val, in qm_cgr_cs_thres_set64() argument
598 th->word = cpu_to_be16(((val & 0xff) << 5) | (e & 0x1f)); in qm_cgr_cs_thres_set64()