Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

skb_copy_datagram_from_iovec(9) [centos man page]

SKB_COPY_DATAGRAM_FR(9) 					 Linux Networking					   SKB_COPY_DATAGRAM_FR(9)

skb_copy_datagram_from_iovec - Copy a datagram from an iovec. SYNOPSIS
int skb_copy_datagram_from_iovec(struct sk_buff * skb, int offset, const struct iovec * from, int from_offset, int len); ARGUMENTS
skb buffer to copy offset offset in the buffer to start copying to from io vector to copy to from_offset offset in the io vector to start copying from len amount of data to copy to buffer from iovec DESCRIPTION
Returns 0 or -EFAULT. NOTE
the iovec is not modified during the copy. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SKB_COPY_DATAGRAM_FR(9)

Check Out this Related Man Page

bp_copyin(9F)						   Kernel Functions for Drivers 					     bp_copyin(9F)

bp_copyin - copy from a buf(9S) into a driver buffer SYNOPSIS
#include <sys/types.h> #include <sys/buf.h> int bp_copyin(struct buf *bp, void *driverbuf, offset_t offset, size_t size); INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI). PARAMETERS
bp Pointer to the buffer header structure to copy from. driverbuf Driver buffer to copy to. offset Offset into bp where to start copying. size Size of copy. DESCRIPTION
The bp_copyin() function copies size bytes into the memory associated with bp to the destination driver buffer driverbuf. The offset only applies to bp. RETURN VALUES
Under normal conditions, 0 is returned to indicate a successful copy. Otherwise, -1 is returned if bp references invalid pages. CONTEXT
The bp_copyin() function can be called from user or kernel context only. SEE ALSO
bp_copyout(9F), bp_mapin(9F), bp_mapout(9F), ddi_copyout(9F), buf(9S) SunOS 5.11 16 Oct 2007 bp_copyin(9F)
Man Page