Home
last modified time | relevance | path

Searched refs:oldskb (Results 1 – 3 of 3) sorted by relevance

/linux/net/bridge/netfilter/
H A Dnft_reject_bridge.c23 static void nft_reject_br_push_etherhdr(struct sk_buff *oldskb, in nft_reject_br_push_etherhdr() argument
30 ether_addr_copy(eth->h_source, eth_hdr(oldskb)->h_dest); in nft_reject_br_push_etherhdr()
31 ether_addr_copy(eth->h_dest, eth_hdr(oldskb)->h_source); in nft_reject_br_push_etherhdr()
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()
38 __vlan_hwaccel_put_tag(nskb, oldskb->vlan_proto, vid); in nft_reject_br_push_etherhdr()
46 struct sk_buff *oldskb, in nft_reject_br_send_v4_tcp_reset() argument
52 nskb = nf_reject_skb_v4_tcp_reset(net, oldskb, NULL, hook); in nft_reject_br_send_v4_tcp_reset()
56 nft_reject_br_push_etherhdr(oldskb, nskb); in nft_reject_br_send_v4_tcp_reset()
[all …]
/linux/net/netfilter/
H A Dnft_reject_netdev.c19 static void nft_reject_queue_xmit(struct sk_buff *nskb, struct sk_buff *oldskb) in nft_reject_queue_xmit() argument
21 dev_hard_header(nskb, nskb->dev, ntohs(oldskb->protocol), in nft_reject_queue_xmit()
22 eth_hdr(oldskb)->h_source, eth_hdr(oldskb)->h_dest, in nft_reject_queue_xmit()
28 struct sk_buff *oldskb, in nft_reject_netdev_send_v4_tcp_reset() argument
34 nskb = nf_reject_skb_v4_tcp_reset(net, oldskb, dev, hook); in nft_reject_netdev_send_v4_tcp_reset()
38 nft_reject_queue_xmit(nskb, oldskb); in nft_reject_netdev_send_v4_tcp_reset()
42 struct sk_buff *oldskb, in nft_reject_netdev_send_v4_unreach() argument
48 nskb = nf_reject_skb_v4_unreach(net, oldskb, dev, hook, code); in nft_reject_netdev_send_v4_unreach()
52 nft_reject_queue_xmit(nskb, oldskb); in nft_reject_netdev_send_v4_unreach()
56 struct sk_buff *oldskb, in nft_reject_netdev_send_v6_tcp_reset() argument
[all …]
/linux/drivers/atm/
H A Dsolos-pci.c1072 struct sk_buff *oldskb = card->tx_skb[port]; in fpga_tx() local
1073 if (oldskb) { in fpga_tx()
1074 dma_unmap_single(&card->dev->dev, SKB_CB(oldskb)->dma_addr, 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()
[all …]