Home
last modified time | relevance | path

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

/include/linux/can/
Dskb.h64 struct sk_buff *nskb = skb_clone(skb, GFP_ATOMIC); in can_create_echo_skb() local
66 if (likely(nskb)) { in can_create_echo_skb()
67 can_skb_set_owner(nskb, skb->sk); in can_create_echo_skb()
69 return nskb; in can_create_echo_skb()
/include/net/netfilter/ipv4/
Dnf_reject.h13 struct iphdr *nf_reject_iphdr_put(struct sk_buff *nskb,
16 void nf_reject_ip_tcphdr_put(struct sk_buff *nskb, const struct sk_buff *oldskb,
/include/net/netfilter/ipv6/
Dnf_reject.h14 struct ipv6hdr *nf_reject_ip6hdr_put(struct sk_buff *nskb,
17 void nf_reject_ip6_tcphdr_put(struct sk_buff *nskb,
/include/linux/
Dnetlink.h93 struct sk_buff *nskb; in netlink_skb_clone() local
95 nskb = skb_clone(skb, gfp_mask); in netlink_skb_clone()
96 if (!nskb) in netlink_skb_clone()
101 nskb->destructor = skb->destructor; in netlink_skb_clone()
103 return nskb; in netlink_skb_clone()
Dskbuff.h1423 struct sk_buff *nskb = skb_clone(skb, pri); in skb_share_check() local
1425 if (likely(nskb)) in skb_share_check()
1429 skb = nskb; in skb_share_check()
1459 struct sk_buff *nskb = skb_copy(skb, pri); in skb_unshare() local
1462 if (likely(nskb)) in skb_unshare()
1466 skb = nskb; in skb_unshare()
/include/net/
Ddst.h301 static inline void __skb_dst_copy(struct sk_buff *nskb, unsigned long refdst) in __skb_dst_copy() argument
303 nskb->_skb_refdst = refdst; in __skb_dst_copy()
304 if (!(nskb->_skb_refdst & SKB_DST_NOREF)) in __skb_dst_copy()
305 dst_clone(skb_dst(nskb)); in __skb_dst_copy()
308 static inline void skb_dst_copy(struct sk_buff *nskb, const struct sk_buff *oskb) in skb_dst_copy() argument
310 __skb_dst_copy(nskb, oskb->_skb_refdst); in skb_dst_copy()