/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/include/net/netfilter/ipv4/ |
D | nf_reject.h | 17 const struct tcphdr *oth);
|
/linux-4.4.14/include/net/netfilter/ipv6/ |
D | nf_reject.h | 19 const struct tcphdr *oth, unsigned int otcplen);
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | trace.c | 60 ohdr = &hdr->u.oth; in ibhdr_exhdr_len() 62 ohdr = &hdr->u.l.oth; in ibhdr_exhdr_len()
|
D | diag.c | 1307 ohdr = &hdr->u.oth; /* LRH + BTH + DETH */ in hfi1_filter_mad_mgmt_class() 1309 ohdr = &hdr->u.l.oth; /* LRH + GRH + BTH + DETH */ in hfi1_filter_mad_mgmt_class() 1340 ohdr = &hdr->u.oth; /* LRH + BTH + DETH */ in hfi1_filter_qp_number() 1342 ohdr = &hdr->u.l.oth; /* LRH + GRH + BTH + DETH */ in hfi1_filter_qp_number() 1370 ohdr = &hdr->u.oth; in hfi1_filter_ibpacket_type() 1372 ohdr = &hdr->u.l.oth; in hfi1_filter_ibpacket_type() 1424 ohdr = &hdr->u.oth; in hfi1_filter_ib_pkey() 1426 ohdr = &hdr->u.l.oth; in hfi1_filter_ib_pkey()
|
D | ud.c | 361 ohdr = &qp->s_hdr->ibh.u.l.oth; in hfi1_make_ud_req() 369 ohdr = &qp->s_hdr->ibh.u.oth; in hfi1_make_ud_req() 501 ohdr = &hdr.u.l.oth; in return_cnp() 505 ohdr = &hdr.u.oth; in return_cnp()
|
D | verbs.c | 624 packet->ohdr = &hdr->u.oth; in hfi1_ib_rcv() 628 packet->ohdr = &hdr->u.l.oth; in hfi1_ib_rcv() 969 struct hfi1_other_headers *sohdr = &ahdr->ibh.u.oth; in build_verbs_tx_desc() 970 struct hfi1_other_headers *dohdr = &phdr->hdr.u.oth; in build_verbs_tx_desc() 975 sohdr = &ahdr->ibh.u.l.oth; in build_verbs_tx_desc() 976 dohdr = &phdr->hdr.u.l.oth; in build_verbs_tx_desc() 1263 ohdr = &hdr->u.l.oth; in egress_pkey_check() 1265 ohdr = &hdr->u.oth; in egress_pkey_check()
|
D | driver.c | 287 ohdr = &hdr->u.oth; in rcv_hdrerr() 291 ohdr = &hdr->u.l.oth; in rcv_hdrerr() 589 ohdr = &hdr->u.oth; in prescan_rxq() 591 ohdr = &hdr->u.l.oth; in prescan_rxq()
|
D | rc.c | 278 ohdr = &qp->s_hdr->ibh.u.oth; in hfi1_make_rc_req() 280 ohdr = &qp->s_hdr->ibh.u.l.oth; in hfi1_make_rc_req() 717 ohdr = &hdr.u.l.oth; in hfi1_send_rc_ack() 720 ohdr = &hdr.u.oth; in hfi1_send_rc_ack() 998 ohdr = &hdr->u.oth; in hfi1_rc_send_complete() 1000 ohdr = &hdr->u.l.oth; in hfi1_rc_send_complete() 2397 ohdr = &hdr->u.oth; in hfi1_rc_hdrerr() 2399 ohdr = &hdr->u.l.oth; in hfi1_rc_hdrerr()
|
D | uc.c | 95 ohdr = &qp->s_hdr->ibh.u.oth; in hfi1_make_uc_req() 97 ohdr = &qp->s_hdr->ibh.u.l.oth; in hfi1_make_uc_req()
|
D | trace.h | 480 ohdr = &hdr->u.oth; 482 ohdr = &hdr->u.l.oth; 585 ohdr = &hdr->u.oth; 587 ohdr = &hdr->u.l.oth;
|
D | verbs.h | 190 struct hfi1_other_headers oth; member 192 struct hfi1_other_headers oth; member
|
D | ruc.c | 698 #define BTH2_OFFSET (offsetof(struct hfi1_pio_header, hdr.u.oth.bth[2]) / 4)
|
/linux-4.4.14/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() 676 ohdr = &hdr.u.oth; in qib_send_rc_ack() 683 ohdr = &hdr.u.l.oth; in qib_send_rc_ack() 985 ohdr = &hdr->u.oth; in qib_rc_send_complete() 987 ohdr = &hdr->u.l.oth; in qib_rc_send_complete() 1882 ohdr = &hdr->u.oth; in qib_rc_rcv() 1885 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 | 652 ohdr = &hdr->u.oth; in qib_ib_rcv() 656 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()
|
/linux-4.4.14/drivers/staging/rdma/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 | 332 ohdr = &qp->s_hdr.u.l.oth; in ipath_make_ud_req() 340 ohdr = &qp->s_hdr.u.oth; in ipath_make_ud_req() 423 ohdr = &hdr->u.oth; in ipath_ud_rcv() 429 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 | 628 ohdr = &hdr->u.oth; in ipath_ib_rcv() 630 ohdr = &hdr->u.l.oth; in ipath_ib_rcv()
|