Function

mbuf_tag_find

Declaration

errno_t mbuf_tag_find(mbuf_t mbuf, mbuf_tag_id_t module_id, mbuf_tag_type_t type, size_t *length, void **data_p);

Parameters

mbuf

The mbuf the tag is attached to.

module_id

A module identifier returned by mbuf_tag_id_find.

type

The 16 bit type of the tag to find.

length

Upon success, the length of data will be store in *length.

data_p

Upon successful return, *data_p will point to the buffer allocated for the mtag.

Return Value

0 upon success otherwise the errno error.

Discussion

Find the data associated with an mbuf tag.

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_free

Deprecated
mbuf_type

Deprecated