For example, to access the skb
variable in function ip_rcv
:
int ip_rcv(struct sk_buff *skb, struct net_device *dev,
struct packet_type *pt, struct net_device *orig_dev)
{
...
}
I searched the Internet but cannot find any example.
For example, to access the skb
variable in function ip_rcv
:
int ip_rcv(struct sk_buff *skb, struct net_device *dev,
struct packet_type *pt, struct net_device *orig_dev)
{
...
}
I searched the Internet but cannot find any example.