Lines Matching refs:srhoff
558 static bool seg6_pop_srh(struct sk_buff *skb, int srhoff) in seg6_pop_srh() argument
567 if (unlikely(srhoff < sizeof(*iph) || in seg6_pop_srh()
568 !pskb_may_pull(skb, srhoff + sizeof(*srh)))) in seg6_pop_srh()
571 srh = (struct ipv6_sr_hdr *)(skb->data + srhoff); in seg6_pop_srh()
575 if (unlikely(skb_ensure_writable(skb, srhoff + srhlen))) in seg6_pop_srh()
579 srh = (struct ipv6_sr_hdr *)(skb->data + srhoff); in seg6_pop_srh()
590 if (likely(nhlen <= srhoff)) in seg6_pop_srh()
592 else if (nhlen >= srhoff + srhlen) in seg6_pop_srh()
610 skb_pull_rcsum(skb, srhoff + srhlen); in seg6_pop_srh()
612 srhoff); in seg6_pop_srh()
613 skb_push(skb, srhoff); in seg6_pop_srh()
664 skb_postpush_rcsum(skb, iph, srhoff); in seg6_pop_srh()
679 int srhoff; in end_flv8986_core() local
682 srhoff = srh ? ((unsigned char *)srh - skb->data) : 0; in end_flv8986_core()
706 if (unlikely(!seg6_pop_srh(skb, srhoff))) in end_flv8986_core()