oldskb 1072 drivers/atm/solos-pci.c struct sk_buff *oldskb = card->tx_skb[port]; oldskb 1073 drivers/atm/solos-pci.c if (oldskb) { oldskb 1074 drivers/atm/solos-pci.c dma_unmap_single(&card->dev->dev, SKB_CB(oldskb)->dma_addr, oldskb 1075 drivers/atm/solos-pci.c oldskb->len, DMA_TO_DEVICE); oldskb 1087 drivers/atm/solos-pci.c oldskb = skb; /* We're done with this skb already */ oldskb 1101 drivers/atm/solos-pci.c if (!oldskb) oldskb 1106 drivers/atm/solos-pci.c struct pkt_hdr *header = (void *)oldskb->data; oldskb 1109 drivers/atm/solos-pci.c skb_pull(oldskb, sizeof(*header)); oldskb 1115 drivers/atm/solos-pci.c print_buffer(oldskb); oldskb 1118 drivers/atm/solos-pci.c vcc = SKB_CB(oldskb)->vcc; oldskb 1122 drivers/atm/solos-pci.c solos_pop(vcc, oldskb); oldskb 1124 drivers/atm/solos-pci.c dev_kfree_skb_irq(oldskb); oldskb 11 include/net/netfilter/ipv4/nf_reject.h void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook); oldskb 13 include/net/netfilter/ipv4/nf_reject.h const struct tcphdr *nf_reject_ip_tcphdr_get(struct sk_buff *oldskb, oldskb 16 include/net/netfilter/ipv4/nf_reject.h const struct sk_buff *oldskb, oldskb 18 include/net/netfilter/ipv4/nf_reject.h void nf_reject_ip_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb, oldskb 11 include/net/netfilter/ipv6/nf_reject.h void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook); oldskb 13 include/net/netfilter/ipv6/nf_reject.h const struct tcphdr *nf_reject_ip6_tcphdr_get(struct sk_buff *oldskb, oldskb 17 include/net/netfilter/ipv6/nf_reject.h const struct sk_buff *oldskb, oldskb 20 include/net/netfilter/ipv6/nf_reject.h const struct sk_buff *oldskb, oldskb 23 net/bridge/netfilter/nft_reject_bridge.c static void nft_reject_br_push_etherhdr(struct sk_buff *oldskb, oldskb 30 net/bridge/netfilter/nft_reject_bridge.c ether_addr_copy(eth->h_source, eth_hdr(oldskb)->h_dest); oldskb 31 net/bridge/netfilter/nft_reject_bridge.c ether_addr_copy(eth->h_dest, eth_hdr(oldskb)->h_source); oldskb 32 net/bridge/netfilter/nft_reject_bridge.c eth->h_proto = eth_hdr(oldskb)->h_proto; oldskb 35 net/bridge/netfilter/nft_reject_bridge.c if (skb_vlan_tag_present(oldskb)) { oldskb 36 net/bridge/netfilter/nft_reject_bridge.c u16 vid = skb_vlan_tag_get(oldskb); oldskb 38 net/bridge/netfilter/nft_reject_bridge.c __vlan_hwaccel_put_tag(nskb, oldskb->vlan_proto, vid); oldskb 70 net/bridge/netfilter/nft_reject_bridge.c struct sk_buff *oldskb, oldskb 79 net/bridge/netfilter/nft_reject_bridge.c if (!nft_bridge_iphdr_validate(oldskb)) oldskb 82 net/bridge/netfilter/nft_reject_bridge.c oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); oldskb 92 net/bridge/netfilter/nft_reject_bridge.c niph = nf_reject_iphdr_put(nskb, oldskb, IPPROTO_TCP, oldskb 94 net/bridge/netfilter/nft_reject_bridge.c nf_reject_ip_tcphdr_put(nskb, oldskb, oth); oldskb 98 net/bridge/netfilter/nft_reject_bridge.c nft_reject_br_push_etherhdr(oldskb, nskb); oldskb 104 net/bridge/netfilter/nft_reject_bridge.c struct sk_buff *oldskb, oldskb 115 net/bridge/netfilter/nft_reject_bridge.c if (!nft_bridge_iphdr_validate(oldskb)) oldskb 119 net/bridge/netfilter/nft_reject_bridge.c if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET)) oldskb 123 net/bridge/netfilter/nft_reject_bridge.c len = min_t(unsigned int, 536, oldskb->len); oldskb 125 net/bridge/netfilter/nft_reject_bridge.c if (!pskb_may_pull(oldskb, len)) oldskb 128 net/bridge/netfilter/nft_reject_bridge.c if (pskb_trim_rcsum(oldskb, ntohs(ip_hdr(oldskb)->tot_len))) oldskb 131 net/bridge/netfilter/nft_reject_bridge.c proto = ip_hdr(oldskb)->protocol; oldskb 133 net/bridge/netfilter/nft_reject_bridge.c if (!skb_csum_unnecessary(oldskb) && oldskb 135 net/bridge/netfilter/nft_reject_bridge.c nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), proto)) oldskb 144 net/bridge/netfilter/nft_reject_bridge.c niph = nf_reject_iphdr_put(nskb, oldskb, IPPROTO_ICMP, oldskb 152 net/bridge/netfilter/nft_reject_bridge.c skb_put_data(nskb, skb_network_header(oldskb), len); oldskb 160 net/bridge/netfilter/nft_reject_bridge.c nft_reject_br_push_etherhdr(oldskb, nskb); oldskb 185 net/bridge/netfilter/nft_reject_bridge.c struct sk_buff *oldskb, oldskb 195 net/bridge/netfilter/nft_reject_bridge.c if (!nft_bridge_ip6hdr_validate(oldskb)) oldskb 198 net/bridge/netfilter/nft_reject_bridge.c oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); oldskb 208 net/bridge/netfilter/nft_reject_bridge.c nip6h = nf_reject_ip6hdr_put(nskb, oldskb, IPPROTO_TCP, oldskb 210 net/bridge/netfilter/nft_reject_bridge.c nf_reject_ip6_tcphdr_put(nskb, oldskb, oth, otcplen); oldskb 213 net/bridge/netfilter/nft_reject_bridge.c nft_reject_br_push_etherhdr(oldskb, nskb); oldskb 244 net/bridge/netfilter/nft_reject_bridge.c struct sk_buff *oldskb, oldskb 253 net/bridge/netfilter/nft_reject_bridge.c if (!nft_bridge_ip6hdr_validate(oldskb)) oldskb 259 net/bridge/netfilter/nft_reject_bridge.c len = min_t(unsigned int, 1220, oldskb->len); oldskb 261 net/bridge/netfilter/nft_reject_bridge.c if (!pskb_may_pull(oldskb, len)) oldskb 264 net/bridge/netfilter/nft_reject_bridge.c if (!reject6_br_csum_ok(oldskb, hook)) oldskb 273 net/bridge/netfilter/nft_reject_bridge.c nip6h = nf_reject_ip6hdr_put(nskb, oldskb, IPPROTO_ICMPV6, oldskb 281 net/bridge/netfilter/nft_reject_bridge.c skb_put_data(nskb, skb_network_header(oldskb), len); oldskb 292 net/bridge/netfilter/nft_reject_bridge.c nft_reject_br_push_etherhdr(oldskb, nskb); oldskb 15 net/ipv4/netfilter/nf_reject_ipv4.c const struct tcphdr *nf_reject_ip_tcphdr_get(struct sk_buff *oldskb, oldskb 21 net/ipv4/netfilter/nf_reject_ipv4.c if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET)) oldskb 24 net/ipv4/netfilter/nf_reject_ipv4.c if (ip_hdr(oldskb)->protocol != IPPROTO_TCP) oldskb 27 net/ipv4/netfilter/nf_reject_ipv4.c oth = skb_header_pointer(oldskb, ip_hdrlen(oldskb), oldskb 37 net/ipv4/netfilter/nf_reject_ipv4.c if (nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), IPPROTO_TCP)) oldskb 45 net/ipv4/netfilter/nf_reject_ipv4.c const struct sk_buff *oldskb, oldskb 48 net/ipv4/netfilter/nf_reject_ipv4.c struct iphdr *niph, *oiph = ip_hdr(oldskb); oldskb 69 net/ipv4/netfilter/nf_reject_ipv4.c void nf_reject_ip_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb, oldskb 85 net/ipv4/netfilter/nf_reject_ipv4.c oldskb->len - ip_hdrlen(oldskb) - oldskb 100 net/ipv4/netfilter/nf_reject_ipv4.c void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook) oldskb 108 net/ipv4/netfilter/nf_reject_ipv4.c oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); oldskb 112 net/ipv4/netfilter/nf_reject_ipv4.c if (skb_rtable(oldskb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) oldskb 121 net/ipv4/netfilter/nf_reject_ipv4.c skb_dst_set_noref(nskb, skb_dst(oldskb)); oldskb 123 net/ipv4/netfilter/nf_reject_ipv4.c nskb->mark = IP4_REPLY_MARK(net, oldskb->mark); oldskb 126 net/ipv4/netfilter/nf_reject_ipv4.c niph = nf_reject_iphdr_put(nskb, oldskb, IPPROTO_TCP, oldskb 128 net/ipv4/netfilter/nf_reject_ipv4.c nf_reject_ip_tcphdr_put(nskb, oldskb, oth); oldskb 139 net/ipv4/netfilter/nf_reject_ipv4.c nf_ct_attach(nskb, oldskb); oldskb 148 net/ipv4/netfilter/nf_reject_ipv4.c br_indev = nf_bridge_get_physindev(oldskb); oldskb 150 net/ipv4/netfilter/nf_reject_ipv4.c struct ethhdr *oeth = eth_hdr(oldskb); oldskb 15 net/ipv6/netfilter/nf_reject_ipv6.c const struct tcphdr *nf_reject_ip6_tcphdr_get(struct sk_buff *oldskb, oldskb 19 net/ipv6/netfilter/nf_reject_ipv6.c const struct ipv6hdr *oip6h = ipv6_hdr(oldskb); oldskb 25 net/ipv6/netfilter/nf_reject_ipv6.c tcphoff = ipv6_skip_exthdr(oldskb, ((u8 *)(oip6h + 1) - oldskb->data), oldskb 28 net/ipv6/netfilter/nf_reject_ipv6.c if ((tcphoff < 0) || (tcphoff > oldskb->len)) { oldskb 33 net/ipv6/netfilter/nf_reject_ipv6.c *otcplen = oldskb->len - tcphoff; oldskb 42 net/ipv6/netfilter/nf_reject_ipv6.c otcph = skb_header_pointer(oldskb, tcphoff, sizeof(struct tcphdr), oldskb 54 net/ipv6/netfilter/nf_reject_ipv6.c if (nf_ip6_checksum(oldskb, hook, tcphoff, IPPROTO_TCP)) { oldskb 64 net/ipv6/netfilter/nf_reject_ipv6.c const struct sk_buff *oldskb, oldskb 68 net/ipv6/netfilter/nf_reject_ipv6.c const struct ipv6hdr *oip6h = ipv6_hdr(oldskb); oldskb 88 net/ipv6/netfilter/nf_reject_ipv6.c const struct sk_buff *oldskb, oldskb 129 net/ipv6/netfilter/nf_reject_ipv6.c void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook) oldskb 136 net/ipv6/netfilter/nf_reject_ipv6.c const struct ipv6hdr *oip6h = ipv6_hdr(oldskb); oldskb 147 net/ipv6/netfilter/nf_reject_ipv6.c otcph = nf_reject_ip6_tcphdr_get(oldskb, &_otcph, &otcplen, hook); oldskb 157 net/ipv6/netfilter/nf_reject_ipv6.c fl6.flowi6_oif = l3mdev_master_ifindex(skb_dst(oldskb)->dev); oldskb 158 net/ipv6/netfilter/nf_reject_ipv6.c fl6.flowi6_mark = IP6_REPLY_MARK(net, oldskb->mark); oldskb 159 net/ipv6/netfilter/nf_reject_ipv6.c security_skb_classify_flow(oldskb, flowi6_to_flowi(&fl6)); oldskb 185 net/ipv6/netfilter/nf_reject_ipv6.c ip6h = nf_reject_ip6hdr_put(nskb, oldskb, IPPROTO_TCP, oldskb 187 net/ipv6/netfilter/nf_reject_ipv6.c nf_reject_ip6_tcphdr_put(nskb, oldskb, otcph, otcplen); oldskb 189 net/ipv6/netfilter/nf_reject_ipv6.c nf_ct_attach(nskb, oldskb); oldskb 198 net/ipv6/netfilter/nf_reject_ipv6.c br_indev = nf_bridge_get_physindev(oldskb); oldskb 200 net/ipv6/netfilter/nf_reject_ipv6.c struct ethhdr *oeth = eth_hdr(oldskb);