---
name: "skb_queue_prev"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/skb_queue_prev"
---

# skb\_queue\_prev(9)

return the prev packet in the queue

## NAME

skb\_queue\_prev - return the prev packet in the queue

## SYNOPSIS

**struct sk\_buff \* skb\_queue\_prev(const struct sk\_buff\_head \*** *list***, const struct sk\_buff \*** *skb***);**

## ARGUMENTS

*list*

queue head

*skb*

current buffer

## DESCRIPTION

Return the prev packet in *list* before *skb*. It is only valid to call this if **skb\_queue\_is\_first** evaluates to false.

## COPYRIGHT
