Function

mbuf_copy_pkthdr

Declaration

errno_t mbuf_copy_pkthdr(mbuf_t dest, const mbuf_t src);

Parameters

src

The mbuf from which the packet header will be copied.

mbuf

The mbuf to which the packet header will be copied.

Return Value

0 upon success otherwise the errno error.

Discussion

Copies the packet header from src to dest.

See Also

Miscellaneous

mbuf_adj

Deprecated
mbuf_adjustlen

Deprecated
mbuf_align_32

Deprecated
mbuf_copyback

Deprecated
mbuf_copydata

Deprecated
mbuf_copym

Deprecated
mbuf_data

Deprecated
mbuf_datastart

Deprecated
mbuf_dup

Deprecated
mbuf_flags

Deprecated
mbuf_free

Deprecated
mbuf_freem

Deprecated
mbuf_freem_list

Deprecated
mbuf_get

Deprecated
mbuf_get_mhlen

Deprecated
mbuf_get_mlen

Deprecated
mbuf_gethdr

Deprecated
mbuf_getpacket

Deprecated
mbuf_inet_cksum

Deprecated
mbuf_len

Deprecated
mbuf_maxlen

Deprecated
mbuf_mclget

Deprecated
mbuf_next

Deprecated
mbuf_nextpkt

Deprecated
mbuf_pkthdr_len

Deprecated
mbuf_prepend

Deprecated
mbuf_pulldown

Deprecated
mbuf_pullup

Deprecated
mbuf_setdata

Deprecated
mbuf_setflags

Deprecated
mbuf_setlen

Deprecated
mbuf_setnext

Deprecated
mbuf_setnextpkt

Deprecated
mbuf_settype

Deprecated
mbuf_split

Deprecated
mbuf_stats

Deprecated
mbuf_tag_find

Deprecated
mbuf_tag_free

Deprecated
mbuf_type

Deprecated