Lines Matching defs:from

151  *   received directly from another Linux OS, e.g., a virtualized Linux kernel
168 * from &sk_buff.csum_start up to the end, and to record/write the checksum at
301 /* always valid & non-NULL from FORWARD on, for physdev match */
423 * @f_off: offset from start of f->netmem
424 * @f_len: length from f_off to loop over
426 * @p_off: (temp var) offset from start of current page,
456 * hwtstamps can only be compared against other hwtstamps from
631 * (via __skb_header_release()). Any clone created from marked skb will get
652 SKB_FCLONE_UNAVAILABLE, /* skb has no fclone (from head_cache) */
653 SKB_FCLONE_ORIG, /* orig skb (from fclone_cache) */
654 SKB_FCLONE_CLONE, /* companion fclone skb (from fclone_cache) */
660 /* This indicates the skb is from an untrusted source. */
769 * @csum_start: Offset from skb->head where checksumming should start
770 * @csum_offset: Offset from csum_start where checksum should be stored
787 * @from_ingress: packet was redirected from the ingress path
792 * @protocol: Packet protocol from driver
801 * @head_frag: skb was allocated from page fragments,
803 * @pfmemalloc: skbuff was allocated from PFMEMALLOC reserves
807 * @ndisc_nodetype: router type (from link layer)
830 * @napi_id: id of the NAPI struct this skb came from
1109 * skb_pfmemalloc - Test if the skb was allocated from PFMEMALLOC reserves
1181 /* For mangling skb->pkt_type from user space side from applications
1284 bool skb_try_coalesce(struct sk_buff *to, struct sk_buff *from,
1349 * alloc_skb_fclone - allocate a network buffer from fclone cache
1419 void skb_prepare_seq_read(struct sk_buff *skb, unsigned int from,
1425 unsigned int skb_find_text(struct sk_buff *skb, unsigned int from,
1485 /* Used by drivers to set hash from HW */
1603 static inline void skb_copy_hash(struct sk_buff *to, const struct sk_buff *from)
1605 to->hash = from->hash;
1606 to->sw_hash = from->sw_hash;
1607 to->l4_hash = from->l4_hash;
1630 const struct sk_buff *from)
1633 to->decrypted = from->decrypted;
1677 struct sk_buff *skb, struct iov_iter *from,
2025 * being called from interrupt status or with spinlocks held pri must
2061 * from interrupt state @pri must be %GFP_ATOMIC
2116 * skb_peek_next - peek skb following the given one from a queue
2117 * @skb: skb to start from
2377 * remove sk_buff from list. _Must_ be called atomically, and with
2394 * __skb_dequeue - remove from the head of the queue
2395 * @list: list to dequeue from
2411 * __skb_dequeue_tail - remove from the tail of the queue
2412 * @list: list to dequeue from
3172 * pskb_trim_unique - remove end from a paged unique (not cloned) buffer
3221 * @skb: buffer to orphan frags from
3250 * Delete all buffers on an &sk_buff list. Each buffer is removed from
3285 * Allocates a frag from a page for receive buffer.
3314 * allocates memory it can be called from an interrupt.
3439 * @page: The page that was allocated from skb_alloc_page
3479 * skb_frag_off_copy() - Sets the offset of a skb fragment from another fragment
3481 * @fragfrom: skb fragment offset is copied from
3533 * skb_frag_page_copy() - sets the page in a fragment from another fragment
3535 * @fragfrom: skb fragment page is copied from
3709 struct iov_iter *from, int copy)
3716 &csum, from)) {
3720 } else if (copy_from_iter_full(skb_put(skb, copy), copy, from))
3804 * CHECKSUM_NONE so that it can be recomputed from scratch.
3978 int skb_copy_datagram_iter(const struct sk_buff *from, int offset,
3980 static inline int skb_copy_datagram_msg(const struct sk_buff *from, int offset,
3983 return skb_copy_datagram_iter(from, offset, &msg->msg_iter, size);
3991 struct iov_iter *from, int len);
3996 int skb_store_bits(struct sk_buff *skb, int offset, const void *from, int len);
4006 unsigned int skb_zerocopy_headlen(const struct sk_buff *from);
4007 int skb_zerocopy(struct sk_buff *to, struct sk_buff *from,
4116 const void *from,
4119 memcpy(skb->data, from, len);
4124 const void *from,
4127 memcpy(skb->data + offset, from, len);
4138 * skb_get_timestamp - get timestamp from a skb
4139 * @skb: skb to get stamp from
4805 static inline void skb_copy_secmark(struct sk_buff *to, const struct sk_buff *from)
4807 to->secmark = from->secmark;
4815 static inline void skb_copy_secmark(struct sk_buff *to, const struct sk_buff *from)
4850 static inline void skb_copy_queue_mapping(struct sk_buff *to, const struct sk_buff *from)
4852 to->queue_mapping = from->queue_mapping;