Searched refs:nskb (Results 1 – 6 of 6) sorted by relevance
/include/linux/can/ |
D | skb.h | 64 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/ |
D | nf_reject.h | 13 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/ |
D | nf_reject.h | 14 struct ipv6hdr *nf_reject_ip6hdr_put(struct sk_buff *nskb, 17 void nf_reject_ip6_tcphdr_put(struct sk_buff *nskb,
|
/include/linux/ |
D | netlink.h | 93 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()
|
D | skbuff.h | 1423 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/ |
D | dst.h | 301 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()
|