Searched refs:oth (Results 1 – 5 of 5) sorted by relevance
/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 21 const struct tcphdr *oth; in nf_reject_ip_tcphdr_get() local 30 oth = skb_header_pointer(oldskb, ip_hdrlen(oldskb), in nf_reject_ip_tcphdr_get() 32 if (oth == NULL) in nf_reject_ip_tcphdr_get() 36 if (oth->rst) in nf_reject_ip_tcphdr_get() 43 return oth; in nf_reject_ip_tcphdr_get() 73 const struct tcphdr *oth) in nf_reject_ip_tcphdr_put() argument 81 tcph->source = oth->dest; in nf_reject_ip_tcphdr_put() 82 tcph->dest = oth->source; in nf_reject_ip_tcphdr_put() 85 if (oth->ack) { in nf_reject_ip_tcphdr_put() 86 tcph->seq = oth->ack_seq; in nf_reject_ip_tcphdr_put() [all …]
|
/net/ipv6/netfilter/ |
D | nf_reject_ipv6.c | 92 const struct tcphdr *oth, unsigned int otcplen) in nf_reject_ip6_tcphdr_put() argument 101 tcph->source = oth->dest; in nf_reject_ip6_tcphdr_put() 102 tcph->dest = oth->source; in nf_reject_ip6_tcphdr_put() 104 if (oth->ack) { in nf_reject_ip6_tcphdr_put() 106 tcph->seq = oth->ack_seq; in nf_reject_ip6_tcphdr_put() 110 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip6_tcphdr_put() 111 otcplen - (oth->doff<<2)); in nf_reject_ip6_tcphdr_put()
|
/net/bridge/netfilter/ |
D | nft_reject_bridge.c | 73 const struct tcphdr *oth; in nft_reject_br_send_v4_tcp_reset() local 79 oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); in nft_reject_br_send_v4_tcp_reset() 80 if (!oth) in nft_reject_br_send_v4_tcp_reset() 91 nf_reject_ip_tcphdr_put(nskb, oldskb, oth); in nft_reject_br_send_v4_tcp_reset() 194 const struct tcphdr *oth; in nft_reject_br_send_v6_tcp_reset() local 202 oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); in nft_reject_br_send_v6_tcp_reset() 203 if (!oth) in nft_reject_br_send_v6_tcp_reset() 214 nf_reject_ip6_tcphdr_put(nskb, oldskb, oth, otcplen); in nft_reject_br_send_v6_tcp_reset()
|
/net/decnet/ |
D | dn_nsp_out.c | 333 static __le16 *dn_nsp_mk_data_header(struct sock *sk, struct sk_buff *skb, int oth) in dn_nsp_mk_data_header() argument 337 __le16 *ptr = dn_mk_ack_header(sk, skb, cb->nsp_flags, 11, oth); in dn_nsp_mk_data_header() 339 if (unlikely(oth)) { in dn_nsp_mk_data_header() 352 gfp_t gfp, int oth) in dn_nsp_queue_xmit() argument 359 dn_nsp_mk_data_header(sk, skb, oth); in dn_nsp_queue_xmit() 368 if (oth) in dn_nsp_queue_xmit()
|
D | dn_nsp_in.c | 136 static int dn_process_ack(struct sock *sk, struct sk_buff *skb, int oth) in dn_process_ack() argument 150 if (oth) in dn_process_ack() 163 if (oth) in dn_process_ack()
|