Home
last modified time | relevance | path

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

/include/linux/can/
Dskb.h68 struct sk_buff *nskb; in can_create_echo_skb() local
70 nskb = skb_clone(skb, GFP_ATOMIC); in can_create_echo_skb()
71 if (unlikely(!nskb)) { in can_create_echo_skb()
76 can_skb_set_owner(nskb, skb->sk); in can_create_echo_skb()
78 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.h175 struct sk_buff *nskb; in netlink_skb_clone() local
177 nskb = skb_clone(skb, gfp_mask); in netlink_skb_clone()
178 if (!nskb) in netlink_skb_clone()
183 nskb->destructor = skb->destructor; in netlink_skb_clone()
185 return nskb; in netlink_skb_clone()
Dskbuff.h1765 struct sk_buff *nskb = skb_clone(skb, pri); in skb_share_check() local
1767 if (likely(nskb)) in skb_share_check()
1771 skb = nskb; in skb_share_check()
1801 struct sk_buff *nskb = skb_copy(skb, pri); in skb_unshare() local
1804 if (likely(nskb)) in skb_unshare()
1808 skb = nskb; in skb_unshare()
/include/net/
Ddst.h269 static inline void __skb_dst_copy(struct sk_buff *nskb, unsigned long refdst) in __skb_dst_copy() argument
271 nskb->_skb_refdst = refdst; in __skb_dst_copy()
272 if (!(nskb->_skb_refdst & SKB_DST_NOREF)) in __skb_dst_copy()
273 dst_clone(skb_dst(nskb)); in __skb_dst_copy()
276 static inline void skb_dst_copy(struct sk_buff *nskb, const struct sk_buff *oskb) in skb_dst_copy() argument
278 __skb_dst_copy(nskb, oskb->_skb_refdst); in skb_dst_copy()