/linux-4.1.27/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 22 const struct tcphdr *oth; in nf_reject_ip_tcphdr_get() local 28 oth = skb_header_pointer(oldskb, ip_hdrlen(oldskb), in nf_reject_ip_tcphdr_get() 30 if (oth == NULL) in nf_reject_ip_tcphdr_get() 34 if (oth->rst) in nf_reject_ip_tcphdr_get() 41 return oth; in nf_reject_ip_tcphdr_get() 71 const struct tcphdr *oth) in nf_reject_ip_tcphdr_put() argument 79 tcph->source = oth->dest; in nf_reject_ip_tcphdr_put() 80 tcph->dest = oth->source; in nf_reject_ip_tcphdr_put() 83 if (oth->ack) { in nf_reject_ip_tcphdr_put() 84 tcph->seq = oth->ack_seq; in nf_reject_ip_tcphdr_put() [all …]
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | nf_reject_ipv6.c | 93 const struct tcphdr *oth, unsigned int otcplen) in nf_reject_ip6_tcphdr_put() argument 102 tcph->source = oth->dest; in nf_reject_ip6_tcphdr_put() 103 tcph->dest = oth->source; in nf_reject_ip6_tcphdr_put() 105 if (oth->ack) { in nf_reject_ip6_tcphdr_put() 107 tcph->seq = oth->ack_seq; in nf_reject_ip6_tcphdr_put() 111 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip6_tcphdr_put() 112 otcplen - (oth->doff<<2)); in nf_reject_ip6_tcphdr_put()
|
/linux-4.1.27/net/bridge/netfilter/ |
D | nft_reject_bridge.c | 49 const struct tcphdr *oth; in nft_reject_br_send_v4_tcp_reset() local 55 oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); in nft_reject_br_send_v4_tcp_reset() 56 if (!oth) in nft_reject_br_send_v4_tcp_reset() 67 nf_reject_ip_tcphdr_put(nskb, oldskb, oth); in nft_reject_br_send_v4_tcp_reset() 150 const struct tcphdr *oth; in nft_reject_br_send_v6_tcp_reset() local 158 oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); in nft_reject_br_send_v6_tcp_reset() 159 if (!oth) in nft_reject_br_send_v6_tcp_reset() 170 nf_reject_ip6_tcphdr_put(nskb, oldskb, oth, otcplen); in nft_reject_br_send_v6_tcp_reset()
|
/linux-4.1.27/drivers/net/slip/ |
D | slhc.c | 239 struct tcphdr *th, *oth; in slhc_compress() local 345 oth = &cs->cs_tcp; in slhc_compress() 367 } else if(th->urg_ptr != oth->urg_ptr){ in slhc_compress() 374 if((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){ in slhc_compress() 378 if((deltaA = ntohl(th->ack_seq) - ntohl(oth->ack_seq)) != 0L){ in slhc_compress() 384 if((deltaS = ntohl(th->seq) - ntohl(oth->seq)) != 0L){ in slhc_compress()
|
/linux-4.1.27/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()
|
/linux-4.1.27/include/net/netfilter/ipv4/ |
D | nf_reject.h | 17 const struct tcphdr *oth);
|
/linux-4.1.27/include/net/netfilter/ipv6/ |
D | nf_reject.h | 19 const struct tcphdr *oth, unsigned int otcplen);
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_uc.c | 75 ohdr = &qp->s_hdr.u.oth; in ipath_make_uc_req() 77 ohdr = &qp->s_hdr.u.l.oth; in ipath_make_uc_req() 259 ohdr = &hdr->u.oth; in ipath_uc_rcv() 264 ohdr = &hdr->u.l.oth; in ipath_uc_rcv()
|
D | ipath_ud.c | 333 ohdr = &qp->s_hdr.u.l.oth; in ipath_make_ud_req() 341 ohdr = &qp->s_hdr.u.oth; in ipath_make_ud_req() 424 ohdr = &hdr->u.oth; in ipath_ud_rcv() 430 ohdr = &hdr->u.l.oth; in ipath_ud_rcv()
|
D | ipath_rc.c | 228 ohdr = &qp->s_hdr.u.oth; in ipath_make_rc_req() 230 ohdr = &qp->s_hdr.u.l.oth; in ipath_make_rc_req() 653 ohdr = &hdr.u.oth; in send_rc_ack() 661 ohdr = &hdr.u.l.oth; in send_rc_ack() 1591 ohdr = &hdr->u.oth; in ipath_rc_rcv() 1596 ohdr = &hdr->u.l.oth; in ipath_rc_rcv()
|
D | ipath_verbs.h | 140 struct ipath_other_headers oth; member 142 struct ipath_other_headers oth; member
|
D | ipath_verbs.c | 615 ohdr = &hdr->u.oth; in ipath_ib_rcv() 617 ohdr = &hdr->u.l.oth; in ipath_ib_rcv()
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 75 ohdr = &qp->s_hdr->u.oth; in qib_make_uc_req() 77 ohdr = &qp->s_hdr->u.l.oth; in qib_make_uc_req() 257 ohdr = &hdr->u.oth; in qib_uc_rcv() 260 ohdr = &hdr->u.l.oth; in qib_uc_rcv()
|
D | qib_ud.c | 331 ohdr = &qp->s_hdr->u.l.oth; in qib_make_ud_req() 339 ohdr = &qp->s_hdr->u.oth; in qib_make_ud_req() 442 ohdr = &hdr->u.oth; in qib_ud_rcv() 445 ohdr = &hdr->u.l.oth; in qib_ud_rcv()
|
D | qib_rc.c | 247 ohdr = &qp->s_hdr->u.oth; in qib_make_rc_req() 249 ohdr = &qp->s_hdr->u.l.oth; in qib_make_rc_req() 674 ohdr = &hdr.u.oth; in qib_send_rc_ack() 681 ohdr = &hdr.u.l.oth; in qib_send_rc_ack() 983 ohdr = &hdr->u.oth; in qib_rc_send_complete() 985 ohdr = &hdr->u.l.oth; in qib_rc_send_complete() 1880 ohdr = &hdr->u.oth; in qib_rc_rcv() 1883 ohdr = &hdr->u.l.oth; in qib_rc_rcv()
|
D | qib_driver.c | 330 ohdr = &hdr->u.oth; in qib_rcv_hdrerr() 334 ohdr = &hdr->u.l.oth; in qib_rcv_hdrerr()
|
D | qib_verbs.h | 194 struct qib_other_headers oth; member 196 struct qib_other_headers oth; member
|
D | qib_verbs.c | 636 ohdr = &hdr->u.oth; in qib_ib_rcv() 640 ohdr = &hdr->u.l.oth; in qib_ib_rcv()
|
D | qib_iba7322.c | 1438 .u.oth.bth[0] = cpu_to_be32( in flush_fifo() 1440 .u.oth.bth[1] = cpu_to_be32(0), in flush_fifo() 1441 .u.oth.bth[2] = cpu_to_be32(0), in flush_fifo() 1442 .u.oth.u.ud.deth[0] = cpu_to_be32(0), in flush_fifo() 1443 .u.oth.u.ud.deth[1] = cpu_to_be32(0), in flush_fifo()
|