Searched refs:L2TP_SKB_CB (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/net/l2tp/
H A Dl2tp_core.c101 #define L2TP_SKB_CB(skb) ((struct l2tp_skb_cb *) &skb->cb[sizeof(struct inet_skb_parm)]) macro
379 u32 ns = L2TP_SKB_CB(skb)->ns; l2tp_recv_queue_skb()
383 if (L2TP_SKB_CB(skbp)->ns > ns) { l2tp_recv_queue_skb()
387 session->name, ns, L2TP_SKB_CB(skbp)->ns, l2tp_recv_queue_skb()
405 int length = L2TP_SKB_CB(skb)->length; l2tp_recv_dequeue_skb()
417 if (L2TP_SKB_CB(skb)->has_seq) { l2tp_recv_dequeue_skb()
428 (*session->recv_skb)(session, skb, L2TP_SKB_CB(skb)->length); l2tp_recv_dequeue_skb()
451 if (time_after(jiffies, L2TP_SKB_CB(skb)->expires)) { l2tp_recv_dequeue()
456 session->name, L2TP_SKB_CB(skb)->ns, l2tp_recv_dequeue()
457 L2TP_SKB_CB(skb)->length, session->nr, l2tp_recv_dequeue()
467 if (L2TP_SKB_CB(skb)->has_seq) { l2tp_recv_dequeue()
472 L2TP_SKB_CB(skb)->ns); l2tp_recv_dequeue()
474 session->nr = L2TP_SKB_CB(skb)->ns; l2tp_recv_dequeue()
476 if (L2TP_SKB_CB(skb)->ns != session->nr) { l2tp_recv_dequeue()
479 session->name, L2TP_SKB_CB(skb)->ns, l2tp_recv_dequeue()
480 L2TP_SKB_CB(skb)->length, session->nr, l2tp_recv_dequeue()
516 if (!l2tp_seq_check_rx_window(session, L2TP_SKB_CB(skb)->ns)) { l2tp_recv_data_seq()
522 session->name, L2TP_SKB_CB(skb)->ns, l2tp_recv_data_seq()
523 L2TP_SKB_CB(skb)->length, session->nr); l2tp_recv_data_seq()
540 if (L2TP_SKB_CB(skb)->ns == session->nr) { l2tp_recv_data_seq()
543 u32 nr_oos = L2TP_SKB_CB(skb)->ns; l2tp_recv_data_seq()
562 session->name, L2TP_SKB_CB(skb)->ns, l2tp_recv_data_seq()
563 L2TP_SKB_CB(skb)->length, session->nr, l2tp_recv_data_seq()
674 L2TP_SKB_CB(skb)->has_seq = 0; l2tp_recv_common()
683 L2TP_SKB_CB(skb)->ns = ns; l2tp_recv_common()
684 L2TP_SKB_CB(skb)->has_seq = 1; l2tp_recv_common()
697 L2TP_SKB_CB(skb)->ns = ns; l2tp_recv_common()
698 L2TP_SKB_CB(skb)->has_seq = 1; l2tp_recv_common()
709 if (L2TP_SKB_CB(skb)->has_seq) { l2tp_recv_common()
784 L2TP_SKB_CB(skb)->length = length; l2tp_recv_common()
785 L2TP_SKB_CB(skb)->expires = jiffies + l2tp_recv_common()
791 if (L2TP_SKB_CB(skb)->has_seq) { l2tp_recv_common()

Completed in 56 milliseconds