| /linux/net/ipv4/netfilter/ |
| A D | nf_reject_ipv4.c | 40 struct sk_buff *oldskb, in nf_reject_skb_v4_tcp_reset() argument 75 struct sk_buff *oldskb, in nf_reject_skb_v4_unreach() argument 96 if (!pskb_may_pull(oldskb, len)) in nf_reject_skb_v4_unreach() 99 if (pskb_trim_rcsum(oldskb, ntohs(ip_hdr(oldskb)->tot_len))) in nf_reject_skb_v4_unreach() 102 proto = ip_hdr(oldskb)->protocol; in nf_reject_skb_v4_unreach() 106 nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), proto)) in nf_reject_skb_v4_unreach() 149 oth = skb_header_pointer(oldskb, ip_hdrlen(oldskb), in nf_reject_ip_tcphdr_get() 159 if (nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), IPPROTO_TCP)) in nf_reject_ip_tcphdr_get() 167 const struct sk_buff *oldskb, in nf_reject_iphdr_put() argument 207 oldskb->len - ip_hdrlen(oldskb) - in nf_reject_ip_tcphdr_put() [all …]
|
| /linux/net/ipv6/netfilter/ |
| A D | nf_reject_ipv6.c | 60 struct sk_buff *oldskb, in nf_reject_skb_v6_tcp_reset() argument 70 if (!nf_reject_ip6hdr_validate(oldskb)) in nf_reject_skb_v6_tcp_reset() 95 struct sk_buff *oldskb, in nf_reject_skb_v6_unreach() argument 104 if (!nf_reject_ip6hdr_validate(oldskb)) in nf_reject_skb_v6_unreach() 112 if (!pskb_may_pull(oldskb, len)) in nf_reject_skb_v6_unreach() 159 tcphoff = ipv6_skip_exthdr(oldskb, ((u8 *)(oip6h + 1) - oldskb->data), in nf_reject_ip6_tcphdr_get() 167 *otcplen = oldskb->len - tcphoff; in nf_reject_ip6_tcphdr_get() 198 const struct sk_buff *oldskb, in nf_reject_ip6hdr_put() argument 222 const struct sk_buff *oldskb, in nf_reject_ip6_tcphdr_put() argument 312 skb_dst_set(oldskb, dst); in nf_send_reset6() [all …]
|
| /linux/net/bridge/netfilter/ |
| A D | nft_reject_bridge.c | 32 eth->h_proto = eth_hdr(oldskb)->h_proto; in nft_reject_br_push_etherhdr() 35 if (skb_vlan_tag_present(oldskb)) { in nft_reject_br_push_etherhdr() 36 u16 vid = skb_vlan_tag_get(oldskb); in nft_reject_br_push_etherhdr() 46 struct sk_buff *oldskb, in nft_reject_br_send_v4_tcp_reset() argument 56 nft_reject_br_push_etherhdr(oldskb, nskb); in nft_reject_br_send_v4_tcp_reset() 62 struct sk_buff *oldskb, in nft_reject_br_send_v4_unreach() argument 72 nft_reject_br_push_etherhdr(oldskb, nskb); in nft_reject_br_send_v4_unreach() 78 struct sk_buff *oldskb, in nft_reject_br_send_v6_tcp_reset() argument 88 nft_reject_br_push_etherhdr(oldskb, nskb); in nft_reject_br_send_v6_tcp_reset() 95 struct sk_buff *oldskb, in nft_reject_br_send_v6_unreach() argument [all …]
|
| /linux/net/netfilter/ |
| A D | nft_reject_netdev.c | 20 dev_hard_header(nskb, nskb->dev, ntohs(oldskb->protocol), in nft_reject_queue_xmit() 21 eth_hdr(oldskb)->h_source, eth_hdr(oldskb)->h_dest, in nft_reject_queue_xmit() 27 struct sk_buff *oldskb, in nft_reject_netdev_send_v4_tcp_reset() argument 33 nskb = nf_reject_skb_v4_tcp_reset(net, oldskb, dev, hook); in nft_reject_netdev_send_v4_tcp_reset() 37 nft_reject_queue_xmit(nskb, oldskb); in nft_reject_netdev_send_v4_tcp_reset() 41 struct sk_buff *oldskb, in nft_reject_netdev_send_v4_unreach() argument 51 nft_reject_queue_xmit(nskb, oldskb); in nft_reject_netdev_send_v4_unreach() 55 struct sk_buff *oldskb, in nft_reject_netdev_send_v6_tcp_reset() argument 65 nft_reject_queue_xmit(nskb, oldskb); in nft_reject_netdev_send_v6_tcp_reset() 70 struct sk_buff *oldskb, in nft_reject_netdev_send_v6_unreach() argument [all …]
|
| /linux/include/net/netfilter/ipv4/ |
| A D | nf_reject.h | 11 void nf_send_reset(struct net *net, struct sock *, struct sk_buff *oldskb, 13 const struct tcphdr *nf_reject_ip_tcphdr_get(struct sk_buff *oldskb, 16 const struct sk_buff *oldskb, 18 void nf_reject_ip_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb, 22 struct sk_buff *oldskb, 26 struct sk_buff *oldskb,
|
| /linux/include/net/netfilter/ipv6/ |
| A D | nf_reject.h | 10 void nf_send_reset6(struct net *net, struct sock *sk, struct sk_buff *oldskb, 12 const struct tcphdr *nf_reject_ip6_tcphdr_get(struct sk_buff *oldskb, 16 const struct sk_buff *oldskb, 19 const struct sk_buff *oldskb, 23 struct sk_buff *oldskb, 27 struct sk_buff *oldskb,
|
| /linux/drivers/atm/ |
| A D | solos-pci.c | 1072 struct sk_buff *oldskb = card->tx_skb[port]; in fpga_tx() local 1073 if (oldskb) { in fpga_tx() 1075 oldskb->len, DMA_TO_DEVICE); in fpga_tx() 1087 oldskb = skb; /* We're done with this skb already */ in fpga_tx() 1101 if (!oldskb) in fpga_tx() 1106 struct pkt_hdr *header = (void *)oldskb->data; in fpga_tx() 1109 skb_pull(oldskb, sizeof(*header)); in fpga_tx() 1115 print_buffer(oldskb); in fpga_tx() 1118 vcc = SKB_CB(oldskb)->vcc; in fpga_tx() 1122 solos_pop(vcc, oldskb); in fpga_tx() [all …]
|