Home
last modified time | relevance | path

Searched refs:nskb (Results 1 – 6 of 6) sorted by relevance

/include/linux/can/
Dskb.h85 struct sk_buff *nskb; in can_create_echo_skb() local
87 nskb = skb_clone(skb, GFP_ATOMIC); in can_create_echo_skb()
88 if (unlikely(!nskb)) { in can_create_echo_skb()
93 can_skb_set_owner(nskb, skb->sk); in can_create_echo_skb()
95 return nskb; in can_create_echo_skb()
/include/net/netfilter/ipv4/
Dnf_reject.h15 struct iphdr *nf_reject_iphdr_put(struct sk_buff *nskb,
18 void nf_reject_ip_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb,
/include/net/netfilter/ipv6/
Dnf_reject.h15 struct ipv6hdr *nf_reject_ip6hdr_put(struct sk_buff *nskb,
18 void nf_reject_ip6_tcphdr_put(struct sk_buff *nskb,
/include/linux/
Dnetlink.h177 struct sk_buff *nskb; in netlink_skb_clone() local
179 nskb = skb_clone(skb, gfp_mask); in netlink_skb_clone()
180 if (!nskb) in netlink_skb_clone()
185 nskb->destructor = skb->destructor; in netlink_skb_clone()
187 return nskb; in netlink_skb_clone()
Dskbuff.h1836 struct sk_buff *nskb = skb_clone(skb, pri); in skb_share_check() local
1838 if (likely(nskb)) in skb_share_check()
1842 skb = nskb; in skb_share_check()
1872 struct sk_buff *nskb = skb_copy(skb, pri); in skb_unshare() local
1875 if (likely(nskb)) in skb_unshare()
1879 skb = nskb; in skb_unshare()
/include/net/
Ddst.h272 static inline void __skb_dst_copy(struct sk_buff *nskb, unsigned long refdst) in __skb_dst_copy() argument
274 nskb->slow_gro |= !!refdst; in __skb_dst_copy()
275 nskb->_skb_refdst = refdst; in __skb_dst_copy()
276 if (!(nskb->_skb_refdst & SKB_DST_NOREF)) in __skb_dst_copy()
277 dst_clone(skb_dst(nskb)); in __skb_dst_copy()
280 static inline void skb_dst_copy(struct sk_buff *nskb, const struct sk_buff *oskb) in skb_dst_copy() argument
282 __skb_dst_copy(nskb, oskb->_skb_refdst); in skb_dst_copy()