1typedef struct {} raw_spinlock_t; 2typedef struct { 3 raw_spinlock_t raw_lock; 4} spinlock_t; 5struct sk_buff_head { 6 int i; 7 spinlock_t lock; 8}; 9struct sk_buff_head audit_skb_queue; 10void audit_init(void) 11{ 12 struct sk_buff_head *list = &audit_skb_queue; 13 audit_skb_queue.lock = (spinlock_t) { .raw_lock = { } }; 14} 15