/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
H A D | nf_reject_ipv4.c | 18 const struct tcphdr *oth; in nf_reject_ip_tcphdr_get() local 27 oth = skb_header_pointer(oldskb, ip_hdrlen(oldskb), in nf_reject_ip_tcphdr_get() 29 if (oth == NULL) in nf_reject_ip_tcphdr_get() 33 if (oth->rst) in nf_reject_ip_tcphdr_get() 40 return oth; in nf_reject_ip_tcphdr_get() 70 const struct tcphdr *oth) in nf_reject_ip_tcphdr_put() 77 tcph->source = oth->dest; in nf_reject_ip_tcphdr_put() 78 tcph->dest = oth->source; in nf_reject_ip_tcphdr_put() 81 if (oth->ack) { in nf_reject_ip_tcphdr_put() 82 tcph->seq = oth in nf_reject_ip_tcphdr_put() 69 nf_reject_ip_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb, const struct tcphdr *oth) nf_reject_ip_tcphdr_put() argument 121 const struct tcphdr *oth; nf_send_reset() local [all...] |
/kernel/linux/linux-6.6/net/ipv4/netfilter/ |
H A D | nf_reject_ipv4.c | 44 const struct tcphdr *oth; in nf_reject_skb_v4_tcp_reset() local 52 oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); in nf_reject_skb_v4_tcp_reset() 53 if (!oth) in nf_reject_skb_v4_tcp_reset() 66 nf_reject_ip_tcphdr_put(nskb, oldskb, oth); in nf_reject_skb_v4_tcp_reset() 142 const struct tcphdr *oth; in nf_reject_ip_tcphdr_get() local 151 oth = skb_header_pointer(oldskb, ip_hdrlen(oldskb), in nf_reject_ip_tcphdr_get() 153 if (oth == NULL) in nf_reject_ip_tcphdr_get() 157 if (oth->rst) in nf_reject_ip_tcphdr_get() 164 return oth; in nf_reject_ip_tcphdr_get() 194 const struct tcphdr *oth) in nf_reject_ip_tcphdr_put() 193 nf_reject_ip_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb, const struct tcphdr *oth) nf_reject_ip_tcphdr_put() argument 244 const struct tcphdr *oth; nf_send_reset() local [all...] |
/kernel/linux/linux-6.6/net/ipv6/netfilter/ |
H A D | nf_reject_ipv6.c | 65 const struct tcphdr *oth; in nf_reject_skb_v6_tcp_reset() local 73 oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); in nf_reject_skb_v6_tcp_reset() 74 if (!oth) in nf_reject_skb_v6_tcp_reset() 87 nf_reject_ip6_tcphdr_put(nskb, oldskb, oth, otcplen); in nf_reject_skb_v6_tcp_reset() 223 const struct tcphdr *oth, unsigned int otcplen) in nf_reject_ip6_tcphdr_put() 232 tcph->source = oth->dest; in nf_reject_ip6_tcphdr_put() 233 tcph->dest = oth->source; in nf_reject_ip6_tcphdr_put() 235 if (oth->ack) { in nf_reject_ip6_tcphdr_put() 237 tcph->seq = oth->ack_seq; in nf_reject_ip6_tcphdr_put() 241 tcph->ack_seq = htonl(ntohl(oth in nf_reject_ip6_tcphdr_put() 221 nf_reject_ip6_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb, const struct tcphdr *oth, unsigned int otcplen) nf_reject_ip6_tcphdr_put() argument [all...] |
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
H A D | nf_reject_ipv6.c | 89 const struct tcphdr *oth, unsigned int otcplen) in nf_reject_ip6_tcphdr_put() 98 tcph->source = oth->dest; in nf_reject_ip6_tcphdr_put() 99 tcph->dest = oth->source; in nf_reject_ip6_tcphdr_put() 101 if (oth->ack) { in nf_reject_ip6_tcphdr_put() 103 tcph->seq = oth->ack_seq; in nf_reject_ip6_tcphdr_put() 107 tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn + oth->fin + in nf_reject_ip6_tcphdr_put() 108 otcplen - (oth->doff<<2)); in nf_reject_ip6_tcphdr_put() 87 nf_reject_ip6_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb, const struct tcphdr *oth, unsigned int otcplen) nf_reject_ip6_tcphdr_put() argument
|
/kernel/linux/linux-5.10/net/bridge/netfilter/ |
H A D | nft_reject_bridge.c | 76 const struct tcphdr *oth; in nft_reject_br_send_v4_tcp_reset() local 82 oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); in nft_reject_br_send_v4_tcp_reset() 83 if (!oth) in nft_reject_br_send_v4_tcp_reset() 94 nf_reject_ip_tcphdr_put(nskb, oldskb, oth); in nft_reject_br_send_v4_tcp_reset() 190 const struct tcphdr *oth; in nft_reject_br_send_v6_tcp_reset() local 198 oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); in nft_reject_br_send_v6_tcp_reset() 199 if (!oth) in nft_reject_br_send_v6_tcp_reset() 210 nf_reject_ip6_tcphdr_put(nskb, oldskb, oth, otcplen); in nft_reject_br_send_v6_tcp_reset()
|
/kernel/linux/linux-5.10/drivers/net/slip/ |
H A D | slhc.c | 239 struct tcphdr *th, *oth; in slhc_compress() local 351 oth = &cs->cs_tcp; in slhc_compress() 373 } else if(th->urg_ptr != oth->urg_ptr){ in slhc_compress() 380 if((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){ in slhc_compress() 384 if((deltaA = ntohl(th->ack_seq) - ntohl(oth->ack_seq)) != 0L){ in slhc_compress() 390 if((deltaS = ntohl(th->seq) - ntohl(oth->seq)) != 0L){ in slhc_compress()
|
/kernel/linux/linux-6.6/drivers/net/slip/ |
H A D | slhc.c | 239 struct tcphdr *th, *oth; in slhc_compress() local 351 oth = &cs->cs_tcp; in slhc_compress() 373 } else if(th->urg_ptr != oth->urg_ptr){ in slhc_compress() 380 if((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){ in slhc_compress() 384 if((deltaA = ntohl(th->ack_seq) - ntohl(oth->ack_seq)) != 0L){ in slhc_compress() 390 if((deltaS = ntohl(th->seq) - ntohl(oth->seq)) != 0L){ in slhc_compress()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_uc.c | 75 ohdr = &priv->s_hdr->u.oth; in qib_make_uc_req() 77 ohdr = &priv->s_hdr->u.l.oth; in qib_make_uc_req() 252 ohdr = &hdr->u.oth; in qib_uc_rcv() 255 ohdr = &hdr->u.l.oth; in qib_uc_rcv()
|
H A D | qib_ud.c | 328 ohdr = &priv->s_hdr->u.l.oth; in qib_make_ud_req() 336 ohdr = &priv->s_hdr->u.oth; in qib_make_ud_req() 440 ohdr = &hdr->u.oth; in qib_ud_rcv() 443 ohdr = &hdr->u.l.oth; in qib_ud_rcv()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_uc.c | 76 ohdr = &priv->s_hdr->u.oth; in qib_make_uc_req() 78 ohdr = &priv->s_hdr->u.l.oth; in qib_make_uc_req() 253 ohdr = &hdr->u.oth; in qib_uc_rcv() 256 ohdr = &hdr->u.l.oth; in qib_uc_rcv()
|
H A D | qib_ud.c | 329 ohdr = &priv->s_hdr->u.l.oth; in qib_make_ud_req() 337 ohdr = &priv->s_hdr->u.oth; in qib_make_ud_req() 441 ohdr = &hdr->u.oth; in qib_ud_rcv() 444 ohdr = &hdr->u.l.oth; in qib_ud_rcv()
|
/kernel/linux/linux-5.10/include/net/netfilter/ipv6/ |
H A D | nf_reject.h | 20 const struct tcphdr *oth, unsigned int otcplen);
|
/kernel/linux/linux-5.10/include/net/netfilter/ipv4/ |
H A D | nf_reject.h | 19 const struct tcphdr *oth);
|
/kernel/linux/linux-6.6/include/net/netfilter/ipv6/ |
H A D | nf_reject.h | 20 const struct tcphdr *oth, unsigned int otcplen);
|
/kernel/linux/linux-6.6/include/net/netfilter/ipv4/ |
H A D | nf_reject.h | 19 const struct tcphdr *oth);
|
/kernel/linux/linux-5.10/include/rdma/ |
H A D | ib_hdrs.h | 102 struct ib_other_headers oth; member 104 struct ib_other_headers oth; member
|
/kernel/linux/linux-6.6/include/rdma/ |
H A D | ib_hdrs.h | 102 struct ib_other_headers oth; member 104 struct ib_other_headers oth; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | ud.c | 335 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; in hfi1_make_ud_req_9B() 338 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_ud_req_9B() 431 ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; in hfi1_make_ud_req_16B() 434 ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; in hfi1_make_ud_req_16B() 660 ohdr = &hdr.opah.u.l.oth; in return_cnp_16B() 664 ohdr = &hdr.opah.u.oth; in return_cnp_16B() 718 ohdr = &hdr.ibh.u.l.oth; in return_cnp() 722 ohdr = &hdr.ibh.u.oth; in return_cnp()
|
H A D | uc.c | 99 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; in hfi1_make_uc_req() 101 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_uc_req() 107 ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; in hfi1_make_uc_req() 109 ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; in hfi1_make_uc_req()
|
H A D | trace.c | 58 ohdr = &hdr->u.oth; in __get_ib_hdr_len() 60 ohdr = &hdr->u.l.oth; in __get_ib_hdr_len() 78 ohdr = &hdr->u.oth; in __get_16b_hdr_len() 80 ohdr = &hdr->u.l.oth; in __get_16b_hdr_len()
|
H A D | trace_ibhdrs.h | 380 ohdr = &opah->opah.u.oth; 382 ohdr = &opah->opah.u.l.oth; 404 ohdr = &opah->ibh.u.oth; 406 ohdr = &opah->ibh.u.l.oth;
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | ud.c | 293 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; in hfi1_make_ud_req_9B() 296 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_ud_req_9B() 389 ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; in hfi1_make_ud_req_16B() 392 ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; in hfi1_make_ud_req_16B() 619 ohdr = &hdr.opah.u.l.oth; in return_cnp_16B() 623 ohdr = &hdr.opah.u.oth; in return_cnp_16B() 677 ohdr = &hdr.ibh.u.l.oth; in return_cnp() 681 ohdr = &hdr.ibh.u.oth; in return_cnp()
|
H A D | uc.c | 58 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; in hfi1_make_uc_req() 60 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_uc_req() 66 ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; in hfi1_make_uc_req() 68 ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; in hfi1_make_uc_req()
|
H A D | trace_ibhdrs.h | 339 ohdr = &opah->opah.u.oth; 341 ohdr = &opah->opah.u.l.oth; 363 ohdr = &opah->ibh.u.oth; 365 ohdr = &opah->ibh.u.l.oth;
|
H A D | trace.c | 16 ohdr = &hdr->u.oth; in __get_ib_hdr_len() 18 ohdr = &hdr->u.l.oth; in __get_ib_hdr_len() 36 ohdr = &hdr->u.oth; in __get_16b_hdr_len() 38 ohdr = &hdr->u.l.oth; in __get_16b_hdr_len()
|